/* =========================================================
   PRANA — homepage v4
   No shapes. One canvas, one line, two doorways.
   ========================================================= */

:root {
  --art-gold: #b08d45;
  --art-gold-bright: #d9b76a;
  --art-text: #ece4d6;
  --art-text-dim: rgba(236, 228, 214, 0.72);

  --sanc-line: #7a9089;
  --sanc-text: #4a3d31;
  --sanc-text-dim: rgba(74, 61, 49, 0.72);

  --ease-breath: cubic-bezier(0.45, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  background: linear-gradient(
    to bottom,
    #0a0908 0%,
    #2b2926 22%,
    #8f8b83 42%,
    #eeeae2 58%,
    #cfe1e1 75%,
    #ecdfca 100%
  );
  overflow-x: hidden;
}

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

/* =========================================================
   LAYOUT — one screen, no scroll
   ========================================================= */

.cosmos {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(24px, 5vh, 56px) 20px;
}

.world {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(6px, 1.2vh, 12px);
}

.eyebrow {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.world--art .eyebrow { color: var(--art-gold); }
.world--sanctuary .eyebrow { color: #8a7360; }

.world__heading {
  margin: 0;
  font-family: "Pinyon Script", "Brush Script MT", cursive;
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1;
}

.world--art .world__heading { color: var(--art-text); }
.world--sanctuary .world__heading { color: var(--sanc-text); }

.world__byline {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--art-gold-bright);
}

/* =========================================================
   CTA — the underline is the line's beginning / end
   ========================================================= */

.cta {
  margin-top: clamp(6px, 1.4vh, 14px);
  text-decoration: none;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cta--art { color: var(--art-gold-bright); }
.cta--sanctuary { color: var(--sanc-line); }

.cta__label {
  position: relative;
  display: inline-block;
  padding-bottom: 7px;
}

.cta__label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: filter 300ms ease, opacity 300ms ease;
}

.cta:hover .cta__label::after,
.cta:focus-visible .cta__label::after {
  filter: brightness(1.35);
}

.cta:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 6px;
}

/* =========================================================
   THE CONNECTOR — one continuous thread, CTA to CTA
   ========================================================= */

.connector {
  position: relative;
  width: 2px;
  height: clamp(64px, 9vh, 120px);
  margin: 0 auto;
  border-radius: 2px;
  background: linear-gradient(
    to bottom,
    var(--art-gold) 0%,
    #b3a06a 38%,
    #9fb2ab 68%,
    var(--sanc-line) 100%
  );
}

.connector__pulse {
  position: absolute;
  left: 50%;
  top: 0%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff6df, var(--art-gold) 60%, transparent 100%);
  box-shadow: 0 0 14px 4px rgba(176, 141, 69, 0.45);
  animation: travel 7s var(--ease-breath) infinite;
}

@keyframes travel {
  0% {
    top: 0%;
    background: radial-gradient(circle, #fff6df, #b08d45 60%, transparent 100%);
    box-shadow: 0 0 14px 4px rgba(176, 141, 69, 0.45);
  }
  50% {
    top: 100%;
    background: radial-gradient(circle, #eaf3f0, #7a9089 60%, transparent 100%);
    box-shadow: 0 0 14px 4px rgba(122, 144, 137, 0.4);
  }
  100% {
    top: 0%;
    background: radial-gradient(circle, #fff6df, #b08d45 60%, transparent 100%);
    box-shadow: 0 0 14px 4px rgba(176, 141, 69, 0.45);
  }
}

/* =========================================================
   MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .connector__pulse { animation: none; top: 50%; }
  .cta__label::after { transition: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-height: 640px) {
  .connector { height: clamp(40px, 6vh, 70px); }
}
