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

:root {
  --bg:         hsl(220, 20%, 97%);
  --fg:         hsl(220, 30%, 15%);
  --muted:      hsl(220, 10%, 50%);
  --accent:     hsl(35,  40%, 55%);
  --border:     hsl(220, 15%, 88%);
  --fg-soft:    hsl(220, 30%, 15%, 0.75);
}

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--fg);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ────────────────────────────────────────── */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 7rem;
}

.container {
  max-width: 42rem;
  width: 100%;
}

/* ── Typography helpers ────────────────────────────── */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Header ────────────────────────────────────────── */
.header { text-align: center; }

.header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 10vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--fg);
}

.divider {
  width: 4rem;
  height: 1px;
  background: var(--accent);
  margin: 1.5rem auto;
  border: none;
}

.divider-sm {
  width: 2.5rem;
  height: 1px;
  background: var(--border);
  margin: 0 auto 1.5rem;
  border: none;
}

.header .subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.8rem, 2vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Sections ──────────────────────────────────────── */
section { margin-top: 3.5rem; text-align: center; }

/* Bio */
.bio p {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--fg-soft);
  font-weight: 300;
  line-height: 1.8;
  max-width: 36rem;
  margin: 0 auto;
}

/* Expertise */
.expertise h2 { margin-bottom: 1.25rem; }

.expertise-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1rem;
  list-style: none;
}

.expertise-list li {
  font-size: 0.85rem;
  color: var(--fg-soft);
  font-weight: 300;
}

.expertise-list li:not(:last-child)::after {
  content: '·';
  margin-left: 1rem;
  color: var(--border);
}

/* Credentials grid */
.credentials h2 { margin-bottom: 1.25rem; }

.cred-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  text-align: center;
}

@media (max-width: 540px) {
  .cred-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.cred-grid h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.cred-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cred-grid ul li {
  font-size: 0.85rem;
  color: var(--fg-soft);
  font-weight: 300;
}

.cred-grid ul li.note {
  font-size: 0.75rem;
  color: var(--muted);
  font-style: italic;
}

/* Quote */
.quote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-style: italic;
  color: rgba(25, 31, 46, 0.6);
  max-width: 32rem;
  margin: 0 auto;
  line-height: 1.7;
}

.quote cite {
  display: block;
  margin-top: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}

/* Contact */
.contact-link {
  display: inline-block;
  margin-top: 4rem;
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover { color: var(--fg); }

/* ── Footer ────────────────────────────────────────── */
footer {
  padding-bottom: 2rem;
  text-align: center;
}

footer p {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ── Fade-up animations ────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease-out forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.fade-up:nth-child(1) { animation-delay: 0.00s; }
.fade-up:nth-child(2) { animation-delay: 0.12s; }
.fade-up:nth-child(3) { animation-delay: 0.24s; }
.fade-up:nth-child(4) { animation-delay: 0.36s; }
.fade-up:nth-child(5) { animation-delay: 0.48s; }
.fade-up:nth-child(6) { animation-delay: 0.60s; }
.fade-up:nth-child(7) { animation-delay: 0.72s; }
