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

html {
  font-size: 16px;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background-color: #F1EFE8;
  color: #444441;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ─── Layout ─── */

.site-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Navigation ─── */

.site-nav {
  padding: 24px 0 20px;
  border-bottom: 0.5px solid #D3D1C7;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.nav-wordmark {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2C2C2A;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-wordmark:hover {
  color: #0C447C;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  font-size: 14px;
  color: #888780;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0C447C;
}

/* ─── Page main ─── */

main {
  padding: 56px 0 80px;
}

/* ─── Accent bar ─── */

.accent-bar {
  display: block;
  width: 32px;
  height: 2px;
  background-color: #0C447C;
  margin-bottom: 20px;
}

/* ─── Section label ─── */

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #185FA5;
  margin-bottom: 10px;
}

/* ─── Headings ─── */

h1 {
  font-size: 2rem;
  font-weight: 500;
  color: #2C2C2A;
  line-height: 1.25;
  margin-bottom: 20px;
}

h2 {
  font-size: 1.25rem;
  font-weight: 500;
  color: #2C2C2A;
  line-height: 1.35;
  margin-bottom: 12px;
}

h3 {
  font-size: 1rem;
  font-weight: 500;
  color: #2C2C2A;
  margin-bottom: 8px;
}

/* ─── Body text ─── */

p {
  margin-bottom: 18px;
  color: #444441;
}

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

/* ─── Rules ─── */

hr {
  border: none;
  border-top: 0.5px solid #D3D1C7;
  margin: 40px 0;
}

hr.tight {
  margin: 24px 0;
}

/* ─── Links ─── */

a {
  color: #185FA5;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ─── HOME PAGE ─── */

.hero {
  margin-bottom: 56px;
}

.hero-inner {
  display: flex;
  align-items: flex-start;
  gap: 36px;
}

.hero-photo {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.hero-text {
  flex: 1;
}

.hero-headline {
  font-size: 1.75rem;
  font-weight: 500;
  color: #2C2C2A;
  line-height: 1.25;
  margin-bottom: 14px;
}

.hero-subheadline {
  font-size: 1rem;
  color: #888780;
  line-height: 1.7;
  margin-bottom: 0;
}

.tagline-strip {
  border-top: 0.5px solid #D3D1C7;
  border-bottom: 0.5px solid #D3D1C7;
  padding: 18px 0;
  text-align: center;
}

.tagline-strip p {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888780;
  margin-bottom: 0;
}

/* ─── ABOUT PAGE ─── */

.about-photo {
  display: block;
  width: 100%;
  height: auto;
  margin: 28px 0 40px;
}

.credentials {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 0.5px solid #D3D1C7;
}

.credentials ul {
  list-style: none;
  padding: 0;
}

.credentials li {
  font-size: 14px;
  color: #888780;
  line-height: 1.7;
  padding: 6px 0;
  border-bottom: 0.5px solid #D3D1C7;
}

.credentials li:last-child {
  border-bottom: none;
}

/* ─── WORK PAGE ─── */

.work-intro {
  margin-bottom: 44px;
}

.work-thread {
  padding: 36px 0;
  border-top: 0.5px solid #D3D1C7;
}

.work-thread:last-of-type {
  border-bottom: 0.5px solid #D3D1C7;
}

.work-thread p {
  color: #888780;
  margin-bottom: 0;
}

.work-closing {
  padding: 32px 0;
  border-top: 0.5px solid #D3D1C7;
  border-bottom: 0.5px solid #D3D1C7;
  text-align: center;
  margin-top: 4px;
}

.work-closing p {
  font-style: italic;
  color: #888780;
  margin-bottom: 0;
}

.work-closing a {
  color: #185FA5;
  font-style: normal;
  text-decoration: none;
}

.work-closing a:hover {
  text-decoration: underline;
}

/* ─── WRITING PAGE ─── */

.writing-intro {
  color: #888780;
  margin-bottom: 40px;
}

.writing-list {
  list-style: none;
  padding: 0;
}

.writing-list li {
  padding: 20px 0;
  border-top: 0.5px solid #D3D1C7;
}

.writing-list li:last-child {
  border-bottom: 0.5px solid #D3D1C7;
}

.writing-list a {
  color: #2C2C2A;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}

.writing-list a:hover {
  color: #185FA5;
  text-decoration: none;
}

.writing-list .outlet {
  color: #888780;
  font-size: 14px;
  display: inline;
}

/* ─── CONTACT PAGE ─── */

.contact-email {
  font-size: 1.1rem;
  font-weight: 500;
  color: #0C447C;
  text-decoration: none;
  display: inline-block;
  margin: 24px 0;
  letter-spacing: 0.01em;
}

.contact-email:hover {
  color: #185FA5;
  text-decoration: underline;
}

.speaking {
  padding-top: 28px;
  margin-top: 4px;
}

.speaking p {
  color: #888780;
  font-size: 15px;
}

/* ─── Footer ─── */

.site-footer {
  border-top: 0.5px solid #D3D1C7;
  padding: 24px 0 32px;
}

.site-footer p {
  font-size: 13px;
  color: #888780;
  margin-bottom: 0;
}

/* ─── Mobile ─── */

@media (max-width: 600px) {
  .site-nav {
    flex-direction: column;
    gap: 14px;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 18px;
  }

  main {
    padding: 40px 0 60px;
  }

  h1 {
    font-size: 1.5rem;
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .hero-photo {
    width: 96px;
    height: 96px;
  }

  .hero-headline {
    font-size: 1.4rem;
  }

  .about-photo {
    margin: 20px 0 32px;
  }
}
