/* Shared styles for all inner pages */
:root {
  --ink: #1a1614;
  --cream: #f5f0e8;
  --warm-mid: #e8dfd0;
  --accent: #8b6f47;
  --accent-light: #c4a882;
  --muted: #7a7168;
  --white: #fdfaf5;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
}
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--warm-mid);
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 4rem;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 300;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

.page-hero {
  padding: 9rem 4rem 4rem;
  border-bottom: 1px solid var(--warm-mid);
  background: var(--white);
}
.back-link {
  display: inline-block;
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; margin-bottom: 2rem;
  transition: color 0.2s;
}
.back-link:hover { color: var(--accent); }
.page-eyebrow {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300; line-height: 1.1;
  margin-bottom: 1rem;
}
.page-subtitle {
  font-size: 1rem; color: var(--muted);
  max-width: 580px; line-height: 1.8;
  margin-bottom: 1.2rem;
}
.page-meta {
  font-size: 0.75rem; color: var(--accent-light);
  letter-spacing: 0.05em;
}

.article-body {
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}
.article-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem; font-weight: 400;
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--warm-mid);
}
.article-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 400;
  margin: 2rem 0 0.75rem;
  color: var(--accent);
}
.article-body p { margin-bottom: 1.2rem; font-size: 0.97rem; line-height: 1.85; }
.article-body ul, .article-body ol {
  margin: 0.75rem 0 1.2rem 1.5rem;
}
.article-body li { font-size: 0.95rem; margin-bottom: 0.5rem; line-height: 1.7; }
.article-body blockquote {
  border-left: 3px solid var(--accent);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-style: italic;
  color: var(--accent);
}
.article-body a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-light); }
.article-body a:hover { color: var(--ink); }
.article-body strong { font-weight: 500; }
.article-body em { font-style: italic; }
.pullquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: var(--accent);
  text-align: center;
  padding: 2.5rem 2rem;
  margin: 2.5rem 0;
  border-top: 1px solid var(--accent-light);
  border-bottom: 1px solid var(--accent-light);
}
  font-size: 0.78rem; color: var(--muted);
  border-top: 1px solid var(--warm-mid);
  padding-top: 1.5rem; margin-top: 3rem;
  font-style: italic;
}

.resources-table {
  width: 100%; border-collapse: collapse;
  margin: 1.5rem 0;
}
.resources-table th {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--warm-mid); text-align: left;
}
.resources-table td {
  padding: 0.75rem 1rem; font-size: 0.88rem;
  border-bottom: 1px solid var(--warm-mid); vertical-align: top;
}
.resources-table a { color: var(--accent); text-decoration: none; }
.resources-table a:hover { text-decoration: underline; }

/* Section listing pages */
.listing-hero {
  padding: 9rem 4rem 4rem;
  background: var(--white);
  border-bottom: 1px solid var(--warm-mid);
}
.listing-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 300; line-height: 1.1;
  margin-bottom: 1rem;
}
.listing-desc {
  font-size: 0.95rem; color: var(--muted);
  max-width: 520px; line-height: 1.8;
}
.posts-list { padding: 0; }
.post-list-item {
  display: block; padding: 3rem 4rem;
  border-bottom: 1px solid var(--warm-mid);
  text-decoration: none; color: inherit;
  transition: background 0.2s;
}
.post-list-item:hover { background: var(--white); }
.post-list-item .post-tag {
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.75rem;
}
.post-list-item h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 300; margin-bottom: 0.75rem;
}
.post-list-item p { font-size: 0.9rem; color: var(--muted); max-width: 600px; }
.post-list-item .post-meta {
  font-size: 0.72rem; color: var(--accent-light);
  letter-spacing: 0.05em; margin-top: 1rem;
}

footer {
  background: var(--ink); color: var(--cream);
  padding: 3rem 4rem;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 300; letter-spacing: 0.05em;
}
.footer-meta { font-size: 0.78rem; color: rgba(245,240,232,0.5); text-align: center; }
.footer-contact { text-align: right; }
.footer-contact a {
  font-size: 0.78rem; color: var(--accent-light);
  text-decoration: none; display: block; margin-bottom: 0.3rem;
}
.footer-contact a:hover { color: var(--cream); }

@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.7rem; }
  .page-hero, .listing-hero { padding: 7rem 1.5rem 3rem; }
  .article-body { padding: 3rem 1.5rem 4rem; }
  .post-list-item { padding: 2rem 1.5rem; }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-contact { text-align: center; }
}
