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

:root {
  --bg:       #f7f5f0;
  --ink:      #1a1917;
  --muted:    #9a9790;
  --rule:     #e0ddd5;
  --accent:   #b5451b;
  --surface:  #f0ede6;
  --serif:    'Lora', Georgia, serif;
  --sans:     'Epilogue', system-ui, sans-serif;
  --mono:     'IBM Plex Mono', monospace;
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ── Layout shell ── */
.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── Top bar ── */
.topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 680px;
  padding: 28px 24px 24px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background: var(--bg);
  z-index: 10;
}
.topbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 1.5px;
  background: var(--ink);
}
.topbar-name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.3px;
  color: var(--ink);
  text-decoration: none;
}
.topbar-name:hover { opacity: 0.7; }
.topbar-links {
  display: flex;
  gap: 20px;
  font-family: var(--mono);
  font-size: 11px;
}
.topbar-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.topbar-links a:hover { color: var(--ink); }

/* ── Hero — carries more weight in this stripped version ── */
.hero {
  padding: 0 0 60px;
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 32px;
  max-width: 560px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-bio {
  font-size: 16px;
  color: #555;
  line-height: 1.75;
  max-width: 520px;
  margin-top: 28px;
}
.hero-mark {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-top: 36px;
  border: none;
}

/* ── Section divider ── */
.section-divider {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* ── Section label ── */
.section-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ── Community — the one real CTA ── */
.community {
  padding: 44px 0 0;
}
.community-inner {
  background: var(--surface);
  border: 1.5px solid var(--rule);
  border-left: 3px solid var(--accent);
  padding: 32px 36px;
}
.community-title {
  font-family: var(--serif);
  font-size: 30px;
  font-style: italic;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--ink);
}
.community-desc {
  font-size: 14px;
  line-height: 1.75;
  color: #666;
  max-width: 440px;
  margin-bottom: 28px;
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-primary {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  padding: 10px 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: transparent;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}
.btn-secondary {
  border: 1px solid var(--rule);
  color: var(--muted);
  padding: 10px 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: transparent;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.btn-secondary:hover { color: var(--ink); border-color: var(--muted); }

/* ── Footer ── */
.footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 680px;
  padding: 24px 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  background: var(--bg);
}
.footer a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: var(--ink); }

/* ── Responsive ── */
@media (max-width: 600px) {
  .page { padding: 0 18px 60px; }
  .topbar {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .hero { padding: 48px 0 40px; }
  .hero-headline { font-size: 32px; }
  .hero-bio { font-size: 14px; }
  .community-inner { padding: 24px 20px; }
  .footer { flex-direction: column; gap: 6px; }
}
