:root {
  --leaf: #0f5132;
  --leaf-2: #1f7a4d;
  --water: #146c94;
  --earth: #8a5a28;
  --sun: #f2b84b;
  --ink: #1f2a24;
  --muted: #607066;
  --paper: #fbfaf4;
  --mist: #eef6ed;
  --line: rgba(31, 42, 36, 0.14);
  --shadow: 0 18px 50px rgba(31, 42, 36, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 244, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.top-strip {
  background: var(--leaf);
  color: #f8fff6;
  font-size: 0.86rem;
  padding: 7px 22px;
  text-align: center;
}

.nav-wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.brand img {
  width: 74px;
  height: 62px;
  object-fit: contain;
}

.brand-title {
  display: grid;
  gap: 1px;
}

.brand-title strong {
  color: var(--leaf);
  font-size: 1.2rem;
  line-height: 1.05;
}

.brand-title span {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--leaf);
  border-radius: 6px;
  font-size: 1.35rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  padding: 9px 10px;
  border-radius: 6px;
  color: #264136;
  font-weight: 650;
  font-size: 0.93rem;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--mist);
  color: var(--leaf);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 6px;
  border: 1px solid var(--leaf);
  background: var(--leaf);
  color: #fff;
  font-weight: 750;
}

.btn.secondary {
  background: transparent;
  color: var(--leaf);
}

.hero .btn.secondary,
.page-hero .btn.secondary {
  color: #fff;
  border-color: rgba(255,255,255,0.78);
}

.btn.light {
  background: #fff;
  color: var(--leaf);
  border-color: #fff;
}

.nav-join {
  background: var(--sun) !important;
  color: #26321f !important;
}

.nav-login {
  border: 1px solid var(--line);
  background: #fff;
}

.hero {
  min-height: 78vh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 170px 22px 56px;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 24, 15, 0.78), rgba(7, 24, 15, 0.32) 48%, rgba(7, 24, 15, 0.08));
  z-index: -1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
  z-index: -2;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img,
.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content,
.page-hero-content {
  max-width: 1220px;
  margin: 0 auto;
  width: 100%;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff8d9;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  line-height: 1.14;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 900px;
  margin: 14px 0 18px;
  font-size: clamp(2.35rem, 5vw, 5.6rem);
}

.hero p {
  max-width: 720px;
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
  color: #f3f7ef;
}

.hero-kicker {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-kicker span {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.section {
  padding: 74px 22px;
}

.section.alt {
  background: var(--mist);
}

.section.dark {
  background: #10291e;
  color: #ecfff0;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  color: var(--leaf);
}

.dark .section-head h2 {
  color: #d8f6cf;
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.dark .section-head p {
  color: #c8dccd;
}

.grid {
  display: grid;
  gap: 22px;
}

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

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.feature-card,
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(31, 42, 36, 0.08);
}

.card img,
.blog-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card h3,
.feature-card h3,
.blog-card h3 {
  margin: 0 0 10px;
  color: var(--leaf);
}

.card p,
.feature-card p,
.blog-card p {
  margin: 0;
  color: #4f5f55;
}

.feature-card {
  padding: 22px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #e7f4e5;
  color: var(--leaf);
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.image-feature {
  padding: 0;
}

.image-feature img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.image-feature .feature-content {
  padding: 20px;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.mini-link {
  color: var(--leaf);
  font-weight: 800;
  font-size: 0.92rem;
}

.category-band {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.category-pill {
  min-height: 118px;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  align-content: space-between;
  box-shadow: 0 8px 20px rgba(31, 42, 36, 0.07);
}

.category-pill strong {
  color: var(--leaf);
}

.category-pill span {
  color: var(--muted);
  font-size: 0.88rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.stat {
  border: 1px solid rgba(255,255,255,0.18);
  padding: 22px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
}

.stat strong {
  display: block;
  font-size: 2rem;
  color: #fff8d9;
}

.stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: rgba(255,255,255,0.12);
  display: grid;
  place-items: center;
  color: #fff8d9;
  font-weight: 900;
  margin-bottom: 10px;
}

.split-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  align-items: stretch;
}

.quiet-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 10px 24px rgba(31, 42, 36, 0.08);
}

.detail-list {
  display: grid;
  gap: 18px;
}

.detail-list article {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.detail-list article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.form-shell {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 750;
  color: var(--leaf);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 44px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.media-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
}

.media-row img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.check-list {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  padding-left: 30px;
  position: relative;
}

.check-list li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--leaf-2);
  font-weight: 900;
}

.page-hero {
  position: relative;
  min-height: 380px;
  display: grid;
  align-items: end;
  padding: 120px 22px 52px;
  isolation: isolate;
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero h1 {
  margin: 12px 0 10px;
  font-size: clamp(2rem, 4vw, 4.2rem);
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #edf5eb;
  font-size: 1.1rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  min-height: 250px;
  background: #d8e5d7;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 38px 14px 12px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,0.74));
  font-weight: 750;
}

.blog-card .meta {
  color: var(--earth);
  font-weight: 750;
  font-size: 0.86rem;
  margin-bottom: 8px;
}

.site-footer {
  background: #0b2419;
  color: #dcebe0;
  padding: 50px 22px 24px;
}

.footer-grid {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 28px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo img {
  width: 70px;
  height: 60px;
  object-fit: contain;
  background: rgba(255,255,255,0.9);
  border-radius: 8px;
}

.site-footer h3 {
  color: #fff8d9;
  margin-top: 0;
}

.site-footer a {
  color: #d8f6cf;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.credit {
  max-width: 1220px;
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: #afc7b6;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 22px 18px;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: grid;
  }

  .main-nav a {
    padding: 12px;
  }

  .section-head,
  .media-row {
    display: grid;
  }

  .grid.three,
  .grid.four,
  .stats,
  .footer-grid,
  .gallery,
  .category-band,
  .split-panel {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .top-strip {
    font-size: 0.78rem;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 58px;
    height: 50px;
  }

  .brand-title strong {
    font-size: 1rem;
  }

  .hero {
    min-height: 82vh;
    padding-top: 130px;
  }

  .grid.three,
  .grid.four,
  .stats,
  .footer-grid,
  .gallery,
  .category-band,
  .split-panel {
    grid-template-columns: 1fr;
  }

  .media-row img {
    min-height: 280px;
  }

  .hero-actions {
    display: grid;
  }
}
