/* ================================================================
   Language of the Stars — brand.css
   The locked brand system, ported from Homepage_Concept.html.
   Every page on the site loads this file. Do not deviate.
   See Brand_Rules.md for the canonical rules.
   ================================================================ */

/* Global hidden override — prevents display rules from overriding [hidden] */
[hidden] { display: none !important; }

:root {
  --midnight: #0a1422;
  --midnight-2: #0d1b2a;
  --indigo: #142339;
  --indigo-2: #1a2d47;
  --cream: #f5f1e8;
  --cream-soft: #e8e1cf;
  --cream-dim: #b5ad96;
  --lavender: #b8a4d4;
  --lavender-vivid: #c9a9e8;
  --magenta-glow: #d68fc6;
  --cyan-glow: #8fb8d6;
  --gold: #e0c188;
  --gold-warm: #e8c89a;
  --gold-dim: #b89968;
  --line: rgba(245,241,232,0.10);
  --line-strong: rgba(245,241,232,0.20);
  --display: 'Playfair Display','Cormorant Garamond',Georgia,serif;
  --serif:   'Cormorant Garamond',Georgia,serif;
  --caps:    'Cinzel','Trajan Pro','Times New Roman',serif;
  --sans:    'Inter',-apple-system,BlinkMacSystemFont,'Helvetica Neue',sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--midnight);
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(184,164,212,0.15), transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(214,143,198,0.10), transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(143,184,214,0.08), transparent 60%);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  /* Locked text halo — 3-layer dark-navy diffusion outward only. */
  text-shadow:
    0 0 28px rgba(2, 6, 14, 0.65),
    0 0 64px rgba(4, 10, 22, 0.35),
    0 0 110px rgba(8, 16, 32, 0.18);
}
.btn, .service-cta, .nav-cta, .pop-badge, .service-popular,
.form-input, .form-select, .form-button, .step-pill {
  text-shadow: none;
}

/* Text opacity lock — letterforms always render at 100% opacity. */
h1, h2, h3, h4, h5, h6,
p, span, a, li, label, button, summary, em, strong, time, input, select {
  opacity: 1;
}

/* ============== ATMOSPHERIC LAYERS ============== */

.stars-far {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 25% 12%, rgba(245,241,232,0.55), transparent),
    radial-gradient(1px 1px at 70% 22%, rgba(245,241,232,0.45), transparent),
    radial-gradient(1px 1px at 12% 48%, rgba(245,241,232,0.6), transparent),
    radial-gradient(1.5px 1.5px at 88% 60%, rgba(245,241,232,0.5), transparent),
    radial-gradient(1px 1px at 50% 80%, rgba(184,164,212,0.5), transparent),
    radial-gradient(1px 1px at 33% 92%, rgba(245,241,232,0.45), transparent),
    radial-gradient(1.5px 1.5px at 78% 38%, rgba(184,164,212,0.55), transparent);
  background-size: 700px 700px;
  animation: drift 280s linear infinite;
  opacity: 0.55;
}

.bokeh {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
}
.bokeh::before, .bokeh::after, .bokeh-orb {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(40px); opacity: 0.35;
  animation: bokeh-drift 40s ease-in-out infinite alternate;
}
.bokeh::before {
  width: 280px; height: 280px; top: 10%; left: 8%;
  background: radial-gradient(circle, rgba(184,164,212,0.6), transparent 70%);
}
.bokeh::after {
  width: 380px; height: 380px; top: 60%; right: 5%;
  background: radial-gradient(circle, rgba(214,143,198,0.4), transparent 70%);
  animation-delay: -10s;
}
.bokeh-orb-1 {
  width: 200px; height: 200px; top: 30%; left: 70%;
  background: radial-gradient(circle, rgba(143,184,214,0.45), transparent 70%);
  animation-delay: -20s;
}
.bokeh-orb-2 {
  width: 320px; height: 320px; bottom: -100px; left: 30%;
  background: radial-gradient(circle, rgba(184,164,212,0.35), transparent 70%);
  animation-delay: -5s;
}
.bokeh-orb-3 {
  width: 160px; height: 160px; top: 75%; left: 12%;
  background: radial-gradient(circle, rgba(232,200,154,0.35), transparent 70%);
  animation-delay: -15s;
}

.grain {
  position: fixed; inset: 0; z-index: 99; pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-300px, -300px, 0); }
}
@keyframes bokeh-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(40px, -30px, 0) scale(1.1); }
  100% { transform: translate3d(-30px, 20px, 0) scale(0.95); }
}

@media (prefers-reduced-motion: reduce) {
  .stars-far, .bokeh::before, .bokeh::after, .bokeh-orb { animation: none; }
}

main, section, header, footer { position: relative; z-index: 1; }

/* ============== TYPE ============== */

h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 500; color: var(--cream); }
p { margin: 0 0 1em; }
a { color: var(--lavender); text-decoration: none; transition: color 200ms; }
a:hover { color: var(--gold); }

.eyebrow {
  font-family: var(--caps);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--lavender);
  font-weight: 500;
  margin: 0 0 22px;
}
.eyebrow.gold {
  color: var(--gold);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.30em;
}

/* ============== NAV ============== */

.site-nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  background: rgba(10, 20, 34, 0.55);
}
.site-nav::after {
  content: ""; position: absolute;
  top: 100%; left: 0; right: 0; height: 110px;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 14, 0.95) 0%,
    rgba(2, 6, 14, 0.95) 1px,
    rgba(2, 6, 14, 0.78) 2px,
    rgba(2, 6, 14, 0.40) 35%,
    rgba(2, 6, 14, 0.15) 70%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 18%, black 82%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 18%, black 82%, transparent 100%);
  pointer-events: none; z-index: 1;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 26px 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  display: inline-flex; flex-direction: column; align-items: stretch; gap: 8px;
  margin-left: 24px; text-decoration: none; line-height: 1;
}
.nav-brand-wordmark {
  display: flex; justify-content: space-between; align-items: baseline;
  width: 100%; min-width: 0; line-height: 1;
  font-family: var(--display); font-style: italic;
}
.nav-brand-wordmark .word-1 {
  font-family: var(--display); font-size: 32px; font-style: italic;
  font-weight: 500; color: var(--gold) !important;
}
.nav-brand-wordmark .word-2 {
  font-family: var(--display); font-size: 26px; font-style: italic;
  font-weight: 400; color: var(--lavender);
}
.nav-brand-wordmark .word-3 {
  font-family: var(--display); font-size: 32px; font-style: italic;
  font-weight: 500; color: var(--lavender);
}
.nav-brand-tag {
  font-family: var(--caps); font-size: 10px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--cream-dim); line-height: 1;
}
@media (max-width: 720px) {
  .nav-brand { margin-left: 12px; gap: 6px; }
  .nav-brand-wordmark .word-1, .nav-brand-wordmark .word-3 { font-size: 24px; }
  .nav-brand-wordmark .word-2 { font-size: 20px; }
  .nav-brand-tag { font-size: 8.5px; letter-spacing: 0.22em; }
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--caps); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--cream-soft); transition: color 200ms;
}
.nav-links a:hover { color: var(--cream); }
.nav-link-icon {
  width: 14px; height: 14px; color: var(--lavender);
  flex-shrink: 0; transition: color 200ms, transform 200ms;
}
.nav-links a:hover .nav-link-icon { color: var(--gold); }
.nav-cta .nav-link-icon { color: currentColor; }
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 4px; pointer-events: none;
  background:
    radial-gradient(circle at 2px 50%, var(--gold) 0, var(--gold) 1.6px, transparent 2px) no-repeat,
    radial-gradient(circle at calc(100% - 2px) 50%, var(--gold) 0, var(--gold) 1.6px, transparent 2px) no-repeat,
    linear-gradient(var(--gold), var(--gold)) center center / calc(100% - 12px) 0.8px no-repeat;
  opacity: 0; transform: translateY(-3px) scaleX(0.7);
  transform-origin: center;
  transition: opacity 260ms ease-out, transform 320ms cubic-bezier(0.4, 0, 0.2, 1), filter 260ms ease-out;
}
.nav-links a:not(.nav-cta):hover::after {
  opacity: 1; transform: translateY(0) scaleX(1);
  filter:
    drop-shadow(0 -2px 4px rgba(224, 193, 136, 0.7))
    drop-shadow(0 -4px 10px rgba(224, 193, 136, 0.45))
    drop-shadow(0 -7px 18px rgba(224, 193, 136, 0.22));
}
.nav-cta {
  padding: 10px 22px; border: 1px solid var(--gold);
  border-radius: 999px; color: var(--gold) !important;
  transition: all 240ms;
}
.nav-cta:hover {
  background: var(--gold); color: var(--midnight) !important;
  box-shadow: 0 0 30px rgba(224,193,136,0.4);
}

/* ============== NAV — HAMBURGER + MOBILE MENU ============== */

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(245,241,232,0.18);
  border-radius: 8px;
  padding: 9px 11px;
  cursor: pointer;
  color: var(--cream-soft);
  transition: border-color 220ms, color 220ms;
  flex-shrink: 0;
}
.nav-hamburger:hover { border-color: var(--gold); color: var(--gold); }
.nav-hamburger-bar {
  display: block;
  width: 20px; height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 220ms ease-in-out, opacity 180ms ease-in-out;
}

@media (max-width: 720px) {
  .nav-hamburger { display: flex; margin-right: 4px; }
  .nav-inner { padding: 14px 20px; position: relative; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 24px;
    background: rgba(8, 17, 30, 0.97);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border-bottom: 1px solid rgba(245,241,232,0.08);
    z-index: 100;
  }
  .site-nav.nav-open .nav-links {
    display: flex;
    animation: lotsNavSlide 200ms ease-out both;
  }
  .nav-links a {
    padding: 15px 4px;
    font-size: 12px;
    border-bottom: 1px solid rgba(245,241,232,0.06);
    justify-content: flex-start;
    gap: 12px;
    border-radius: 0;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-cta {
    margin-top: 14px;
    border-radius: 999px;
    justify-content: center;
    padding: 13px 22px;
    border: 1px solid var(--gold);
  }
  /* Hamburger → X when open */
  .site-nav.nav-open .nav-hamburger-bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .site-nav.nav-open .nav-hamburger-bar:nth-child(2) {
    opacity: 0; transform: scaleX(0);
  }
  .site-nav.nav-open .nav-hamburger-bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
}

@keyframes lotsNavSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============== HERO ============== */

.hero {
  min-height: 56vh;
  padding: 48px 40px 64px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(214,143,198,0.22), transparent 60%),
    radial-gradient(ellipse 80% 40% at 50% 50%, rgba(184,164,212,0.18), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero::after {
  content: ""; position: absolute;
  left: -10%; right: -10%; bottom: -40px; height: 280px;
  background:
    radial-gradient(ellipse 70% 100% at 30% 100%, rgba(214,143,198,0.4), transparent 60%),
    radial-gradient(ellipse 80% 100% at 70% 100%, rgba(184,164,212,0.35), transparent 60%),
    radial-gradient(ellipse 100% 100% at 50% 100%, rgba(232,180,222,0.25), transparent 70%);
  filter: blur(40px); pointer-events: none; z-index: 0;
}

.celestial-dome { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.85; }
.celestial-dome svg { width: 100%; height: 100%; display: block; }
.celestial-dome .constellation-line { stroke: rgba(184,164,212,0.40); stroke-width: 0.6; fill: none; }
.celestial-dome .constellation-star { fill: rgba(245,241,232,0.85); filter: drop-shadow(0 0 4px rgba(184,164,212,0.6)); }
.celestial-dome .constellation-star-bright { fill: #f5f1e8; filter: drop-shadow(0 0 8px rgba(245,241,232,0.85)) drop-shadow(0 0 16px rgba(184,164,212,0.55)); }
.celestial-dome .constellation-faded .constellation-line { stroke: rgba(184,164,212,0.22); }
.celestial-dome .constellation-faded .constellation-star,
.celestial-dome .constellation-faded .constellation-star-bright {
  fill: rgba(245,241,232,0.45);
  filter: drop-shadow(0 0 3px rgba(184,164,212,0.35));
}
.celestial-dome .moon { fill: rgba(216, 210, 196, 0.2); filter: blur(1.5px); }
.celestial-dome .saturn-planet { fill: rgba(232,200,154,0.2); filter: blur(1.5px); }
.celestial-dome .saturn-ring { stroke: rgba(232,200,154,0.2); stroke-width: 1.1; fill: none; }
.celestial-dome .const-label {
  font-family: 'Cinzel', serif; font-size: 8px; letter-spacing: 0.32em;
  text-transform: uppercase; fill: rgba(184,164,212,0.40);
}
.celestial-dome .const-label-faded { fill: rgba(184,164,212,0.22); }

.hero-inner { position: relative; z-index: 2; max-width: 760px; }

.hero-eyebrow {
  font-family: var(--caps); font-size: 11px; letter-spacing: 0.36em;
  color: var(--lavender); text-transform: uppercase;
  margin: 0 0 36px; position: relative;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ""; display: inline-block; width: 50px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--lavender), transparent);
  vertical-align: middle; margin: 0 18px;
}

.hero-headline {
  font-family: var(--display); font-style: italic;
  font-size: clamp(40px, 5.8vw, 76px);
  font-weight: 500; line-height: 1.1; letter-spacing: -0.015em;
  margin: 0 auto 22px; max-width: 16ch; padding-bottom: 0.12em;
  position: relative;
  color: var(--lavender) !important;
  -webkit-text-fill-color: var(--lavender) !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  animation: none !important; filter: none !important;
}

.hero-sub {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(18px, 2.1vw, 22px); line-height: 1.4;
  color: var(--cream-soft); max-width: 620px; margin: 0 auto 30px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }

.btn {
  display: inline-block; padding: 16px 32px; border-radius: 999px;
  font-family: var(--caps); font-size: 12px; letter-spacing: 0.24em;
  text-transform: uppercase; font-weight: 600; text-decoration: none;
  transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer; border: 1px solid transparent;
}
.btn-primary {
  background: var(--gold); color: var(--midnight) !important;
  box-shadow: 0 0 0 0 rgba(224,193,136,0.6), 0 8px 30px -10px rgba(224,193,136,0.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px -10px rgba(232,200,154,0.6), 0 12px 40px -10px rgba(224,193,136,0.6);
}
.btn-ghost {
  background: rgba(245,241,232,0.04);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-color: var(--line-strong); color: var(--cream) !important;
}
.btn-ghost:hover { border-color: var(--cream); background: rgba(245,241,232,0.08); }

.hero-footnote {
  font-family: var(--caps); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  max-width: 620px; margin: 4px auto 0; font-weight: 600;
}

.gradient-divider {
  width: 1px; height: 60px; margin: 40px auto;
  background: linear-gradient(to bottom, transparent, var(--lavender), transparent);
}

/* ============== SERVICES ============== */

.services {
  padding: 52px 40px 58px; max-width: 1280px; margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 38px; }
.section-title {
  font-family: var(--display); font-style: italic;
  font-size: clamp(40px, 5vw, 64px); font-weight: 500;
  line-height: 1.05; color: var(--lavender); margin: 0 0 16px;
}
.section-sub {
  font-family: var(--serif); font-style: italic;
  font-size: 22px; color: var(--cream-soft);
  max-width: 600px; margin: 0 auto;
}

.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  align-items: stretch;
}

.service-card {
  position: relative; padding: 34px 28px; border-radius: 16px;
  background: linear-gradient(145deg, rgba(20, 35, 57, 0.6), rgba(13, 27, 42, 0.4));
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(245,241,232,0.08);
  display: flex; flex-direction: column;
  height: 100%; min-width: 0;
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card-featured { padding-top: 42px; }

.service-card::before {
  content: ""; position: absolute; inset: 0; border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(184,164,212,0.4), transparent 30%, transparent 70%, rgba(214,143,198,0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(224,193,136,0.55);
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.5),
    0 0 0 1px rgba(224,193,136,0.22),
    0 0 40px -8px rgba(224,193,136,0.45),
    0 0 80px -20px rgba(184,164,212,0.35);
}
.service-card:hover::before {
  background: linear-gradient(135deg,
    rgba(224,193,136,0.7), rgba(184,164,212,0.5) 30%,
    rgba(214,143,198,0.4) 70%, rgba(224,193,136,0.6));
}

.service-card-featured {
  background: linear-gradient(145deg, rgba(26, 45, 71, 0.7), rgba(20, 35, 57, 0.5));
}
.service-card-featured::before {
  background: linear-gradient(135deg,
    rgba(224,193,136,0.6), rgba(214,143,198,0.4) 30%, rgba(184,164,212,0.4) 70%, rgba(224,193,136,0.5));
}
.service-card-featured::after {
  content: ""; position: absolute; top: -1px; left: 50%;
  transform: translateX(-50%); width: 120px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 20px rgba(224,193,136,0.6);
}

.service-popular {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--midnight);
  font-family: var(--caps); font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  padding: 6px 18px 7px; border-radius: 999px;
  box-shadow: 0 0 24px rgba(224,193,136,0.55), 0 0 48px rgba(224,193,136,0.25);
  margin: 0; white-space: nowrap; z-index: 2;
}

.service-sigil {
  width: 72px; height: 72px; display: block; margin: 0 auto 22px;
  color: var(--lavender);
  filter: drop-shadow(0 0 10px rgba(184,164,212,0.32));
}
.service-sigil > circle:first-of-type { stroke: var(--gold); stroke-opacity: 0.6; }
.service-card-featured .service-sigil {
  filter: drop-shadow(0 0 12px rgba(184,164,212,0.45)) drop-shadow(0 0 22px rgba(224,193,136,0.22));
}
.service-card-featured .service-sigil > circle:first-of-type { stroke-opacity: 0.85; }

.service-tag {
  font-family: var(--caps); font-size: 10px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--lavender);
  margin: 0 0 14px; font-weight: 500; text-align: center;
}
.service-name {
  font-family: var(--display); font-style: italic;
  font-size: 30px; font-weight: 500; line-height: 1.1;
  color: var(--cream); margin: 0 0 16px;
}
.service-blurb {
  font-family: var(--serif); font-style: italic;
  font-size: 15px; line-height: 1.6; color: var(--cream-soft);
  margin: 0 0 28px; flex-grow: 1;
  hyphens: auto;
}
.service-includes {
  list-style: none; padding: 0; margin: 0 0 22px;
  font-family: var(--sans); font-size: 13.5px; color: var(--cream-soft);
}
.service-includes li {
  padding: 4px 0 4px 20px; position: relative; line-height: 1.45;
}
.service-includes li::before {
  content: "✦"; position: absolute; left: 0; top: 4px;
  color: var(--gold); font-size: 12px;
}
.service-meta {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.06em;
  color: var(--cream-dim); margin: 0 0 28px;
  padding: 16px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: center;
}
.service-card-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.service-price {
  font-family: var(--display); font-size: 36px; font-weight: 500;
  color: var(--gold); line-height: 1; margin: 0;
  filter: drop-shadow(0 0 16px rgba(224,193,136,0.35));
}
.service-price .cur {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.1em;
  color: var(--gold-dim); margin-left: 4px;
}
.service-cta {
  font-family: var(--caps); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--cream);
  padding: 12px 22px; border: 1px solid var(--gold); border-radius: 999px;
  transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer; background: transparent; text-decoration: none;
  display: inline-block;
  box-shadow:
    0 0 16px rgba(184, 164, 212, 0.38),
    0 0 36px rgba(184, 164, 212, 0.22),
    0 0 60px rgba(184, 164, 212, 0.10);
}
.service-cta:hover {
  color: var(--gold); background: rgba(224,193,136,0.08);
  transform: translateY(-1px);
  box-shadow:
    0 0 22px rgba(184, 164, 212, 0.55),
    0 0 48px rgba(184, 164, 212, 0.30),
    0 0 80px rgba(184, 164, 212, 0.15),
    0 0 24px rgba(224, 193, 136, 0.35);
}
.service-card-featured .service-cta {
  background: var(--gold); color: var(--midnight);
  border-color: var(--gold); font-weight: 600;
  box-shadow:
    0 0 18px rgba(184, 164, 212, 0.45),
    0 0 40px rgba(184, 164, 212, 0.25),
    0 0 70px rgba(184, 164, 212, 0.12);
}
.service-card-featured .service-cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 26px rgba(184, 164, 212, 0.6),
    0 0 56px rgba(184, 164, 212, 0.32),
    0 0 90px rgba(184, 164, 212, 0.16),
    0 0 32px rgba(224, 193, 136, 0.5);
}
@media (max-width: 980px) { .service-grid { grid-template-columns: 1fr; } }

/* ============== ABOUT ============== */

.about-teaser {
  padding: 52px 40px 58px; max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 0.8fr 1fr;
  gap: 52px; align-items: center; position: relative;
}
.about-teaser > * { position: relative; z-index: 1; }
.portrait-frame {
  aspect-ratio: 4/5; border-radius: 200px;
  background: linear-gradient(145deg, rgba(184,164,212,0.2), rgba(214,143,198,0.1));
  position: relative; overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 60px -10px rgba(184,164,212,0.3), inset 0 0 60px rgba(13,27,42,0.4);
}
.portrait-frame::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(184,164,212,0.3), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(214,143,198,0.2), transparent 60%);
}
.portrait-frame svg {
  position: absolute; inset: 0; margin: auto;
  width: 70%; height: 70%; color: var(--lavender); opacity: 0.4;
}
.about-text h2 { color: var(--lavender); font-style: italic; }
.about-text p {
  font-family: var(--serif); font-style: italic;
  font-size: 19px; line-height: 1.65; color: var(--cream-soft);
}
.about-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--caps); font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin-top: 28px;
  padding-bottom: 4px; border-bottom: 1px solid var(--gold-dim);
}
.about-cta:hover { color: var(--gold-warm); }
.about-cta::after { content: "→"; }
@media (max-width: 880px) {
  .about-teaser { grid-template-columns: 1fr; gap: 40px; }
  .portrait-frame { max-width: 320px; margin: 0 auto; }
}

/* ============== HOW IT WORKS ============== */

.how {
  padding: 52px 40px 58px; max-width: 1100px;
  margin: 0 auto; position: relative;
}
.services, .site-footer { position: relative; }
.services > *, .site-footer > * { position: relative; z-index: 1; }

.how::before, .about-teaser::before, .services::before, .site-footer::before, .page-band::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 220px;
  background: linear-gradient(180deg,
    rgba(2, 6, 14, 0.95) 0%,
    rgba(2, 6, 14, 0.95) 1px,
    rgba(2, 6, 14, 0.82) 2px,
    rgba(2, 6, 14, 0.55) 25%,
    rgba(2, 6, 14, 0.30) 55%,
    rgba(2, 6, 14, 0.12) 80%,
    transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 18%, black 82%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 18%, black 82%, transparent 100%);
  pointer-events: none; z-index: 0;
}
/* Step wiggle keyframe */
@keyframes step-wiggle {
  0%   { transform: scale(1.1) rotate(-3deg); }
  25%  { transform: scale(1.1) rotate(3deg); }
  50%  { transform: scale(1.1) rotate(-2deg); }
  75%  { transform: scale(1.1) rotate(2deg); }
  100% { transform: scale(1.1) rotate(0deg); }
}

.how-grid-wrap { position: relative; margin-top: 32px; }
.how-connector {
  position: absolute;
  top: 60px; /* ~center of the 120px circle */
  left: calc(16.667% + 60px); /* start at right edge of first circle center */
  right: calc(16.667% + 60px);
  height: 1px;
  background: rgba(224, 193, 136, 0.3);
  pointer-events: none;
  z-index: 0;
}
.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; position: relative; z-index: 1;
}
.how-step {
  text-align: center; padding: 12px 16px; position: relative;
  text-decoration: none; color: inherit;
  cursor: pointer; display: block;
  transition: color 0.2s;
}
.how-step:hover { color: inherit; }
.how-num {
  display: flex; align-items: center; justify-content: center;
  width: 120px; height: 120px; margin: 0 auto 18px; padding-bottom: 0.04em;
  border: 1px solid rgba(224, 193, 136, 0.55);
  border-radius: 50%;
  font-family: var(--display); font-style: italic; font-weight: 600;
  font-size: 65px; line-height: 1;
  background: linear-gradient(180deg, var(--gold), var(--gold-dim));
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 0 14px rgba(184, 164, 212, 0.5))
    drop-shadow(0 0 28px rgba(184, 164, 212, 0.22))
    drop-shadow(0 0 12px rgba(224, 193, 136, 0.18));
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.how-step:hover .how-num {
  box-shadow: 0 0 24px 6px rgba(224, 193, 136, 0.5);
  animation: step-wiggle 0.4s ease forwards;
  cursor: pointer;
}
.how-step h3 {
  font-family: var(--display); font-style: italic;
  font-size: 28px; color: var(--gold); margin: 0 0 10px;
}
.how-step p { color: var(--lavender); font-size: 15px; line-height: 1.55; }
.how .section-title { color: var(--gold) !important; }

/* Field spotlight — triggered on onboarding.html via hash */
.field-spotlight {
  transform: scale(1.2);
  transform-origin: top left;
  box-shadow: 0 0 32px 8px rgba(224, 193, 136, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 6px;
}

@media (max-width: 820px) {
  .how-grid { grid-template-columns: 1fr; gap: 32px; }
  .how-connector { display: none; }
}

/* ============== FOOTER ============== */

.site-footer {
  padding: 28px 40px;
  background: linear-gradient(180deg, transparent, rgba(13,27,42,0.55));
  margin-top: 20px;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(360px, 2fr) 0.9fr 1fr auto;
  gap: 24px; align-items: start;
}
.footer-brand {
  display: flex; flex-direction: column; align-items: stretch;
  gap: 8px; min-width: 0;
}
.footer-brand .footer-mark { margin: 0 0 2px; width: 100%; min-width: 0; }
.footer-tag {
  font-family: var(--caps); font-size: 9.5px;
  letter-spacing: 0.28em; color: var(--cream-dim);
  text-transform: uppercase; margin: 0 0 12px; white-space: nowrap;
}
.footer-credo {
  font-family: var(--serif); font-style: italic; color: var(--lavender);
  font-size: 12.5px; line-height: 1.4; margin: 0;
  border-left: 2px solid var(--gold); padding-left: 10px;
}
.footer-col h4 {
  font-family: var(--caps); font-size: 9.5px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--lavender); margin: 0 0 12px; font-weight: 500;
}
.footer-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 3px;
}
.footer-col a {
  font-family: var(--sans); font-size: 13px;
  color: var(--cream-soft); transition: color 200ms; line-height: 1.4;
}
.footer-col a:hover { color: var(--gold); }
.footer-cta-link {
  color: var(--gold) !important; font-style: italic;
  font-family: var(--display) !important; font-size: 14.5px !important;
}
.footer-social { text-align: right; justify-self: end; }
.footer-social h4 { text-align: right; }
.social-icons {
  display: flex !important; flex-direction: row !important;
  gap: 8px !important; align-items: center; justify-content: flex-end;
}
.social-icons li { display: block; }
.social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border: 1px solid var(--line-strong);
  border-radius: 50%; color: var(--lavender);
  transition: all 240ms;
}
.social-icons a:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(224,193,136,0.06);
  transform: translateY(-2px);
  box-shadow: 0 0 20px -6px rgba(224,193,136,0.4);
}
.social-icons svg { width: 15px; height: 15px; }
.social-todo {
  font-family: var(--serif); font-style: italic;
  font-size: 11px; color: var(--cream-dim);
  margin: 10px 0 0; line-height: 1.4;
  text-align: right; max-width: 220px;
}
@media (max-width: 980px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-social { justify-self: stretch; text-align: left; }
  .footer-social h4 { text-align: left; }
  .social-icons { justify-content: flex-start; }
  .social-todo { text-align: left; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ============== FORMS (Mini reading + Onboarding) ============== */

.form-card {
  position: relative; padding: 36px 32px; border-radius: 16px;
  background: linear-gradient(145deg, rgba(20, 35, 57, 0.6), rgba(13, 27, 42, 0.4));
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(245,241,232,0.08);
  max-width: 540px; margin: 0 auto;
}
.form-card::before {
  content: ""; position: absolute; inset: 0; border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(184,164,212,0.4), transparent 30%, transparent 70%, rgba(214,143,198,0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.form-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-row.row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row.row-split { grid-template-columns: 1fr; } }
.form-label {
  font-family: var(--caps); font-size: 10.5px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--lavender);
  font-weight: 500;
}
.form-input, .form-select {
  width: 100%;
  background: rgba(10,20,34,0.55);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--sans); font-size: 15px;
  color: var(--cream);
  transition: border 200ms, box-shadow 200ms;
}
.form-input:focus, .form-select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(224,193,136,0.12), 0 0 28px -10px rgba(184,164,212,0.5);
}
.form-input::placeholder { color: var(--cream-dim); }
.form-help {
  font-family: var(--serif); font-style: italic;
  font-size: 13px; color: var(--cream-dim);
  margin: 4px 0 0;
}
.form-button {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  font-family: var(--caps); font-size: 12px; letter-spacing: 0.24em;
  text-transform: uppercase; font-weight: 600; text-decoration: none;
  cursor: pointer; border: 1px solid var(--gold);
  background: var(--gold); color: var(--midnight);
  transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px -10px rgba(224,193,136,0.5);
}
.form-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px -10px rgba(232,200,154,0.6), 0 12px 40px -10px rgba(224,193,136,0.6);
}
.form-button:disabled {
  opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none;
}
.form-error {
  color: var(--magenta-glow); font-family: var(--serif);
  font-style: italic; margin-top: 10px;
}
.form-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 13px; color: var(--cream-soft);
}
.form-toggle input { accent-color: var(--gold); }

/* Inline mini reading hero form */
.mini-form {
  display: grid; grid-template-columns: 1fr 1.2fr auto;
  gap: 10px; max-width: 640px; margin: 24px auto 16px;
}
@media (max-width: 720px) {
  .mini-form { grid-template-columns: 1fr; }
}

/* Mini reading display card */
.reading-card {
  position: relative; padding: 36px 32px; border-radius: 16px;
  background: linear-gradient(145deg, rgba(20, 35, 57, 0.6), rgba(13, 27, 42, 0.4));
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(184,164,212,0.25);
  max-width: 720px; margin: 32px auto 0;
}
.reading-card .reading-eyebrow {
  font-family: var(--caps); font-size: 10.5px; letter-spacing: 0.30em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 10px;
}
.reading-card .reading-body {
  font-family: var(--serif); font-style: italic;
  font-size: 18px; line-height: 1.65;
  color: var(--lavender);
  text-shadow:
    0 0 28px rgba(2, 6, 14, 0.65),
    0 0 64px rgba(4, 10, 22, 0.35),
    0 0 110px rgba(8, 16, 32, 0.18);
  white-space: pre-wrap;
}
.reading-card .reading-ctas {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-top: 22px;
}
.reading-card .reading-ctas .btn { padding: 12px 22px; font-size: 11px; }

/* ============== ONBOARDING ============== */
.page-band { padding: 60px 40px 80px; position: relative; max-width: 920px; margin: 0 auto; }
.page-band > * { position: relative; z-index: 1; }
.step-bar {
  display: flex; gap: 8px; justify-content: center; margin-bottom: 28px;
}
.step-pill {
  font-family: var(--caps); font-size: 9.5px; letter-spacing: 0.24em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
  background: rgba(245,241,232,0.05);
  border: 1px solid var(--line-strong);
  color: var(--cream-dim);
}
.step-pill.active {
  background: rgba(224,193,136,0.12);
  border-color: var(--gold);
  color: var(--gold);
}
.step-pill.done {
  background: rgba(184,164,212,0.10);
  border-color: rgba(184,164,212,0.4);
  color: var(--lavender);
}
.onboarding-step { display: none; }
.onboarding-step.active { display: block; }

.placement-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 24px;
}
@media (max-width: 720px) { .placement-grid { grid-template-columns: 1fr; } }
.placement-card {
  position: relative; padding: 26px 22px; border-radius: 14px;
  background: linear-gradient(145deg, rgba(20, 35, 57, 0.55), rgba(13, 27, 42, 0.35));
  border: 1px solid var(--line-strong);
  text-align: center;
}
.placement-glyph {
  font-family: var(--display); font-style: italic;
  font-size: 48px; color: var(--gold); margin: 0 0 8px;
  filter: drop-shadow(0 0 16px rgba(224,193,136,0.35));
}
.placement-label {
  font-family: var(--caps); font-size: 10px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--lavender); margin: 0 0 4px;
}
.placement-name {
  font-family: var(--display); font-style: italic;
  font-size: 22px; color: var(--cream); margin: 0 0 12px;
}
.placement-desc {
  font-family: var(--serif); font-style: italic;
  font-size: 14.5px; color: var(--lavender); line-height: 1.5; margin: 0;
}

.category-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 14px; margin-top: 24px;
}
@media (max-width: 980px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .category-grid { grid-template-columns: 1fr; } }
.category-card {
  position: relative; padding: 22px 18px; border-radius: 14px;
  background: linear-gradient(145deg, rgba(20, 35, 57, 0.55), rgba(13, 27, 42, 0.35));
  border: 1px solid var(--line-strong);
  cursor: pointer; user-select: none;
  text-align: center;
  transition: all 240ms;
}
.category-card.selected {
  border-color: var(--gold);
  background: linear-gradient(145deg, rgba(26, 45, 71, 0.7), rgba(20, 35, 57, 0.5));
  box-shadow: 0 0 30px -10px rgba(224,193,136,0.4);
}
.category-card .cat-name {
  font-family: var(--display); font-style: italic;
  font-size: 20px; color: var(--cream); margin: 0 0 4px;
}
.category-card .cat-desc {
  font-family: var(--serif); font-style: italic;
  font-size: 13.5px; color: var(--lavender); line-height: 1.45; margin: 0;
}

.step-actions {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; margin-top: 36px;
}
.step-actions .btn-link {
  background: transparent; border: none; cursor: pointer;
  font-family: var(--caps); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--cream-dim);
  padding: 10px 0;
}
.step-actions .btn-link:hover { color: var(--cream); }

/* ============== TOAST ============== */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  padding: 12px 20px; border-radius: 999px;
  background: rgba(20, 35, 57, 0.92); border: 1px solid var(--gold);
  color: var(--cream); font-family: var(--caps);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  z-index: 200; opacity: 0; pointer-events: none;
  transition: opacity 240ms;
}
.toast.show { opacity: 1; }

/* Place autocomplete */
.autocomplete-wrap { position: relative; }
.autocomplete-list {
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(10,20,34,0.96);
  border: 1px solid var(--line-strong);
  border-radius: 8px; margin-top: 4px;
  list-style: none; padding: 4px 0; z-index: 10;
  max-height: 220px; overflow-y: auto;
}
.autocomplete-list li {
  padding: 8px 14px; cursor: pointer;
  font-family: var(--sans); font-size: 14px; color: var(--cream-soft);
}
.autocomplete-list li:hover, .autocomplete-list li.highlight {
  background: rgba(224,193,136,0.10); color: var(--gold);
}
