/* =========================================================
   Rosalind Pryce — Editorial Tarot & Love Readings
   Design system: midnight indigo + ivory + antique gold,
   classic display serif + readable serif body.
   Editorial midnight-indigo / ivory / antique-gold system.
   ========================================================= */

:root {
  /* Palette — timeless, elegant */
  --midnight:      #131a33;   /* deep night blue (sections) */
  --midnight-deep: #0d1226;   /* darker night */
  --indigo:        #1f2a4d;   /* indigo card on night */
  --ivory:         #f7f3ea;   /* warm ivory page */
  --ivory-soft:    #efe8d8;   /* soft ivory panel */
  --cream-line:    #e3dac6;   /* hairline on ivory */
  --gold:          #b89253;   /* antique gold accent */
  --gold-soft:     #cdab6e;   /* lighter gold */
  --gold-line:     rgba(184,146,83,.45);
  --ink:           #25283a;   /* body text on ivory */
  --ink-muted:     #56586b;   /* muted text on ivory */
  --on-night:      #e8e3d6;   /* body text on night */
  --on-night-muted:#a9b0c7;   /* muted text on night */
  --maxw: 1080px;
  --measure: 680px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'EB Garamond', 'Lora', Georgia, serif;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.75;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .display {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .005em;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-soft); }

img { max-width: 100%; display: block; }

/* ---- Layout helpers ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.measure { max-width: var(--measure); margin-left: auto; margin-right: auto; }
.center { text-align: center; }

/* Thin gold rule — recurring editorial separator */
.rule {
  width: 64px; height: 1px;
  background: var(--gold-line);
  margin: 1.5rem auto;
  position: relative;
}
.rule::before,
.rule::after {
  content: "";
  position: absolute; top: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}
.rule::before { left: -10px; }
.rule::after  { right: -10px; }

.eyebrow {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: .8125rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* ---- Header / nav ---- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,243,234,.92);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid var(--cream-line);
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; padding-bottom: 1rem;
}
.brand-mark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem; font-weight: 600; letter-spacing: .02em;
  color: var(--ink);
  display: flex; align-items: center; gap: .55rem;
}
.brand-mark svg { width: 22px; height: 22px; flex: none; }
.brand-mark span { white-space: nowrap; }
.site-nav { display: flex; gap: 1.75rem; align-items: center; }
.site-nav a {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: .9375rem; color: var(--ink-muted);
  letter-spacing: .04em;
}
.site-nav a:hover { color: var(--gold); }
.nav-cta {
  border: 1px solid var(--gold-line);
  padding: .45rem 1.1rem;
  border-radius: 2px;
  color: var(--gold) !important;
}
.nav-cta:hover { background: var(--gold); color: var(--midnight-deep) !important; }
.nav-toggle { display: none; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1rem; letter-spacing: .08em;
  text-transform: uppercase;
  padding: .95rem 2.25rem;
  border-radius: 2px;
  transition: all .25s ease;
  cursor: pointer;
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: var(--midnight-deep);
  border: 1px solid var(--gold);
  box-shadow: 0 6px 22px -10px rgba(184,146,83,.7);
}
.btn-gold:hover { color: var(--midnight-deep); filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid var(--gold-line);
  color: var(--gold);
  background: transparent;
}
.btn-ghost:hover { background: rgba(184,146,83,.1); color: var(--gold-soft); }

/* ---- Hero ---- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 50% -10%, #1c2647 0%, transparent 60%),
    linear-gradient(180deg, var(--midnight) 0%, var(--midnight-deep) 100%);
  color: var(--on-night);
  text-align: center;
  overflow: hidden;
  padding: 6.5rem 0 7rem;
}
/* discreet celestial pattern — pure CSS, no faces */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.5px 1.5px at 80% 16%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 33% 60%, rgba(255,255,255,.45), transparent),
    radial-gradient(1px 1px at 66% 72%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.5px 1.5px at 50% 35%, rgba(205,171,110,.6), transparent),
    radial-gradient(1px 1px at 22% 80%, rgba(255,255,255,.35), transparent),
    radial-gradient(1px 1px at 90% 55%, rgba(255,255,255,.4), transparent);
  opacity: .8;
  pointer-events: none;
}
/* crescent moon ornament */
.hero .moon {
  position: absolute; top: 2.6rem; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 56px;
  opacity: .9;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero .eyebrow { color: var(--gold-soft); }
.hero h1 {
  color: var(--ivory);
  font-size: clamp(2.6rem, 6vw, 4.25rem);
  margin: 1rem auto .4rem;
  max-width: 16ch;
}
.hero .signature {
  font-style: italic;
  color: var(--gold-soft);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: .02em;
}
.hero .lede {
  color: var(--on-night-muted);
  max-width: 40ch; margin: 1.6rem auto 2.4rem;
  font-size: 1.15rem;
}
.hero .rule { margin: 2rem auto 0; }
.hero-meta {
  margin-top: 2.4rem;
  display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap;
  color: var(--on-night-muted);
  font-size: .9rem; letter-spacing: .1em; text-transform: uppercase;
}
.hero-meta strong { color: var(--gold-soft); display: block; font-size: 1.5rem;
  font-family: 'Cormorant Garamond', Georgia, serif; letter-spacing: 0; text-transform: none; }

/* ---- Sections ---- */
section { padding: 5.5rem 0; }
.section-night {
  background: linear-gradient(180deg, var(--midnight) 0%, var(--midnight-deep) 100%);
  color: var(--on-night);
}
.section-night h2 { color: var(--ivory); }
.section-night p { color: var(--on-night-muted); }
.section-night .eyebrow { color: var(--gold-soft); }
.section-ivory { background: var(--ivory); }
.section-ivory-soft { background: var(--ivory-soft); }

.section-head { text-align: center; margin-bottom: 3.25rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-top: .5rem; }
.section-head p { color: var(--ink-muted); max-width: 52ch; margin: 1rem auto 0; }
.section-night .section-head p { color: var(--on-night-muted); }

/* ---- Intro / who I am ---- */
.intro-grid {
  display: grid; grid-template-columns: 320px 1fr;
  gap: 3.5rem; align-items: center;
}
.portrait-placeholder {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  background:
    radial-gradient(420px 280px at 50% 20%, #233158 0%, transparent 70%),
    linear-gradient(180deg, var(--indigo), var(--midnight-deep));
  border: 1px solid var(--gold-line);
  box-shadow: 0 24px 60px -30px rgba(19,26,51,.6);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.portrait-placeholder::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.2px 1.2px at 20% 30%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.2px 1.2px at 70% 25%, rgba(255,255,255,.45), transparent),
    radial-gradient(1px 1px at 40% 65%, rgba(255,255,255,.4), transparent),
    radial-gradient(1px 1px at 80% 70%, rgba(205,171,110,.55), transparent),
    radial-gradient(1px 1px at 55% 45%, rgba(255,255,255,.35), transparent);
}
.portrait-placeholder svg { width: 92px; height: 92px; opacity: .92; position: relative; z-index: 2; }
.intro-body h2 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: .25rem; }
.intro-body .sig {
  font-style: italic; color: var(--gold);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem; margin-top: 1.75rem;
}
.intro-body p + p { margin-top: 1rem; }

/* ---- Reveal blocks (what the cards can reveal) ---- */
.reveal-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.reveal-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(205,171,110,.22);
  border-radius: 4px;
  padding: 2.25rem 2rem;
  transition: border-color .3s ease, transform .3s ease;
}
.reveal-card:hover { border-color: var(--gold-line); transform: translateY(-2px); }
.reveal-card .num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--gold);
  font-size: 1rem; letter-spacing: .25em;
}
.reveal-card h3 { color: var(--ivory); font-size: 1.55rem; margin: .5rem 0 .65rem; }
.reveal-card p { color: var(--on-night-muted); font-size: 1rem; margin: 0; }

/* ---- How a reading unfolds ---- */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.step { text-align: center; }
.step .step-num {
  width: 64px; height: 64px; margin: 0 auto 1.25rem;
  border: 1px solid var(--gold-line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.7rem; color: var(--gold);
  background: #fff;
}
.step h3 { font-size: 1.45rem; margin-bottom: .5rem; color: var(--ink); }
.step p { color: var(--ink-muted); font-size: 1rem; }

/* ---- Testimonials ---- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.t-card {
  background: #fff;
  border: 1px solid var(--cream-line);
  border-radius: 4px;
  padding: 2rem 1.85rem;
  position: relative;
}
.t-card .quote-mark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--gold); font-size: 3rem; line-height: .6;
  display: block; margin-bottom: .5rem;
}
.t-card p { font-style: italic; color: var(--ink); font-size: 1.05rem; }
.t-card .who {
  margin-top: 1.25rem; font-style: normal;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-muted);
}
.t-card .who span { color: var(--gold); }

/* ---- FAQ ---- */
.faq { max-width: var(--measure); margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--cream-line);
  padding: 1.35rem 0;
}
.faq summary {
  cursor: pointer; list-style: none;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; transition: transform .25s; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin-top: .85rem; color: var(--ink-muted); }

/* ---- CTA band ---- */
.cta-band { text-align: center; }
.cta-band h2 { color: var(--ivory); font-size: clamp(2.1rem, 4.5vw, 3rem); }
.cta-band p { color: var(--on-night-muted); max-width: 44ch; margin: 1rem auto 2.25rem; }

/* ---- Footer ---- */
.site-foot {
  background: var(--midnight-deep);
  color: var(--on-night-muted);
  padding: 3.5rem 0 2.5rem;
  border-top: 1px solid rgba(205,171,110,.18);
}
.foot-grid {
  display: flex; flex-wrap: wrap; gap: 2rem;
  align-items: flex-start; justify-content: space-between;
}
.foot-brand { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.5rem; color: var(--ivory); }
.foot-brand .tag { font-family:'EB Garamond',Georgia,serif; font-size: .9rem; color: var(--on-night-muted); letter-spacing:.04em; display:block; margin-top:.35rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.foot-nav a { color: var(--on-night-muted); font-size: .92rem; letter-spacing: .04em; }
.foot-nav a:hover { color: var(--gold-soft); }
.foot-legal {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .82rem; color: var(--on-night-muted);
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: space-between;
}
.foot-legal .disclaimer { max-width: 60ch; opacity: .8; }

/* ---- Legal/content pages ---- */
.doc { background: var(--ivory); }
.doc main { max-width: 720px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: .35rem; }
.doc .doc-date { color: var(--ink-muted); font-size: .9rem; padding-bottom: 1.25rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--cream-line); }
.doc h2 { font-size: 1.4rem; margin-top: 2rem; margin-bottom: .55rem; color: var(--ink); }
.doc p, .doc li { color: var(--ink-muted); }
.doc ul { margin: .5rem 0 1rem 1.4rem; }
.doc li { margin-bottom: .3rem; }
.doc .callout {
  background: var(--ivory-soft);
  border: 1px solid var(--gold-line);
  border-radius: 4px;
  padding: 1.1rem 1.35rem; margin: 1.5rem 0;
}
.doc .callout p { color: var(--ink); font-weight: 600; margin: 0; }

/* ---- Contact page ---- */
.contact-hero { text-align: center; }
.contact-card {
  background: #fff; border: 1px solid var(--cream-line);
  border-radius: 4px; padding: 2.75rem 2.5rem;
  max-width: 560px; margin: 0 auto; text-align: center;
}
.contact-card .email-line {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem; margin: 1rem 0 1.75rem; word-break: break-word;
}

/* ---- Responsive ---- */
@media (max-width: 880px) {
  .intro-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .portrait-placeholder { max-width: 320px; margin: 0 auto; width: 100%; }
  .reveal-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .testimonials { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  section { padding: 4rem 0; }
  .hero { padding: 5rem 0 5.5rem; }
  .site-nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: var(--midnight-deep);
    flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 2rem; gap: 1.5rem;
    transform: translateX(100%); transition: transform .3s ease;
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { color: var(--on-night); font-size: 1.15rem; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 6px; z-index: 60;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; }
  .hero-meta { gap: 1.75rem; }
}
