/* ── Custom Properties ── */
:root {
  --burgundy: #600B1F;
  --burgundy-light: #7A1A34;
  --cream: #FAF5F0;
  --warm-beige: #E8DDD3;
  --text-dark: #2C1A0E;
  --white: #FFFFFF;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Hero Section ── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.hero__name {
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 400;
  color: var(--burgundy);
  letter-spacing: 0.04em;
  margin-bottom: 0.3em;
}

.hero__title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  font-weight: 400;
  color: var(--burgundy);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.7;
}

.hero__line {
  width: 50px;
  height: 1px;
  background-color: var(--burgundy);
  margin: 2.5rem auto;
  opacity: 0.3;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burgundy);
  opacity: 0.4;
}

/* ── Cards Section ── */
.cards {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--text-dark);
  background-color: var(--white);
  border-radius: 50% 50% 0 0 / 18% 18% 0 0;
  padding: 3.5rem 2rem 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 2px 20px rgba(44, 26, 14, 0.06);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(96, 11, 31, 0.12);
  background-color: #FDF8F4;
}

.card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.card__title {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--burgundy);
  margin-bottom: 0.6rem;
}

.card__desc {
  font-size: 0.85rem;
  color: var(--text-dark);
  opacity: 0.6;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.card__cta {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--burgundy);
  opacity: 0.5;
  margin-top: auto;
  transition: opacity 0.3s ease;
}

.card:hover .card__cta {
  opacity: 1;
}

/* ── Footer ── */
.footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid var(--warm-beige);
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
}

.footer__link {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--burgundy);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.footer__link:hover {
  opacity: 1;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 1.5rem;
    padding: 3rem 1.5rem 4rem;
  }

  .card {
    border-radius: 30% 30% 0 0 / 12% 12% 0 0;
    padding: 2.5rem 1.5rem 2rem;
  }
}

@media (max-width: 480px) {
  .hero__name {
    letter-spacing: 0.02em;
  }

  .footer__links {
    flex-direction: column;
    gap: 1rem;
  }
}
