:root {
  color-scheme: dark;
  --bg: #030108;
  --night: #09031a;
  --purple: #9d5cff;
  --violet: #e16bff;
  --blue: #3eb7ff;
  --gold: #ffd36a;
  --amber: #ff9f2f;
  --pink: #ff58c7;
  --ink: #fff9ff;
  --soft: #eadffc;
  --muted: #b9a8d8;
  --glass: rgba(12, 7, 28, 0.62);
  --line: rgba(232, 196, 255, 0.24);
  --gold-line: rgba(255, 211, 106, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 48% 5%, rgba(157, 92, 255, 0.28), transparent 34rem),
    radial-gradient(circle at 50% 34%, rgba(255, 159, 47, 0.16), transparent 28rem),
    linear-gradient(180deg, #030108 0%, #13061f 48%, #05020b 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--gold);
  color: #170b04;
  padding: 0.65rem 0.9rem;
  font-weight: 950;
}

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

.sky-experience {
  width: min(1480px, calc(100% - 1rem));
  margin: 0 auto;
  padding: 0.5rem 0 4rem;
}

.planetarium-hero {
  position: relative;
  min-height: min(900px, calc(100vh - 1rem));
  overflow: hidden;
  border: 1px solid rgba(255, 211, 106, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 58% 38%, rgba(255, 211, 106, 0.2), transparent 15rem),
    radial-gradient(circle at 62% 16%, rgba(157, 92, 255, 0.34), transparent 28rem),
    linear-gradient(180deg, #05020c 0%, #1a0a2f 48%, #08020b 100%);
  box-shadow: 0 30px 130px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  isolation: isolate;
}

.planetarium-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 1, 8, 0.78), transparent 28%, transparent 64%, rgba(3, 1, 8, 0.54)),
    linear-gradient(180deg, transparent 0 54%, rgba(3, 1, 8, 0.28) 74%, rgba(3, 1, 8, 0.9));
}

.star-depth,
.constellation-dome,
.ambient-lantern-field,
.mountain-range,
.valley-lights,
.lake-reflection {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.star-depth {
  z-index: 0;
  background-image:
    radial-gradient(circle, rgba(255, 211, 106, 0.78) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(225, 107, 255, 0.62) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(62, 183, 255, 0.48) 0 1px, transparent 1.5px);
  background-position: 0 0, 44px 62px, 92px 26px;
  background-size: 126px 126px, 190px 190px, 260px 260px;
  opacity: 0.58;
}

.constellation-dome {
  z-index: 0;
  opacity: 0.72;
  background:
    repeating-radial-gradient(circle at 56% -16%, transparent 0 74px, rgba(157, 92, 255, 0.2) 76px, transparent 78px),
    linear-gradient(110deg, transparent 0 38%, rgba(62, 183, 255, 0.16) 39%, transparent 42%),
    linear-gradient(65deg, transparent 0 56%, rgba(255, 211, 106, 0.12) 57%, transparent 60%);
}

.ambient-lantern {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: calc(var(--s) * 1.48);
  opacity: var(--o);
  transform: translate(-50%, -50%);
  animation: slowFloat var(--d) ease-in-out infinite alternate;
}

.ambient-lantern::before {
  position: absolute;
  inset: 12% 18% 6%;
  border-radius: 38% 38% 26% 26%;
  background:
    radial-gradient(circle at 50% 60%, #fff4a8 0 14%, #ffc052 31%, rgba(255, 128, 36, 0.58) 58%, rgba(255, 128, 36, 0.1) 72%),
    rgba(255, 172, 74, 0.14);
  box-shadow: 0 0 calc(var(--s) * 0.9) rgba(255, 159, 47, 0.8);
  content: "";
}

.ambient-lantern::after {
  position: absolute;
  inset: -60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 159, 47, 0.2), transparent 66%);
  content: "";
}

.mountain-range {
  z-index: 0;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, rgba(18, 7, 32, 0.1), #06020c 82%);
  clip-path: polygon(0 56%, 8% 48%, 14% 62%, 24% 33%, 34% 58%, 43% 38%, 52% 63%, 62% 35%, 72% 58%, 82% 31%, 91% 56%, 100% 42%, 100% 100%, 0 100%);
}

.mountain-back {
  opacity: 0.72;
  filter: blur(1px);
  transform: translateY(-42px) scale(1.03);
  background: linear-gradient(180deg, rgba(40, 14, 74, 0.22), #090417 86%);
}

.mountain-front {
  opacity: 0.98;
  background: linear-gradient(180deg, rgba(7, 2, 13, 0.48), #030108 84%);
  clip-path: polygon(0 66%, 7% 52%, 18% 72%, 28% 38%, 37% 70%, 46% 49%, 55% 72%, 67% 42%, 76% 68%, 86% 48%, 100% 60%, 100% 100%, 0 100%);
}

.valley-lights {
  z-index: 1;
  top: auto;
  height: 42%;
  background-image:
    radial-gradient(circle, rgba(255, 174, 66, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 88, 199, 0.58) 0 1px, transparent 2px);
  background-position: 22px 84px, 72px 122px;
  background-size: 52px 36px, 78px 48px;
  opacity: 0.42;
  mask-image: linear-gradient(180deg, transparent, black 28%, black 76%, transparent);
}

.lake-reflection {
  z-index: 1;
  inset: auto 6% 0;
  height: 24%;
  border-radius: 50% 50% 0 0;
  background:
    radial-gradient(ellipse at 50% 0, rgba(255, 159, 47, 0.36), transparent 46%),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(255, 211, 106, 0.1) 23px, transparent 28px);
  filter: blur(0.5px);
  opacity: 0.78;
}

.hero-copy,
.hero-reminder,
.symbol-row article,
.sky-view,
.message-panel,
.living-sky,
.leave-light,
.memory-cards article {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025)),
    rgba(9, 4, 22, 0.62);
  border: 1px solid var(--line);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(43rem, calc(100% - 2rem));
  margin: clamp(1rem, 4vw, 3.5rem);
  padding: clamp(1.15rem, 4vw, 2.4rem);
  border-color: rgba(255, 211, 106, 0.22);
  border-radius: 24px;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 10ch;
  margin-bottom: 0.8rem;
  color: #fff8ff;
  font-size: clamp(3.4rem, 8vw, 7.5rem);
  line-height: 0.9;
  text-shadow: 0 0 34px rgba(225, 107, 255, 0.48), 0 0 6px rgba(255, 255, 255, 0.42);
}

h2 {
  font-size: clamp(1.85rem, 4vw, 3.3rem);
  line-height: 1.02;
}

h3 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.1;
}

p {
  color: var(--soft);
  line-height: 1.7;
}

.script-line {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  font-style: italic;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 1.12rem;
  text-decoration: none;
  font-weight: 950;
}

.primary-action {
  border: 1px solid rgba(255, 211, 106, 0.7);
  color: #170b04;
  background: linear-gradient(135deg, #ffe194, #ff9f2f);
  box-shadow: 0 0 34px rgba(255, 211, 106, 0.32);
}

.secondary-action {
  border: 1px solid rgba(225, 107, 255, 0.56);
  color: var(--ink);
  background: rgba(157, 92, 255, 0.16);
}

.central-lantern {
  position: absolute;
  z-index: 2;
  right: clamp(5%, 8vw, 12%);
  top: 9%;
  width: min(44rem, 46vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(157, 92, 255, 0.45);
  box-shadow: 0 0 50px rgba(157, 92, 255, 0.34), inset 0 0 34px rgba(62, 183, 255, 0.16);
}

.orbit-wide {
  width: 100%;
  height: 100%;
  animation: breathe 10s ease-in-out infinite;
}

.orbit-mid {
  width: 72%;
  height: 72%;
  border-color: rgba(255, 211, 106, 0.32);
  animation: breathe 13s ease-in-out infinite reverse;
}

.lantern-stand {
  position: relative;
  width: 10.5rem;
  height: 20rem;
  filter: drop-shadow(0 0 42px rgba(255, 159, 47, 0.85));
}

.lantern-ring,
.lantern-roof,
.lantern-glass,
.lantern-base {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.lantern-ring {
  top: 0;
  width: 3.6rem;
  height: 3rem;
  border: 4px solid var(--gold);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.lantern-roof {
  top: 2.7rem;
  width: 9rem;
  height: 2.5rem;
  border: 4px solid var(--gold);
  border-bottom: 0;
  border-radius: 50% 50% 10% 10%;
}

.lantern-glass {
  top: 5rem;
  width: 9.6rem;
  height: 12.3rem;
  border: 4px solid var(--gold);
  border-radius: 1.3rem;
  background:
    radial-gradient(circle at 50% 54%, rgba(255, 252, 190, 0.96), rgba(255, 159, 47, 0.34) 32%, transparent 62%),
    rgba(255, 211, 106, 0.08);
}

.lantern-heart {
  position: absolute;
  left: 50%;
  top: 47%;
  width: 4.2rem;
  height: 4.2rem;
  transform: translate(-50%, -50%) rotate(-45deg);
  background: linear-gradient(135deg, #fff8bd, #ffd36a 55%, #ff8128);
  box-shadow: 0 0 58px rgba(255, 211, 106, 0.8);
  animation: flameBreathe 4.5s ease-in-out infinite;
}

.lantern-heart::before,
.lantern-heart::after {
  position: absolute;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  background: inherit;
  content: "";
}

.lantern-heart::before {
  top: -2.1rem;
}

.lantern-heart::after {
  left: 2.1rem;
}

.lantern-base {
  bottom: 0;
  width: 8.2rem;
  height: 1.15rem;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 44px rgba(255, 211, 106, 0.65);
}

.hero-reminder {
  position: absolute;
  z-index: 3;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  width: min(25rem, calc(100% - 2rem));
  border-color: rgba(255, 211, 106, 0.28);
  border-radius: 20px;
  padding: 1.2rem;
}

.symbol-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1rem 0;
}

.symbol-row article {
  border-radius: 18px;
  padding: 1rem;
}

.symbol {
  display: inline-grid;
  width: 3.3rem;
  height: 3.3rem;
  place-items: center;
  border: 1px solid rgba(255, 211, 106, 0.34);
  border-radius: 1rem;
  box-shadow: 0 0 24px rgba(255, 211, 106, 0.18);
}

.lantern-symbol::before,
.compass-symbol::before,
.sky-symbol::before {
  color: var(--gold);
  font-size: 1.7rem;
}

.lantern-symbol::before {
  content: "✦";
}

.compass-symbol::before {
  content: "◇";
}

.sky-symbol::before {
  content: "☾";
}

.symbol-row h2 {
  margin: 0.65rem 0 0.35rem;
  font-size: 1.15rem;
}

.sky-view {
  position: relative;
  min-height: clamp(48rem, 70vw, 62rem);
  overflow: hidden;
  border-color: rgba(255, 211, 106, 0.22);
  border-radius: 28px;
  padding: clamp(1rem, 3vw, 1.5rem);
  isolation: isolate;
}

.sky-view-bg,
.sky-horizon,
.sky-mountains,
.interactive-sky {
  position: absolute;
  inset: 0;
}

.sky-view-bg {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 54%, rgba(255, 159, 47, 0.3), transparent 19rem),
    radial-gradient(circle at 58% 20%, rgba(157, 92, 255, 0.32), transparent 34rem),
    linear-gradient(180deg, rgba(9, 3, 25, 0.44), rgba(18, 7, 31, 0.82));
}

.sky-horizon {
  top: auto;
  height: 42%;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(255, 159, 47, 0.5), transparent 36%),
    linear-gradient(180deg, transparent, rgba(3, 1, 8, 0.9));
}

.sky-mountains {
  top: auto;
  height: 44%;
  background: #05020c;
  clip-path: polygon(0 58%, 8% 42%, 16% 64%, 27% 28%, 36% 62%, 45% 42%, 55% 68%, 64% 38%, 75% 66%, 85% 33%, 100% 58%, 100% 100%, 0 100%);
}

.sky-mountains-back {
  opacity: 0.6;
  transform: translateY(-4rem);
  background: #170826;
  filter: blur(1px);
}

.sky-mountains-front {
  opacity: 0.96;
}

.sky-view-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.sky-count {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 211, 106, 0.48);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 211, 106, 0.08);
  padding: 0.55rem 0.85rem;
  font-weight: 950;
}

.interactive-sky {
  z-index: 1;
  overflow: hidden;
}

.interactive-sky::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255, 211, 106, 0.86) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 130, 36, 0.65) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(225, 107, 255, 0.5) 0 1px, transparent 1.7px);
  background-position: 18px 22px, 70px 46px, 140px 10px;
  background-size: 96px 96px, 144px 144px, 230px 230px;
  opacity: 0.5;
}

.sky-lantern {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  width: var(--size);
  height: calc(var(--size) * 1.58);
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transform: translate(-50%, -50%);
  animation: slowFloat var(--speed) ease-in-out infinite alternate;
}

.sky-lantern::before {
  position: absolute;
  inset: 12% 18% 6%;
  border: 2px solid rgba(255, 211, 106, 0.78);
  border-radius: 38% 38% 26% 26%;
  background:
    radial-gradient(circle at 50% 62%, rgba(255, 250, 186, 0.98), rgba(255, 184, 74, 0.6) 30%, rgba(255, 128, 36, 0.25) 60%, rgba(255, 128, 36, 0.08) 72%),
    rgba(255, 211, 106, 0.12);
  box-shadow: 0 0 calc(var(--size) * 0.95) rgba(255, 159, 47, 0.82);
  content: "";
}

.sky-lantern::after {
  position: absolute;
  inset: -70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 211, 106, 0.32), transparent 66%);
  content: "";
}

.sky-lantern span {
  position: absolute;
  inset: auto 50% 100%;
  width: 11rem;
  transform: translateX(-50%);
  color: #ffecc0;
  font-size: clamp(0.72rem, 1vw, 0.86rem);
  font-weight: 950;
  opacity: 0;
  text-shadow: 0 0 14px rgba(255, 211, 106, 0.92);
  transition: opacity 180ms ease;
}

.sky-lantern:hover span,
.sky-lantern:focus-visible span,
.sky-lantern[aria-current="true"] span {
  opacity: 1;
}

.sky-lantern[aria-current="true"]::before {
  border-color: #fff4b4;
  box-shadow: 0 0 calc(var(--size) * 1.2) rgba(255, 211, 106, 0.95);
}

.loading-light {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 18rem;
  place-items: center;
  color: var(--gold);
  font-weight: 950;
}

.message-panel {
  position: absolute;
  z-index: 4;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  width: min(28rem, calc(100% - 2rem));
  border-color: var(--gold-line);
  border-radius: 22px;
  padding: 1.25rem;
}

.message-panel h3 {
  margin-bottom: 0.75rem;
}

.message-panel .reflection {
  border-left: 3px solid var(--gold);
  padding-left: 0.85rem;
}

.tip-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.pill {
  border: 1px solid rgba(225, 107, 255, 0.42);
  border-radius: 999px;
  color: #f4c3ff;
  padding: 0.22rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 900;
}

.living-sky,
.leave-light {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.78fr);
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  border-radius: 24px;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.memory-cards {
  display: grid;
  gap: 0.85rem;
}

.memory-cards article {
  border-color: rgba(255, 211, 106, 0.24);
  border-radius: 18px;
  padding: 1rem;
}

.memory-cards span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.memory-cards strong {
  display: block;
  margin: 0.4rem 0;
  font-size: 1.1rem;
}

@keyframes slowFloat {
  from {
    transform: translate(-50%, -50%) translate3d(-0.4rem, 0.32rem, 0);
  }
  to {
    transform: translate(-50%, -50%) translate3d(0.48rem, -0.78rem, 0);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

@keyframes flameBreathe {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(-45deg) scale(0.95);
  }
  50% {
    transform: translate(-50%, -50%) rotate(-45deg) scale(1.05);
  }
}

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

@media (max-width: 980px) {
  .planetarium-hero {
    min-height: 860px;
  }

  .hero-copy {
    width: min(42rem, calc(100% - 2rem));
  }

  .central-lantern {
    top: 30%;
    right: 50%;
    width: min(35rem, 92vw);
    transform: translateX(50%);
  }

  .hero-reminder {
    right: 1rem;
    bottom: 1rem;
  }

  .symbol-row,
  .living-sky,
  .leave-light {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .sky-experience {
    width: min(100% - 0.6rem, 1480px);
  }

  .planetarium-hero,
  .sky-view,
  .living-sky,
  .leave-light {
    border-radius: 18px;
  }

  .hero-copy {
    margin: 0.7rem;
  }

  .planetarium-hero {
    min-height: 900px;
  }

  .central-lantern {
    top: 38%;
  }

  .lantern-stand {
    width: 8rem;
    height: 15rem;
  }

  .lantern-glass {
    width: 7.2rem;
    height: 9.3rem;
  }

  .hero-reminder,
  .message-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 1.4rem);
    margin: 1rem 0.7rem;
  }

  .sky-view {
    min-height: 50rem;
  }

  .sky-view-header {
    flex-direction: column;
  }
}

/* Founder QA correction: image-backed cinematic direction. */
.planetarium-hero {
  background:
    linear-gradient(90deg, rgba(3, 1, 8, 0.9) 0%, rgba(3, 1, 8, 0.52) 32%, rgba(3, 1, 8, 0.22) 62%, rgba(3, 1, 8, 0.72) 100%),
    linear-gradient(180deg, rgba(3, 1, 8, 0.05), rgba(3, 1, 8, 0.76)),
    url("./assets/lantern-sky/lantern-glow-overlay.png"),
    url("./assets/lantern-sky/lantern-sky-hero-bg.png");
  background-position: center, center, center, center;
  background-repeat: no-repeat;
  background-size: cover, cover, cover, cover;
}

.star-depth,
.constellation-dome,
.mountain-range,
.valley-lights,
.lake-reflection,
.central-lantern {
  display: none;
}

.ambient-lantern {
  width: calc(var(--s) * 1.25);
  height: calc(var(--s) * 1.8);
  background: url("./assets/lantern-sky/floating-lantern.png") center / contain no-repeat;
  filter: drop-shadow(0 0 calc(var(--s) * 0.42) rgba(255, 159, 47, 0.86));
}

.ambient-lantern::before,
.ambient-lantern::after {
  display: none;
}

.sky-view {
  background:
    linear-gradient(180deg, rgba(3, 1, 8, 0.18), rgba(3, 1, 8, 0.55) 68%, rgba(3, 1, 8, 0.88)),
    url("./assets/lantern-sky/lantern-glow-overlay.png"),
    url("./assets/lantern-sky/sky-fullscreen-bg.png");
  background-position: center, center, center;
  background-repeat: no-repeat;
  background-size: cover, cover, cover;
}

.sky-view-bg {
  background: url("./assets/lantern-sky/lantern-valley-bg.png") center / cover no-repeat;
  opacity: 0.52;
}

.sky-horizon,
.sky-mountains {
  display: none;
}

.interactive-sky {
  background:
    radial-gradient(ellipse at 50% 76%, rgba(255, 159, 47, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(3, 1, 8, 0.08), rgba(3, 1, 8, 0.44));
}

.interactive-sky::before {
  opacity: 0.22;
}

.sky-lantern {
  width: calc(var(--size) * 1.2);
  height: calc(var(--size) * 1.75);
  background: url("./assets/lantern-sky/floating-lantern.png") center / contain no-repeat;
  filter: drop-shadow(0 0 calc(var(--size) * 0.55) rgba(255, 159, 47, 0.92));
}

.sky-lantern::before {
  display: none;
}

.sky-lantern::after {
  inset: -52%;
  background: radial-gradient(circle, rgba(255, 211, 106, 0.38), rgba(255, 159, 47, 0.14) 38%, transparent 68%);
}

.sky-lantern[aria-current="true"] {
  filter: drop-shadow(0 0 calc(var(--size) * 0.9) rgba(255, 211, 106, 1));
}

.hero-copy,
.hero-reminder,
.message-panel,
.symbol-row article,
.living-sky,
.leave-light,
.memory-cards article {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025)),
    rgba(8, 3, 20, 0.74);
}

/* Founder QA composition pass: make the sky the experience, not a card backdrop. */
.sky-experience {
  width: 100%;
  padding: 0 0 4rem;
}

.planetarium-hero {
  min-height: min(880px, 100svh);
  border: 0;
  border-radius: 0 0 34px 34px;
}

.planetarium-hero::after {
  background:
    linear-gradient(90deg, rgba(3, 1, 8, 0.82) 0%, rgba(3, 1, 8, 0.48) 28%, rgba(3, 1, 8, 0.08) 58%, rgba(3, 1, 8, 0.54) 100%),
    linear-gradient(180deg, rgba(3, 1, 8, 0.06) 0%, rgba(3, 1, 8, 0.1) 52%, rgba(3, 1, 8, 0.82) 100%);
}

.planetarium-hero .hero-copy {
  width: min(36rem, calc(100% - 2rem));
  margin: clamp(2.4rem, 7vw, 6rem) 0 0 clamp(1rem, 6vw, 5rem);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.planetarium-hero .hero-copy::before {
  position: absolute;
  inset: -1.2rem -1.6rem -1.35rem;
  z-index: -1;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 24% 45%, rgba(3, 1, 8, 0.68), rgba(3, 1, 8, 0.38) 46%, transparent 74%),
    linear-gradient(90deg, rgba(3, 1, 8, 0.42), transparent);
  content: "";
}

.planetarium-hero h1 {
  max-width: 11ch;
  margin-bottom: 0.45rem;
  font-size: clamp(4rem, 9vw, 8rem);
  letter-spacing: 0;
}

.planetarium-hero .script-line {
  margin-bottom: 0.35rem;
  color: #ffe194;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  text-shadow: 0 0 26px rgba(255, 211, 106, 0.42);
}

.carry-line {
  color: #f4b8ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 2.4vw, 1.8rem);
  font-style: italic;
  text-shadow: 0 0 22px rgba(225, 107, 255, 0.5);
}

.hero-actions {
  gap: 0.7rem;
}

.primary-action,
.secondary-action,
.tertiary-action {
  min-height: 3.2rem;
  border-radius: 999px;
  padding: 0 1.2rem;
}

.tertiary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-weight: 950;
  text-decoration: none;
}

.hero-reminder {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    rgba(8, 3, 20, 0.46);
  border-color: rgba(255, 211, 106, 0.24);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
}

.symbol-row,
.sky-view,
.living-sky,
.leave-light {
  width: min(1480px, calc(100% - 1rem));
  margin-left: auto;
  margin-right: auto;
}

.sky-view {
  min-height: min(940px, 94svh);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(3, 1, 8, 0.08), rgba(3, 1, 8, 0.36) 62%, rgba(3, 1, 8, 0.82)),
    url("./assets/lantern-sky/lantern-glow-overlay.png"),
    url("./assets/lantern-sky/sky-fullscreen-bg.png");
  background-position: center, center, center;
  background-repeat: no-repeat;
  background-size: cover, cover, cover;
}

.sky-view-header {
  max-width: 42rem;
  padding: clamp(0.7rem, 2vw, 1rem);
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(3, 1, 8, 0.58), rgba(3, 1, 8, 0.12));
}

.message-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025)),
    rgba(8, 3, 20, 0.68);
}

.leave-light {
  grid-template-columns: minmax(0, 1fr) auto;
}

.leave-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .planetarium-hero {
    min-height: 820px;
  }

  .leave-light {
    grid-template-columns: 1fr;
  }

  .leave-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .planetarium-hero {
    min-height: 780px;
    border-radius: 0 0 22px 22px;
  }

  .planetarium-hero .hero-copy {
    width: calc(100% - 1.25rem);
    margin: 1.2rem 0 0 0.7rem;
  }

  .planetarium-hero h1 {
    font-size: clamp(3.4rem, 18vw, 5.4rem);
  }

  .sky-view {
    min-height: 800px;
  }
}
