:root {
  --bg: #0d0d0d;
  --surface: #171717;
  --surface-hover: #202020;
  --border: #2e2e2e;
  --border-soft: #232323;
  --text: #f5f5f5;
  --text-muted: #a3a3a3;
  --text-faint: #6b6b6b;
  --accent: #ffffff;
  --accent-soft: rgba(255, 255, 255, 0.08);

  --font-display: Georgia, serif;
  --font-body: sans-serif;
  --font-mono: ui-monospace, monospace;

  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  position: relative;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

h1 {
  margin-top: 22px;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  letter-spacing: -0.01em;
}

.container-fluid {
  position: relative;
  max-width: 1100px;
}

.photo-frame {
  margin-left: auto;
  margin-right: auto;
  width: 132px;
  height: 132px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 8px);
  display: block;
}

.tag-caption {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--text-faint);
}

.bio {
  margin-top: 22px;
  max-width: 42ch;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 0;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
}

.link-btn:hover,
.link-btn:focus-visible {
  border-color: var(--text-muted);
  background: var(--surface-hover);
}

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

.link-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  overflow: hidden;
}

.link-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: grayscale(100%);
}

.link-text {
  flex: 1;
  text-align: left;
  font-size: 0.93rem;
  font-weight: 500;
}

.link-arrow {
  color: var(--text-faint);
  font-size: 0.95rem;
}

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

@media (max-width: 480px) {
  .photo-frame {
    width: 112px;
    height: 112px;
  }

  .bio {
    font-size: 0.93rem;
  }

  .link-btn {
    padding: 13px 14px;
  }
}
