:root {
  --green: #96af7d;
  --green-text: #5b6e49; /* darkened for WCAG AA contrast on --cream */
  --cream: #fefdfc;
  --brown: #544635;
  --brown-soft: #7a6754;
}

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

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Quicksand', system-ui, sans-serif;
  color: var(--brown);
  overflow-y: auto;
}

a {
  color: inherit;
}

/* ── FULL-SCREEN BACKGROUND ─────────────────────────────────────────────── */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 12%, rgba(150, 175, 125, 0.34), transparent 40%),
    radial-gradient(circle at 12% 88%, rgba(150, 175, 125, 0.22), transparent 45%),
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.55), transparent 45%),
    linear-gradient(160deg, #f7f1e8 0%, #ecdfc9 45%, #cbb08c 100%);
}

.bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.7;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.6;
}

.blob--green {
  width: 320px;
  height: 320px;
  top: -100px;
  right: -60px;
  background: var(--green);
  opacity: 0.45;
}

.blob--brown {
  width: 400px;
  height: 400px;
  bottom: -160px;
  right: -120px;
  background: var(--brown-soft);
  opacity: 0.3;
}

.blob--cream {
  width: 340px;
  height: 340px;
  bottom: 4%;
  left: 4%;
  background: var(--cream);
  opacity: 0.55;
}

/* ── PAGE WRAPPER ────────────────────────────────────────────────────────── */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1rem 1.25rem 9rem;
}

/* ── CARD ────────────────────────────────────────────────────────────────── */
.card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--cream);
  border-radius: 24px;
  padding: 1.8rem 1.8rem 1.6rem;
  text-align: center;
  box-shadow:
    0 30px 60px -20px rgba(84, 70, 53, 0.35),
    0 2px 0 rgba(255, 255, 255, 0.6) inset;
  border: 1px solid rgba(150, 175, 125, 0.35);
}

/* ── LOGO ────────────────────────────────────────────────────────────────── */
.logo-ring {
  width: 96px;
  height: 96px;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #eef3e6 0%, rgba(150, 175, 125, 0.22) 100%);
  border: 4px solid var(--green);
  box-shadow:
    0 10px 26px -8px rgba(84, 70, 53, 0.45),
    inset 0 0 0 4px var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo {
  width: 92%;
  height: 92%;
  object-fit: cover;
  border-radius: 50%;
}

/* ── HEADINGS ────────────────────────────────────────────────────────────── */
.eyebrow {
  margin: 0 0 0.2rem;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-text);
}

h1 {
  margin: 0 0 0.4rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.65rem;
  line-height: 1.15;
  color: var(--brown);
}

.tagline {
  margin: 0;
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 500;
  color: var(--green-text);
}

.divider {
  display: flex;
  justify-content: center;
  margin: 1rem auto 1.2rem;
}

/* ── SOCIAL LINKS ────────────────────────────────────────────────────────── */
.socials {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  text-decoration: none;
  padding: 0.45rem 0.8rem;
  border-radius: 14px;
  background: rgba(150, 175, 125, 0.08);
  border: 1px solid rgba(150, 175, 125, 0.3);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  background: rgba(150, 175, 125, 0.16);
  border-color: var(--green);
}

.social-link:focus-visible {
  outline: 3px solid var(--brown);
  outline-offset: 3px;
}

.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 6px 16px -4px rgba(84, 70, 53, 0.4);
}

.icon svg {
  width: 17px;
  height: 17px;
}

.social-link--instagram .icon {
  background: radial-gradient(circle at 30% 110%, #ffdb8c 0%, #ee2a7b 40%, #6228d7 100%);
}

.social-link--facebook .icon {
  background: #1877f2;
}

.social-link--email .icon {
  background: var(--brown-soft);
}

.social-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.social-label {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--brown);
}

.social-handle {
  font-size: 0.74rem;
  color: var(--brown-soft);
  word-break: break-word;
}

/* ── REDUCED MOTION ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .social-link {
    transition: none;
  }
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .card {
    padding: 1.5rem 1.2rem 1.3rem;
    border-radius: 20px;
  }

  h1 {
    font-size: 1.4rem;
  }

  .logo-ring {
    width: 78px;
    height: 78px;
  }
}

@media (max-height: 700px) {
  .logo-ring {
    width: 68px;
    height: 68px;
    margin-bottom: 0.5rem;
  }

  .divider {
    margin: 0.6rem auto 0.8rem;
  }
}

