:root {
  --background: #fbfaf7;
  --surface: #ffffff;
  --text: #1e1d1a;
  --muted: #68635b;
  --border: #e5e0d7;
  --accent: #514536;
  --accent-soft: #eee7dc;
  --shadow: 0 18px 50px rgba(30, 29, 26, 0.08);
  --max-width: 1120px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-color: rgba(81, 69, 54, 0.35);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: currentColor;
}

.container {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  transform: translateY(-160%);
  background: var(--text);
  color: var(--background);
  padding: 8px 12px;
  border-radius: 999px;
  z-index: 10;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 5;
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.site-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
}

.intro-section {
  padding: 76px 0 56px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 52px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.4rem);
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.lede {
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.35;
  margin: 22px 0 16px;
  max-width: 720px;
}

.intro-text {
  color: var(--muted);
  max-width: 650px;
  margin: 0 0 28px;
}

.button-link,
.text-link {
  color: var(--accent);
  font-weight: 700;
}

.button-link {
  display: inline-flex;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 11px 18px;
  text-decoration: none;
}

.button-link:hover {
  background: var(--accent);
  color: var(--background);
}

.headshot-card {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--accent-soft);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.headshot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-section,
.writing-section,
.about-section {
  padding: 56px 0;
}

.section-heading {
  margin-bottom: 24px;
}

.featured-article {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.featured-image {
  min-height: 390px;
  background: var(--accent-soft);
}

.featured-image img,
.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 54px);
}

time {
  color: var(--muted);
  font-size: 0.9rem;
}

.featured-content h3 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-top: 14px;
}

.featured-content p,
.article-content p,
.about-inner p {
  color: var(--muted);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.article-image {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--accent-soft);
}

.article-content {
  padding: 22px;
}

.article-content h3 {
  margin-top: 10px;
  font-size: 1.35rem;
}

.article-content p {
  margin-bottom: 0;
}

.about-inner {
  max-width: 760px;
  border-top: 1px solid var(--border);
  padding-top: 42px;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--muted);
}

@media (max-width: 820px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .intro-section {
    padding-top: 48px;
  }

  .intro-grid,
  .featured-article {
    grid-template-columns: 1fr;
  }

  .headshot-card {
    max-width: 380px;
  }

  .featured-image {
    min-height: 260px;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 821px) and (max-width: 1020px) {
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
