/* ===========================
   PEACEFUL CLOSURE — STYLES
   =========================== */

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

:root {
  --bg: #FAF8F5;
  --text: #555;
  --text-dark: #2a2a2a;
  --accent: #5A8A6A;
  --accent-light: #e8f0eb;
  --border: #e5e0d8;
  --font-sans: 'General Sans', system-ui, sans-serif;
  --font-serif: 'Erode', Georgia, serif;
  --max-w: 1100px;
  --article-max: 740px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ---- LAYOUT ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- HEADER ---- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  gap: 2rem;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* ---- HERO ---- */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero-inner {
  max-width: 760px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.subhead {
  font-size: 1.175rem;
  color: var(--text);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ---- SECTIONS ---- */
.what-section,
.articles-section,
.callout-section {
  padding: 4rem 0;
}

.what-section {
  border-top: 1px solid var(--border);
}

.what-section h2,
.articles-section h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.what-section p {
  max-width: 680px;
  margin-bottom: 1rem;
}

.what-section p:last-child {
  margin-bottom: 0;
}

/* ---- ARTICLE GRID ---- */
.articles-section {
  border-top: 1px solid var(--border);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.article-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.2s;
}

.article-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.article-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.article-card h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
}

.article-card h3 a {
  color: inherit;
  text-decoration: none;
}

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

.article-card p {
  font-size: 0.9375rem;
  color: var(--text);
  flex: 1;
}

.read-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.read-more:hover {
  opacity: 0.75;
}

/* ---- CALLOUT ---- */
.callout-section {
  border-top: 1px solid var(--border);
}

.callout-box {
  background: var(--accent-light);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.callout-box h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.875rem;
  letter-spacing: -0.01em;
}

.callout-box p {
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.85;
}

/* ---- FOOTER ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer-note {
  font-size: 0.8125rem;
  max-width: 560px;
  color: #888;
  line-height: 1.6;
}

.footer-copy {
  font-size: 0.8125rem;
  color: #aaa;
}

/* ---- ARTICLE PAGE ---- */
.article-hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}

.article-hero .article-tag {
  display: block;
  margin-bottom: 1rem;
}

.article-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 2.75rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 720px;
  margin-bottom: 1rem;
}

.article-meta {
  font-size: 0.875rem;
  color: #999;
}

.article-body {
  padding: 3rem 0 4rem;
  max-width: var(--article-max);
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 2.5rem 0 0.875rem;
  letter-spacing: -0.01em;
}

.article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 2rem 0 0.75rem;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body ul,
.article-body ol {
  margin: 0.75rem 0 1.25rem 1.5rem;
}

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

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

.article-body a:hover {
  opacity: 0.8;
}

.article-body .article-cta {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 2.5rem 0;
}

.article-body .article-cta p {
  margin: 0;
  font-size: 0.9375rem;
}

/* ---- RESOURCES PAGE ---- */
.resources-hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}

.resources-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 5vw, 2.75rem);
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.resources-hero p {
  max-width: 580px;
}

.resources-body {
  padding: 3rem 0 4rem;
}

.resource-section {
  margin-bottom: 3.5rem;
}

.resource-section h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
}

.resource-item {
  margin-bottom: 1.5rem;
}

.resource-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.resource-item p {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.resource-item a {
  color: var(--accent);
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.betrayal-callout {
  background: var(--accent-light);
  border: 1px solid #c8dcc9;
  border-radius: 10px;
  padding: 1.75rem 2rem;
  margin-top: 2rem;
}

.betrayal-callout p {
  margin: 0;
  font-size: 0.9375rem;
}

.betrayal-callout a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 700px) {
  .hero {
    padding: 3rem 0 2.5rem;
  }

  .site-nav {
    gap: 1.25rem;
  }

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

  .callout-box {
    padding: 2rem 1.5rem;
  }

  .article-body,
  .resources-body {
    padding: 2rem 0 3rem;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}
