:root {
  --green:       #008047;
  --green-dark:  #005c33;
  --green-deep:  #003d22;
  --green-mid:   #006838;
  --green-light: #e6f4ed;
  --gold:        #f0a500;
  --cream:       #f8f5ef;
  --white:       #ffffff;
  --text:        #1a2e23;
  --text-mid:    #3a5045;
  --leaf:        #a8d5bc;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--green-deep);
  color: var(--white);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  height: 68px;
  padding: 0 2.5rem;
  background: rgba(0,61,34,.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,128,71,.3);
  overflow: visible;
}

.nav-brand {
  display: flex; align-items: flex-start; gap: .8rem;
  text-decoration: none;
  align-self: flex-start;
  padding-top: 2px;
}
.nav-brand img {
  height: 100px; width: auto;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}
.nav-brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700; color: var(--leaf); letter-spacing: .06em;
  margin-top: 22px;
}

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,.75); text-decoration: none;
  font-size: 1rem; font-weight: 400; letter-spacing: .05em;
  transition: color .2s;
}
.nav-links a:hover { color: var(--leaf); }
.nav-links a.active { color: var(--leaf); }

/* ── HERO ── */
header {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center; padding: 2rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 85%, rgba(0,128,71,.5) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 85% 15%, rgba(240,165,0,.15) 0%, transparent 55%),
    linear-gradient(155deg, #003d22 0%, #005c33 50%, #002d18 100%);
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,128,71,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,128,71,.12) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 40s linear infinite;
}
@keyframes gridDrift { to { background-position: 60px 60px; } }

.wave-bottom { position: absolute; bottom: -2px; left: 0; right: 0; }

header .content { position: relative; z-index: 2; max-width: 820px; }

/* Tightened hero rhythm */
.hero-logo {
  margin-bottom: 1rem;
  animation: fadeUp .7s ease both;
}
.hero-logo img {
  height: 110px; width: auto;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,.45));
}

.kicker {
  font-size: .72rem; font-weight: 500; letter-spacing: .28em;
  text-transform: uppercase; color: var(--leaf);
  margin-bottom: .6rem;
  animation: fadeUp .8s .1s ease both;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.05; color: var(--white);
  animation: fadeUp .9s .2s ease both;
}
h1 em { font-style: italic; color: var(--leaf); }

.tagline {
  margin-top: .85rem;
  font-size: 1.05rem; font-weight: 300; color: rgba(255,255,255,.7);
  max-width: 560px; margin-inline: auto;
  animation: fadeUp 1s .35s ease both;
}

.hero-cta {
  margin-top: 1.8rem;
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 1s .5s ease both;
}

.btn {
  display: inline-block; padding: .7rem 1.9rem;
  border-radius: 2rem; font-size: .9rem; font-weight: 500;
  text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gold); color: var(--green-deep);
  box-shadow: 0 4px 20px rgba(240,165,0,.35);
}
.btn-primary:hover { box-shadow: 0 6px 28px rgba(240,165,0,.5); }

.btn-outline {
  border: 1.5px solid rgba(168,213,188,.5); color: var(--leaf);
}
.btn-outline:hover { background: rgba(0,128,71,.2); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SECTIONS ── */
section { padding: 5rem 1.5rem; }
.container { max-width: 1060px; margin-inline: auto; }

.section-label {
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--green); font-weight: 500; margin-bottom: .75rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2; margin-bottom: 1.5rem;
}

/* Simple page hero, used on About / Team pages instead of the big hero */
.page-header {
  background: var(--green-deep);
  padding: 9rem 1.5rem 3rem;
  text-align: center;
  border-bottom: 1px solid rgba(0,128,71,.3);
}
.page-header .section-label { justify-content: center; }
.page-header .section-title { margin-bottom: 0; color: var(--white); }

/* ── ABOUT ── */
#about { background: var(--cream); color: var(--text); }
#about .section-label { color: var(--green); }
#about .section-title { color: var(--green-dark); }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start;
}
@media (max-width: 700px) { .about-grid { grid-template-columns: 1fr; } }

.about-body {
  font-size: 1rem; line-height: 1.85; color: var(--text-mid); font-weight: 300;
}
.about-body p + p { margin-top: 1rem; }
.about-body strong { color: var(--green-dark); font-weight: 500; }

.about-aside {
  background: var(--green-dark);
  border-radius: 1rem; padding: 2rem; color: var(--white);
  border-top: 4px solid var(--gold);
}
.about-aside h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; color: var(--leaf); margin-bottom: 1rem;
}

.contact-link {
  display: inline-block; margin-top: 1.2rem;
  background: var(--gold); color: var(--green-deep);
  padding: .55rem 1.4rem; border-radius: 2rem;
  font-size: .85rem; font-weight: 500; text-decoration: none;
  transition: opacity .2s;
}
.contact-link:hover { opacity: .85; }

/* ── TEAM ── */
#team { background: var(--cream); color: var(--text); }
#team .section-label { color: var(--green); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}

.team-card {
  background: var(--white);
  border: 1px solid rgba(0,128,71,.2);
  border-radius: .75rem; padding: 1.75rem 1.5rem;
  text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,61,34,.12);
  border-color: rgba(0,128,71,.5);
}

.team-photo {
  width: 96px; height: 96px; border-radius: 50%;
  overflow: hidden; margin: 0 auto 1rem;
  border: 3px solid var(--gold);
  background: var(--green-light);
}
.team-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.team-role {
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--green); margin-bottom: .4rem;
}
.team-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; color: var(--green-dark); line-height: 1.3;
}
.team-name a {
  color: inherit; text-decoration: none;
  border-bottom: 1px dotted rgba(0,128,71,.35);
}
.team-name a:hover { color: var(--green); }

/* ── VIDEO SECTION (webinar + workshop side by side, frame only) ── */
#videos { background: var(--green-light); color: var(--text); }
#videos .section-label { color: var(--green); }

.video-row {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 760px) {
  .video-row { grid-template-columns: 1fr; gap: 3rem; }
}

.video-col { text-align: center; }

.video-col-label {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--green-dark); font-weight: 500; margin-bottom: .75rem;
}

.video-wrapper {
  position: relative; padding-bottom: 56.25%; border-radius: .75rem;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,61,34,.18);
  border: 3px solid var(--green);
}
.video-wrapper iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

.archive-link {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.25rem;
  font-size: .85rem; font-weight: 500; color: var(--green);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(0,128,71,.4);
  padding-bottom: .15rem; transition: color .2s, border-color .2s;
}
.archive-link:hover { color: var(--green-dark); border-color: var(--green-dark); }
.archive-link::after { content: ' →'; }

/* ── PROJECTS / BLOG (generic light content pages) ── */
#projects, #blog { background: var(--cream); color: var(--text); }
#projects .section-label, #blog .section-label { color: var(--green); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}
.content-card {
  background: var(--white);
  border: 1px solid rgba(0,128,71,.2);
  border-radius: .75rem; padding: 1.75rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,61,34,.12);
  border-color: rgba(0,128,71,.5);
}
.content-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: var(--green-dark); margin-bottom: .6rem;
}
.content-card p {
  font-size: .9rem; line-height: 1.7; color: var(--text-mid); font-weight: 300;
}
.content-card .card-tag {
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .6rem; display: block;
}

/* ── FOOTER ── */
footer {
  background: var(--green-deep);
  padding: 2.5rem 2rem; text-align: center;
  color: rgba(168,213,188,.65);
  font-size: .82rem; line-height: 1.5;
  border-top: 3px solid var(--green);
}
footer a { color: var(--leaf); text-decoration: none; }
footer a:hover { color: var(--gold); }

.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
}
.footer-logo-img {
  height: 60px; width: auto; margin-bottom: .4rem;
  filter: brightness(0) invert(1) opacity(.8);
}
.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; color: var(--white);
}
