:root {
  --cream: #F9F4EE;
  --cream-dark: #EFE8DC;
  --charcoal: #1A1A1A;
  --warm-gray: #5C5346;
  --amber: #C9943A;
  --amber-light: #E8C06A;
  --sage: #7A8E6A;
  --sage-light: #A8B89E;
  --paper: #F2EDE4;
}

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

html { font-size: 16px; }

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(201, 148, 58, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(122, 142, 106, 0.08) 0%, transparent 60%);
}

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

.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: italic;
  color: var(--amber);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--warm-gray);
  max-width: 460px;
  line-height: 1.7;
}

/* ── MEMORY CARD ── */
.memory-card {
  background: #fff;
  border-radius: 4px;
  box-shadow:
    0 4px 6px rgba(26,26,26,0.04),
    0 20px 60px rgba(26,26,26,0.08),
    0 1px 2px rgba(26,26,26,0.06);
  padding: 32px;
  position: relative;
  transform: rotate(2deg);
  transition: transform 0.4s ease;
}

.memory-card:hover { transform: rotate(0deg); }

.card-inner { display: flex; flex-direction: column; gap: 20px; }

.card-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 8px;
}

.photo-slot {
  border-radius: 2px;
  background: var(--cream-dark);
  position: relative;
  overflow: hidden;
}

.photo-1 { grid-column: 1; grid-row: 1 / 3; aspect-ratio: 3/4; }
.photo-2 { grid-column: 2; grid-row: 1; aspect-ratio: 1; }
.photo-3 { grid-column: 2; grid-row: 2; aspect-ratio: 1; }

.photo-slot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,148,58,0.15) 0%, rgba(122,142,106,0.1) 100%);
}

.card-media { display: flex; flex-direction: column; gap: 10px; }

.card-voice, .card-music {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--warm-gray);
}

.voice-icon {
  width: 28px;
  height: 28px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  flex-shrink: 0;
}

.music-source { font-size: 0.7rem; color: var(--sage); margin-left: auto; }

.card-quote {
  border-left: 2px solid var(--amber);
  padding-left: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--warm-gray);
  line-height: 1.5;
}

.card-badge {
  position: absolute;
  bottom: -12px;
  right: 24px;
  background: var(--amber);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
}

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: 100px 40px;
  background: var(--paper);
  text-align: center;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 60px;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step { max-width: 260px; padding: 0 40px; }

.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.step p { font-size: 0.9rem; color: var(--warm-gray); line-height: 1.65; }

.step-divider { display: flex; align-items: center; padding-top: 30px; }

/* ── FEATURES ── */
.features {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.feature-card {
  padding: 36px;
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: 2px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--cream);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 20px;
}

.feature-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p { font-size: 0.88rem; color: var(--warm-gray); line-height: 1.65; }

/* Feature trio */
.feature-trio {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 16px;
  height: 280px;
}

.trio-card {
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.trio-photos {
  background: linear-gradient(160deg, #2B1F0E 0%, #4A3520 50%, #6B5030 100%);
}

.trio-voice {
  background: linear-gradient(160deg, var(--amber) 0%, #B07828 100%);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  color: white;
  gap: 6px;
}

.trio-voice span, .trio-music span {
  font-size: 0.8rem;
  font-weight: 500;
  color: white;
}

.trio-music {
  background: linear-gradient(160deg, var(--sage) 0%, #5C7050 100%);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 6px;
}

/* Photo trio overlays */
.trio-photos::before {
  content: '';
  position: absolute;
  top: 16px; left: 16px; right: 16px; bottom: 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 1px;
}

/* ── SOCIAL PROOF ── */
.social-proof {
  padding: 100px 40px;
  background: var(--charcoal);
  color: white;
}

.social-proof .section-label { color: var(--amber-light); }

.testimonials {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testimonial-mid { padding-top: 32px; }

blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.av-sarah { background: linear-gradient(135deg, #D4A853, #8A5A3C); }
.av-emma { background: linear-gradient(135deg, #7A8E6A, #4A5A4A); }
.av-david { background: linear-gradient(135deg, #8A6A3A, #5A4030); }

.author-avatar::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.testimonial-author strong { display: block; font-size: 0.85rem; color: white; }
.testimonial-author span { font-size: 0.75rem; color: rgba(255,255,255,0.45); }

/* ── PRICING ── */
.pricing {
  padding: 100px 40px;
  background: var(--cream);
  text-align: center;
}

.pricing-grid {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: 2px;
  padding: 48px 40px;
  width: 320px;
  text-align: left;
  position: relative;
}

.pricing-card-featured {
  border-color: var(--amber);
  border-width: 2px;
  box-shadow: 0 8px 40px rgba(201,148,58,0.12);
}

.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 2px;
  white-space: nowrap;
}

.pricing-tier {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--charcoal);
}

.pricing-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
}

.pricing-note {
  font-size: 0.8rem;
  color: var(--warm-gray);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  font-size: 0.88rem;
  color: var(--warm-gray);
  padding-left: 20px;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
}

/* ── CLOSING ── */
.closing {
  padding: 120px 40px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(201,148,58,0.08) 0%, transparent 70%);
}

.closing-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
}

.closing-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--charcoal);
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--warm-gray);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── FOOTER ── */
footer {
  padding: 60px 40px 40px;
  background: var(--charcoal);
  color: white;
  text-align: center;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 28px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 0.85rem;
}

.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-links a:hover { color: var(--amber-light); }
.footer-links span { color: rgba(255,255,255,0.2); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0 24px;
  }

  .memory-card { transform: rotate(0deg); }

  .feature-grid { grid-template-columns: 1fr; }

  .feature-trio {
    grid-template-columns: 1fr 1fr;
    height: auto;
  }
  .trio-photos { grid-column: 1 / 3; aspect-ratio: 16/9; }
  .trio-voice, .trio-music { aspect-ratio: 1; }

  .testimonials { grid-template-columns: 1fr; }
  .testimonial-mid { padding-top: 0; }

  .steps { flex-direction: column; align-items: center; gap: 40px; }
  .step-divider { display: none; }

  .pricing-card { width: 100%; max-width: 380px; }

  .hero, .how-it-works, .features, .social-proof, .pricing, .closing, footer {
    padding-left: 24px;
    padding-right: 24px;
  }
}
