:root {
  color-scheme: light;
  --cream: #fff6f3;
  --rose: #f8d1cf;
  --berry: #b94f67;
  --plum: #352538;
  --shadow: rgba(53, 37, 56, 0.12);
  --soft-shadow: rgba(53, 37, 56, 0.08);
}

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

body {
  font-family: "Inter", sans-serif;
  background: var(--cream);
  color: var(--plum);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  background: linear-gradient(135deg, rgba(248, 209, 207, 0.9), rgba(255, 255, 255, 0.9)),
    url("https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=1400&q=80")
      center/cover;
  padding: 32px 8vw 80px;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--berry);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.hero-content {
  max-width: 520px;
  display: grid;
  gap: 20px;
}

.tag {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  color: var(--berry);
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 3vw, 3.4rem);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.primary,
.secondary,
.ghost {
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary {
  background: var(--berry);
  color: white;
  box-shadow: 0 12px 24px var(--shadow);
}

.secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--plum);
}

.ghost {
  border: 1px solid rgba(53, 37, 56, 0.2);
  color: var(--plum);
}

.section {
  padding: 80px 8vw;
}

.story {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: var(--berry);
  margin-bottom: 12px;
}

.stats {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

.stats .value {
  font-size: 1.6rem;
  font-family: "Playfair Display", serif;
}

.stats .label {
  display: block;
  font-size: 0.8rem;
  color: rgba(53, 37, 56, 0.7);
}

.photo-card {
  background: white;
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 20px 40px var(--soft-shadow);
  display: grid;
  gap: 16px;
}

.photo {
  width: 100%;
  height: 220px;
  border-radius: 20px;
  background: url("https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=1000&q=80")
    center/cover;
}

.section-title {
  max-width: 600px;
  margin-bottom: 32px;
}

.moments {
  background: #fff;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.memory {
  background: var(--cream);
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 16px 32px var(--soft-shadow);
  display: grid;
  gap: 12px;
}

.date {
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--berry);
}

.playlist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: center;
}

.song-list {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.song-list strong {
  display: block;
  font-size: 1rem;
}

.playlist-card {
  background: white;
  padding: 28px;
  border-radius: 20px;
  box-shadow: 0 20px 40px var(--soft-shadow);
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(53, 37, 56, 0.8);
}

input,
textarea {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(53, 37, 56, 0.15);
  font-family: "Inter", sans-serif;
}

.letters {
  background: linear-gradient(180deg, var(--cream), #fff);
}

.letters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.letters-grid article {
  background: white;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 16px 32px var(--soft-shadow);
  display: grid;
  gap: 12px;
}

.footer {
  text-align: center;
  padding: 32px 8vw 48px;
  color: rgba(53, 37, 56, 0.7);
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 16px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .stats {
    flex-direction: column;
  }
}
