:root {
  --accent: #b5652d;
  --accent-dark: #8a4a1e;
  --accent-tint: #f3e2d3;
  --bg: #faf6f0;
  --surface: #ffffff;
  --text: #2a2422;
  --muted: #6b6058;
  --border: #e7ddd2;
  --radius: 14px;
  --max-width: 760px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 60px;
}

header.hero {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  padding: 48px 20px 40px;
  text-align: center;
}

.avatar,
.avatar-fallback {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  margin: 0 auto 16px;
  border: 3px solid rgba(255, 255, 255, 0.85);
  display: block;
}

.avatar {
  object-fit: cover;
  background: rgba(255, 255, 255, 0.15);
}

.avatar-fallback {
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 1px;
}

header.hero h1 { margin: 0 0 6px; font-size: 28px; }

header.hero p.tagline {
  margin: 0 auto;
  font-style: italic;
  opacity: 0.92;
  font-size: 16px;
  max-width: 480px;
}

.disclosure {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: -20px 0 24px;
  font-size: 13px;
  color: var(--muted);
  position: relative;
  z-index: 2;
}

.disclosure strong { color: var(--text); }
.disclosure p { margin: 0 0 6px; }
.disclosure p:last-child { margin-bottom: 0; }

section { margin: 32px 0; }
section h2 { font-size: 19px; margin: 0 0 12px; color: var(--accent-dark); }

.bio p { margin: 0 0 12px; }

.cta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.cta a.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 999px;
  margin-top: 4px;
}

.cta .fine-print {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.social { display: flex; flex-wrap: wrap; gap: 10px; }

.social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.social svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

.posts-list { display: grid; gap: 16px; }

.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 96px 1fr;
}

.post-thumb { background: var(--accent-tint); min-height: 96px; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.post-body { padding: 12px 16px; min-width: 0; }

.post-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }

.post-badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
  background: var(--accent-tint);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.post-date { font-size: 12px; color: var(--muted); }
.post-caption { margin: 0 0 8px; font-size: 14px; }

.post-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: none;
}

.post-sources { margin-top: 8px; font-size: 12px; color: var(--muted); }
.post-sources a { color: var(--muted); text-decoration: underline; }

.posts-empty { color: var(--muted); font-size: 14px; }

footer {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

footer p { margin: 0 0 6px; }
footer a { color: var(--muted); }

@media (max-width: 480px) {
  .post-card { grid-template-columns: 84px 1fr; }
  header.hero h1 { font-size: 24px; }
}
