/* ── Radicle Compost — Global Stylesheet ─────────────────────── */

:root {
  --green-dark:  #2D6A4F;
  --green-mid:   #52B788;
  --green-light: #B7E4C7;
  --cream:       #F8F5F0;
  --charcoal:    #1C1C1C;
  --grey:        #555555;
  --grey-light:  #888888;
  --white:       #FFFFFF;
  --max-w:       1100px;
  --font:        'Georgia', serif;
  --sans:        'Arial', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.75;
  font-size: 17px;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--sans); line-height: 1.25; }
h1 { font-size: 2.6rem; color: var(--white); }
h2 { font-size: 1.9rem; color: var(--green-dark); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; color: var(--green-dark); margin-bottom: 0.5rem; }
p  { margin-bottom: 1.1rem; color: var(--grey); }
a  { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section    { padding: 5rem 0; }
.section--alt { background: var(--cream); }

/* ── NAV ────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--green-dark);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.nav-logo-wrap {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none;
}
.nav-logo-svg { width: 32px; height: 38px; flex-shrink: 0; }
.nav-logo-text {
  font-family: var(--sans);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.01em;
}
.nav-logo-text strong { color: var(--white); font-weight: 700; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.85); font-family: var(--sans); font-size: 0.92rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); text-decoration: none; }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, #1a4033 100%);
  padding: 6rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="40" fill="rgba(82,183,136,0.06)"/><circle cx="80" cy="80" r="50" fill="rgba(82,183,136,0.04)"/></svg>') center/cover;
}
.hero-inner { position: relative; max-width: 780px; margin: 0 auto; }
.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: var(--green-light);
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
}
.hero h1 { margin-bottom: 1.25rem; font-size: 2.8rem; }
.hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 2.2rem;
}
.btn {
  display: inline-block;
  background: var(--green-mid);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 2.2rem;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s;
  border: none; cursor: pointer;
}
.btn:hover { background: #3fa372; text-decoration: none; transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  border: 2px solid var(--green-mid);
  color: var(--green-mid);
  margin-left: 1rem;
}
.btn--outline:hover { background: var(--green-mid); color: var(--white); }

/* ── VIDEO SECTION ──────────────────────────────────────────── */
.video-wrap {
  max-width: 800px; margin: 3rem auto 0;
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.video-wrap video { width: 100%; display: block; }

/* ── INTRO ───────────────────────────────────────────────────── */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.intro-text h2 { margin-bottom: 1rem; }
.stat-row { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { font-family: var(--sans); font-size: 2.2rem; font-weight: 700; color: var(--green-dark); }
.stat-label { font-size: 0.85rem; color: var(--grey-light); font-family: var(--sans); }

/* ── SERVICES ────────────────────────────────────────────────── */
.services-intro { max-width: 680px; margin-bottom: 3rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.service-card {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
}
.service-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }
.service-card-header {
  background: var(--green-dark);
  padding: 0.75rem 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.service-num {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green-light);
  text-transform: uppercase;
  white-space: nowrap;
}
.service-card-header h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0;
}
.service-card-body { padding: 1.25rem 1.5rem; }
.service-card-body p { font-size: 0.95rem; margin-bottom: 0; }

/* ── ABOUT ───────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.about-grid--single {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}
.about-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.about-card h3 { font-size: 1.4rem; margin-bottom: 0.25rem; }
.about-role {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--green-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  display: block;
}
.about-card p { font-size: 0.97rem; }

/* ── ARTICLES ────────────────────────────────────────────────── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.article-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: flex; flex-direction: column;
  transition: box-shadow 0.2s, transform 0.15s;
}
.article-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); transform: translateY(-2px); }
.article-card-tag {
  background: var(--green-dark);
  color: var(--green-light);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
}
.article-card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.article-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.article-card p { font-size: 0.93rem; flex: 1; }
.article-card a {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-dark);
}
.article-card a:hover { text-decoration: underline; }

/* ── ARTICLE PAGES ───────────────────────────────────────────── */
.article-page { max-width: 720px; margin: 0 auto; padding: 4rem 2rem; }
.article-page h1 { color: var(--green-dark); font-size: 2.2rem; margin-bottom: 0.5rem; }
.article-meta { font-family: var(--sans); font-size: 0.85rem; color: var(--grey-light); margin-bottom: 2rem; }
.article-page h2 {
  font-family: var(--sans); font-size: 0.85rem; font-weight: 700;
  color: var(--green-mid); text-transform: uppercase; letter-spacing: 0.1em;
  margin: 2.5rem 0 0.75rem; border: none;
}
.article-page blockquote {
  border-left: 4px solid var(--green-mid);
  padding: 0.75rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--green-dark);
}
.article-page blockquote cite {
  display: block; font-size: 0.85rem; color: var(--grey-light);
  font-style: normal; margin-top: 0.5rem;
}
.article-page ul { padding-left: 1.5rem; margin-bottom: 1.1rem; }
.article-page ul li { color: var(--grey); margin-bottom: 0.4rem; }
.article-page ul li strong { color: var(--charcoal); }
.article-divider { border: none; border-top: 1px solid var(--green-light); margin: 2.5rem 0; }
.article-cta { background: var(--cream); border-radius: 6px; padding: 1.75rem 2rem; margin-top: 2rem; }
.article-cta p { color: var(--green-dark); font-style: italic; margin-bottom: 0.5rem; }
.article-cta .contact-line { font-family: var(--sans); font-size: 0.9rem; color: var(--grey); font-style: normal; }
.back-link { font-family: var(--sans); font-size: 0.88rem; color: var(--green-mid); display: inline-block; margin-bottom: 2rem; }

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact-wrap {
  max-width: 640px; margin: 0 auto; text-align: center;
}
.contact-wrap h2 { margin-bottom: 0.75rem; }
.contact-wrap > p { font-size: 1.05rem; margin-bottom: 2.5rem; }
.contact-details {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem;
  margin-bottom: 2.5rem;
}
.contact-item { font-family: var(--sans); }
.contact-item .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey-light); margin-bottom: 0.2rem; }
.contact-item .value { font-size: 1rem; color: var(--green-dark); font-weight: 700; }
.contact-item a { color: var(--green-dark); }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.5);
  font-family: var(--sans);
  font-size: 0.82rem;
  text-align: center;
  padding: 2rem;
}
footer a { color: rgba(255,255,255,0.6); }
footer strong { color: rgba(255,255,255,0.8); }

/* ── HAMBURGER MENU ──────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 200;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .intro-grid, .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--green-dark);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 150;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .hero { padding: 4rem 1.5rem 3rem; }
  .btn--outline { margin-left: 0; margin-top: 0.75rem; }
  .section { padding: 3.5rem 0; }
}
