/* Healing Ray Counseling Coming Soon Page
   Hostinger-ready static landing page
*/

:root {
  --sage: #9caf88;
  --sage-dark: #566b4f;
  --sage-soft: #dbe6d1;
  --cream: #fff9ed;
  --sun: #f7c948;
  --sun-soft: #ffe6a7;
  --clay: #c68f6a;
  --ink: #27332a;
  --muted: #66705f;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(39, 51, 42, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 18%, rgba(247, 201, 72, 0.32), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(156, 175, 136, 0.34), transparent 30%),
    linear-gradient(135deg, var(--cream), #eef4e8 48%, #fffdf7);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -20%;
  background:
    repeating-conic-gradient(from 18deg at 50% 50%, rgba(247, 201, 72, 0.09) 0deg 6deg, transparent 6deg 18deg);
  opacity: 0;
  animation: raysReveal 2.2s ease-out forwards, slowRotate 34s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.page-glow {
  position: fixed;
  inset: auto auto -240px -180px;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: rgba(198, 143, 106, 0.18);
  filter: blur(20px);
  z-index: 0;
}

.site-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.hero-card {
  width: min(1060px, 100%);
  min-height: 640px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  overflow: hidden;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: translateY(24px) scale(0.98);
  opacity: 0;
  animation: cardIn 950ms cubic-bezier(.2,.9,.2,1) 220ms forwards;
}

.hero-copy {
  padding: clamp(34px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--sage-dark);
  background: rgba(219, 230, 209, 0.88);
  font: 700 0.8rem/1.1 Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 720ms ease-out 720ms forwards;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--sun);
  box-shadow: 0 0 0 8px rgba(247, 201, 72, 0.16);
}

h1 {
  max-width: 650px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  color: var(--ink);
  opacity: 0;
  animation: fadeUp 780ms ease-out 900ms forwards;
}

h1 em {
  display: block;
  color: var(--sage-dark);
  font-style: italic;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 590px;
  margin-top: 28px;
  font: 1.16rem/1.75 Arial, sans-serif;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 780ms ease-out 1080ms forwards;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 42px;
  background:
    linear-gradient(160deg, rgba(156, 175, 136, 0.18), rgba(255, 249, 237, 0.2)),
    radial-gradient(circle at 50% 38%, rgba(255, 230, 167, 0.72), transparent 36%);
  overflow: hidden;
}

.brand-pill {
  position: absolute;
  top: 30px;
  left: 34px;
  display: flex;
  align-items: center;
  gap: 11px;
  font: 700 0.92rem/1 Arial, sans-serif;
  color: var(--sage-dark);
  opacity: 0;
  animation: fadeUp 720ms ease-out 620ms forwards;
}

.brand-pill img {
  width: 38px;
  height: 38px;
}

.sun-stage {
  position: relative;
  width: min(360px, 72vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.sun {
  position: absolute;
  width: 54%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff7cf 0 14%, #f7c948 42%, #e6a93c 100%);
  box-shadow:
    0 0 0 20px rgba(247, 201, 72, 0.13),
    0 0 86px rgba(247, 201, 72, 0.54);
  animation: sunRise 1.2s cubic-bezier(.2,.9,.2,1) 500ms both, pulse 3.8s ease-in-out 1.8s infinite;
}

.ray {
  position: absolute;
  width: 8px;
  height: 44%;
  top: 2%;
  left: calc(50% - 4px);
  border-radius: 99px;
  transform-origin: 50% 100%;
  background: linear-gradient(to top, rgba(247, 201, 72, 0), rgba(247, 201, 72, 0.56));
  opacity: 0;
  animation: rayIn 600ms ease-out forwards;
}

.ray-1 { transform: rotate(0deg); animation-delay: 900ms; }
.ray-2 { transform: rotate(30deg); animation-delay: 980ms; }
.ray-3 { transform: rotate(60deg); animation-delay: 1060ms; }
.ray-4 { transform: rotate(90deg); animation-delay: 1140ms; }
.ray-5 { transform: rotate(120deg); animation-delay: 1220ms; }
.ray-6 { transform: rotate(150deg); animation-delay: 1300ms; }
.ray-7 { transform: rotate(180deg); animation-delay: 1380ms; }
.ray-8 { transform: rotate(210deg); animation-delay: 1460ms; }
.ray-9 { transform: rotate(240deg); animation-delay: 1540ms; }
.ray-10 { transform: rotate(270deg); animation-delay: 1620ms; }
.ray-11 { transform: rotate(300deg); animation-delay: 1700ms; }
.ray-12 { transform: rotate(330deg); animation-delay: 1780ms; }

.horizon {
  position: absolute;
  bottom: 20%;
  width: 82%;
  height: 32%;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, rgba(156, 175, 136, 0.88), rgba(86, 107, 79, 0.88));
  box-shadow: inset 0 20px 38px rgba(255,255,255,0.18);
  transform: translateY(42px);
  opacity: 0;
  animation: fadeHorizon 900ms ease-out 1150ms forwards;
}

.quote-card {
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: min(310px, calc(100% - 68px));
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 20px 46px rgba(39, 51, 42, 0.12);
  backdrop-filter: blur(14px);
  font: 0.98rem/1.6 Arial, sans-serif;
  color: var(--sage-dark);
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 720ms ease-out 1700ms forwards;
}

@keyframes cardIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sunRise {
  from { opacity: 0; transform: translateY(80px) scale(0.76); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes rayIn {
  from { opacity: 0; height: 18%; }
  to { opacity: 1; height: 44%; }
}

@keyframes fadeHorizon {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

@keyframes raysReveal {
  to { opacity: 1; }
}

@keyframes slowRotate {
  to { transform: rotate(360deg); }
}

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

@media (max-width: 820px) {
  body {
    overflow-y: auto;
  }

  .hero-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 430px;
    order: -1;
  }

  .hero-copy {
    padding: 34px 26px 42px;
  }

  .brand-pill {
    top: 22px;
    left: 24px;
  }

  .quote-card {
    right: 22px;
    bottom: 22px;
  }
}
