:root {
  --bg: #f5f1e6;
  --surface: #ffffff;
  --text: #2d2a25;
  --text-muted: #6b6457;
  --text-light: #9a9389;
  --accent: #c4a76a;
  --accent-dark: #8a7340;
  --leaf: #8ba888;
  --leaf-light: #c8d4be;
  --link: #2d2a25;
  --link-hover: #8a7340;
  --border: #e8e2d2;
  --rule: #2d2a25;

  --font-script: 'Caveat', cursive;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg fill='%23c8d4be' fill-opacity='0.22'%3E%3Cpath d='M50 80c10-20 30-30 50-30 0 30-20 50-50 50-5-10-5-15 0-20zm150 80c15-25 40-35 60-30-5 35-25 55-55 55-10-10-12-18-5-25zm100 200c-15-20-40-25-60-15 5 35 25 50 55 45 10-8 10-20 5-30zm-200-50c20-15 45-15 60 5-15 25-40 35-65 25-5-15 0-25 5-30z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }

.site-header {
  padding: 1.5rem 0;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.wordmark {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--text);
  text-decoration: none;
  line-height: 1;
}

.wordmark:hover { color: var(--accent-dark); }

.site-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 400;
}

.site-nav a:hover { color: var(--accent-dark); }

.content-wrapper {
  max-width: 1100px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.card {
  background: var(--surface);
  margin-bottom: 2rem;
  padding: 3rem;
}

@media (max-width: 700px) {
  .card { padding: 1.75rem; }
}

.featured-link {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}

.featured-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.featured-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
  margin: 1rem 0 0.75rem;
  color: var(--text);
}

.category-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent-dark);
  margin: 0 0 0.5rem;
}

.meta {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0 0 1.25rem;
}

.excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 1.25rem;
}

.read-more {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-dark);
  margin: 0;
}

.read-more .arrow { transition: transform 0.2s; display: inline-block; margin-left: 0.25rem; }

.featured-link:hover .read-more .arrow {
  transform: translateX(4px);
}

@media (max-width: 800px) {
  .featured-link { grid-template-columns: 1fr; gap: 1.5rem; }
}

.recent-grid-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.post-card a {
  display: block;
  text-decoration: none;
  color: var(--text);
}

.post-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 1rem;
}

.post-text h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0.5rem 0 0.5rem;
  color: var(--text);
}

.post-card a:hover h2 { color: var(--accent-dark); }

.post-text .meta {
  font-size: 0.8rem;
  margin: 0;
}

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

.over-astrid-block {
  background: var(--surface);
}

.over-astrid-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.astrid-illustration {
  display: flex;
  justify-content: center;
}

.over-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent-dark);
  margin: 0 0 1rem;
  text-align: center;
}

.astrid-text {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.astrid-text p:not(.signature):not(.over-eyebrow) {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.signature {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--text);
  margin: 0.5rem 0 0;
}

@media (max-width: 700px) {
  .over-astrid-inner { grid-template-columns: 1fr; gap: 1rem; }
  .astrid-text { text-align: center; }
}

.section-heading {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin: 0 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.article-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

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

.article-list a {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.5rem;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}

.article-thumb img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.article-info h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.article-list a:hover h3 { color: var(--accent-dark); }

.article-info .meta { font-size: 0.8rem; margin: 0; }

.cat-link {
  color: var(--accent-dark);
  font-weight: 500;
}

.more-articles {
  text-align: center;
  margin: 2rem 0 0;
}

.more-articles a {
  font-family: var(--font-sans);
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.more-articles a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .article-list a { grid-template-columns: 80px 1fr; gap: 1rem; }
  .article-info h3 { font-size: 1.05rem; }
}

.article-card {
  max-width: 900px;
  margin: 0 auto 2rem;
}

.article-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.breadcrumb {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  text-align: left;
}

.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-dark); }

.article-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0.75rem 0 1rem;
  color: var(--text);
}

.article-header .meta { text-align: center; }

.article-image {
  margin: 0 0 3rem;
}

.article-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.article-body {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto;
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 500;
  margin: 3rem 0 1.25rem;
  color: var(--text);
}

.article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin: 2.5rem 0 1rem;
}

.article-body p { margin: 0 0 1.5rem; }

.article-body a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-body a:hover { color: var(--text); }

.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin: 0 0 1.5rem;
}

.article-body li { margin-bottom: 0.5rem; }

.article-body .signature {
  text-align: right;
  margin: 3rem 0 2rem;
}

.article-body .sources {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.article-body .sources strong { color: var(--text); font-weight: 600; }

.related-posts {
  max-width: 800px;
  margin: 4rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.related-posts h3 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin: 0 0 2rem;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.related-grid a {
  display: block;
  text-decoration: none;
  color: var(--text);
}

.related-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  margin-bottom: 0.75rem;
}

.related-grid h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.related-grid p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0;
}

@media (max-width: 700px) {
  .related-grid { grid-template-columns: 1fr; }
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.astrid-illustration-large {
  display: flex;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.content-card .article-body { margin: 0 auto; }

.partners-block .partners-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.partner-item h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  margin: 0.5rem 0 0.75rem;
  line-height: 1.3;
}

.partner-item p {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 1rem;
  color: var(--text);
}

.partner-links {
  font-size: 0.92rem;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.partner-links a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.partner-links a:hover { color: var(--text); }

.partners-block .section-heading { text-align: center; }

@media (max-width: 700px) {
  .partners-block .partners-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

.site-footer {
  padding: 3rem 0;
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-nav a:hover { color: var(--accent-dark); }

.copyright {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

.cluster-page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.cluster-page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 500;
  margin: 0.5rem 0 1rem;
}

.cluster-page-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.cluster-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.cluster-list .post-card { margin-bottom: 0; }

@media (max-width: 700px) {
  .cluster-list { grid-template-columns: 1fr; }
}
