:root {
  --coral: #e0525a;
  --coral-dark: #c23e47;
  --rose: #e9799a;
  --blush: #fdf0f0;
  --ink: #2b2526;
  --ink-soft: #7a6c6e;
  --line: rgba(224, 82, 90, .18);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Montserrat", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { margin: 0; min-height: 100%; background: linear-gradient(160deg, #fff 0%, #fdf0f0 55%, #fbe3e4 100%) fixed; }
body { margin: 0; }
body {
  min-height: 100vh; min-height: 100svh;
  font-family: var(--font);
  color: var(--ink);
  display: flex; justify-content: center; align-items: flex-start;
  padding: clamp(24px, 5vh, 56px) 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }

/* Animated background */
.bg { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .6; }
.blob--a { width: 480px; height: 480px; background: #ffc9cc; top: -160px; right: -120px; animation: drift 18s ease-in-out infinite; }
.blob--b { width: 400px; height: 400px; background: #f9d3e0; bottom: -160px; left: -120px; animation: drift 22s ease-in-out infinite reverse; }
.blob--c { width: 260px; height: 260px; background: #ffe0d6; top: 40%; left: 60%; animation: drift 26s ease-in-out infinite; }
@keyframes drift { 50% { transform: translate(50px, 40px) scale(1.1); } }

/* Card */
.card {
  position: relative; z-index: 1;
  width: 100%; max-width: 480px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 32px;
  padding: 28px 24px 22px;
  box-shadow: 0 40px 80px -40px rgba(194, 62, 71, .45), 0 2px 0 rgba(255,255,255,.6) inset;
  text-align: center;
}

/* Entrance */
.in { opacity: 0; transform: translateY(18px); animation: rise .8s var(--ease) forwards; animation-delay: calc(var(--i) * .08s + .1s); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Photo */
.photo { position: relative; margin: 0 auto 6px; width: 100%; max-width: 380px; }
.photo img { position: relative; width: 100%; height: auto; animation: float 6s ease-in-out infinite; animation-delay: 1s; }
.photo__glow {
  position: absolute; left: 50%; top: 50%; width: 58%; aspect-ratio: 1;
  translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(233,121,154,.45), transparent 70%);
  animation: glow 4s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes glow { 50% { transform: scale(1.18); opacity: .6; } }

/* Text */
h1 { margin: 0; font-size: clamp(1.6rem, 6vw, 1.95rem); font-weight: 700; color: var(--coral); letter-spacing: -.01em; }
.role { margin: 4px 0 2px; font-size: 1.15rem; font-weight: 500; color: var(--coral); }
.uni { margin: 0; font-size: .95rem; font-weight: 300; color: var(--coral-dark); }

/* Links */
.links { display: grid; gap: 12px; margin: 26px 0 22px; }
.link {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 14px 16px;
  font: inherit; color: var(--ink); text-align: left; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.link::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.link:hover, .link:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(194, 62, 71, .55); border-color: rgba(224, 82, 90, .45); }
.link:hover::before { transform: translateX(120%); }
.link:active { transform: translateY(0) scale(.98); }

.link__icon {
  flex: none; width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center; background: var(--blush);
  transition: transform .4s var(--ease);
}
.link__icon svg { width: 22px; height: 22px; fill: var(--coral); }
.link__icon .stroke { fill: none; stroke: var(--coral); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.link:hover .link__icon { transform: rotate(-8deg) scale(1.06); }

.link__text { flex: 1; display: grid; line-height: 1.3; }
.link__text strong { font-weight: 600; font-size: .98rem; }
.link__text small { font-size: .84rem; color: var(--ink-soft); }
.link__arrow { color: var(--coral); font-size: 1.1rem; transition: transform .35s var(--ease); }
.link:hover .link__arrow { transform: translateX(4px); }

.link--primary { background: linear-gradient(135deg, var(--coral), #e8697a); border-color: transparent; color: #fff; box-shadow: 0 14px 30px -14px rgba(194, 62, 71, .7); }
.link--primary .link__icon { background: rgba(255,255,255,.2); }
.link--primary .link__icon svg { fill: #fff; }
.link--primary .link__text small, .link--primary .link__arrow { color: rgba(255,255,255,.9); }
.link--primary .link__text small { font-size: 1rem; font-weight: 500; letter-spacing: .02em; }
.link--primary::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(224, 82, 90, .5); animation: ring 2.6s ease-out infinite 1.5s;
}
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(224, 82, 90, .45); } 100% { box-shadow: 0 0 0 14px rgba(224, 82, 90, 0); } }

/* Location */
.place { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-align: left; }
.place__head { padding: 14px 16px; display: grid; gap: 2px; }
.place__head strong { font-size: .98rem; }
.place__head span { font-size: .84rem; color: var(--ink-soft); }
.map { aspect-ratio: 16 / 11; background: #f6e6e7; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.foot { margin-top: 18px; font-size: .78rem; color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .in { opacity: 1; transform: none; }
}
