/* ALIRA — Sacred Guide Profile Pages
   Shared stylesheet for /jana, /jules, /pamela
   Each page sets its own --accent palette in an inline <style> block.
*/

:root {
  --ink:       #0d0a18;
  --ink2:      #130e22;
  --ink3:      #1c1530;
  --gold:      #c5aaff;
  --gold-lt:   #ddd0ff;
  --gold-dk:   #8a6ec8;
  --ivory:     #fdf8ee;
  --ivory2:    #ede8d8;
  --pearl:     #f2e6a8;
  --pearl-lt:  #f8f2cc;
  --mist:      rgba(255,250,235,0.72);
  --mist2:     rgba(255,250,235,0.38);
  --mist3:     rgba(255,250,235,0.08);
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'Montserrat', sans-serif;
  --accent:    #c5aaff;
  --accent-lt: #ddd0ff;
  --accent-glow: rgba(197,170,255,0.25);
  --accent-soft: rgba(197,170,255,0.10);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--ivory);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── AMBIENT SPARKS ─────────────────────────────── */
/* Fixed, full-viewport layer of slow-twinkling violet & pearl sparks.
   z-index: 5 puts them ABOVE section backgrounds (which sit at z:1) so the
   sparks are visible across every section, while still BELOW the modal
   (z:100) and nav (z:200). pointer-events: none so clicks pass through. */
#ambient-sparks {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}
.spark {
  position: absolute;
  border-radius: 50%;
  background: #c5aaff;
  box-shadow: 0 0 6px rgba(197, 170, 255, 0.55);
  opacity: 0;
  animation: spark-twinkle var(--dur, 5s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.spark.pearl {
  background: #f2e6a8;
  box-shadow: 0 0 6px rgba(242, 230, 168, 0.5);
}
.spark.lavender {
  background: #ddd0ff;
  box-shadow: 0 0 8px rgba(221, 208, 255, 0.6);
}
@keyframes spark-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  50%      { opacity: 0.9; transform: scale(1.4); }
}
@media (prefers-reduced-motion: reduce) {
  .spark { animation: none; opacity: 0.4; }
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.eyebrow {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
}
.serif-title {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.1;
}
.serif-title em { font-style: italic; color: var(--pearl); }
.gold-rule {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 0 auto;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(.4,0,.2,1), transform 0.85s cubic-bezier(.4,0,.2,1);
}
.reveal.in { opacity:1; transform:translateY(0); }
.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }

/* ── NAV ────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 3rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13,10,24,0.6);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(197,170,255,0.08);
}
#nav.scrolled { background: rgba(13,10,24,0.92); }
.logo-mark { display: flex; align-items: center; gap: 0.6rem; }
.logo-text {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--ivory);
  text-transform: uppercase;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2.4rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--ivory); }
.nav-cta {
  padding: 0.65rem 1.2rem;
  border: 1px solid var(--accent);
  border-radius: 2px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent) !important;
  transition: all 0.3s;
}
.nav-cta:hover {
  background: var(--accent);
  color: var(--ink) !important;
}

/* ── BUTTONS ────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 1rem 2.2rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-lt));
  color: var(--ink) !important;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px var(--accent-glow);
}
.btn-outline {
  display: inline-block;
  padding: 1rem 2.2rem;
  border: 1px solid rgba(197,170,255,0.35);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── HERO ───────────────────────────────────────── */
.guide-hero {
  min-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9rem 2rem 5rem;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 20%, var(--accent-soft), transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(242,230,168,0.06), transparent 60%),
    var(--ink);
}
.guide-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(242,230,168,0.5), transparent),
    radial-gradient(1px 1px at 78% 30%, var(--accent-glow), transparent),
    radial-gradient(1px 1px at 42% 70%, rgba(242,230,168,0.4), transparent),
    radial-gradient(1px 1px at 88% 64%, var(--accent-glow), transparent),
    radial-gradient(1px 1px at 22% 88%, rgba(242,230,168,0.3), transparent);
  pointer-events: none;
}
.guide-hero-inner {
  position: relative;
  max-width: 700px;
}
.guide-portrait {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.guide-portrait-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--pearl));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 60px var(--accent-glow);
}
.guide-portrait-circle::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--ink);
  z-index: 1;
}
.guide-portrait-circle::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.35;
}
/* When a real photo is supplied, hide the inner mask and show the img cropped to the circle */
.guide-portrait-circle.has-photo {
  background: transparent;
}
.guide-portrait-circle.has-photo::before { display: none; }
.guide-portrait-photo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.guide-initial {
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-size: 6rem;
  font-weight: 300;
  font-style: italic;
  background: linear-gradient(135deg, var(--accent), var(--pearl));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.guide-name {
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  margin: 1rem 0 0.6rem;
  color: var(--ivory);
}
.guide-role {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0;
}
.hero-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 1.6rem auto 1.8rem;
}
.guide-tagline {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--mist);
  max-width: 560px;
  margin: 0 auto;
}
.guide-tagline em { color: var(--pearl); font-style: italic; }

/* ── SECTIONS ───────────────────────────────────── */
.section { padding: 6rem 2rem; }
.section-narrow { max-width: 720px; margin: 0 auto; }
.section-wide   { max-width: 1080px; margin: 0 auto; }
.alt-bg { background: var(--ink2); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .eyebrow { margin-bottom: 1rem; }
.section-header .serif-title {
  font-size: clamp(2rem, 4.2vw, 3rem);
  margin-bottom: 1rem;
}

/* ── BIO ───────────────────────────────────────── */
.bio p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--ivory2);
  margin-bottom: 1.4rem;
  text-align: center;
}
.bio p:last-child { margin-bottom: 0; }

/* ── SPECIALTIES ───────────────────────────────── */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(197,170,255,0.12);
  border: 1px solid rgba(197,170,255,0.12);
  border-radius: 4px;
  overflow: hidden;
}
.specialty {
  padding: 2.6rem 2rem;
  background: var(--ink2);
  transition: background 0.4s;
}
.specialty:hover { background: rgba(197,170,255,0.04); }
.specialty-icon {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.specialty h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 0.6rem;
}
.specialty p {
  font-size: 0.88rem;
  color: var(--mist);
  line-height: 1.75;
}

/* ── PULL QUOTE ────────────────────────────────── */
.quote-section {
  padding: 2.4rem 2rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 50%, var(--accent-soft), transparent 60%),
    var(--ink);
}
.quote-section .section-narrow {
  position: relative;
  padding: 1.6rem 0;
}
/* Decorative tapered gold lines bracketing the quote */
.quote-section .section-narrow::before,
.quote-section .section-narrow::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(120px, 30%, 220px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.55;
}
.quote-section .section-narrow::before { top: 0; }
.quote-section .section-narrow::after  { bottom: 0; }
/* A small sparkle "diamond" sitting on each line */
.quote-section .section-narrow .quote-mark-top,
.quote-section .section-narrow .quote-mark-bot {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 6px; height: 6px;
  background: var(--pearl);
  opacity: 0.85;
  box-shadow: 0 0 8px var(--accent-glow);
}
.quote-section .section-narrow .quote-mark-top { top: 0; }
.quote-section .section-narrow .quote-mark-bot { bottom: 0; transform: translate(-50%, 50%) rotate(45deg); }
.pull-quote {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--ivory);
  max-width: 780px;
  margin: 0 auto 1rem;
}
.pull-quote em {
  color: var(--accent);
  font-style: italic;
}
.pull-attrib {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--mist2);
}

/* ── RETREAT FEATURE ──────────────────────────── */
.retreat-feature {
  padding: 6rem 2rem;
  background: var(--ink);
  border-top: 1px solid rgba(197,170,255,0.12);
  border-bottom: 1px solid rgba(197,170,255,0.12);
  position: relative;
  overflow: hidden;
}
.retreat-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, var(--accent-soft), transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(242,230,168,0.06), transparent 60%);
}
.retreat-feature-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.retreat-feature .eyebrow { margin-bottom: 1.2rem; }
.retreat-feature .serif-title {
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  margin-bottom: 1.4rem;
}
.retreat-feature-lede {
  font-size: 1rem;
  color: var(--mist);
  margin-bottom: 1.8rem;
  line-height: 1.85;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.retreat-feature-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 1.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--mist);
  margin-bottom: 2.4rem;
}
.retreat-feature-meta .icon { color: var(--accent); margin-right: 0.4rem; }
.retreat-feature-pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  width: 100%;
  margin: 0 0 2.4rem;
}
.pricing-pill {
  padding: 2.2rem 1.8rem;
  border: 1px solid rgba(197,170,255,0.25);
  border-radius: 10px;
  background: rgba(197,170,255,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 200px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  position: relative;
}
.pricing-pill:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px var(--accent-glow), 0 0 0 1px var(--accent-soft) inset;
  background: rgba(197,170,255,0.09);
}
.pricing-pill::after {
  content: 'Reserve →';
  position: absolute;
  bottom: 0.9rem;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: translateY(4px);
}
.pricing-pill:hover::after {
  opacity: 0.85;
  transform: translateY(0);
}
.pricing-pill.earlybird {
  border-color: rgba(242,230,168,0.4);
  background: linear-gradient(180deg, rgba(242,230,168,0.10), rgba(242,230,168,0.03));
}
.pricing-pill.earlybird:hover {
  border-color: var(--pearl);
  box-shadow: 0 12px 40px rgba(242,230,168,0.25), 0 0 0 1px rgba(242,230,168,0.15) inset;
  background: linear-gradient(180deg, rgba(242,230,168,0.16), rgba(242,230,168,0.05));
}
.pricing-pill.earlybird::after { color: var(--pearl); }
.pill-label {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.earlybird .pill-label { color: var(--pearl); }
.pill-amount {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1;
  letter-spacing: 0.01em;
}
.pill-period {
  font-size: 1.05rem;
  color: var(--mist);
  font-style: italic;
  letter-spacing: 0.02em;
}
.pill-note {
  font-size: 0.65rem;
  color: var(--mist2);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-top: 0.4rem;
  font-weight: 500;
}
@media (max-width: 600px) {
  .retreat-feature-pricing { grid-template-columns: 1fr; gap: 0.9rem; }
  .pricing-pill { min-height: 150px; padding: 1.6rem 1.3rem; }
  .pill-amount { font-size: 2.3rem; }
}
.retreat-feature-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ── OTHER GUIDES ─────────────────────────────── */
.guides-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 760px;
  margin: 0 auto;
}
.guide-card {
  display: block;
  padding: 2.4rem 2rem;
  background: var(--ink2);
  border: 1px solid rgba(197,170,255,0.12);
  border-radius: 6px;
  text-align: center;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
  color: inherit;
}
.guide-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 36px var(--accent-glow);
}
.guide-card-portrait {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 1.4rem;
  background: linear-gradient(135deg, var(--accent), var(--pearl));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.guide-card-portrait[data-accent="pearl"] {
  background: linear-gradient(135deg, var(--pearl), var(--gold-lt));
}
.guide-card-portrait[data-accent="lavender"] {
  background: linear-gradient(135deg, var(--gold-lt), var(--accent));
}
.guide-card-portrait[data-accent="violet"] {
  background: linear-gradient(135deg, var(--accent), var(--gold-dk));
}
.guide-card-portrait::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--ink);
}
.guide-card-portrait.has-photo { background: transparent; }
.guide-card-portrait.has-photo::before { display: none; }
.guide-card-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
}
.guide-card-portrait span {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 300;
  font-style: italic;
  color: var(--ivory);
}
.guide-card .eyebrow { margin-bottom: 0.6rem; }
.guide-card .serif-title {
  font-size: 2rem;
  margin-bottom: 0.4rem;
  color: var(--ivory);
}
.guide-card-role {
  font-size: 0.78rem;
  color: var(--mist);
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
}
.guide-card-cta {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.guide-card:hover .guide-card-cta {
  color: var(--pearl);
  border-color: var(--pearl);
}

/* ── CTA SECTION ──────────────────────────────── */
.cta-section {
  padding: 8rem 2rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 50%, var(--accent-soft), transparent 60%),
    var(--ink);
  border-top: 1px solid rgba(197,170,255,0.12);
}
.cta-section .serif-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 1.4rem;
  color: var(--ivory);
}
.cta-section em { font-style: italic; color: var(--accent); }
.cta-section p {
  color: var(--mist);
  font-size: 1rem;
  margin-bottom: 2.4rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ── FOOTER ───────────────────────────────────── */
footer {
  padding: 3rem 2rem 2.5rem;
  border-top: 1px solid rgba(197,170,255,0.1);
  text-align: center;
}
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mist2);
}
.footer-bottom a { transition: color 0.3s; }
.footer-bottom a:hover { color: var(--ivory); }
.footer-bottom .rule {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: rgba(197,170,255,0.2);
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 768px) {
  #nav { padding: 0 1.5rem; }
  .nav-links { gap: 0.9rem; }
  .nav-links li:not(:last-child) { display: none; }
  .section { padding: 4rem 1.5rem; }
  .quote-section { padding: 2rem 1.5rem; }
  .quote-section .section-narrow { padding: 1.2rem 0; }
  .retreat-feature { padding: 4rem 1.5rem; }
  .cta-section { padding: 5rem 1.5rem; }
  .specialties-grid { grid-template-columns: 1fr; }
  .guides-grid { grid-template-columns: 1fr; }
  .guide-hero { padding: 7rem 1.5rem 4rem; min-height: auto; }
  .guide-portrait-circle { width: 132px; height: 132px; }
  .guide-initial { font-size: 4rem; }
}
