@font-face {
  font-family: 'PerfectlyNineties';
  src: url('../fonts/PerfectlyNineties-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'PerfectlyNineties';
  src: url('../fonts/PerfectlyNineties-Italic.ttf') format('truetype');
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  --green: #2DB04B;
  --green-dark: #0D3B22;
  --green-mid: #1A6635;
  --green-light: #A8D5B0;
  --yellow: #E8F230;
  --cream: #F7F5EF;
  --ink: #16241B;
  --gray: #5A6660;
  --white: #FFFFFF;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.serif { font-family: 'PerfectlyNineties', Georgia, serif; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,245,239,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(13,59,34,0.08);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'PerfectlyNineties', serif;
  font-size: 26px; color: var(--green); font-weight: 400;
  letter-spacing: -0.01em; text-decoration: none;
}
.nav-cta {
  background: var(--green); color: #fff; text-decoration: none;
  padding: 10px 22px; border-radius: 100px; font-size: 14px; font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--green-dark); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a:not(.nav-cta) {
  color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500;
}
.nav-links a:not(.nav-cta):hover { color: var(--green); }
@media (max-width: 760px) { .nav-links a:not(.nav-cta) { display: none; } }

/* SECTION HEADER (blog/news landing) */
.section-hero {
  background: var(--green-dark); color: var(--cream);
  padding: 72px 0 64px; position: relative; overflow: hidden;
}
.section-hero::before {
  content: 'CG'; font-family: 'PerfectlyNineties', serif;
  position: absolute; right: -30px; top: -70px;
  font-size: 300px; color: rgba(232,242,48,0.05); line-height: 1;
  pointer-events: none;
}
.section-eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--yellow); font-weight: 600; margin-bottom: 20px;
  border: 1px solid rgba(232,242,48,0.4); padding: 6px 15px; border-radius: 100px;
}
.section-hero h1 {
  font-family: 'PerfectlyNineties', serif; font-weight: 400;
  font-size: clamp(34px, 5vw, 52px); line-height: 1.1; letter-spacing: -0.01em;
  margin-bottom: 16px; max-width: 720px;
}
.section-hero h1 em { font-style: italic; color: var(--yellow); }
.section-hero p { font-size: 17px; color: var(--green-light); max-width: 560px; }

/* CARD LIST */
.list-wrap { padding: 56px 0 96px; }
.card-list { display: flex; flex-direction: column; gap: 20px; }
.post-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid rgba(13,59,34,0.08);
  border-radius: 14px; padding: 28px 30px; transition: box-shadow 0.2s, transform 0.15s;
}
.post-card:hover { box-shadow: 0 10px 28px rgba(13,59,34,0.10); transform: translateY(-2px); }
.post-tag {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--green); background: rgba(45,176,75,0.10);
  padding: 5px 12px; border-radius: 100px; margin-bottom: 14px;
}
.post-card h2 {
  font-family: 'PerfectlyNineties', serif; font-weight: 400; font-size: 24px;
  color: var(--green-dark); line-height: 1.25; margin-bottom: 10px;
}
.post-card .post-desc { font-size: 14.5px; color: var(--gray); line-height: 1.6; margin-bottom: 14px; }
.post-meta { font-size: 12.5px; color: var(--gray); font-weight: 500; }
.post-meta .dot { margin: 0 8px; opacity: 0.5; }

/* ARTICLE PAGE */
.article-hero {
  background: var(--green-dark); color: var(--cream); padding: 56px 0 48px;
}
.article-hero .wrap { max-width: 760px; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  color: var(--green-light); font-size: 13.5px; font-weight: 600; margin-bottom: 24px;
}
.back-link:hover { color: var(--yellow); }
.article-hero h1 {
  font-family: 'PerfectlyNineties', serif; font-weight: 400;
  font-size: clamp(28px, 4.4vw, 42px); line-height: 1.15; margin-bottom: 14px;
}
.article-hero .subtitle { font-size: 16px; color: var(--green-light); font-style: italic; font-family: 'PerfectlyNineties', serif; margin-bottom: 20px; }
.article-hero .post-meta { color: var(--green-light); }

.article-body { padding: 48px 0 96px; }
.article-body .wrap { max-width: 760px; }
.article-body h2 {
  font-family: 'PerfectlyNineties', serif; font-weight: 400; font-size: 26px;
  color: var(--green-dark); margin: 40px 0 14px;
}
.article-body h3 {
  font-size: 16px; font-weight: 700; color: var(--green-dark); margin: 26px 0 10px;
}
.article-body p { font-size: 16px; line-height: 1.75; color: var(--ink); margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; }
.article-body li { font-size: 16px; line-height: 1.7; color: var(--ink); margin-bottom: 8px; }
.article-body strong { color: var(--green-dark); }
.callout {
  background: rgba(45,176,75,0.06); border-left: 4px solid var(--green);
  padding: 18px 24px; border-radius: 8px; margin: 28px 0;
}
.callout p { margin-bottom: 0; font-size: 15px; }
.article-cta {
  background: var(--green-dark); border-radius: 16px; padding: 36px 32px;
  text-align: center; margin-top: 48px;
}
.article-cta h3 {
  font-family: 'PerfectlyNineties', serif; font-weight: 400; font-size: 24px;
  color: var(--yellow); margin-bottom: 10px;
}
.article-cta p { color: var(--green-light); margin-bottom: 20px; font-size: 15px; }
.btn-primary {
  background: var(--yellow); color: var(--green-dark);
  text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 100px; display: inline-block;
  transition: transform 0.15s;
}
.btn-primary:hover { transform: translateY(-2px); }

/* FOOTER */
footer { background: var(--green-dark); color: var(--green-light); padding: 40px 0; text-align: center; }
footer .wordmark { font-family: 'PerfectlyNineties', serif; font-style: italic; font-size: 22px; color: var(--yellow); margin-bottom: 10px; }
footer p { font-size: 12.5px; opacity: 0.8; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
