:root {
  --deep-blue: #031525;
  --blue-veil: #0a2846;
  --blue-light: #53c7ff;
  --gold: #f2b84b;
  --gold-soft: #ffd891;
  --ink: #02050a;
  --mist: #d8ecff;
  --muted: #8ea5b9;
  --glass: rgba(7, 22, 36, 0.42);
  --line: rgba(255, 216, 145, 0.2);
  --page-pad: clamp(1.25rem, 3vw, 3rem);
  --max-copy: 760px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color: var(--mist);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 50% 0%, rgba(31, 113, 163, 0.28), transparent 38rem),
    linear-gradient(180deg, var(--deep-blue) 0%, #02070e 46%, #010306 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black, transparent 74%);
}

#naora-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.cocuyo-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(circle, #fff8ca 0 18%, #ffd56f 42%, rgba(242, 184, 75, 0) 72%);
  box-shadow:
    0 0 10px rgba(255, 230, 151, 0.95),
    0 0 28px rgba(242, 184, 75, 0.72),
    0 0 70px rgba(242, 184, 75, 0.28);
  mix-blend-mode: screen;
  transition:
    opacity 220ms ease,
    width 220ms ease,
    height 220ms ease,
    box-shadow 220ms ease;
}

.cocuyo-cursor::after {
  position: absolute;
  inset: -1.2rem;
  border-radius: inherit;
  content: "";
  background: radial-gradient(circle, rgba(242, 184, 75, 0.2), transparent 68%);
  animation: cocuyoPulse 1.8s ease-in-out infinite;
}

.cocuyo-cursor.is-visible {
  opacity: 1;
}

.cocuyo-cursor.is-hovering {
  width: 1rem;
  height: 1rem;
  box-shadow:
    0 0 14px rgba(255, 240, 184, 1),
    0 0 42px rgba(242, 184, 75, 0.82),
    0 0 92px rgba(83, 199, 255, 0.26);
}

.aura {
  position: fixed;
  z-index: 0;
  width: 42vmax;
  height: 42vmax;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.22;
  mix-blend-mode: screen;
}

.aura-gold {
  right: -16vmax;
  top: 16vh;
  background: #d99224;
  animation: driftGold 16s ease-in-out infinite alternate;
}

.aura-blue {
  left: -18vmax;
  bottom: 4vh;
  background: #1476a8;
  animation: driftBlue 18s ease-in-out infinite alternate;
}

.site-header,
.site-footer,
main {
  position: relative;
  z-index: 2;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--page-pad);
  color: rgba(216, 236, 255, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.quiet-nav a,
.curiosity-link {
  color: inherit;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.brand-mark {
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--gold-soft);
  transform: rotate(45deg);
  box-shadow:
    0 0 16px rgba(242, 184, 75, 0.86),
    inset 0 0 10px rgba(83, 199, 255, 0.45);
}

.quiet-nav {
  display: flex;
  gap: clamp(0.8rem, 2.2vw, 2rem);
  font-size: 0.76rem;
  color: rgba(216, 236, 255, 0.66);
}

.quiet-nav a {
  transition: color 240ms ease, text-shadow 240ms ease;
}

.quiet-nav a:hover {
  color: var(--gold-soft);
  text-shadow: 0 0 16px rgba(242, 184, 75, 0.56);
}

.immersive-section {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 7rem var(--page-pad);
}

.hero {
  position: relative;
  place-items: center;
  text-align: center;
}

.hero-copy {
  max-width: min(980px, 94vw);
}

.eyebrow,
.section-kicker {
  margin: 0 0 1.2rem;
  color: var(--gold-soft);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(242, 184, 75, 0.44);
}

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

h1 {
  margin-bottom: 1.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 0.98;
  font-size: clamp(3rem, 8.8vw, 8.6rem);
  text-wrap: balance;
}

h1 span {
  display: block;
}

h1 span:first-child {
  color: rgba(216, 236, 255, 0.66);
}

h1 span:last-child {
  color: #fff7df;
  text-shadow:
    0 0 22px rgba(242, 184, 75, 0.34),
    0 0 70px rgba(83, 199, 255, 0.24);
}

h2 {
  max-width: var(--max-copy);
  margin-bottom: 1.15rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 5vw, 5.2rem);
  font-weight: 400;
  line-height: 1.04;
  text-wrap: balance;
}

p {
  max-width: 610px;
  color: rgba(216, 236, 255, 0.72);
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  line-height: 1.75;
}

.hero-line {
  margin-inline: auto;
  color: rgba(255, 216, 145, 0.86);
}

.scroll-signal {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  width: 1px;
  height: 5rem;
  overflow: hidden;
  background: rgba(216, 236, 255, 0.16);
}

.scroll-signal span {
  display: block;
  width: 100%;
  height: 42%;
  background: linear-gradient(transparent, var(--gold-soft), transparent);
  animation: descend 2.8s ease-in-out infinite;
}

.threshold {
  justify-items: start;
}

.fragment-stack {
  width: min(840px, 100%);
  margin-left: clamp(0rem, 7vw, 8rem);
}

.fragment-stack p:not(.section-kicker) {
  margin-bottom: 1.25rem;
}

.sensory {
  position: relative;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
  gap: clamp(2rem, 5vw, 6rem);
}

.sensory-panel {
  max-width: 720px;
  padding: clamp(1.5rem, 4vw, 3rem) 0;
}

.pulse-orbit {
  position: relative;
  width: min(38vw, 440px);
  min-width: 260px;
  aspect-ratio: 1;
  justify-self: center;
}

.pulse-orbit span {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 216, 145, 0.28);
  border-radius: 50%;
  box-shadow:
    inset 0 0 34px rgba(83, 199, 255, 0.18),
    0 0 42px rgba(242, 184, 75, 0.18);
  animation: breathe 7s ease-in-out infinite;
}

.pulse-orbit span:nth-child(2) {
  inset: 24%;
  border-radius: 34% 66% 46% 54%;
  animation-delay: -2s;
  transform: rotate(28deg);
}

.pulse-orbit span:nth-child(3) {
  inset: 36%;
  border-radius: 0;
  animation-delay: -4s;
  transform: rotate(45deg);
}

.revelation {
  place-items: center;
  text-align: center;
}

.revelation-copy p {
  margin-inline: auto;
}

.curiosity-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  margin-top: 1.2rem;
  padding: 0.88rem 1.25rem;
  border: 1px solid rgba(255, 216, 145, 0.34);
  color: #fff2cf;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(242, 184, 75, 0.07);
  box-shadow: 0 0 40px rgba(242, 184, 75, 0.16);
  transition: transform 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.curiosity-link:hover {
  transform: translateY(-2px);
  background: rgba(242, 184, 75, 0.14);
  box-shadow: 0 0 62px rgba(242, 184, 75, 0.28);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem var(--page-pad);
  color: rgba(216, 236, 255, 0.48);
  font-size: 0.76rem;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(10px);
  transition:
    opacity 900ms ease,
    transform 900ms ease,
    filter 900ms ease;
}

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

@keyframes driftGold {
  from {
    transform: translate3d(0, 0, 0) scale(0.86);
  }
  to {
    transform: translate3d(-16vw, 8vh, 0) scale(1.08);
  }
}

@keyframes driftBlue {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(14vw, -8vh, 0) scale(0.82);
  }
}

@keyframes descend {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(250%);
  }
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.36;
    transform: scale(0.96) rotate(0deg);
  }
  50% {
    opacity: 0.88;
    transform: scale(1.06) rotate(18deg);
  }
}

@keyframes cocuyoPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.78);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.16);
  }
}

@media (pointer: fine) {
  body,
  a,
  button {
    cursor: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }

  .quiet-nav {
    display: none;
  }

  .immersive-section {
    min-height: 100svh;
    padding-block: 6.5rem;
  }

  .hero {
    text-align: left;
    place-items: center start;
  }

  .hero-line {
    margin-inline: 0;
  }

  .fragment-stack {
    margin-left: 0;
  }

  .sensory {
    grid-template-columns: 1fr;
  }

  .pulse-orbit {
    width: min(72vw, 360px);
  }

  .site-footer {
    flex-direction: column;
  }
}

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