/* ─── Tarot4Women — homepage-only styles ─────────────────────────────────── */

/* ── Layout helpers ────────────────────────────────────────── */
.home-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: 5rem 0; }

/* ── Nav bar ──────────────────────────────────────────────── */
.home-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.25rem;
  max-width: 1080px;
  margin: 0 auto;
}
.home-nav .wordmark {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--cream);
  text-decoration: none;
  text-transform: uppercase;
}
.home-nav .nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* hide the full CTA button in the nav on small screens — the hero has one */
@media (max-width: 479px) {
  .home-nav .nav-cta.btn {
    display: none;
  }
}
.home-nav .nav-links a {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(236,223,228,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.home-nav .nav-links a:hover { color: var(--cream); }
.home-nav .nav-cta {
  color: var(--accent) !important;
}

/* ── Divider ──────────────────────────────────────────────── */
.rule {
  width: 3rem;
  height: 1px;
  background: var(--accent-dim);
  margin: 1.5rem auto;
}

/* ─────────────────────────────────────────────────────────── */
/* 1. HERO                                                      */
/* ─────────────────────────────────────────────────────────── */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.25rem 5rem;
  position: relative;
  overflow: hidden;
}

/* Subtle radial bloom behind the text */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 38%, rgba(201,139,164,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--cream);
  max-width: 660px;
  margin: 0 auto 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero .hero-sub {
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 2.2vw, 0.88rem);
  letter-spacing: 0.06em;
  color: rgba(236,223,228,0.62);
  max-width: 420px;
  margin: 0 auto 2.75rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 420px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.hero-actions .link-secondary {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(236,223,228,0.55);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  padding-bottom: 2px;
}
.hero-actions .link-secondary:hover {
  color: var(--accent);
  border-bottom-color: var(--accent-dim);
}

/* ── Hero card fan ──────────────────────────────────────────── */
.hero-cards {
  position: relative;
  width: 220px;
  height: 300px;
  margin: 0 auto;
}

.hero-card {
  position: absolute;
  width: 110px;
  border-radius: 3px;
  box-shadow: 0 14px 50px rgba(0,0,0,0.65);
  transition: transform 0.4s ease;
}

/* left card, rotated back */
.hero-card:nth-child(1) {
  left: 0;
  top: 20px;
  transform: rotate(-12deg);
  transform-origin: bottom center;
  opacity: 0.82;
  z-index: 1;
}
/* center card, upright */
.hero-card:nth-child(2) {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 1;
}
/* right card */
.hero-card:nth-child(3) {
  right: 0;
  top: 20px;
  transform: rotate(12deg);
  transform-origin: bottom center;
  opacity: 0.82;
  z-index: 2;
}

.hero-cards:hover .hero-card:nth-child(1) {
  transform: rotate(-18deg) translateX(-6px);
}
.hero-cards:hover .hero-card:nth-child(3) {
  transform: rotate(18deg) translateX(6px);
}

/* ─────────────────────────────────────────────────────────── */
/* 2. MEMORY SECTION                                           */
/* ─────────────────────────────────────────────────────────── */
.memory-section {
  text-align: center;
  border-top: 1px solid var(--accent-dim);
  border-bottom: 1px solid var(--accent-dim);
  background: linear-gradient(180deg, transparent 0%, rgba(201,139,164,0.05) 50%, transparent 100%);
}

.memory-section .section-tag {
  margin-bottom: 1rem;
}

.memory-section h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.22;
  color: var(--cream);
  max-width: 620px;
  margin: 0 auto 1.5rem;
}

.memory-section h2 em {
  font-style: italic;
  color: var(--accent);
}

.memory-body {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 300;
  line-height: 1.85;
  color: rgba(236,223,228,0.78);
  max-width: 560px;
  margin: 0 auto;
}

/* ─────────────────────────────────────────────────────────── */
/* 3. HOW IT WORKS                                             */
/* ─────────────────────────────────────────────────────────── */
.how-section { text-align: center; }

.how-section h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  color: var(--cream);
  margin-bottom: 3rem;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 760px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.step-num {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--cream);
}

.step-body {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(236,223,228,0.6);
  max-width: 220px;
  text-align: center;
}

/* connector lines between steps on desktop */
@media (min-width: 640px) {
  .steps {
    position: relative;
  }
  .steps::before {
    content: '';
    position: absolute;
    top: 1.375rem; /* center of step-num */
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 1px;
    background: var(--accent-dim);
    z-index: 0;
  }
  .step { position: relative; z-index: 1; }
}

/* ─────────────────────────────────────────────────────────── */
/* 4. READINGS GRID                                            */
/* ─────────────────────────────────────────────────────────── */
.readings-section { text-align: center; }

.readings-section h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.readings-section .section-intro {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(236,223,228,0.5);
  margin-bottom: 3rem;
}

.readings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
}

@media (min-width: 520px) {
  .readings-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 740px) {
  .readings-grid { grid-template-columns: repeat(4, 1fr); }
}

.reading-tile {
  background: var(--panel);
  border: 1px solid var(--accent-dim);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
  transition: border-color 0.25s, background 0.25s;
}

.reading-tile:hover {
  border-color: rgba(201,139,164,0.55);
  background: rgba(20,10,16,0.92);
}

.reading-tile .tile-badge {
  font-family: var(--font-sans);
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}

.reading-tile .tile-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
}

.reading-tile .tile-line {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  line-height: 1.6;
  color: rgba(236,223,228,0.52);
}

/* Highlighted "live" tile */
.reading-tile.tile-live {
  border-color: rgba(201,139,164,0.5);
}
.reading-tile.tile-live .tile-badge {
  background: var(--accent);
  color: var(--dark);
}

/* ─────────────────────────────────────────────────────────── */
/* 5. CLOSING CTA                                              */
/* ─────────────────────────────────────────────────────────── */
.cta-section {
  text-align: center;
  border-top: 1px solid var(--accent-dim);
  padding-bottom: 6rem;
}

.cta-section h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 5vw, 3rem);
  color: var(--cream);
  line-height: 1.22;
  max-width: 540px;
  margin: 0 auto 1rem;
}

.cta-section h2 em {
  font-style: italic;
  color: var(--accent);
}

.cta-body {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(236,223,228,0.55);
  max-width: 400px;
  margin: 0 auto 2.5rem;
}

.cta-note {
  margin-top: 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(236,223,228,0.35);
}

/* ─────────────────────────────────────────────────────────── */
/* 6. FOOTER                                                   */
/* ─────────────────────────────────────────────────────────── */
.home-footer {
  border-top: 1px solid var(--accent-dim);
  padding: 2.25rem 1.25rem;
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
}

.home-footer .footer-wordmark {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(236,223,228,0.35);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.home-footer .footer-note {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(236,223,228,0.22);
}
