/* lilliansnyder — "Ethereal": soft angelcore. Cream-lavender light wash, rose +
   lavender accents, airy light serif, floating petals, a gentle halo. Light and
   delicate — the third distinct identity in the network. */

:root {
  --cream:  #faf4fb;
  --wash-1: #f7eefb;
  --wash-2: #fdeef4;
  --ink:    #5b4a63;
  --ink-2:  #8a7a92;
  --rose:   #e59ab8;
  --rose-d: #d1739b;
  --lav:    #b8a4e0;
  --gold:   #d9c48a;
  --line:   rgba(120, 90, 130, 0.14);
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans:    ui-sans-serif, "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(16px, 5vw, 40px);
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background: soft pastel wash, barely-there drift */
.bg {
  position: fixed; inset: -10%; z-index: -2;
  background:
    radial-gradient(60% 50% at 20% 15%, rgba(184, 164, 224, 0.35), transparent 62%),
    radial-gradient(60% 50% at 85% 20%, rgba(229, 154, 184, 0.32), transparent 64%),
    radial-gradient(120% 100% at 50% 110%, #fbeef5 0%, var(--wash-1) 55%, var(--cream) 100%);
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-1%, -0.5%, 0) scale(1.03); }
  to   { transform: translate3d(1%, 1%, 0) scale(1.08); }
}

/* Particles: floating petals */
.sparkles { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ember {
  position: absolute; bottom: -14px; background: transparent !important; box-shadow: none !important;
  width: 10px !important; height: 10px !important;
  opacity: 0; animation: rise linear infinite;
}
.ember::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, #ffd9ea, var(--rose) 70%);
  border-radius: 60% 0 60% 0;
}
@keyframes rise {
  0% { opacity: 0; transform: translateY(0) rotate(0deg); }
  15% { opacity: 0.85; } 80% { opacity: 0.55; }
  100% { opacity: 0; transform: translateY(-104vh) translateX(22px) rotate(220deg); }
}

/* Card: airy translucent white */
.card {
  position: relative; width: min(410px, 100%);
  padding: clamp(32px, 6vw, 48px) clamp(22px, 5vw, 34px) clamp(24px, 4vw, 30px);
  text-align: center;
  background: rgba(255, 255, 255, 0.66);
  -webkit-backdrop-filter: blur(16px) saturate(1.05); backdrop-filter: blur(16px) saturate(1.05);
  border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 30px 70px -34px rgba(150, 110, 160, 0.5), inset 0 1px 0 rgba(255,255,255,0.8);
}

/* Avatar: soft halo */
.avatar {
  width: clamp(110px, 30vw, 134px); height: clamp(110px, 30vw, 134px);
  border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 18px;
  border: 3px solid #fff;
  box-shadow: 0 0 0 6px rgba(229, 154, 184, 0.28), 0 0 40px 2px rgba(184, 164, 224, 0.5);
}

/* Name: light elegant serif */
.name {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(38px, 11.5vw, 54px); line-height: 1.02; letter-spacing: 0.01em;
  color: #4a3b52;
  text-shadow: 0 1px 0 rgba(255,255,255,0.8);
}
.tagline {
  margin: 12px auto 30px; font-size: clamp(11px, 3.2vw, 13px);
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-2);
}
.hrt {
  -webkit-text-fill-color: var(--rose-d); color: var(--rose-d); font-variant-emoji: text;
  font-family: var(--sans); display: inline-block; margin-left: 0.08em;
}
.name .hrt { font-size: 0.52em; vertical-align: 0.26em; }
.seo { margin: -22px auto 26px; max-width: 30ch; font-size: 11px; line-height: 1.6; color: var(--ink-2); }

/* Links: soft rounded */
.links { display: flex; flex-direction: column; gap: 13px; }
.link {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 20px; border-radius: 16px;
  font-size: 14.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; overflow: hidden;
  transition: transform .18s cubic-bezier(.2,.7,.2,1), box-shadow .22s ease, border-color .22s ease;
}
.link__emoji { font-size: 17px; line-height: 1; }
.link:hover { transform: translateY(-2px); }
.link:active { transform: translateY(0) scale(.985); }

.link--primary {
  color: #fff;
  background: linear-gradient(100deg, var(--lav), var(--rose) 60%, var(--rose-d));
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 14px 30px -14px rgba(209, 115, 155, 0.7);
}
.link--primary:hover { box-shadow: 0 18px 36px -14px rgba(209, 115, 155, 0.9); }

.link--social {
  color: #6b566f; background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(184, 164, 224, 0.45); box-shadow: 0 8px 20px -12px rgba(150,110,160,0.5);
}
.link--social:hover { background: #fff; border-color: var(--rose); box-shadow: 0 10px 24px -10px rgba(229,154,184,0.6); }

.foot {
  margin-top: 26px; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-2); opacity: 0.7;
}

/* Over the background video the plum name ink is unreadable — force it white
   (only applies on the video page; the light-background layout is unchanged). */
.card--video .name { color: #fff !important; -webkit-text-fill-color: #fff; }
.card--video .name .hrt { color: var(--rose-d); -webkit-text-fill-color: var(--rose-d); }

/* Entrance reveal (gentle) */
@keyframes appear { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.avatar, .name, .tagline, .seo, .link, .foot { animation: appear .9s cubic-bezier(.2,.7,.2,1) both; }
.avatar { animation-delay: .06s; } .name { animation-delay: .2s; } .tagline { animation-delay: .34s; }
.link:nth-child(1) { animation-delay: .46s; } .link:nth-child(2) { animation-delay: .56s; }
.link:nth-child(3) { animation-delay: .66s; } .link:nth-child(4) { animation-delay: .76s; }
.foot { animation-delay: .9s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .avatar, .name, .tagline, .seo, .link, .foot { opacity: 1; transform: none; }
  .sparkles { display: none; }
}
