:root {
  --bg: #050505;
  --bg-soft: #0f0b00;
  --gold: #ffd43b;
  --gold-soft: #ffef94;
  --amber: #ffb300;
  --sun-core: #fff5a5;
  --brown: #5f3312;
  --cream: #fff7da;
  --text: #fff8cf;
  --shadow: 0 24px 80px rgba(255, 196, 0, 0.22);
  --camera-zoom: 1;
  --camera-shift: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top, rgba(255, 211, 59, 0.08), transparent 28%),
    radial-gradient(circle at bottom, rgba(255, 174, 0, 0.08), transparent 22%),
    var(--bg);
  color: var(--text);
  font-family: "Quicksand", sans-serif;
}

body.intro-active {
  overflow: hidden;
}

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

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  gap: 1.25rem;
  background:
    radial-gradient(circle at center, rgba(255, 208, 65, 0.08), transparent 28%),
    radial-gradient(circle at center, rgba(255, 222, 110, 0.18), transparent 14%),
    #040404;
  cursor: pointer;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.intro-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-glow {
  position: absolute;
  width: min(78vw, 28rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 211, 59, 0.4), transparent 62%);
  filter: blur(24px);
}

.intro-flower {
  position: relative;
  z-index: 1;
  animation: introFloat 2.8s ease-in-out infinite;
}

.intro-text,
.page-header h1,
.constellation-copy__line,
.flower-node__label,
.scroll-tip,
.modal__tag,
.modal__message {
  font-family: "Patrick Hand", cursive;
}

.intro-text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  color: var(--cream);
  text-shadow:
    0 0 10px rgba(255, 230, 124, 0.9),
    0 0 30px rgba(255, 196, 0, 0.55);
}

.page-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  padding: max(0.75rem, env(safe-area-inset-top)) 1rem 0.5rem;
  text-align: center;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
}

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 245, 190, 0.7);
}

.page-header h1 {
  margin: 0;
  max-width: 9ch;
  font-size: clamp(1.9rem, 4.2vw, 3.25rem);
  line-height: 0.9;
  color: var(--gold-soft);
  text-shadow:
    0 0 12px rgba(255, 226, 114, 0.95),
    0 0 24px rgba(255, 202, 92, 0.64),
    0 0 52px rgba(255, 182, 0, 0.28);
  animation: titleGlow 4.2s ease-in-out infinite;
}

.page-header h1 span {
  font-size: 0.7em;
}

.subtitle {
  display: none;
}

.orbit-journey {
  position: relative;
  min-height: 620vh;
}

.scene {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  perspective: 1200px;
  background:
    radial-gradient(circle at 50% 58%, rgba(255, 214, 59, 0.06), transparent 22%),
    radial-gradient(circle at 50% 50%, rgba(255, 188, 0, 0.04), transparent 42%),
    linear-gradient(180deg, #020202 0%, #040404 34%, #060502 100%);
}

.horizon-glow {
  position: absolute;
  left: 50%;
  top: 61%;
  width: min(90vw, 72rem);
  height: min(34vh, 18rem);
  transform: translateX(-50%);
  z-index: 2;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 59, 0.18), rgba(255, 188, 0, 0.05) 46%, transparent 76%);
  filter: blur(24px);
  animation: horizonPulse 6s ease-in-out infinite;
}

.scene-vignette {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 0 36%, rgba(0, 0, 0, 0.08) 54%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.56), transparent 24%, transparent 72%, rgba(0, 0, 0, 0.7));
}

.camera-rig {
  position: absolute;
  inset: -10%;
  transform-style: preserve-3d;
  transform:
    translateY(var(--camera-shift))
    scale(var(--camera-zoom));
  transition: transform 0.12s linear;
}

.space {
  position: absolute;
  inset: -10%;
  background-repeat: repeat;
  opacity: 0.9;
  transform-style: preserve-3d;
}

.space--deep {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 0.08rem, transparent 0.1rem),
    radial-gradient(circle, rgba(255, 227, 135, 0.8) 0 0.09rem, transparent 0.11rem),
    radial-gradient(circle, rgba(255, 255, 255, 0.66) 0 0.06rem, transparent 0.08rem);
  background-size: 11rem 11rem, 14rem 14rem, 18rem 18rem;
  background-position: 0 0, 4rem 3rem, 1rem 5rem;
  filter: blur(0.1px);
  opacity: 0.5;
}

.space--near {
  opacity: 0.22;
  background-image:
    radial-gradient(circle, rgba(255, 223, 128, 0.96) 0 0.11rem, transparent 0.13rem),
    radial-gradient(circle, rgba(255, 255, 255, 0.86) 0 0.08rem, transparent 0.1rem);
  background-size: 20rem 20rem, 24rem 24rem;
  background-position: 5rem 2rem, 2rem 8rem;
}

.star-floor {
  position: absolute;
  left: 50%;
  top: 62%;
  width: 190vw;
  height: 160vh;
  transform-origin: center top;
  background-repeat: repeat;
  border-radius: 50%;
}

.star-floor--far {
  z-index: 1;
  opacity: 0.44;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 0.08rem, transparent 0.1rem),
    radial-gradient(circle, rgba(255, 225, 122, 0.68) 0 0.09rem, transparent 0.11rem);
  background-size: 1.8rem 1.8rem, 3rem 3rem;
  transform: translateX(-50%) rotateX(79deg) translateZ(-120px);
  filter: blur(0.1px);
}

.star-floor--near {
  z-index: 2;
  opacity: 0.76;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.98) 0 0.09rem, transparent 0.11rem),
    radial-gradient(circle, rgba(255, 227, 135, 0.82) 0 0.12rem, transparent 0.14rem),
    radial-gradient(circle, rgba(255, 255, 255, 0.62) 0 0.07rem, transparent 0.09rem);
  background-size: 1.55rem 1.55rem, 2.6rem 2.6rem, 3.4rem 3.4rem;
  background-position: 0 0, 0.4rem 0.6rem, 0.8rem 0.2rem;
  transform: translateX(-50%) rotateX(82deg) translateZ(10px);
}

.constellation-copy {
  position: absolute;
  inset: 33% 0 auto;
  z-index: 4;
  display: grid;
  gap: 0.2rem;
  justify-items: center;
  text-align: center;
  pointer-events: none;
  transform: translateZ(2rem);
}

.constellation-copy__line {
  margin: 0;
  max-width: min(34rem, calc(100vw - 3rem));
  padding: 0.08rem 0.65rem;
  border-radius: 999px;
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  line-height: 1;
  color: rgba(255, 245, 196, 0.68);
  text-shadow: 0 0 8px rgba(255, 214, 80, 0.22);
  background: rgba(8, 7, 3, 0.18);
  backdrop-filter: blur(6px);
}

.constellation-copy__line--alt {
  color: rgba(255, 249, 214, 0.46);
  font-size: 0.76rem;
}

.sun-system {
  position: absolute;
  top: 59%;
  left: 50%;
  width: min(34vw, 16rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: 4;
}

.sun-aura,
.sun-flare,
.sun-halo,
.sun-core,
.sun-core__shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.sun-aura {
  background: radial-gradient(circle, rgba(255, 214, 59, 0.42), transparent 68%);
  transform: scale(2.55);
  filter: blur(36px);
}

.sun-flare {
  inset: -54%;
  background:
    linear-gradient(90deg, transparent, rgba(255, 226, 135, 0.46), transparent),
    linear-gradient(0deg, transparent, rgba(255, 215, 110, 0.24), transparent);
  opacity: 0.22;
  filter: blur(14px);
}

.sun-flare--one {
  transform: rotate(12deg);
}

.sun-flare--two {
  transform: rotate(106deg);
  opacity: 0.28;
}

.sun-halo {
  inset: 8%;
  border: 1rem solid rgba(255, 228, 114, 0.96);
  box-shadow:
    0 0 42px rgba(255, 212, 66, 0.9),
    0 0 80px rgba(255, 188, 0, 0.45);
  animation: ringGlow 4.8s ease-in-out infinite;
}

.sun-halo--outer {
  inset: -12%;
  border-width: clamp(0.7rem, 1.6vw, 1rem);
  opacity: 0.92;
}

.sun-halo--inner {
  inset: 18%;
  border-width: clamp(0.4rem, 1vw, 0.6rem);
  opacity: 0.28;
}

.sun-core {
  inset: 29%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.08), transparent 22%),
    radial-gradient(circle, rgba(44, 24, 2, 0.98) 0%, rgba(12, 8, 2, 0.98) 62%, rgba(0, 0, 0, 0.98) 100%);
  box-shadow:
    inset 0 0 24px rgba(255, 255, 255, 0.06),
    0 0 22px rgba(0, 0, 0, 0.4);
}

.sun-core__shine {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 55%);
}

.orbit-track {
  position: absolute;
  top: 59%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 232, 132, 0.08);
  transform: translate(-50%, -50%) rotateX(72deg);
  box-shadow: inset 0 0 40px rgba(255, 226, 114, 0.02);
}

.orbit-track--main {
  width: min(74vw, 46rem);
  height: min(74vw, 46rem);
}

.orbit-track--secondary {
  width: min(94vw, 60rem);
  height: min(94vw, 60rem);
  border-style: solid;
  border-color: rgba(255, 232, 132, 0.03);
}

.mini-suns-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  transform-style: preserve-3d;
  pointer-events: none;
  opacity: 0.3;
  filter: saturate(1.1);
}

.mini-sun {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--mini-size, 2.2rem);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.55;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.96), rgba(255, 249, 196, 0.9) 18%, rgba(255, 215, 77, 0.96) 40%, rgba(255, 165, 0, 0.92) 68%, rgba(255, 165, 0, 0) 74%);
  box-shadow:
    0 0 10px rgba(255, 210, 86, 0.56),
    0 0 24px rgba(255, 184, 0, 0.24);
}

.mini-sun::before {
  content: "";
  position: absolute;
  inset: -45%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 104, 0.28), transparent 68%);
  filter: blur(10px);
}

.flowers-layer {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.flower-node {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transform-origin: center;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.18s ease;
}

.flower-node:focus-visible {
  outline: 2px solid rgba(255, 233, 150, 0.9);
  outline-offset: 0.4rem;
  border-radius: 999px;
}

.flower-node:hover {
  filter: brightness(1.08);
}

.flower-node.is-focus .flower-node__label {
  color: #fffbe9;
  opacity: 1;
  transform: translateY(0) scale(1);
  text-shadow:
    0 0 18px rgba(255, 243, 182, 1),
    0 0 34px rgba(255, 200, 70, 0.5);
}

.flower-node.is-near .flower-node__label {
  opacity: 0.82;
  transform: translateY(0) scale(1);
}

.flower-node.is-focus .flower-node__glow {
  opacity: 1;
  transform: scale(1.25);
}

.flower-node__label {
  max-width: 7.2rem;
  font-size: clamp(0.82rem, 1vw, 1.08rem);
  line-height: 0.95;
  text-align: center;
  color: rgba(255, 250, 216, 0.95);
  opacity: 0;
  transform: translateY(-0.15rem) scale(0.94);
  text-shadow:
    0 0 8px rgba(255, 248, 211, 0.8),
    0 0 16px rgba(255, 203, 72, 0.28);
  transition: opacity 0.2s ease, transform 0.2s ease, text-shadow 0.2s ease;
}

.flower-node__glow {
  position: absolute;
  top: 34%;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 104, 0.24), transparent 70%);
  filter: blur(12px);
  z-index: -1;
  opacity: 0.3;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.sunflower {
  position: relative;
  width: var(--flower-size, 5.4rem);
  aspect-ratio: 1;
  filter:
    drop-shadow(0 0 10px rgba(255, 209, 78, 0.24))
    drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
}

.sunflower-image {
  width: var(--flower-size, 5.4rem);
  aspect-ratio: 1;
  object-fit: contain;
  filter:
    drop-shadow(0 0 14px rgba(255, 209, 78, 0.28))
    drop-shadow(0 12px 20px rgba(0, 0, 0, 0.3));
}

.sunflower__petals,
.sunflower__core {
  position: absolute;
  inset: 0;
}

.sunflower__petals::before,
.sunflower__petals::after,
.sunflower__core::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.sunflower__petals::before {
  background:
    radial-gradient(circle at center, transparent 0 28%, rgba(0, 0, 0, 0) 29%),
    conic-gradient(
      from 0deg,
      #ffcb33 0deg 10deg,
      transparent 10deg 20deg,
      #ffd759 20deg 30deg,
      transparent 30deg 40deg,
      #fbbf24 40deg 50deg,
      transparent 50deg 60deg,
      #ffd759 60deg 70deg,
      transparent 70deg 80deg,
      #ffcb33 80deg 90deg,
      transparent 90deg 100deg,
      #ffd759 100deg 110deg,
      transparent 110deg 120deg,
      #ffcb33 120deg 130deg,
      transparent 130deg 140deg,
      #ffd759 140deg 150deg,
      transparent 150deg 160deg,
      #fbbf24 160deg 170deg,
      transparent 170deg 180deg,
      #ffd759 180deg 190deg,
      transparent 190deg 200deg,
      #ffcb33 200deg 210deg,
      transparent 210deg 220deg,
      #ffd759 220deg 230deg,
      transparent 230deg 240deg,
      #fbbf24 240deg 250deg,
      transparent 250deg 260deg,
      #ffd759 260deg 270deg,
      transparent 270deg 280deg,
      #ffcb33 280deg 290deg,
      transparent 290deg 300deg,
      #ffd759 300deg 310deg,
      transparent 310deg 320deg,
      #fbbf24 320deg 330deg,
      transparent 330deg 340deg,
      #ffd759 340deg 350deg,
      transparent 350deg 360deg
    );
  transform: scale(1.08) rotate(8deg);
  filter: drop-shadow(0 0 10px rgba(255, 203, 51, 0.45));
}

.sunflower__petals::after {
  inset: 18%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 246, 201, 0.18), transparent 28%),
    radial-gradient(circle, rgba(255, 221, 117, 0.28), transparent 55%),
    radial-gradient(circle, #70401a 0 29%, #4e280f 30% 100%);
  box-shadow:
    inset 0 0 16px rgba(255, 221, 117, 0.12),
    0 0 10px rgba(84, 42, 16, 0.35);
}

.sunflower__core::before {
  inset: 26%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 223, 138, 0.22), transparent 30%),
    repeating-radial-gradient(circle, rgba(87, 42, 13, 0.98) 0 0.14rem, rgba(63, 28, 8, 0.98) 0.14rem 0.26rem);
  box-shadow:
    inset 0 0 10px rgba(255, 234, 173, 0.1),
    0 0 6px rgba(0, 0, 0, 0.35);
}

.sunflower--hero {
  --flower-size: min(56vw, 16rem);
  filter:
    drop-shadow(0 0 14px rgba(255, 208, 70, 0.45))
    drop-shadow(0 0 38px rgba(255, 188, 0, 0.3));
}

.focus-card {
  position: absolute;
  right: 1.5rem;
  left: auto;
  bottom: 5.2rem;
  z-index: 7;
  width: min(84vw, 18rem);
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 230, 147, 0.1);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 214, 59, 0.05), rgba(22, 14, 2, 0.66)),
    rgba(12, 10, 6, 0.42);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.focus-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, transparent, rgba(255, 232, 132, 0.16), transparent 65%);
  opacity: 0.55;
  transform: translateX(-55%);
  animation: cardSweep 5s ease-in-out infinite;
}

.focus-card__eyebrow,
.focus-card__hint {
  margin: 0;
}

.focus-card__eyebrow,
.focus-card__title,
.focus-card__hint {
  position: relative;
  z-index: 1;
}

.focus-card__eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 242, 187, 0.62);
}

.focus-card__title {
  margin: 0.28rem 0 0.2rem;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: #fff4c1;
}

.focus-card__hint {
  font-size: 0.88rem;
  color: rgba(255, 245, 205, 0.78);
}

.scroll-tip {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 228, 147, 0.18);
  background: rgba(14, 10, 0, 0.3);
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  color: rgba(255, 244, 195, 0.62);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 35;
}

.modal.hidden {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 28rem);
  margin: min(8vh, 4rem) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 229, 135, 0.24);
  border-radius: 1.6rem;
  background:
    linear-gradient(180deg, rgba(255, 203, 51, 0.12), rgba(42, 22, 0, 0.72)),
    rgba(11, 9, 4, 0.95);
  box-shadow: var(--shadow);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 247, 216, 0.14);
  color: var(--cream);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.modal__art {
  min-height: 20rem;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 232, 124, 0.95), transparent 14%),
    linear-gradient(180deg, rgba(120, 57, 23, 0.12), rgba(255, 170, 36, 0.3)),
    linear-gradient(180deg, #7d3252 0%, #d77f36 24%, #f7ca56 47%, #415f2f 73%, #13240d 100%);
  position: relative;
}

.modal__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 85%, rgba(255, 199, 75, 0.95) 0 2.2rem, transparent 2.25rem),
    radial-gradient(circle at 33% 77%, rgba(255, 210, 86, 0.92) 0 1.7rem, transparent 1.75rem),
    radial-gradient(circle at 76% 84%, rgba(255, 199, 75, 0.96) 0 2rem, transparent 2.05rem),
    radial-gradient(circle at 62% 70%, rgba(255, 217, 110, 0.88) 0 1.4rem, transparent 1.45rem);
  opacity: 0.88;
}

.modal__art::after {
  content: "";
  position: absolute;
  inset: auto 12% 8% 15%;
  height: 38%;
  border-radius: 999px 999px 0 0;
  border-left: 0.35rem solid rgba(106, 128, 54, 0.9);
  border-bottom: 0.35rem solid rgba(106, 128, 54, 0.9);
  transform: rotate(-18deg);
  opacity: 0.68;
}

.modal__content {
  padding: 1.25rem 1.3rem 1.6rem;
}

.modal__tag {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  color: rgba(255, 233, 150, 0.84);
}

.modal__content h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  color: var(--cream);
}

.modal__message {
  margin: 0.85rem 0 0;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.08;
  color: rgba(255, 247, 215, 0.96);
}

@keyframes introFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes titleGlow {
  0%,
  100% {
    text-shadow:
      0 0 12px rgba(255, 226, 114, 0.95),
      0 0 24px rgba(255, 202, 92, 0.64),
      0 0 52px rgba(255, 182, 0, 0.28);
  }

  50% {
    text-shadow:
      0 0 16px rgba(255, 240, 171, 1),
      0 0 32px rgba(255, 214, 92, 0.72),
      0 0 68px rgba(255, 189, 0, 0.34);
  }
}

@keyframes horizonPulse {
  0%,
  100% {
    opacity: 0.82;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.04);
  }
}

@keyframes ringGlow {
  0%,
  100% {
    box-shadow:
      0 0 42px rgba(255, 212, 66, 0.9),
      0 0 80px rgba(255, 188, 0, 0.45);
  }

  50% {
    box-shadow:
      0 0 52px rgba(255, 230, 124, 0.98),
      0 0 104px rgba(255, 198, 30, 0.56);
  }
}

@keyframes cardSweep {
  0%,
  100% {
    transform: translateX(-55%);
  }

  50% {
    transform: translateX(55%);
  }
}

@media (max-width: 700px) {
  .page-header {
    padding-top: max(0.8rem, env(safe-area-inset-top));
  }

  .constellation-copy {
    inset: 29% 0 auto;
  }

  .sun-system {
    width: min(54vw, 14rem);
  }

  .star-floor {
    width: 240vw;
  }

  .orbit-track--main {
    width: min(112vw, 32rem);
    height: min(112vw, 32rem);
  }

  .orbit-track--secondary {
    width: min(135vw, 40rem);
    height: min(135vw, 40rem);
  }

  .flower-node__label {
    max-width: 5.8rem;
    font-size: 0.74rem;
  }

  .scroll-tip {
    bottom: 1.1rem;
    width: calc(100vw - 2rem);
    text-align: center;
  }

  .focus-card {
    right: 50%;
    bottom: 4.6rem;
    transform: translateX(50%);
    width: calc(100vw - 1.5rem);
    max-width: 22rem;
  }

  .modal__dialog {
    margin-top: 5vh;
  }
}

@media (max-width: 520px) {
  .page-header h1 {
    max-width: 8.5ch;
    font-size: clamp(1.95rem, 11vw, 3rem);
  }

  .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.24em;
  }

  .constellation-copy {
    inset: 31% 0 auto;
  }

  .constellation-copy__line {
    max-width: calc(100vw - 2rem);
    font-size: 0.72rem;
  }

  .constellation-copy__line--alt {
    display: none;
  }

  .orbit-journey {
    min-height: 560vh;
  }

  .sun-system,
  .orbit-track {
    top: 61%;
  }

  .flower-node__label {
    max-width: 5rem;
    font-size: 0.68rem;
  }

  .focus-card {
    bottom: 4.3rem;
    padding: 0.8rem 0.9rem;
  }

  .focus-card__title {
    font-size: 1.12rem;
  }

  .focus-card__hint {
    font-size: 0.82rem;
  }
}

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

  .intro-flower {
    animation: none;
  }
}
