/* ── Variables ── */
:root {
  --text:    #1f2937;
  --muted:   #6b7280;
  --accent:  #2563eb;
  --accent2: #1d4ed8;
  --bg:      #ffffff;
  --surface: #f8fafc;
  --border:  #e5e7eb;
}

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

/* ── Base ── */
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent2); text-decoration: underline; }

/* ── Layout wrapper ── */
.site-header, main, .site-footer {
  max-width: 56rem;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ── Header ── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.site-title {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.site-header nav a {
  margin-left: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}
.site-header nav a:hover { color: var(--accent); text-decoration: none; }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 5rem 1.5rem 4rem;
}

.hero-badge {
  display: inline-block;
  background: #eff6ff;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero-name {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

/* ── Button ── */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.6rem;
  border-radius: 0.5rem;
  transition: background 0.15s ease, transform 0.1s ease;
  text-decoration: none !important;
}
.btn:hover { background: var(--accent2); transform: translateY(-1px); }

/* ── Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto 3.5rem;
  padding: 0 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.75rem 1.5rem;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Contact strip ── */
.contact-strip {
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 1.5rem;
  margin-bottom: 0;
  font-size: 1rem;
  color: var(--muted);
}
.contact-strip a { font-weight: 600; }

/* ── Prose (About page) ── */
.prose {
  max-width: 42rem;
  margin: 3.5rem auto 4rem;
  padding: 0 1.5rem;
}

.prose h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 2rem;
}

.prose h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.prose p { margin-bottom: 1.1rem; color: var(--text); }

.prose strong { font-weight: 700; }

.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.prose a { font-weight: 500; }

/* ── About page header (photo + title) ── */
.about-header {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.about-header h1 {
  margin-bottom: 0;
}

.about-photo {
  flex-shrink: 0;
  display: block;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

@media (max-width: 480px) {
  .about-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* ── Footer ── */
.site-footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); text-decoration: none; }
