:root {
  --plum: #4f1b3e;
  --cream: #fffde3;
  --rose: #fbcece;
  --pale-rose: #feecee;
  --lavender: #e5d9eb;
  --mauve: #a3548e;
  --white: #ffffff;
  --shadow: rgba(31, 7, 24, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--plum);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(163, 84, 142, 0.28), transparent 34rem),
    linear-gradient(160deg, #4f1b3e 0%, #451535 100%);
  color: var(--cream);
  font-family: "Comfortaa", system-ui, sans-serif;
  font-weight: 500;
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.landing-card {
  width: min(1120px, 100%);
  display: grid;
  justify-items: center;
  gap: 48px;
  text-align: center;
}

.brand-header {
  width: min(312px, 68vw);
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.intro {
  width: min(820px, 100%);
  margin-bottom: 40px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rose);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-top: 60px;
  margin-bottom: 30px;
  color: var(--cream);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.88rem, 5.6vw, 4.32rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.lead {
  width: min(620px, 100%);
  margin: 0 auto;
  color: var(--rose);
  font-size: clamp(1rem, 2.6vw, 1.22rem);
  line-height: 1.8;
}

.services {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 292px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 22px;
  padding: 28px 20px 30px;
  border: 1px solid rgba(254, 236, 238, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px var(--shadow);
  backdrop-filter: blur(16px);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover,
.service-card:focus-within {
  border-color: rgba(254, 236, 238, 0.68);
  box-shadow: 0 30px 70px rgba(31, 7, 24, 0.42);
  transform: scale(1.04);
}

.service-card img {
  width: clamp(116px, 12vw, 152px);
  aspect-ratio: 1;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(31, 7, 24, 0.28);
}

.service-card h2 {
  max-width: 260px;
  margin-bottom: 0;
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.1rem, 2.08vw, 1.52rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.contact {
  width: min(720px, 100%);
  padding: 26px;
  border-radius: 8px;
  background: var(--pale-rose);
  color: var(--plum);
  box-shadow: 0 22px 55px var(--shadow);
}

.contact p {
  margin-bottom: 18px;
  color: var(--mauve);
  font-size: 0.98rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.contact-links a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid rgba(79, 27, 62, 0.16);
  border-radius: 8px;
  background: var(--white);
  color: var(--plum);
  font-size: 0.92rem;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  background: var(--plum);
  color: var(--cream);
  transform: translateY(-2px);
}

.contact-links a:focus-visible {
  outline: 3px solid var(--lavender);
  outline-offset: 3px;
}

@media (max-width: 840px) {
  .page-shell {
    padding: 28px 16px;
  }

  .landing-card {
    gap: 36px;
  }

  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 236px;
    padding: 26px 18px;
  }
}

@media (max-width: 520px) {
  .page-shell {
    min-height: auto;
    padding: 22px 14px;
  }

  .brand-header {
    width: min(250px, 72vw);
  }

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

  .contact {
    padding: 20px 14px;
  }

  .contact-links {
    display: grid;
    grid-template-columns: 1fr;
  }
}
