:root {
  --bg: #eef5eb;
  --bg-2: #f9fcf8;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --text: #173221;
  --muted: #5a6c5f;
  --line: rgba(23, 50, 33, 0.12);
  --green: #286834;
  --green-deep: #1f5f3d;
  --green-soft: rgba(40, 104, 52, 0.11);
  --shadow: 0 24px 70px rgba(17, 38, 22, 0.14);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(40, 104, 52, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(31, 95, 61, 0.12), transparent 24%),
    linear-gradient(135deg, var(--bg-2) 0%, var(--bg) 100%);
}

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

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

.page-frame {
  position: relative;
  overflow: clip;
}

.page-frame::before,
.page-frame::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.page-frame::before {
  width: 280px;
  height: 280px;
  top: -80px;
  right: -100px;
  background: rgba(40, 104, 52, 0.16);
}

.page-frame::after {
  width: 240px;
  height: 240px;
  left: -80px;
  bottom: -80px;
  background: rgba(31, 95, 61, 0.12);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px 24px;
  backdrop-filter: blur(14px);
  background: rgba(249, 252, 248, 0.72);
  border-bottom: 1px solid rgba(23, 50, 33, 0.08);
  transition: box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(248, 252, 247, 0.92);
  border-bottom-color: rgba(23, 50, 33, 0.12);
  box-shadow: 0 14px 30px rgba(17, 38, 22, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 14px 26px rgba(17, 38, 22, 0.14);
}

.brand-copy {
  display: grid;
  min-width: 0;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-height: none;
  opacity: 1;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid rgba(23, 50, 33, 0.14);
  border-radius: 999px;
  color: var(--text);
  font: inherit;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(17, 38, 22, 0.08);
}

.nav-toggle__icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
}

.nav-toggle__icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease, width 0.2s ease;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--green-soft);
  color: var(--green-deep);
  transform: translateY(-1px);
}

.site-nav a.is-active {
  background: rgba(40, 104, 52, 0.14);
  color: var(--green-deep);
}

.mobile-nav-actions {
  display: none;
}

.header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ghost-btn,
.solid-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(23, 50, 33, 0.14);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ghost-btn {
  background: rgba(255, 255, 255, 0.78);
}

.solid-btn {
  color: #fff;
  border-color: var(--green);
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  box-shadow: 0 16px 30px rgba(31, 95, 61, 0.18);
}

.ghost-btn:hover,
.solid-btn:hover,
.ghost-btn:focus-visible,
.solid-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(17, 38, 22, 0.12);
}

main {
  position: relative;
  z-index: 1;
  padding: 20px 20px 48px;
}

.section {
  width: min(1200px, 100%);
  margin: 0 auto 24px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 28px;
  align-items: center;
  min-height: 82svh;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(40, 104, 52, 0.12);
  color: var(--green-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h1,
.section-heading h2 {
  margin: 14px 0 12px;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 5vw, 5.5rem);
}

.lead,
.section-heading p,
.feature-card p,
.hub-card p,
.course-card p,
.contact-card p,
.founder-copy p,
.media-card--text p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 30px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hero-metrics article,
.feature-card,
.course-card,
.hub-card,
.contact-card,
.founder-stats article,
.panel-card,
.media-card {
  border: 1px solid rgba(23, 50, 33, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(17, 38, 22, 0.08);
}

.hero-metrics article {
  padding: 18px;
}

.hero-metrics strong,
.founder-stats strong,
.course-card strong,
.hub-card strong,
.panel-card strong,
.contact-card strong {
  display: block;
  color: var(--green-deep);
}

.hero-metrics strong {
  font-size: 1.6rem;
}

.hero-metrics span,
.founder-stats span,
.course-card span,
.panel-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-panel {
  position: relative;
  min-height: 640px;
  display: grid;
  gap: 14px;
  align-content: center;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
  animation: drift 10s ease-in-out infinite;
}

.orb-a {
  width: 180px;
  height: 180px;
  top: 20px;
  right: 10px;
  background: rgba(40, 104, 52, 0.14);
}

.orb-b {
  width: 130px;
  height: 130px;
  left: 20px;
  bottom: 40px;
  background: rgba(31, 95, 61, 0.1);
  animation-delay: -4s;
}

.panel-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
}

.panel-card--accent {
  background: linear-gradient(135deg, rgba(40, 104, 52, 0.94), rgba(31, 95, 61, 0.88));
  color: #fff;
}

.panel-card--accent .panel-label,
.panel-card--accent p {
  color: rgba(255, 255, 255, 0.82);
}

.panel-card--image {
  padding: 0;
  overflow: hidden;
}

.panel-card--image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.panel-card:nth-child(odd) {
  animation: floatCard 8s ease-in-out infinite;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.section-heading h1 {
  font-size: clamp(2rem, 3vw, 3.6rem);
}

.section-split .feature-grid,
.media-grid,
.hub-grid,
.contact-grid {
  display: grid;
  gap: 16px;
}

.section-split .feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.feature-card {
  padding: 22px;
}

.feature-card strong {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.media-section .media-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  margin-top: 22px;
}

.media-card {
  overflow: hidden;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.media-card--text {
  padding: 26px;
}

.media-card--text strong {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.media-card--text ul {
  margin: 18px 0 24px;
  padding-left: 20px;
  color: var(--text);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.course-card {
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.course-card span:first-child {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-weight: 800;
  margin-bottom: 16px;
}

.course-card strong {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.hub-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.hub-card {
  padding: 26px;
}

.hub-card--dark {
  color: #fff;
  background: linear-gradient(135deg, #133721, #286834);
}

.hub-card--dark .panel-label,
.hub-card--dark p {
  color: rgba(255, 255, 255, 0.82);
}

.founder-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 22px;
}

.founder-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(17, 38, 22, 0.16);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.founder-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.founder-stats article {
  padding: 16px;
}

.founder-stats strong {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.founder-note {
  margin-bottom: 0;
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.contact-card {
  padding: 22px;
}

.contact-card p {
  margin: 10px 0 0;
}

.contact-card a {
  color: var(--green-deep);
  font-weight: 800;
}

.site-footer {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 18px 24px 40px;
  color: var(--muted);
  text-align: center;
}

.section-stack {
  display: grid;
  gap: 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.countup {
  display: inline-block;
}

@keyframes drift {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(12px, -18px, 0);
  }
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero,
  .founder-grid,
  .media-section .media-grid,
  .hub-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    min-height: 520px;
  }

  .hero-metrics,
  .section-split .feature-grid,
  .course-grid,
  .founder-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 12px;
  }

  .brand {
    grid-column: 1;
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 2;
    justify-self: end;
  }

  .nav-toggle.is-open .nav-toggle__icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle.is-open .nav-toggle__icon span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open .nav-toggle__icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 12px;
    border: 1px solid rgba(23, 50, 33, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 30px rgba(17, 38, 22, 0.08);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.35s ease, padding 0.35s ease;
  }

  .site-nav.is-open {
    max-height: 70vh;
    opacity: 1;
    transform: translateY(0);
    align-items: stretch;
    padding: 12px;
    pointer-events: auto;
    overflow-y: auto;
  }

  .site-nav a {
    width: 100%;
    text-align: center;
    padding: 12px 14px;
  }

  .header-actions {
    grid-column: 1 / -1;
    display: flex;
    width: 100%;
    gap: 8px;
  }

  .header-actions .ghost-btn,
  .header-actions .solid-btn {
    flex: 1 1 calc(50% - 4px);
    width: auto;
    padding-inline: 12px;
  }

  .section {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-copy h1 {
    max-width: 13ch;
  }

  .hero-metrics,
  .section-split .feature-grid,
  .course-grid,
  .founder-stats {
    grid-template-columns: 1fr;
  }

  .header-actions,
  .hero-actions {
    width: 100%;
  }

  .ghost-btn,
  .solid-btn {
    width: 100%;
  }

  .site-nav {
    gap: 8px;
  }

  .hero-panel {
    min-height: 440px;
  }

  .media-card img,
  .founder-photo img {
    min-height: 280px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .brand-copy strong {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
  }

  .brand-copy span {
    font-size: 0.8rem;
  }
}
