:root {
  --bg: #f7f4ee;
  --surface: #fffdfa;
  --text: #181818;
  --muted: #616161;
  --line: #d6d0c5;
  --accent: #202020;
  --max: 1080px;
  --measure: 760px;
  --space: clamp(1rem, 2vw, 1.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.14em; }
a:hover { opacity: 0.8; }
img { max-width: 100%; height: auto; display: block; }

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header,
.site-main,
.site-footer {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  padding: 2rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
}

.brand-lockup {
  text-align: center;
  margin-bottom: 1rem;
}

.site-title {
  display: inline-block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-tagline {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  margin: 0 auto 1rem;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.65rem 1rem;
  font: inherit;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.83rem;
}

.current-menu-item a,
.current_page_item a { text-decoration: underline; }

.site-main {
  flex: 1;
  padding: 2rem 0 4rem;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  margin-bottom: 3rem;
}

.hero-media img,
.entry-featured-image img,
.media-placeholder {
  width: 100%;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #e8e0d2, #cfc3af);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.hero-copy,
.entry-content-wrap,
.archive-shell {
  width: min(100%, var(--measure));
}

.eyebrow {
  margin-bottom: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.hero-title,
.page-title,
.post-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.02;
  margin: 0 0 1rem;
  font-weight: 500;
}

.hero-title { font-size: clamp(2.4rem, 6vw, 5rem); }
.page-title { font-size: clamp(2rem, 5vw, 4rem); }
.post-card-title { font-size: clamp(1.7rem, 4vw, 2.5rem); }

.hero-text,
.entry-content,
.archive-description,
.post-excerpt {
  font-size: 1.02rem;
}

.entry-content-wrap,
.post-card,
.panel-card,
.not-found {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.entry-content-wrap,
.archive-shell { margin-bottom: 2rem; }
.page-header { margin-bottom: 1.5rem; }
.post-meta { color: var(--muted); font-size: 0.92rem; }
.post-list { display: grid; gap: 1.2rem; }
.pagination-wrap { margin-top: 1.5rem; }

.home-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.panel-card h2 {
  margin-top: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}
.entry-content h2 { font-size: 2rem; }
.entry-content h3 { font-size: 1.6rem; }
.entry-content ul,
.entry-content ol { padding-left: 1.2rem; }
.entry-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--text);
  background: #f2ede4;
  font-style: italic;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.footer-title,
.footer-subtitle,
.widget-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  margin-top: 0;
}
.footer-title { font-size: 2rem; }
.footer-subtitle,
.widget-title { font-size: 1.4rem; }
.footer-text,
.footer-widget { color: var(--muted); }
.footer-navigation { margin-bottom: 1rem; }
.copyright { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 860px) {
  .home-hero,
  .footer-grid,
  .home-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .primary-navigation { display: none; }
  .primary-navigation.is-open { display: block; }
  .site-title { font-size: clamp(1.8rem, 10vw, 3rem); }
  .site-header, .site-main, .site-footer { width: min(calc(100% - 1.2rem), var(--max)); }
}
