/* ===== Reset & base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-deep: #0b0817;
  --bg-mid: #14102a;
  --bg-panel: #1a1533;
  --bg-panel-2: #201a3d;
  --ink: #ece7fa;
  --ink-dim: #b6adcf;
  --ink-faint: #8a80ad;
  --gold: #d4af61;
  --gold-soft: #e8cd8f;
  --violet: #8b6dd6;
  --rose: #c98bb0;
  --line: rgba(212, 175, 97, 0.18);
  --shadow: 0 20px 60px rgba(0,0,0,0.45);
  --radius: 20px;
  --serif: 'Cormorant Garamond', 'Marcellus', serif;
  --display: 'Marcellus', 'Cormorant Garamond', serif;
  --sans: 'Manrope', sans-serif;
}

html { scroll-behavior: smooth; font-size: 19px; max-width: 100%; overflow-x: hidden; }

body {
  font-family: var(--sans);
  background: var(--bg-deep);
  color: var(--ink);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  text-shadow: 0 2px 12px rgba(4, 2, 10, 0.5);
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

em {
  font-style: italic;
  font-family: var(--serif);
  color: var(--gold-soft);
  font-weight: 500;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.2px;
}

h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 4.6rem);
  text-transform: none;
  letter-spacing: 0.5px;
  font-weight: 400;
  font-style: normal;
  color: var(--ink);
  overflow-wrap: break-word;
  word-break: break-word;
  text-shadow:
    0 3px 8px rgba(10,5,20,0.4),
    0 16px 40px rgba(60,30,100,0.35);
}
h2 { font-size: clamp(2.3rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.45rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.85rem;
  line-height: 1.5;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 600;
}

.section-sub {
  color: var(--ink-dim);
  font-size: 1.05rem;
  max-width: 620px;
}

.section-head { margin-bottom: 56px; }
.section-head h2 { margin-bottom: 18px; }

/* ===== Ornamental divider ===== */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 8px 0;
  color: var(--gold-soft);
}
.ornament::before, .ornament::after {
  content: "";
  width: min(200px, 32vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,205,143,0.55));
}
.ornament::after { background: linear-gradient(90deg, rgba(232,205,143,0.55), transparent); }
.ornament span {
  font-size: 1rem;
  text-shadow: 0 0 12px rgba(232,205,143,0.6), 0 2px 6px rgba(0,0,0,0.5);
}

/* ===== Focus states ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== Galaxy swirl background ===== */
.galaxy-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background: #05030c;
}
.galaxy-bg::before {
  content: "";
  position: absolute;
  top: 46%;
  left: 50%;
  width: 190vmax;
  height: 190vmax;
  transform: translate(-50%, -50%);
  background:
    conic-gradient(from 0deg at 50% 50%,
      #ff8bf3 0deg,
      #b23bf0 18deg,
      #6a2ee0 40deg,
      #2f6bf0 66deg,
      #0a0620 96deg,
      #2f1a6e 130deg,
      #8a2fe0 162deg,
      #ff8bf3 200deg,
      #6a2ee0 240deg,
      #1c3fae 280deg,
      #0a0620 320deg,
      #ff8bf3 360deg);
  filter: blur(55px) saturate(1.6);
  opacity: 0.75;
  mix-blend-mode: screen;
  animation: galaxySpin 240s linear infinite;
  border-radius: 50%;
}
.galaxy-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 46%, #f3d4ff 0%, #e2a6ff 6%, #c479f0 14%, #9a4de0 24%, #6a35b8 38%, #2c1c66 58%, transparent 82%),
    radial-gradient(circle at 50% 46%, transparent 70%, #05030c 105%);
}
@keyframes galaxySpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== Starfield background ===== */
.stars {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.stars::before, .stars::after {
  content: "";
  position: absolute;
  inset: -50%;
  background-repeat: repeat;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, rgba(255,255,255,0.9), transparent),
    radial-gradient(1px 1px at 90px 120px, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 160px 60px, rgba(212,175,97,0.7), transparent),
    radial-gradient(1px 1px at 220px 180px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 280px 40px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 40px 200px, rgba(255,255,255,0.4), transparent);
  background-size: 320px 320px;
  animation: drift 120s linear infinite;
}
.stars::after {
  background-size: 420px 420px;
  opacity: 0.5;
  animation: drift 200s linear infinite reverse;
}
@keyframes drift {
  from { transform: translate(0,0); }
  to { transform: translate(-320px, -320px); }
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 15% 0%, rgba(139,109,214,0.10), transparent 60%),
    radial-gradient(ellipse 50% 35% at 100% 30%, rgba(201,139,176,0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(212,175,97,0.06), transparent 60%);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color .25s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: #ffffff;
  color: #1a1533;
  box-shadow: 0 10px 30px rgba(255,255,255,0.18);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(255,255,255,0.28); background: #f4f1ff; }

.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255,255,255,0.02);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }

.btn-ghost {
  color: var(--ink-dim);
  padding-left: 6px;
  padding-right: 6px;
}
.btn-ghost:hover { color: var(--gold-soft); }

.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s ease, padding 0.3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled {
  background: rgba(11, 8, 23, 0.82);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: flex; align-items: center; gap: 14px; }
.logo-mark {
  color: var(--gold);
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 1.5px;
  line-height: 1;
  border: 1px solid var(--gold);
  border-radius: 5px;
  padding: 6px 9px 5px;
  animation: twinkle 3s ease-in-out infinite;
}
@keyframes twinkle { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.logo-text {
  font-family: var(--display);
  font-size: 1.9rem;
  letter-spacing: 3px;
  color: var(--ink);
}

.main-nav { display: flex; gap: 32px; }
.main-nav a {
  font-size: 0.9rem;
  color: var(--ink-dim);
  position: relative;
  padding: 4px 0;
  transition: color .25s ease;
}
.main-nav a:hover { color: var(--gold-soft); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .25s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-cta { padding: 10px 24px; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 170px 0 100px;
  overflow: hidden;
}
.hero-glow { display: none; }
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.hero-text h1 { margin-bottom: 22px; }
.hero-lead {
  color: var(--ink-dim);
  font-size: 1.08rem;
  max-width: 500px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.hero-stats {
  display: flex;
  gap: 40px;
}
.hero-stats span {
  display: block;
  font-family: var(--display);
  font-size: 1.9rem;
  color: var(--gold-soft);
}
.hero-stats small {
  color: var(--ink-faint);
  font-size: 0.8rem;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.4;
}
.zodiac-ring {
  position: relative;
  width: min(1000px, 105vmin);
  aspect-ratio: 1;
  animation: spin 90s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.ring-svg { width: 100%; height: 100%; overflow: visible; }
.ring-outer, .ring-mid, .ring-inner {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
}
.ring-mid { stroke: rgba(139,109,214,0.25); stroke-dasharray: 2 6; }
.zodiac-glyphs text { fill: var(--gold-soft); opacity: 0.85; font-family: 'Noto Sans Symbols 2', 'Segoe UI Symbol', Arial, sans-serif; font-variant-emoji: text; }

.moon-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a2350, #14102a 70%);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 80px rgba(139,109,214,0.35), inset 0 0 50px rgba(0,0,0,0.5);
  animation: spin 90s linear infinite reverse;
}
.moon-glyph { font-size: 4.4rem; color: var(--gold-soft); }

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 70px auto 0;
  width: fit-content;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.scroll-cue span {
  width: 1px; height: 34px;
  background: linear-gradient(var(--gold), transparent);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0.2; } 50% { opacity: 1; } 100% { opacity: 0.2; } }

/* ===== About ===== */
.about { padding: 100px 0; position: relative; }
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}
.about-media { width: 100%; position: relative; }
.about-frame { position: relative; width: 100%; }
.about-photo {
  aspect-ratio: 3/4;
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}
.about-photo-deco {
  position: absolute;
  bottom: -24px; left: -24px;
  width: 60%; height: 45%;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  z-index: 0;
  opacity: 0.4;
}
.about-photo { position: relative; z-index: 1; }
.about-badge {
  position: absolute;
  bottom: 24px; right: -24px;
  max-width: 210px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  gap: 12px;
  box-shadow: var(--shadow);
  font-size: 0.8rem;
  color: var(--ink-dim);
}
.about-badge span { color: var(--gold); font-size: 1.2rem; }

.about-content h2 { margin: 0 0 22px; }
.lead-text { color: var(--ink-dim); margin-bottom: 16px; font-size: 1.05rem; }
.about-content > p { color: var(--ink-dim); margin-bottom: 24px; }
.about-quote {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold-soft);
  border-left: 2px solid var(--gold);
  padding-left: 20px;
  margin: 8px 0 32px;
}

.about-points { margin-bottom: 32px; display: grid; gap: 12px; }
.about-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--ink); }
.about-points li span { color: var(--gold); }

/* ===== Services ===== */
.services { padding: 100px 0; position: relative; background: linear-gradient(180deg, transparent, rgba(139,109,214,0.05), transparent); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,175,97,0.4);
  box-shadow: var(--shadow);
}
.service-card--featured {
  background: linear-gradient(165deg, var(--bg-panel-2), var(--bg-panel));
  border-color: rgba(212,175,97,0.35);
}
.service-badge {
  position: absolute;
  top: -13px; right: 26px;
  background: var(--gold);
  color: #241a08;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 999px;
}
.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 35% 30%, rgba(212,175,97,0.14), transparent 70%);
  transition: border-color .3s ease, transform .3s ease;
}
.service-card:hover .service-icon { border-color: rgba(212,175,97,0.5); transform: scale(1.06); }
.service-card h3 { margin-bottom: 14px; }
.service-card > p { color: var(--ink-dim); font-size: 0.94rem; margin-bottom: 20px; }
.service-list { margin-bottom: 26px; display: grid; gap: 9px; flex: 1; }
.service-list li {
  font-size: 0.86rem;
  color: var(--ink-dim);
  padding-left: 18px;
  position: relative;
}
.service-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
  top: 4px;
}
.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.service-price { font-family: var(--display); color: var(--gold-soft); font-size: 1.1rem; }

/* ===== Process ===== */
.process { padding: 100px 0; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.process-step {
  padding: 30px 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.process-step:hover { border-color: var(--line); background: rgba(255,255,255,0.02); }
.process-step h3 { margin-bottom: 10px; }
.process-step p { color: var(--ink-dim); font-size: 0.9rem; }

/* ===== Reviews ===== */
.reviews { padding: 100px 0; }
.reviews-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.review-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,175,97,0.35);
  box-shadow: var(--shadow);
}
.review-text { font-size: 0.9rem; color: var(--ink-dim); margin-bottom: 20px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-size: 1rem;
  color: #14102a;
  flex-shrink: 0;
}
.review-author strong { display: block; font-size: 0.88rem; }
.review-author small { color: var(--ink-faint); font-size: 0.78rem; }

/* ===== Contact ===== */
.contact { padding: 100px 0 60px; position: relative; }
.contact-glow {
  position: absolute;
  bottom: -100px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,139,176,0.18), transparent 65%);
  z-index: -1;
}
.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.contact-info h2 { margin: 0 0 18px; }
.contact-list { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
.contact-list li { text-align: left; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-list strong { display: block; font-size: 0.78rem; color: var(--ink-faint); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-list a { font-size: 1rem; color: var(--ink); }
.contact-list a:hover { color: var(--gold-soft); }


/* ===== Footer ===== */
.site-footer { padding: 50px 0; border-top: 1px solid var(--line); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: var(--ink-dim); font-size: 0.88rem; }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-note {
  width: 100%;
  color: var(--ink-faint);
  font-size: 0.78rem;
  text-align: center;
  margin-top: 10px;
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-inner, .about-inner { grid-template-columns: 1fr; }
  .about-inner { gap: 40px; }
  .about-media { max-width: 380px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .reviews-track { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .hero { padding: 140px 0 70px; }
  h1 {
    font-size: clamp(2.3rem, 11vw, 3rem);
    letter-spacing: 0.2px;
    line-height: 1.12;
  }
  .eyebrow { font-size: 0.95rem; letter-spacing: 2px; }
  .hero-lead { font-size: 1rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-visual { align-items: flex-start; justify-content: center; opacity: 0.28; }
  .zodiac-ring { width: min(420px, 108vw); margin-top: 30px; }
  .moon-core { width: 150px; height: 150px; }
  .moon-glyph { font-size: 3rem; }
  .process-grid { grid-template-columns: 1fr; }
  .reviews-track { grid-template-columns: 1fr; }
  .about-badge { display: none; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-nav { justify-content: center; }
}

/* ===== Mobile nav open state ===== */
.main-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 12px);
  right: 20px;
  left: auto;
  width: min(260px, 75vw);
  background: rgba(20, 16, 42, 0.55);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 22px 24px;
  gap: 18px;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
