/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── Tokens ────────────────────────────────────────────── */
:root {
  --bg:      #F7F6F3;
  --text:    #111111;
  --muted:   #999999;
  --accent:  #2E5BA8;
  --vline:   #D8D6D2;
  --bio:     #555555;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

/* ─── Page ──────────────────────────────────────────────── */
html, body { height: 100%; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 2rem;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.card {
  max-width: 560px;
  width: 100%;
  text-align: left;
  animation: fadein 1s ease both;
}

/* ─── Top row: vline + name ─────────────────────────────── */
.top-row {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.vline {
  width: 1px;
  background: var(--vline);
  flex-shrink: 0;
}

.name-block {
  display: flex;
  flex-direction: column;
  line-height: 1.0;
}

.name-first {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.8rem, 9vw, 5rem);
  color: var(--text);
  letter-spacing: -0.01em;
}

.name-last {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 300;
  font-size: clamp(2.8rem, 9vw, 5rem);
  color: var(--text);
  letter-spacing: -0.02em;
}

/* ─── Bio ───────────────────────────────────────────────── */
.bio {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: var(--bio);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

/* ─── Tagline ───────────────────────────────────────────── */
.tagline {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

/* ─── Location ──────────────────────────────────────────── */
.location {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.65;
  margin-bottom: 2.5rem;
}

/* ─── Links ─────────────────────────────────────────────── */
.links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-start;
}

.link-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  transition: color 0.18s ease;
}

.link-item:hover,
.link-item:focus-visible {
  color: var(--accent);
  outline: none;
}

.link-icon {
  font-style: normal;
  font-size: 0.875rem;
  width: 1.1em;
  text-align: center;
  color: #CCCCCC;
  transition: color 0.18s ease;
}

.link-item:hover .link-icon,
.link-item:focus-visible .link-icon {
  color: var(--accent);
}

/* ─── Footer ────────────────────────────────────────────── */
footer {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: #CCCCCC;
  padding-bottom: 1.5rem;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
}

/* ─── Animation ─────────────────────────────────────────── */
@keyframes fadein {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

/* ─── Mobile ────────────────────────────────────────────── */
@media (max-width: 480px) {
  .tagline { white-space: normal; }
  .top-row { gap: 1rem; }
  .link-item span:not(.link-icon) { font-size: 0.75rem; }
}
