/* ---------- tokens ---------- */
:root {
  --bg: #fdf6f7;
  --bg-2: #fbe9ee;
  --ink: #2a1a22;
  --ink-soft: #6b4f5b;
  --line: rgba(42, 26, 34, 0.08);

  --pink: #f4a8b8;
  --pink-deep: #e07896;
  --pink-soft: #fde4ea;
  --rose: #c46078;
  --cream: #fff8f5;

  --radius: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(196, 96, 120, 0.06), 0 4px 12px rgba(196, 96, 120, 0.05);
  --shadow-md: 0 6px 16px rgba(196, 96, 120, 0.10), 0 18px 40px rgba(196, 96, 120, 0.08);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  font-weight: 400;
  position: relative;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

/* ---------- background atmosphere ---------- */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.bg-blob--a {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #ffd1dc 0%, transparent 70%);
  top: -120px; left: -120px;
}
.bg-blob--b {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #f6c8d4 0%, transparent 70%);
  bottom: -100px; right: -120px;
}
.bg-blob--c {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #ffe5ec 0%, transparent 70%);
  top: 40%; left: 50%; transform: translate(-50%, -50%);
  opacity: 0.4;
}
.bg-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.7  0 0 0 0 0.5  0 0 0 0 0.55  0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- page layout ---------- */
.page {
  max-width: 460px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  opacity: 0;
  animation: pageIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- hero ---------- */
.hero {
  text-align: center;
  margin-bottom: 40px;
}
.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #fcd4dd 0%, #f4a8b8 100%);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--cream);
  position: relative;
}
.avatar::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(224, 120, 150, 0.3);
}
.avatar__initials {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  color: #fff;
  letter-spacing: 0.02em;
}

.hero__name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 38px;
  line-height: 1.05;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hero__name-first { font-style: italic; color: var(--rose); }
.hero__name-last { display: block; }

.hero__handle {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
  margin: 6px 0 14px;
  letter-spacing: 0.02em;
}

.hero__bio {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  max-width: 320px;
  margin-inline: auto;
  line-height: 1.55;
}
.dot {
  color: var(--pink-deep);
  margin: 0 4px;
}

/* ---------- links ---------- */
.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: auto;
}

.link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: linkIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.link:nth-child(1) { animation-delay: 0.15s; }
.link:nth-child(2) { animation-delay: 0.22s; }
.link:nth-child(3) { animation-delay: 0.29s; }
.link:nth-child(4) { animation-delay: 0.36s; }
.link:nth-child(5) { animation-delay: 0.43s; }

@keyframes linkIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(224, 120, 150, 0.25);
  background: rgba(255, 255, 255, 0.92);
}
.link:active { transform: translateY(0); }

.link__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--pink-soft) 0%, #fcd4dd 100%);
  color: var(--rose);
  flex-shrink: 0;
}

.link__text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.link__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.link__sub {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 2px;
}
.link__arrow {
  color: var(--ink-soft);
  font-size: 18px;
  transition: transform 0.25s ease, color 0.25s ease;
}
.link:hover .link__arrow {
  color: var(--pink-deep);
  transform: translateX(3px);
}

/* ---------- footer ---------- */
.foot {
  text-align: center;
  margin-top: 48px;
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
}
.foot p { margin: 4px 0; }

/* ---------- responsive ---------- */
@media (max-width: 480px) {
  .page { padding: 48px 20px 32px; }
  .hero__name { font-size: 32px; }
  .avatar { width: 76px; height: 76px; }
  .avatar__initials { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
