/* BlueGuard light: sharp stellar cores surrounded by electric-blue atmosphere. */
:root {
  --stellar-core: #c6e5ff;
  --stellar-glow: #3b82f6;
  --stellar-shadow: 0 0 2px #d8f0ff99,
    0 0 9px #81c5ffcc,
    0 0 22px #3b82f6cc,
    0 0 46px #3b82f68c,
    0 0 85px #2563eb47;
}

.hero-credit {
  width: 83.333333%; /* Centered in the left half of the hero, not the full page. */
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
  margin-bottom: 6px;
}

.credit-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: #afd3ff;
  font-family: Inter, sans-serif;
  font-size: 20px; /* Twice the previous desktop eyebrow size. */
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: .17em;
  text-shadow: 0 0 10px #3b82f685, 0 0 27px #3b82f64d;
}

.credit-presents {
  color: #8eb8f5;
  font-family: Inter, sans-serif;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .36em;
  padding-left: .36em;
  text-shadow: 0 0 12px #3b82f685;
}

.star-word,
.title-glow {
  position: relative;
  color: var(--stellar-core);
  text-shadow: var(--stellar-shadow);
}

/* Three small cross-shaped glints, not a shower of decorative flashing text. */
.star-flare::before,
.star-flare::after {
  content: '';
  position: absolute;
  pointer-events: none;
  right: -.085em;
  top: .16em;
  background: linear-gradient(transparent, #e9f7ff, transparent);
  border-radius: 100%;
  box-shadow: 0 0 8px #81ddff, 0 0 18px #3b82f6;
}

.star-flare::before { width: 1px; height: .26em; }
.star-flare::after { width: .26em; height: 1px; top: .29em; right: -.215em; }

/* Quiet baseline blue; brighter light appears only where the viewer's eye is invited. */
.eyebrow { text-shadow: 0 0 13px #3b82f65c; }
.text-link { color: #abd3ff; text-shadow: 0 0 10px #3b82f650; }
.text-link:hover,
.text-link:focus-visible,
.rail-atlas:hover,
.footer-links a:hover {
  color: #dcefff;
  text-shadow: 0 0 3px #bfe6ff, 0 0 12px #3b82f6cc, 0 0 28px #3b82f69c;
}
.chapter-rail a.current { text-shadow: 0 0 15px #3b82f6a6; }
.atlas-card:hover h3,
.atlas-card:focus-visible h3,
.atlas-node:hover .node-title,
.atlas-node:focus-visible .node-title {
  color: #c9e6ff;
  text-shadow: 0 0 13px #3b82f6b3, 0 0 29px #3b82f670;
}

/* Artwork remains a real static image beneath independently moving light layers. */
.living-art {
  position: relative;
  width: 100%;
  height: 100%;
  isolation: isolate;
  --art-tilt-x: 0deg;
  --art-tilt-y: 0deg;
}

.art-depth {
  position: absolute;
  inset: 0;
  transform: perspective(900px) rotateX(var(--art-tilt-x)) rotateY(var(--art-tilt-y));
  transition: transform 650ms cubic-bezier(.22, .61, .36, 1);
  transform-style: preserve-3d;
}

.living-art-image {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: contain;
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 76%);
  animation: livingFloat 18s ease-in-out infinite;
  animation-delay: var(--art-delay, 0s);
}

.art-aura {
  position: absolute;
  inset: 9% 10%;
  background: radial-gradient(ellipse at center, #2b78ef33, #1856ab10 40%, transparent 68%);
  opacity: .7;
  animation: auraBreathe 22s ease-in-out infinite;
  animation-delay: var(--art-delay, 0s);
  pointer-events: none;
}

.art-orbit {
  position: absolute;
  inset: 19% 17%;
  border: 1px solid #579eff20;
  border-radius: 50%;
  pointer-events: none;
}

.orbit-near { transform: rotate(-27deg) scaleY(.57); }
.orbit-far { inset: 12% 23%; transform: rotate(48deg) scaleY(.73); opacity: .6; }
.art-orbit > i {
  position: absolute;
  inset: 0;
  animation: orbitalLight 32s linear infinite;
  animation-delay: var(--art-delay, 0s);
}
.orbit-far > i { animation-duration: 47s; animation-direction: reverse; }
.art-orbit > i::before {
  content: '';
  position: absolute;
  top: -2px;
  left: calc(50% - 2px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #e4f6ff;
  box-shadow: 0 0 5px #e4f6ff, 0 0 13px #81ddff, 0 0 25px #3b82f6;
}

.art-motes { position: absolute; inset: 0; pointer-events: none; }
.art-motes > i {
  position: absolute;
  left: var(--mote-x);
  top: var(--mote-y);
  width: 2px;
  height: 2px;
  background: #c9edff;
  border-radius: 50%;
  opacity: .65;
  box-shadow: 0 0 6px #81ddff, 0 0 12px #3b82f6;
  animation: moteDrift var(--mote-duration, 18s) ease-in-out infinite;
  animation-delay: var(--mote-delay, 0s);
}
.art-motes > i:nth-child(3n) { width: 3px; height: 3px; }

/* The original hero composition and artwork are retained. */
.art-stage > .living-art { position: absolute; inset: 0; }
.art-stage > canvas { position: absolute; inset: 0; }
.art-stage .hero-brain { mask-image: radial-gradient(ellipse at center, #000 43%, transparent 74%); }
.art-stage .art-orbit { border-color: #579eff16; }
.art-stage .art-motes > i { opacity: .55; }

/* Purpose-built visual cards pull the viewer into each question. */
.card-art {
  height: 205px;
  margin: 12px -20px 19px;
  width: calc(100% + 40px);
  flex-shrink: 0;
}
.card-art .living-art-image { mask-image: radial-gradient(ellipse at center, #000 26%, transparent 75%); }
.card-art .art-orbit { inset: 20% 23%; border-color: #579eff19; }
.pathway-grid > .atlas-card:first-child .card-art { grid-row: 2/5; }
.frontier-art {
  position: absolute;
  inset: 0 0 auto;
  height: 74%;
  mask-image: linear-gradient(#000 65%, transparent);
}
.frontier-art .living-art-image { object-fit: cover; }
.frontier-art .art-orbit { inset: 18% 23%; }
.frontier-card .frontier-copy { z-index: 2; }
.chapter-living-art { width: 125%; margin-left: -7%; }
.chapter-living-art .living-art-image { mask-image: radial-gradient(ellipse at center, #000 25%, transparent 74%); }

@keyframes livingFloat {
  0%, 100% { transform: translate3d(0, 4px, 0) rotate(-.45deg) scale(1); }
  50% { transform: translate3d(0, -8px, 0) rotate(.45deg) scale(1.018); }
}
@keyframes auraBreathe {
  0%, 100% { opacity: .55; transform: scale(.97); }
  50% { opacity: .82; transform: scale(1.07); }
}
@keyframes orbitalLight { to { transform: rotate(360deg); } }
@keyframes moteDrift {
  0%, 100% { transform: translate3d(-3px, 5px, 0); opacity: .35; }
  50% { transform: translate3d(5px, -9px, 0); opacity: .8; }
}

.art-offscreen .living-art-image,
.art-offscreen .art-aura,
.art-offscreen .art-orbit > i,
.art-offscreen .art-motes > i,
.visuals-sleep .living-art-image,
.visuals-sleep .art-aura,
.visuals-sleep .art-orbit > i,
.visuals-sleep .art-motes > i { animation-play-state: paused; }

.motion-paused .art-depth { transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .living-art-image, .art-aura, .art-orbit > i, .art-motes > i { animation: none; }
  .art-depth { transform: none; transition: none; }
}

@media (max-width: 900px) {
  .hero-credit { width: 66.666667%; }
  .pathway-grid > .atlas-card:first-child .card-art {
    width: 160px;
    height: 230px;
    margin: 18px -15px 0;
    align-self: center;
  }
  .chapter-living-art { width: 160%; margin-left: -26%; }
}

@media (max-width: 600px) {
  .hero-credit { width: 100%; align-items: center; gap: 7px; }
  .credit-name { font-size: 16px; letter-spacing: .13em; gap: 10px; }
  .credit-presents { font-size: 8px; letter-spacing: .32em; }
  .new-hero .hero-inner { min-height: 710px; }
  .card-art, .pathway-grid > .atlas-card:first-child .card-art {
    width: calc(100% + 40px);
    height: 225px;
    margin: 12px -20px 20px;
  }
  .chapter-head:has(.chapter-living-art) .chapter-head-visual {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: 230px;
    opacity: .95;
    margin-top: 20px;
  }
  .chapter-head:has(.chapter-living-art) .chapter-head-inner { flex-direction: column; align-items: stretch; }
  .chapter-living-art { width: 100%; margin-left: 0; }
  .star-flare::before, .star-flare::after { opacity: .8; }
}
