/* Cinematic 3D intro for the Auravia cinematic page (experiment).
   Everything is scoped to .cn-* so the rest of the page keeps using styles.css unchanged.
   3D first; text is small and quiet. Brand palette only. */
.cn-intro { position: relative; background: #04302A; color: var(--cream); }
.cn-track { position: relative; height: 640vh; }
.cn-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: linear-gradient(335deg, #0E5A4E 0%, #0A4A41 30%, #063C35 58%, #04302A 100%); }
.cn-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s var(--ease); }
.cn-ready .cn-gl { opacity: 1; }
.cn-vignette { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(4,48,42,.55) 0%, transparent 22%, transparent 68%, rgba(4,48,42,.75) 100%); }

/* beats: small quiet text over the scene */
.cn-beat { position: absolute; z-index: 2; left: clamp(20px, 5vw, 64px); bottom: clamp(34px, 9vh, 90px); max-width: min(36rem, 86vw); opacity: 0; transform: translateY(14px); pointer-events: none; }
.cn-beat.on { pointer-events: auto; }
.cn-eyebrow { font-family: var(--font-head); font-weight: 600; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 .7rem; }
.cn-beat h1, .cn-beat h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.15rem, .95rem + .9vw, 1.65rem); line-height: 1.25; letter-spacing: -.01em; color: var(--cream); margin: 0; max-width: 30ch; }
.cn-beat h1 { max-width: 34ch; }
.cn-beat h1 em { font-style: normal; background-image: var(--g-gold, linear-gradient(110deg, #A87C2C, #D4B063 50%, #A87C2C)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cn-sub { margin: .7rem 0 0; font-size: .88rem; color: #CFD3C4; max-width: 38rem; }
.cn-cta { margin: 1.1rem 0 0; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.cn-cta .reassure { color: #CFD3C4; }
.cn-cta .reassure::before { display: none; }
.cn-beat--4 { left: 50%; right: auto; text-align: center; transform: translate(-50%, 14px); }
.cn-beat--4 h2 { margin-inline: auto; }
.cn-beat--4 .cn-sub { margin-inline: auto; }

.cn-hint { position: absolute; z-index: 2; left: 50%; bottom: 14px; width: 1px; height: 36px; background: rgba(254,250,241,.18); overflow: hidden; }
.cn-hint i { display: block; width: 100%; height: 100%; background: var(--gold-soft); transform-origin: top; animation: cnhint 2.4s var(--ease) infinite; }
@keyframes cnhint { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* fallback: no WebGL, reduced motion, or Calm motion. The intro just flows as text. */
.cn-static .cn-track { height: auto; }
.cn-static .cn-stage { position: relative; height: auto; padding: 120px clamp(20px, 5vw, 64px) 48px; overflow: visible; }
.cn-static .cn-gl, .cn-static .cn-hint, .cn-static .cn-vignette { display: none; }
.cn-static .cn-beat { position: static; opacity: 1; transform: none; max-width: 40rem; margin: 0 0 3rem; pointer-events: auto; }
.cn-static .cn-beat--4 { text-align: left; }
@media (prefers-reduced-motion: reduce) { .cn-hint i { animation: none; } }
@media (max-width: 700px) { .cn-track { height: 560vh; } }

/* services + "does this sound like you" band */
.svc-row { background: var(--cream); }
.svc-row h2 { max-width: 16em; margin-bottom: var(--s-3); }
.svc-row .who-list { margin-top: var(--s-4); }
.svc-row .who-situations { background: var(--mist); }
.svc-row .who-situations a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }

/* questionnaire trigger inside the dark intro */
.cn-cta .fit-teaser { position: static; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; background: none; border: 0; border-bottom: 1px solid var(--gold-soft); border-radius: 0; box-shadow: none; padding: 0 0 4px; color: #CFD3C4; font: inherit; font-size: .8rem; cursor: pointer; width: auto; text-align: left; }
.cn-cta .fit-teaser b { color: var(--cream); font-weight: 600; }
.cn-cta .fit-teaser:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 4px; }
@media (max-width: 700px) { .advisor-launch > span:last-child { display: none; } .advisor-launch { padding: 8px; } }
/* keep the mood button clear of the intro text */
.soundtrack-btn { top: 78px; bottom: auto; }
@media (max-width: 700px) { .soundtrack-btn { top: 74px; bottom: auto; left: 10px; } }
