:root {
  --bg: #ffffff;
  --bg-soft: #f5f8f5;
  --bg-dark: #274838;

  --text: #1f2923;
  --text-soft: #5d6961;

  --green: #365f4b;
  --green-dark: #274838;
  --green-light: #e5eee8;

  --accent: #88658d;
  --border: #dce5df;

  --white: #ffffff;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;

  --shadow:
    0 12px 35px rgba(32, 54, 42, 0.08);

  --container: 1200px;
}


/* RESET */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}


/* GLOBAL */

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.narrow {
  max-width: 860px;
}

.section {
  padding: 90px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-label,
.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.15;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  letter-spacing: -0.045em;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

p {
  margin-top: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 999;
  padding: 12px 18px;
  color: #fff;
  background: #111;
}

.skip-link:focus {
  top: 20px;
}


/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 25px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;

  color: #fff;
  background: var(--green);
  border-radius: 50%;

  font-family: Georgia, serif;
  font-size: 1.45rem;
  font-style: italic;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.brand-text small {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.72rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;

  font-size: 0.92rem;
  font-weight: 650;
}

.desktop-nav a {
  position: relative;
  padding: 28px 0;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--green);
}

.desktop-nav a.active::after {
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;

  height: 2px;

  content: "";
  background: var(--green);
}

.mobile-nav {
  display: none;
}


/* HERO */

.hero {
  overflow: hidden;
  padding: 72px 0 82px;
  background:
    radial-gradient(circle at 10% 20%, #edf5ef 0, transparent 40%),
    linear-gradient(135deg, #fbfdfb 0%, #f4f7f5 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  max-width: 690px;
}

.hero-lead {
  max-width: 670px;
  margin: 28px 0 30px;

  color: var(--text-soft);
  font-size: 1.16rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 50px;
  padding: 0 24px;

  border: 1px solid transparent;
  border-radius: 999px;

  font-weight: 750;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--green);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-secondary {
  color: var(--green-dark);
  background: transparent;
  border-color: var(--green);
}

.btn-light {
  color: var(--green-dark);
  background: #fff;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;

  color: var(--text-soft);
  font-size: 0.88rem;
}

.hero-points span {
  display: flex;
  flex-direction: column;
}

.hero-points strong {
  color: var(--text);
  font-size: 1rem;
}

.hero-image {
  position: relative;
}

.hero-image::before {
  position: absolute;
  z-index: 0;
  top: -30px;
  right: -35px;

  width: 180px;
  height: 180px;

  content: "";
  background: var(--green-light);
  border-radius: 50%;
}

.hero-image img {
  position: relative;
  z-index: 1;

  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;

  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}


/* INTRO */

.intro-section {
  text-align: center;
}

.intro-section h2 {
  margin-bottom: 25px;
}

.intro-section p {
  color: var(--text-soft);
  font-size: 1.08rem;
}


/* SECTION HEADINGS */

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.section-link {
  flex-shrink: 0;
  padding-bottom: 5px;

  color: var(--green);
  border-bottom: 1px solid var(--green);

  font-weight: 750;
}

.simple-heading {
  justify-content: flex-start;
}


/* IMAGE CARDS */

.card-grid {
  display: grid;
  gap: 24px;
}

.genera-grid {
  grid-template-columns: repeat(3, 1fr);
}

.image-card {
  overflow: hidden;

  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.image-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-card-body {
  padding: 22px;
}

.image-card-body h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
  font-style: italic;
}

.image-card-body p {
  margin-bottom: 0;
  color: var(--text-soft);
}


/* TOPIC CARDS */

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.topic-card {
  padding: 28px;

  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.topic-card:hover {
  transform: translateY(-4px);
  border-color: #a8bbae;
}

.topic-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;

  place-items: center;

  background: var(--bg-soft);
  border-radius: 50%;

  font-size: 1.4rem;
}

.topic-card h3 {
  margin-bottom: 10px;
}

.topic-card p {
  margin: 0;
  color: var(--text-soft);
}


/* PROBLEMS */

.problems-section {
  color: #fff;
  background: var(--bg-dark);
}

.problems-section .section-label {
  color: #cde0d3;
}

.problems-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.problems-intro p:not(.section-label) {
  margin: 25px 0 28px;
  color: #dce6df;
}

.problem-links {
  overflow: hidden;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
}

.problem-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 19px 24px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);

  transition: background 0.2s ease;
}

.problem-links a:last-child {
  border-bottom: 0;
}

.problem-links a:hover {
  background: rgba(255, 255, 255, 0.08);
}


/* FEATURE */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 65px;
}

.feature-image img {
  width: 100%;
  aspect-ratio: 9 / 7;
  object-fit: cover;

  border-radius: var(--radius-lg);
}

.feature-content p:not(.section-label) {
  margin: 22px 0;
  color: var(--text-soft);
}

.feature-links {
  display: grid;
  gap: 10px;
}

.feature-links a {
  padding: 14px 17px;

  background: var(--bg-soft);
  border-radius: var(--radius-sm);

  font-weight: 700;
}

.feature-links a:hover {
  color: var(--green);
}


/* CATALOG CTA */

.catalog-callout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: center;

  padding: 50px;

  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.catalog-callout p:not(.section-label) {
  max-width: 760px;
  margin-top: 20px;
  margin-bottom: 0;
  color: var(--text-soft);
}


/* PRINCIPLES */

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.principle {
  padding: 28px 0;
  border-top: 2px solid var(--green);
}

.principle > span {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
}

.principle h3 {
  margin: 14px 0 10px;
}

.principle p {
  color: var(--text-soft);
}

.editorial-link {
  margin-top: 25px;
}

.editorial-link a {
  color: var(--green);
  font-weight: 750;
}


/* FOOTER */

.site-footer {
  padding-top: 65px;
  color: #e7eee9;
  background: #182b22;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  gap: 45px;
  padding-bottom: 50px;
}

.footer-logo {
  color: #fff;
}

.footer-brand p {
  max-width: 380px;
  margin-top: 20px;
  color: #acbbb1;
}

.site-footer h2 {
  margin-bottom: 17px;
  font-size: 0.93rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin: 10px 0;
}

.site-footer li a {
  color: #acbbb1;
}

.site-footer li a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 20px 0;

  color: #829389;
  border-top: 1px solid rgba(255, 255, 255, 0.1);

  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
  }

  .mobile-nav summary {
    padding: 9px 15px;

    color: var(--green-dark);
    border: 1px solid var(--border);
    border-radius: 999px;

    cursor: pointer;
    font-weight: 700;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav nav {
    position: absolute;
    top: 48px;
    right: 0;

    display: grid;
    min-width: 250px;
    padding: 12px;

    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
  }

  .mobile-nav nav a {
    padding: 10px 12px;
    border-radius: 8px;
  }

  .mobile-nav nav a:hover {
    background: var(--bg-soft);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

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

  .genera-grid,
  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .problems-grid,
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


@media (max-width: 650px) {

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 65px 0;
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    padding: 50px 0 60px;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-points {
    gap: 18px;
  }

  .hero-points span {
    width: calc(50% - 10px);
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .genera-grid,
  .topic-grid,
  .principles-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .catalog-callout {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .catalog-callout .btn {
    width: auto;
  }

}

/* ==================================================
   IMAGE LIGHTBOX
   ================================================== */

.zoomable-image {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: zoom-in;
}

.zoomable-image img {
  display: block;
  width: 100%;
  transition: transform .25s ease;
}

.zoomable-image:hover img {
  transform: scale(1.015);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  background: rgba(8, 15, 11, .94);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity .2s ease,
    visibility .2s ease;
}

.image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.image-lightbox-inner {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;

  max-width: 96vw;
  max-height: 94vh;
}

.image-lightbox-img {
  display: block;

  max-width: 94vw;
  max-height: 86vh;

  object-fit: contain;

  border-radius: 14px;
  box-shadow: 0 20px 70px rgba(0,0,0,.45);
}

.image-lightbox-caption {
  max-width: 900px;
  margin-top: 12px;

  color: #fff;
  font-size: .9rem;
  line-height: 1.5;
  text-align: center;
}

.image-lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;

  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  padding: 0;

  color: #fff;
  background: rgba(255,255,255,.12);

  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;

  font-size: 30px;
  line-height: 1;

  cursor: pointer;
}

.image-lightbox-close:hover {
  background: rgba(255,255,255,.22);
}


/* ==================================================
   YOUTUBE VIDEO
   ================================================== */

.species-video {
  margin-top: 50px;
}

.video-wrapper {
  width: 100%;
  max-width: 900px;

  margin: 25px auto 0;

  overflow: hidden;

  aspect-ratio: 16 / 9;

  background: #000;

  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.video-wrapper iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 700px) {
  .image-lightbox {
    padding: 12px;
  }

  .image-lightbox-close {
    top: 10px;
    right: 10px;
  }

  .image-lightbox-img {
    max-width: 96vw;
    max-height: 82vh;
  }
}