@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,700;1,500&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --cream: #F4F0E8;
  --dark: #1C1C1A;
  --stone: #7A7060;
  --accent: #B8956A;
  --accent-light: #EAD9C0;
  --white: #FFFFFF;
  --border: rgba(122,112,96,0.18);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --t: 0.28s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 300;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; font-weight: 500; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 500; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 1.75rem; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,240,232,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.75rem; max-width: 1080px; margin: 0 auto;
}
.nav-logo { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 1.75rem; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--stone); transition: color var(--t);
}
.nav-links a:hover, .nav-links a.active { color: var(--dark); }

/* HERO */
.hero { padding: 6rem 0 5rem; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.hero-glow {
  position: absolute; top: -100px; right: -150px;
  width: 700px; height: 700px;
  background: radial-gradient(circle at center, var(--accent-light), transparent 65%);
  opacity: 0.4; pointer-events: none;
}
.eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  border: 1px solid var(--accent); border-radius: 2px;
  padding: 0.3rem 0.8rem; margin-bottom: 1.5rem;
}
.hero h1 { max-width: 680px; margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lead { font-size: 1.05rem; max-width: 540px; color: var(--stone); margin-bottom: 2.25rem; }
.hero-cta { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 500;
  border-radius: 3px; cursor: pointer; transition: all var(--t);
  border: none; text-decoration: none;
}
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--accent); color: var(--dark); }
.btn-outline { background: transparent; color: var(--dark); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--stone); }

/* SECTIONS */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--white); }
.section-label {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem;
}
.section-title { margin-bottom: 1rem; }
.section-intro { color: var(--stone); max-width: 560px; margin-bottom: 2.75rem; }

/* CARDS */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.25rem; }
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 6px; padding: 1.75rem;
  transition: all var(--t); position: relative;
}
.card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t); border-radius: 0 0 6px 6px;
}
.card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.07); transform: translateY(-3px); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 42px; height: 42px; border-radius: 8px;
  background: var(--cream); display: flex; align-items: center;
  justify-content: center; font-size: 1.25rem; margin-bottom: 1.1rem;
}
.badge {
  display: inline-block; font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-light);
  border-radius: 2px; padding: 0.18rem 0.55rem; margin-bottom: 0.65rem;
}
.card h3 { margin-bottom: 0.65rem; }
.card p { color: var(--stone); font-size: 0.88rem; margin-bottom: 1.35rem; line-height: 1.65; }
.card-link {
  font-size: 0.85rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--dark); transition: color var(--t);
}
.card-link:hover { color: var(--accent); }
.card-link svg { transition: transform var(--t); }
.card-link:hover svg { transform: translateX(3px); }
.card-featured { background: var(--dark); color: var(--white); border-color: var(--dark); }
.card-featured p { color: rgba(255,255,255,0.6); }
.card-featured .card-link { color: var(--accent-light); }
.card-featured .card-link:hover { color: var(--accent); }
.card-featured .card-icon { background: rgba(255,255,255,0.08); }

/* STATS */
.stats-bar { display: flex; flex-wrap: wrap; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 3rem 0; }
.stat { flex: 1; min-width: 160px; padding: 2rem 1.75rem; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--accent); margin-bottom: 0.25rem; }
.stat-label { font-size: 0.82rem; color: var(--stone); }

/* INTRO BLOCK */
.intro-block { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 4.5rem 0; }
.intro-block p { color: var(--stone); margin-bottom: 1rem; }
.intro-visual { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 2.5rem; position: relative; }
.intro-visual::after {
  content: ''; position: absolute; top: 12px; left: 12px; right: -12px; bottom: -12px;
  border: 1px solid var(--border); border-radius: 8px; z-index: -1;
}
.checklist { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.checklist li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: var(--stone); }
.checklist li::before { content: '✓'; color: var(--accent); font-weight: 700; font-size: 0.85rem; margin-top: 0.05rem; flex-shrink: 0; }

/* CTA BAND */
.cta-band { background: var(--dark); color: var(--white); padding: 4rem 0; text-align: center; }
.cta-band h2 { margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.5); margin-bottom: 2rem; max-width: 440px; margin-left: auto; margin-right: auto; }

/* FOOTER */
footer { background: var(--dark); color: rgba(255,255,255,0.4); padding: 2.5rem 0; font-size: 0.8rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,0.3); transition: color var(--t); }
.footer-links a:hover { color: var(--accent); }

/* PAGE HERO */
.page-hero { padding: 4rem 0 3rem; border-bottom: 1px solid var(--border); }
.page-hero h1 { max-width: 640px; margin-bottom: 1rem; }
.page-hero .lead { color: var(--stone); max-width: 520px; }

/* ARTICLE BODY */
.article-body { max-width: 720px; margin: 0 auto; padding: 3.5rem 0; }
.article-body h2 { margin: 2.5rem 0 1rem; font-size: 1.5rem; }
.article-body h3 { margin: 2rem 0 0.75rem; }
.article-body p { color: var(--stone); margin-bottom: 1.1rem; }
.article-body a { color: var(--dark); border-bottom: 1px solid var(--accent); padding-bottom: 1px; transition: color var(--t); }
.article-body a:hover { color: var(--accent); }
.article-body ul { color: var(--stone); padding-left: 1.25rem; margin-bottom: 1.1rem; }
.article-body ul li { margin-bottom: 0.4rem; }

.breadcrumb { font-size: 0.78rem; color: var(--stone); display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 0; }
.breadcrumb a { color: var(--stone); }
.breadcrumb a:hover { color: var(--dark); }

.highlight-box { background: var(--accent-light); border-left: 3px solid var(--accent); border-radius: 0 4px 4px 0; padding: 1.25rem 1.5rem; margin: 2rem 0; }
.highlight-box p { color: var(--dark) !important; margin: 0; font-size: 0.95rem; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .intro-block { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-visual::after { display: none; }
  .nav-links { gap: 1rem; }
  .stats-bar { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); padding: 1.5rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .hero-glow { display: none; }
}
