:root {
  --color-bg: #f8f3fc;
  --color-bg-2: #ede1fa;
  --color-ink: #11001c;
  --color-lilac: #dcc1fe;
  --color-lilac-light: #e7d5ff;
  --color-cyan: #19dce3;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: "Heebo", "Inter Tight", system-ui, sans-serif;
  color: var(--color-ink);
  background: var(--color-bg);
  overflow-x: hidden;
}

/* Mostly clean white/cream - the flower photography itself carries the
   purple, used as one soft accent rather than a flat color wash. */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--color-bg);
}

.corner-accent {
  position: absolute;
  top: -22%;
  inset-inline-start: -40%;
  width: 92%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 15% 15%; /* soft petal area, away from the warm flower centers */
  border-radius: 50%;
  filter: saturate(0.9);
  /* more of the circle bleeds off-canvas here, so what's left reads as a
     soft corner wash (~a third of the screen) rather than a second "ball"
     sitting next to the profile photo circle. */
  -webkit-mask-image: radial-gradient(circle at 38% 38%, black 0%, black 42%, transparent 75%);
  mask-image: radial-gradient(circle at 38% 38%, black 0%, black 42%, transparent 75%);
  opacity: 0.7;
}

@media (min-width: 640px) {
  .corner-accent {
    top: -10%;
    inset-inline-start: -16%;
    width: 68%;
    max-width: 520px;
    opacity: 0.78;
  }
}

.page {
  min-height: 100vh; /* fallback for older browsers */
  min-height: 100dvh; /* real fix must come after the fallback, or it never wins */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* cluster as one compact block instead of stretching
                               gaps to fill tall phone screens */
  gap: clamp(14px, 3vh, 28px);
  max-width: 460px;
  margin: 0 auto;
  padding: max(10px, env(safe-area-inset-top)) 22px max(10px, env(safe-area-inset-bottom));
  text-align: center;
}

.page > .top,
.page > .middle,
.page > .bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.top {
  gap: clamp(4px, 1.2vh, 10px);
}

.photo-wrap {
  position: relative;
  width: clamp(48px, 12vh, 88px);
  height: clamp(48px, 12vh, 88px);
  border-radius: 50%;
  margin-bottom: 2px;
}

/* Signature detail: a soft, blurred halo cropped from the same flower
   photography used site-wide, standing in for a flat color ring. */
.photo-halo {
  position: absolute;
  inset: -22%;
  width: 144%;
  height: 144%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 45% 40%;
  filter: blur(6px) saturate(1.05);
  opacity: 0.65;
  z-index: 0;
}

#profile-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid #fff;
}

#profile-name {
  font-family: "Dorian CLM BookItalic", "Heebo", sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 7vw, 2.1rem);
  line-height: 1.1;
  margin: 0;
}

#profile-tagline {
  font-weight: 500;
  font-size: clamp(0.95rem, 3.6vw, 1.05rem);
  opacity: 0.7;
  margin: 1px 0 0;
}

#headline {
  font-weight: 800;
  font-size: clamp(1.15rem, 5.2vw, 1.5rem);
  line-height: 1.25;
  margin: 4px 0 0;
}

#intro {
  font-weight: 400;
  font-size: clamp(0.95rem, 4vw, 1.1rem);
  line-height: 1.45;
  color: var(--color-ink);
  opacity: 0.82;
  margin: 4px 0 0;
  max-width: 34ch;
}

.middle {
  gap: clamp(10px, 2vh, 14px);
}

.middle #primary-slot {
  width: 100%;
  margin-bottom: clamp(4px, 1vh, 8px); /* extra breathing room after the hero CTA */
}

.middle #links {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: clamp(10px, 2vh, 14px); /* keeps the two secondary buttons visually distinct, not fused */
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: clamp(13px, 2.6vh, 18px) 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: clamp(1.05rem, 4.6vw, 1.2rem);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-lilac) 0%, #8a4fe0 100%);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(138, 79, 224, 0.55);
}

.btn-secondary {
  background: var(--color-lilac-light);
  color: var(--color-ink);
  box-shadow: 0 8px 18px -4px rgba(17, 0, 28, 0.28);
}

.wa-icon {
  color: #7a2fd6; /* same purple as the social row, not flat black */
}

.bottom {
  gap: clamp(4px, 1.2vh, 10px);
}

#social-label {
  font-size: clamp(0.72rem, 2.8vw, 0.82rem);
  opacity: 0.65;
  margin: 0;
}

#social {
  display: flex;
  flex-direction: row-reverse; /* keep IG/FB/YT reading order natural in RTL */
  gap: 14px;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(38px, 8vh, 46px);
  height: clamp(38px, 8vh, 46px);
  color: #7a2fd6; /* darker, more saturated purple than the button lilac */
}

.icon-btn svg {
  width: 100%;
  height: 100%;
}

#footer {
  font-size: 0.68rem;
  opacity: 0.55;
  margin: 2px 0 0;
}

a:focus-visible,
.icon-btn:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}
