:root {
  --bg:          #0d0d0b;
  --bg-rule:     #201e19;
  --text:        #f0ebe0;
  --muted:       #6b6358;
  --accent:      #c8a000;
  --accent-dim:  #6b5500;
  --max:         640px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  padding: 3rem 1.5rem 5rem;
}

.page {
  max-width: var(--max);
  margin: 0 auto;
}

/* ── Header ─────────────────────────────── */

header {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--accent);
}

.name {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

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

.tagline {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: default;
  user-select: none;
}

/* ── Bio ─────────────────────────────────── */

.bio {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--bg-rule);
}

.bio p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.bio p:last-child {
  margin-bottom: 0;
}

/* ── Now ─────────────────────────────────── */

.now {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--bg-rule);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.85rem;
}

.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

a.section-label {
  text-decoration: none;
  border-bottom: none;
}

.last-updated {
  font-size: 0.7rem;
  color: var(--muted);
  font-style: italic;
}

.now p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.now p:last-child {
  margin-bottom: 0;
}

/* ── Find me ─────────────────────────────── */

.find-me > .section-label {
  margin-bottom: 0.85rem;
}

.links-list {
  list-style: none;
}

.links-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--bg-rule);
}

.links-list li:first-child {
  border-top: 1px solid var(--bg-rule);
}

.links-list a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.links-list a:hover {
  color: var(--accent);
}

.link-desc {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: right;
}

/* ── Shared inline links ─────────────────── */

.bio a,
.now a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-dim);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.now a.section-label {
  border-bottom: none;
}

.bio a:hover,
.now a:hover {
  color: var(--text);
  border-color: var(--text);
}

.links-list a:focus-visible,
.bio a:focus-visible,
.now a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── Footer ──────────────────────────────── */

footer {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bg-rule);
  font-size: 0.72rem;
  color: var(--muted);
}

/* ── Mobile ──────────────────────────────── */

@media (max-width: 480px) {
  html { font-size: 16px; }
  body { padding: 2rem 1.25rem 4rem; }
  .name { font-size: 2rem; }
  .link-desc { display: none; }
}
