:root {
  color-scheme: light;
  --ink: #1b1b1b;
  --muted: #5a5a5a;
  --paper: #f7f3ee;
  --accent: #b4552d;
  --accent-dark: #8a3e22;
  --card: rgba(255, 255, 255, 0.7);
  --shadow: 0 20px 60px rgba(20, 16, 12, 0.18);
  --radius: 26px;
  --glow-1: rgba(180, 85, 45, 0.22);
  --glow-2: rgba(74, 99, 110, 0.2);
  --glow-3: rgba(235, 208, 172, 0.45);
  --display-font: "Fraunces", "Times New Roman", serif;
  --body-font: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --text-size: clamp(1rem, 0.35vw + 0.95rem, 1.12rem);
  --lead-size: clamp(1.05rem, 0.55vw + 1rem, 1.3rem);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--body-font);
  font-size: var(--text-size);
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
  background-color: var(--paper);
  background-image: linear-gradient(120deg, #f6efe7 0%, #f3f0ea 45%, #f8f5f1 100%);
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

#ambient-canvas {
  position: fixed;
  inset: -12%;
  width: 124%;
  height: 124%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 48px;
  position: relative;
  z-index: 2;
}

.card {
  width: min(58ch, 100%);
  padding: 42px 38px 36px;
  border-radius: var(--radius);
  background: var(--card);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.6);
  animation: rise 0.7s ease-out both;
}

.hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.avatar {
  border-radius: 50%;
  width: 88px;
  height: 88px;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.eyebrow {
  text-transform: uppercase;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.22em;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 6px;
}

h1 {
  font-family: var(--display-font);
  font-optical-sizing: auto;
  font-size: clamp(2.4rem, 4.6vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  text-wrap: balance;
}

.tagline {
  margin: 0;
  color: var(--muted);
  font-size: var(--lead-size);
  line-height: 1.6;
  font-weight: 500;
  max-width: 36ch;
  text-wrap: balance;
}

.bio {
  margin: 22px 0 28px;
  font-size: var(--text-size);
  line-height: 1.7;
  color: var(--ink);
  max-width: 58ch;
}

.links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.link {
  text-decoration: none;
  color: var(--ink);
  border-radius: 0;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.link .hint {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.link:hover {
  border-color: rgba(180, 85, 45, 0.5);
  color: var(--accent-dark);
}

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

.footer {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer .dot {
  opacity: 0.6;
}

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

@media (prefers-reduced-motion: reduce) {
  .card {
    animation: none;
  }
}

@media (max-width: 520px) {
  .card {
    padding: 28px 22px 26px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .avatar {
    width: 84px;
    height: 84px;
  }
}
