/* === TYPOGRAPHY === */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Crimson+Pro:ital,wght@0,300;0,400;0,500;1,300;1,400&display=swap');

/* === VARIABLES === */
:root {
  --navy: #0A1628;
  --navy-light: #0D1B2A;
  --cream: #F0E6D3;
  --cream-dark: #E8D9C0;
  --burgundy: #6B1C23;
  --burgundy-light: #8B2635;
  --gold: #C9A84C;
  --gold-light: #D4B96A;
  --text-light: #F0E6D3;
  --text-muted: rgba(240, 230, 211, 0.5);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--navy);
  color: var(--text-light);
  font-family: 'Crimson Pro', Georgia, serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 6rem 4rem 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(107, 28, 35, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* === TAROT CARD MOCKUP === */
.hero-card-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tarot-card {
  width: 280px;
  aspect-ratio: 2/3;
  position: relative;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5));
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}

.tarot-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.card-border-outer {
  position: absolute;
  inset: 0;
  border: 2px solid var(--gold);
  background: linear-gradient(160deg, #1a2a40 0%, #0D1B2A 40%, #1a0a10 100%);
}

.card-border-inner {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(201, 168, 76, 0.4);
}

.card-content {
  position: absolute;
  inset: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
}

.card-header {
  width: 100%;
  text-align: center;
}

.card-ornament-top {
  width: 100%;
  height: auto;
  margin-bottom: 6px;
}

.card-symbol-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 4px 0;
}

.symbol {
  width: 20px;
  height: 20px;
}

.card-title-block {
  text-align: center;
  margin: 8px 0;
}

.card-syzygy {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 6px;
  color: var(--gold);
  display: block;
}

.card-divider-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 4px 0;
}

.card-divider-line .line {
  width: 30px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.card-subtitle {
  font-family: 'Crimson Pro', serif;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.card-names {
  width: 100%;
  text-align: center;
}

.name-block {
  margin: 6px 0;
}

.name-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  color: var(--gold);
  opacity: 0.6;
  margin-right: 4px;
}

.name-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  display: block;
}

.name-detail {
  font-family: 'Crimson Pro', serif;
  font-size: 8px;
  color: var(--text-muted);
}

.card-celestial-divider svg {
  width: 80px;
  height: auto;
}

.card-compat-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.compat-bar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.compat-label {
  font-family: 'Crimson Pro', serif;
  font-size: 8px;
  color: var(--text-muted);
  width: 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.compat-track {
  flex: 1;
  height: 3px;
  background: rgba(201, 168, 76, 0.15);
  position: relative;
}

.compat-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--burgundy), var(--gold));
}

.compat-score {
  font-family: 'Crimson Pro', serif;
  font-size: 8px;
  color: var(--gold);
  width: 24px;
  text-align: right;
}

.card-footer-section {
  width: 100%;
  text-align: center;
}

.card-zodiac-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: 4px;
}

.card-center-dot {
  color: var(--gold);
  opacity: 1;
  margin: 0 4px;
}

.card-ornament-bottom {
  width: 80%;
  height: auto;
}

/* === HERO TEXT === */
.hero-text {
  max-width: 540px;
}

.hero-eyebrow {
  font-family: 'Crimson Pro', serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.hero-lede {
  font-family: 'Crimson Pro', serif;
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 440px;
}

.hero-pill-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pill {
  font-family: 'Crimson Pro', serif;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 1px;
}

.pill-sep {
  color: rgba(201, 168, 76, 0.3);
}

.hero-grain-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

/* === SECTION SHARED === */
.section-label {
  font-family: 'Crimson Pro', serif;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  opacity: 0.8;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* === HOW IT WORKS === */
.howitworks {
  padding: 8rem 4rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.howitworks::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--gold));
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 4rem;
}

.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
}

.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 1rem;
}

.step-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.step-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-connector {
  width: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-connector svg {
  width: 20px;
  height: 60px;
}

/* === THE ARTIFACT === */
.theartifact {
  padding: 8rem 4rem;
  background: linear-gradient(180deg, var(--navy) 0%, #0d1520 50%, var(--navy) 100%);
  position: relative;
}

.theartifact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(107, 28, 35, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.artifact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.artifact-body {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.artifact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.detail-icon {
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  margin-top: 2px;
}

.detail strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-light);
  display: block;
  margin-bottom: 0.25rem;
}

.detail p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* === ARTIFACT CARD FRAME === */
.artifact-right {
  display: flex;
  justify-content: center;
}

.artifact-card-frame {
  width: 300px;
  aspect-ratio: 1/1.2;
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
  background: linear-gradient(160deg, #0f1a28 0%, #0A1628 60%);
}

.artifact-card-inner {
  text-align: center;
  width: 100%;
}

.artifact-ornament {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
  opacity: 0.8;
}

.artifact-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.artifact-zodiac-ring svg {
  width: 160px;
  height: 160px;
}

.artifact-ornament-bottom {
  font-size: 1.2rem;
  color: var(--gold);
  opacity: 0.5;
  margin-top: 1rem;
}

/* === THE CARD SECTION === */
.thecard {
  padding: 8rem 4rem;
}

.thecard-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.card-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mosaic-item {
  border: 1px solid rgba(201, 168, 76, 0.15);
  padding: 20px;
  background: rgba(255,255,255,0.02);
}

.mosaic-large {
  grid-column: 1 / -1;
}

.mosaic-label {
  font-family: 'Crimson Pro', serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 8px;
}

.mosaic-score {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1;
  margin-bottom: 10px;
}

.mosaic-bar {
  height: 2px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.mosaic-fill {
  height: 100%;
}

.thecard-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* === CLOSING === */
.closing {
  padding: 10rem 4rem 8rem;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, var(--navy) 0%, #0d0d14 100%);
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing-ornament {
  margin-bottom: 3rem;
}

.closing-ornament svg {
  width: 200px;
  height: auto;
}

.closing-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.closing-sub {
  font-family: 'Crimson Pro', serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 3rem;
}

.closing-ornament-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: var(--gold);
  opacity: 0.5;
  font-size: 1rem;
}

.closing-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: 0.3;
}

/* === FOOTER === */
.site-footer {
  padding: 3rem 4rem;
  border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--gold);
}

.footer-sub {
  font-family: 'Crimson Pro', serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Crimson Pro', serif;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-sep {
  color: rgba(201, 168, 76, 0.3);
}

.footer-ornament {
  font-size: 1rem;
  color: var(--gold);
  opacity: 0.4;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero {
    padding: 4rem 2rem 3rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-card-wrap {
    order: -1;
  }

  .tarot-card {
    width: 200px;
  }

  .hero-lede {
    max-width: 100%;
  }

  .hero-pill-row {
    justify-content: center;
  }

  .steps-grid {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .step-connector {
    display: none;
  }

  .artifact-inner,
  .thecard-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .artifact-right {
    order: -1;
  }

  .howitworks,
  .theartifact,
  .thecard,
  .closing {
    padding: 5rem 2rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .card-mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic-large {
    grid-column: 1;
  }
}