/* ============================================================
   ELEVATED SPACE — MASTER STYLESHEET
   Astrology · Life Coaching · Soul Evolution
   ------------------------------------------------------------
   HOW TO EDIT (no coding knowledge needed):
   • Colors live in the ":root" block just below — change a hex
     code there and it updates across the ENTIRE site.
   • Each section of this file is labelled with a big comment
     banner like  /* === NAVIGATION === *​/  — scroll to the one
     you want and edit only inside it.
   ============================================================ */


/* === DESIGN SYSTEM — COLORS, GLOWS, SPACING, TYPE ===
   Change any value here to re-theme the whole website. */
:root {
  /* --- Brand colors --- */
  --light-blue:   #A8D8EA;   /* soft celestial blue */
  --navy:         #150A35;   /* deep rich jewel purple — main background */
  --purple:       #2D1B69;   /* cosmic purple (mid tone) */
  --purple-zone:  #1E0F45;   /* slightly lighter zone for About section */
  --lavender:     rgba(180, 140, 255, 1);  /* soft lavender accent */
  --gold:         #D4AF37;   /* star rating gold */
  --magenta:      #C0479A;   /* magenta pink accent */
  --white:        #FFFFFF;

  /* --- Derived tones (auto-mixed from the brand colors) --- */
  --navy-deeper:  #0C0522;   /* darkest purple — footer, page bottom */
  --text-main:    #E9EFFB;   /* main reading text (soft white-blue) */
  --text-dim:     #9BA8CE;   /* dimmed text — captions, small print */

  /* --- Glow effects (used on cards, buttons, embeds) --- */
  --glow-blue:    0 0 24px rgba(168, 216, 234, 0.35);
  --glow-magenta: 0 0 28px rgba(192, 71, 154, 0.45);
  --glow-soft:    0 0 60px rgba(45, 27, 105, 0.55);

  /* --- Gradients --- */
  --grad-cosmic:  linear-gradient(135deg, #150A35 0%, #241155 45%, #1A0C40 75%, #150A35 100%);
  --grad-accent:  linear-gradient(90deg, var(--light-blue), var(--magenta));
  --grad-button:  linear-gradient(135deg, #C0479A 0%, #7B3FA0 100%);

  /* --- Typography --- */
  --font-display: 'Julius Sans One', 'Trebuchet MS', sans-serif; /* headings */
  --font-body:    'Jost', 'Segoe UI', sans-serif;                /* paragraphs */

  /* --- Animation timing (used by animations.js and CSS) --- */
  --ease-cosmic:  cubic-bezier(0.22, 1, 0.36, 1);  /* slow, meditative ease */
  --dur-slow:     1.4s;
  --dur-med:      0.8s;

  /* --- Spacing scale --- */
  --space-section: clamp(5rem, 12vw, 9rem);  /* gap between page sections */
  --space-inner:   clamp(1.25rem, 4vw, 2.5rem);
}


/* === GLOBAL RESET & BASE === */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  background-image: var(--grad-cosmic);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.06rem;
  line-height: 1.75;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a  { color: var(--light-blue); text-decoration: none; }

/* Headings — elegant, spaced-out, futuristic */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.25;
}
h1 { font-size: clamp(2.4rem, 7vw, 5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); margin-bottom: 1.2rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

/* Small glowing label above section headings (e.g. "✦ THE JOURNEY") */
.eyebrow {
  display: block;
  color: var(--magenta);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-shadow: 0 0 12px rgba(192, 71, 154, 0.8);
}

/* Keyboard focus outline for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--light-blue);
  outline-offset: 3px;
}


/* === COSMIC BACKGROUND LAYERS (star field, orbs, cursor glow) ===
   These are decorative layers that sit behind all content.
   The star field canvas is drawn by animations.js. */
#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;   /* clicks pass straight through */
}

/* Cosmic dust particle canvas — 120 tiny drifting luminous motes */
#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Nebula wisps — soft indigo & violet atmospheric clouds.
   Sits behind the sacred geometry; drifts slowly via parallax. */
.nebula {
  position: fixed;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 20% 25%, rgba(75, 45, 160, 0.28), transparent 70%),
    radial-gradient(ellipse 50% 35% at 80% 60%, rgba(120, 60, 190, 0.20), transparent 70%),
    radial-gradient(ellipse 45% 50% at 55% 85%, rgba(45, 27, 105, 0.35), transparent 70%),
    radial-gradient(ellipse 35% 30% at 70% 15%, rgba(180, 140, 255, 0.10), transparent 70%);
  filter: blur(30px);
}

/* Wrapper that holds the 5 planet orbs — lets the whole planet
   layer shift together for parallax depth. */
.orb-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Floating glowing orbs — 5 soft spheres drifting through space.
   Their movement paths are controlled by animations.js (GSAP). */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}
.orb-1 { width: 180px; height: 180px; top: 12%; left: 6%;
         background: radial-gradient(circle at 35% 35%, rgba(168,216,234,.9), rgba(168,216,234,.05) 70%);
         box-shadow: 0 0 90px 30px rgba(168,216,234,.25); }
.orb-2 { width: 110px; height: 110px; top: 60%; left: 80%;
         background: radial-gradient(circle at 35% 35%, rgba(192,71,154,.85), rgba(192,71,154,.05) 70%);
         box-shadow: 0 0 80px 25px rgba(192,71,154,.25); }
.orb-3 { width: 70px;  height: 70px;  top: 78%; left: 14%;
         background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.8), rgba(168,216,234,.05) 70%);
         box-shadow: 0 0 60px 18px rgba(255,255,255,.18); }
.orb-4 { width: 140px; height: 140px; top: 30%; left: 68%;
         background: radial-gradient(circle at 35% 35%, rgba(123,63,160,.85), rgba(45,27,105,.05) 70%);
         box-shadow: 0 0 90px 26px rgba(123,63,160,.28); }
.orb-5 { width: 55px;  height: 55px;  top: 45%; left: 40%;
         background: radial-gradient(circle at 35% 35%, rgba(168,216,234,.9), rgba(192,71,154,.05) 70%);
         box-shadow: 0 0 50px 16px rgba(168,216,234,.22); }

/* Soft glowing halo that follows the mouse (desktop only) */
#cursor-glow {
  position: fixed;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,216,234,.14) 0%, rgba(192,71,154,.07) 40%, transparent 70%);
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* Rotating sacred geometry SVG behind hero sections.
   Rotation speed is set in animations.js. */
.geometry-wrap {           /* handles positioning + parallax shift */
  position: absolute;
  top: 50%; left: 50%;
  width: min(85vw, 720px);
  height: min(85vw, 720px);
  margin: calc(min(85vw, 720px) / -2) 0 0 calc(min(85vw, 720px) / -2);
  pointer-events: none;
  z-index: 0;
}
.sacred-geometry {
  width: 100%;
  height: 100%;
  opacity: 0.12;
  /* very subtle lavender inner glow on the line work */
  filter: drop-shadow(0 0 6px rgba(180, 140, 255, 0.55));
  /* one full revolution every 90 seconds — almost imperceptible */
  animation: cosmicRotate 90s linear infinite;
  transform-origin: center center;
}
@keyframes cosmicRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* All real page content sits above the cosmic layers */
main, .site-nav, .site-footer { position: relative; z-index: 3; }


/* === NAVIGATION ===
   The fixed glass bar at the top of every page.
   To change menu link names, edit the <nav> in each HTML file. */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--space-inner);
  background: rgba(10, 14, 42, 0.35);
  backdrop-filter: blur(14px);          /* frosted-glass effect */
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(168, 216, 234, 0.12);
  transition: box-shadow 0.8s ease, background 0.8s ease;
}
/* "nav-glow" class is added by JavaScript once you scroll down */
.site-nav.nav-glow {
  background: rgba(10, 14, 42, 0.65);
  box-shadow: 0 4px 40px rgba(168, 216, 234, 0.15);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 0 18px rgba(168, 216, 234, 0.6);
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-main);
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.4s ease, text-shadow 0.4s ease;
}
.nav-links a::after {           /* animated underline */
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--grad-accent);
  transition: width 0.5s var(--ease-cosmic);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  text-shadow: 0 0 14px rgba(168, 216, 234, 0.9);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Hamburger button — only visible on mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 34px; height: 26px;
  position: relative;
  z-index: 60;
}
.nav-toggle span {
  display: block;
  position: absolute;
  left: 0; width: 100%; height: 2px;
  background: var(--light-blue);
  box-shadow: 0 0 8px rgba(168,216,234,.8);
  transition: all 0.45s var(--ease-cosmic);
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 12px; }
.nav-toggle span:nth-child(3) { top: 24px; }
/* Turns the hamburger into an X when the menu is open */
.nav-toggle.open span:nth-child(1) { top: 12px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 12px; transform: rotate(-45deg); }


/* === HERO SECTION ===
   The full-screen opening of each page. */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem var(--space-inner) 4rem;
  overflow: hidden;
}
/* Inner (smaller) heroes for sub-pages */
.hero.hero-inner { min-height: 66vh; }

.hero-sub {
  margin-top: 1.4rem;
  font-size: clamp(0.95rem, 2.4vw, 1.25rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--light-blue);
  text-shadow: 0 0 20px rgba(168, 216, 234, 0.55);
}

.hero-intro {
  margin-top: 1.6rem;
  max-width: 620px;
  color: var(--text-dim);
}

/* Shimmering headline text — the animation lives in === ANIMATIONS === */
.shimmer {
  background: linear-gradient(110deg,
    var(--white) 25%, var(--light-blue) 42%,
    var(--magenta) 50%, var(--light-blue) 58%, var(--white) 75%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 9s linear infinite;
  text-shadow: none;
  filter: drop-shadow(0 0 22px rgba(168, 216, 234, 0.35))
          drop-shadow(0 0 60px rgba(180, 140, 255, 0.30)); /* cosmic aura */
}

/* Hero tagline — two soft lines that fade in after the title */
.hero-tagline {
  margin-top: 1.6rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.18em;
  color: rgba(225, 214, 255, 0.85);   /* lavender-white */
  line-height: 2;
  opacity: 0;                          /* faded in by animations.js after 0.8s */
  text-shadow: 0 0 24px rgba(180, 140, 255, 0.35);
}

/* Lavender ghost button variant (hero "Begin Your Journey") */
.btn-lavender {
  background: transparent;
  color: rgba(225, 214, 255, 0.95);
  border: 1px solid rgba(180, 140, 255, 0.5);
}
.btn-lavender:hover {
  background: rgba(180, 140, 255, 0.08);
  box-shadow: 0 0 34px rgba(180, 140, 255, 0.45);
}

/* Bouncing scroll-down arrow at the bottom of the home hero */
.scroll-indicator {
  position: absolute;
  bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  color: var(--light-blue);
  font-size: 1.6rem;
  opacity: 0.8;
  animation: floatArrow 2.6s ease-in-out infinite;
  text-shadow: 0 0 16px rgba(168,216,234,.8);
}


/* === BUTTONS ===
   Two styles: .btn-primary (magenta glow) and .btn-ghost (outline). */
.btn {
  display: inline-block;
  padding: 0.95rem 2.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.5s var(--ease-cosmic), box-shadow 0.5s ease;
}
.btn-primary {
  background: var(--grad-button);
  color: var(--white);
  box-shadow: var(--glow-magenta);
}
.btn-ghost {
  background: transparent;
  color: var(--light-blue);
  border-color: rgba(168, 216, 234, 0.5);
  box-shadow: inset 0 0 20px rgba(168, 216, 234, 0.08);
}
.btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 44px rgba(192, 71, 154, 0.6);
}
.btn-ghost:hover { box-shadow: 0 0 34px rgba(168, 216, 234, 0.45); }

.hero-buttons {
  margin-top: 2.6rem;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}


/* === PAGE SECTIONS (general layout) === */
.section {
  padding: var(--space-section) var(--space-inner);
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.section p { max-width: 720px; margin: 0 auto 1.2rem; color: var(--text-dim); }
.section p strong { color: var(--text-main); font-weight: 400; }

/* Thin glowing divider line between some sections */
.divider {
  width: min(300px, 60%);
  height: 1px;
  margin: 0 auto;
  background: var(--grad-accent);
  opacity: 0.4;
  box-shadow: 0 0 18px rgba(168, 216, 234, 0.5);
}

/* Quote block ("Begin Your Journey" section) */
.quote-block {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.4vw, 2rem);
  letter-spacing: 0.1em;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
  text-shadow: 0 0 30px rgba(168, 216, 234, 0.35);
}
.quote-attrib { margin-top: 1.4rem; color: var(--magenta); letter-spacing: 0.3em; font-size: 0.8rem; text-transform: uppercase; }

/* Mission statement glow panel (About page) */
.mission-panel {
  margin: 0 auto;
  max-width: 780px;
  padding: 3rem var(--space-inner);
  border: 1px solid rgba(192, 71, 154, 0.35);
  border-radius: 20px;
  background: rgba(45, 27, 105, 0.25);
  box-shadow: var(--glow-magenta), inset 0 0 60px rgba(45, 27, 105, 0.5);
}


/* === SERVICES CARDS ===
   The three glowing session cards. To change prices, edit the
   HTML in services.html (look for "add your prices here"). */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  text-align: left;
}
.card {
  position: relative;
  padding: 2.4rem 1.9rem;
  border-radius: 18px;
  background: rgba(10, 14, 42, 0.55);
  border: 1px solid rgba(168, 216, 234, 0.25);
  box-shadow: inset 0 0 40px rgba(45, 27, 105, 0.35);
  backdrop-filter: blur(6px);
  transition: transform 0.6s var(--ease-cosmic), box-shadow 0.6s ease, border-color 0.6s ease;
  overflow: hidden;
}
/* Soft aurora that appears inside the card on hover */
.card::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 20%, rgba(192,71,154,.18), transparent 55%),
              radial-gradient(circle at 75% 85%, rgba(168,216,234,.15), transparent 55%);
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-10px);
  border-color: rgba(192, 71, 154, 0.6);
  box-shadow: var(--glow-magenta), inset 0 0 40px rgba(45, 27, 105, 0.5);
}
.card:hover::before { opacity: 1; }

.card .card-icon { font-size: 1.9rem; margin-bottom: 1rem; filter: drop-shadow(0 0 12px rgba(168,216,234,.8)); }
.card h3 { margin-bottom: 0.6rem; }
.card .card-meta {
  color: var(--magenta);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(192,71,154,.7);
}
.card p { margin: 0 0 1.6rem; color: var(--text-dim); font-size: 0.98rem; }
.card .btn { padding: 0.7rem 1.7rem; font-size: 0.78rem; }


/* === EMBEDS (Acuity booking + Whereby portal) ===
   Glowing cosmic frame around the third-party embeds. */
.embed-frame {
  margin: 2.5rem auto 0;
  max-width: 900px;
  padding: 10px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(168,216,234,.5), rgba(192,71,154,.5), rgba(45,27,105,.6));
  box-shadow: var(--glow-blue), var(--glow-magenta);
}
.embed-frame-inner {
  background: var(--navy-deeper);
  border-radius: 14px;
  overflow: hidden;
  padding: 6px;
}
.embed-frame iframe, .embed-frame whereby-embed {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 10px;
}
whereby-embed { height: 640px; background: var(--navy-deeper); }

.embed-note { margin-top: 1.4rem; font-size: 0.9rem; color: var(--text-dim); }
.embed-note a { text-decoration: underline; }


/* === CONTACT FORM === */
.contact-form {
  max-width: 640px;
  margin: 3rem auto 0;
  text-align: left;
  display: grid;
  gap: 1.4rem;
}
.contact-form label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--light-blue);
  margin-bottom: 0.5rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border-radius: 12px;
  background: rgba(10, 14, 42, 0.6);
  border: 1px solid rgba(168, 216, 234, 0.3);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}
.contact-form select option { background: var(--navy); color: var(--text-main); }
.contact-form textarea { min-height: 160px; resize: vertical; }
/* Glow when a field is clicked into */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--magenta);
  box-shadow: 0 0 22px rgba(192, 71, 154, 0.4);
}
.contact-form .btn { justify-self: center; margin-top: 0.4rem; }

/* Success message shown after the form is sent */
.form-success {
  display: none;              /* revealed by JavaScript on submit */
  text-align: center;
  padding: 3rem var(--space-inner);
  border: 1px solid rgba(168, 216, 234, 0.4);
  border-radius: 20px;
  background: rgba(45, 27, 105, 0.3);
  box-shadow: var(--glow-blue);
}
.form-success h3 { margin-bottom: 0.8rem; }

/* Social links row */
.social-row {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 1.4rem;
}
.social-row a {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(168, 216, 234, 0.35);
  font-size: 1.2rem;
  transition: transform 0.5s var(--ease-cosmic), box-shadow 0.5s ease;
}
.social-row a:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-blue);
}


/* === HOME: ABOUT EXCERPT ("The Story" two-column section) === */
.about-home {
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(30, 15, 69, 0.7) 12%, rgba(30, 15, 69, 0.7) 88%, transparent);
  max-width: none;              /* full-width zone shift */
}
/* Thin lavender divider that fades at the edges */
.about-home::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(900px, 86%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180,140,255,0.6), transparent);
}
.about-home-grid {
  max-width: 1000px;
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
}
.about-home-quote {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.9;
  color: rgba(225, 214, 255, 0.92);          /* soft lavender */
  border-left: 2px solid rgba(180, 140, 255, 0.6);
  padding-left: 1.6rem;
  text-shadow: 0 0 22px rgba(180, 140, 255, 0.25);
}
.about-home-body p { margin: 0 0 1.2rem; max-width: none; }
@media (max-width: 760px) {
  .about-home-grid { grid-template-columns: 1fr; gap: 2rem; }
}


/* === TESTIMONIALS — frosted glass cards === */
.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  text-align: left;
}
.testimonial-card {
  padding: 2.2rem 1.9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);          /* frosted glass */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(180, 140, 255, 0.2);
  transition: border-color 0.6s ease, box-shadow 0.6s ease, transform 0.6s var(--ease-cosmic);
}
.testimonial-card:hover {
  border-color: rgba(180, 140, 255, 0.5);
  box-shadow: inset 0 0 40px rgba(120, 60, 190, 0.18), 0 0 30px rgba(180, 140, 255, 0.15);
  transform: translateY(-6px);
}
.testimonial-stars {
  color: var(--gold);
  letter-spacing: 0.3em;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}
.testimonial-quote {
  font-style: italic;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 1.4rem;
  max-width: none;
}
.testimonial-name {
  font-variant: small-caps;
  letter-spacing: 0.2em;
  color: rgba(200, 170, 255, 0.95);          /* lavender */
  font-size: 0.92rem;
}
.testimonial-loc {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: #8B8AA5;                             /* soft grey */
}

/* Carousel dots — only visible on mobile */
.carousel-dots { display: none; }

@media (max-width: 760px) {
  /* Mobile: swipeable one-card-at-a-time carousel */
  .testimonial-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.2rem;
    padding-bottom: 0.8rem;
    scrollbar-width: none;
  }
  .testimonial-cards::-webkit-scrollbar { display: none; }
  .testimonial-card {
    flex: 0 0 88%;
    scroll-snap-align: center;
  }
  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 1.4rem;
  }
  .carousel-dots button {
    width: 9px; height: 9px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(180, 140, 255, 0.25);
    transition: background 0.4s ease, box-shadow 0.4s ease;
  }
  .carousel-dots button.active {
    background: rgba(180, 140, 255, 0.9);
    box-shadow: 0 0 10px rgba(180, 140, 255, 0.8);
  }
}


/* === FOOTER === */
.site-footer {
  margin-top: var(--space-section);
  padding: 4rem var(--space-inner) 2.5rem;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 26, 0.9) 30%, var(--navy-deeper));
  border-top: 1px solid rgba(168, 216, 234, 0.12);
}
.footer-logo {
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 1.2rem;
  color: var(--white);
  text-shadow: 0 0 18px rgba(168,216,234,.5);
}
.footer-tagline { margin-top: 0.6rem; color: var(--text-dim); font-size: 0.86rem; letter-spacing: 0.14em; }
.footer-links {
  margin: 1.8rem 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.6rem;
  list-style: none;
}
.footer-links a { color: var(--text-dim); font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; }
.footer-links a:hover { color: var(--light-blue); text-shadow: 0 0 12px rgba(168,216,234,.8); }
.footer-copy { color: var(--text-dim); font-size: 0.78rem; letter-spacing: 0.1em; margin-top: 1.6rem; }


/* === ANIMATIONS (CSS keyframes) ===
   GSAP handles the scroll animations — these are the looping ones. */
@keyframes shimmer {
  0%   { background-position: 200% 50%; }
  100% { background-position: -50% 50%; }
}
@keyframes floatArrow {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 12px); }
}

/* Elements with .reveal start invisible; GSAP fades them in on scroll.
   If JavaScript fails to load, they stay visible (see .no-js rule). */
.reveal { opacity: 0; }
.no-anim .reveal { opacity: 1; }


/* === RESPONSIVE — TABLET & MOBILE === */
@media (max-width: 900px) {
  /* Slide-in mobile menu */
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.4rem;
    background: rgba(5, 7, 26, 0.96);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.6s var(--ease-cosmic);
    z-index: 55;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.05rem; }
}

@media (max-width: 600px) {
  .orb { opacity: 0.35; }               /* calmer orbs on phones */
  whereby-embed { height: 520px; }
  .hero-buttons .btn { width: 100%; text-align: center; }
  .cards { gap: 1.4rem; }
}


/* === ACCESSIBILITY — REDUCED MOTION ===
   Respects the visitor's "reduce motion" device setting. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .shimmer { animation: none; }
}
