:root {
  --terracotta: #a25133;
  --cream: #ded1c8;
  --amber: #c58d39;
  --olive: #6b6c3b;
  --bg: #a8a172;
  --text: #17160f;
  --pill-bg: rgba(255, 255, 255, 0.24);
  --pill-bg-hover: rgba(255, 255, 255, 0.34);
  --pill-border: rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Lato', sans-serif;
  display: flex;
  justify-content: center;
}

.page-bg {
  position: fixed;
  inset: -60px;
  z-index: -2;
  background-size: cover;
  background-position: center;
  filter: blur(20px);
}

.page-bg-tint {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(168, 161, 114, 0.55);
}

.page {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 32px 0;
  padding-bottom: 40px;
  background: var(--bg);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--olive), var(--bg));
}

.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(to bottom, rgba(168, 161, 114, 0) 0%, var(--bg) 55%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  text-align: center;
  padding: 0 24px 18px;
}

.handle {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.bio {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.45;
  max-width: 320px;
  margin: 0 auto 18px;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 2px;
}

.social-icon {
  color: var(--text);
}

.social-icon svg {
  width: 28px;
  height: 28px;
}

.links {
  padding: 6px 20px 0;
}

.section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  opacity: 0.65;
  margin: 22px 4px 10px;
}

.section-title:first-child {
  margin-top: 8px;
}

.link-button {
  display: block;
  text-align: center;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.35;
  padding: 16px 20px;
  border-radius: 999px;
  margin-bottom: 14px;
  transition: background 0.15s ease;
}

.link-button:hover { background: var(--pill-bg-hover); }

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  border-radius: 20px;
  padding: 12px;
  margin-bottom: 14px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s ease;
}

.link-card:hover { background: var(--pill-bg-hover); }

.link-card img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

.link-card .link-card-title {
  font-weight: 700;
  margin: 0 0 4px;
}

.link-card .link-card-desc {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.75;
}
