:root {
  --green: #7BC142;
  --green-deep: #5FA02D;
  --green-soft: #A8E063;
  --green-glow: rgba(123, 193, 66, 0.22);
  --ink: #0F1A24;
  --ink-soft: #3A4754;
  --ink-muted: #6B7682;
  --bg: #FBFDF8;
  --surface: #FFFFFF;
  --border: #E6ECE0;

  --radius-card: 24px;
  --radius-pill: 999px;
  --shadow-card: 0 8px 32px rgba(15, 26, 36, 0.06);
  --shadow-cta: 0 10px 24px rgba(123, 193, 66, 0.28);

  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --content-max: 1100px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-gap: clamp(80px, 12vh, 140px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  color: var(--ink);
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }

.accent { color: var(--green); }

::selection { background: var(--green-glow); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--green-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── Nav ───────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 var(--gutter);
  background: rgba(251, 253, 248, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms var(--ease), background 240ms var(--ease);
}

.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(251, 253, 248, 0.92);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

@media (max-width: 560px) {
  .nav { padding: 0 16px 0 8px; }
  .nav__brand { font-size: 20px; gap: 8px; }
  .nav__logo { height: 30px; }
}

.nav__logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav__wordmark { line-height: 1; }

.nav__links {
  display: flex;
  gap: clamp(14px, 3vw, 36px);
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: clamp(15px, 2.6vw, 21px);
  font-weight: 500;
  color: var(--ink);
}

.nav__links a {
  position: relative;
  padding: 4px 0;
  transition: color 180ms var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--bounce);
  border-radius: 2px;
}

.nav__links a:hover { color: var(--green-deep); }
.nav__links a:hover::after { transform: scaleX(1); }

/* ─── Hero ──────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: calc(100svh - 64px);
  display: grid;
  place-items: center;
  padding: 40px var(--gutter) 80px;
  overflow: hidden;
  isolation: isolate;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero__logo {
  width: clamp(160px, 22vw, 260px);
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 14px 36px rgba(15, 26, 36, 0.10));
  opacity: 0;
  transform: scale(0.92);
  animation: logo-pop 720ms var(--bounce) 0.1s forwards;
}

@keyframes logo-pop {
  to { opacity: 1; transform: scale(1); }
}

.hero__title {
  font-size: clamp(64px, 11vw, 132px);
  font-weight: 700;
  letter-spacing: -0.045em;
  opacity: 0;
  transform: translateY(12px);
  animation: rise 720ms var(--ease) 0.35s forwards;
}

.hero__tagline {
  font-size: clamp(17px, 2vw, 23px);
  color: var(--ink-soft);
  max-width: 30ch;
  font-weight: 400;
  opacity: 0;
  transform: translateY(12px);
  animation: rise 720ms var(--ease) 0.47s forwards;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(12px);
  animation: rise 720ms var(--ease) 0.59s forwards;
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* Floating bubbles */

.hero__bubbles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--green-soft), var(--green-glow) 60%, transparent 75%);
  filter: blur(40px);
  opacity: 0.55;
  will-change: transform;
}

.bubble--a { width: 320px; height: 320px; top: -40px; left: -60px; animation: drift1 18s ease-in-out infinite alternate; }
.bubble--b { width: 420px; height: 420px; bottom: -120px; right: -100px; animation: drift2 22s ease-in-out infinite alternate; opacity: 0.45; }
.bubble--c { width: 220px; height: 220px; top: 30%; right: 12%; animation: drift3 16s ease-in-out infinite alternate; opacity: 0.5; }
.bubble--d { width: 260px; height: 260px; bottom: 18%; left: 8%; animation: drift4 20s ease-in-out infinite alternate; opacity: 0.5; }
.bubble--e { width: 180px; height: 180px; top: 12%; left: 42%; animation: drift1 14s ease-in-out infinite alternate; opacity: 0.4; }

@keyframes drift1 { from { transform: translate(0,0); } to { transform: translate(28px, -22px); } }
@keyframes drift2 { from { transform: translate(0,0); } to { transform: translate(-32px, 24px); } }
@keyframes drift3 { from { transform: translate(0,0); } to { transform: translate(-22px, 26px); } }
@keyframes drift4 { from { transform: translate(0,0); } to { transform: translate(30px, -18px); } }

/* ─── Buttons ───────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 36px;
  border-radius: var(--radius-pill);
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform 260ms var(--bounce), box-shadow 260ms var(--ease), background 200ms var(--ease), color 200ms var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--green);
  color: #fff;
  border: 1px solid var(--green-deep);
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover { transform: translateY(-2px) scale(1.04); background: var(--green-deep); }
.btn--primary:active { transform: translateY(0) scale(0.99); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn--ghost:hover { transform: translateY(-2px) scale(1.03); border-color: var(--green); color: var(--green-deep); }

.btn--lg {
  padding: 22px 44px;
  font-size: 22px;
}

/* ─── Sections ──────────────────────────────────────────────────── */

.section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--section-gap) var(--gutter);
  scroll-margin-top: 80px;
}

.eyebrow {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--green-deep);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  margin-bottom: 24px;
  max-width: 18ch;
}

.section__lede {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--ink-soft);
  max-width: 62ch;
  line-height: 1.7;
}

/* Reveal on scroll */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Founders */

.founders {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.founder {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 18px 22px;
  box-shadow: var(--shadow-card);
  transition: transform 360ms var(--bounce), box-shadow 360ms var(--ease);

  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  align-items: center;
}

.founder:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(15, 26, 36, 0.08);
}

.founder__avatar {
  position: relative;
  overflow: hidden;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-soft), var(--green));
  display: grid;
  place-items: center;
  margin-bottom: 0;
  grid-row: 1 / span 2;
  box-shadow: 0 6px 20px rgba(123, 193, 66, 0.3);
}
.founder__avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder__avatar span {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.founder__name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2px;
}

.founder__role {
  font-size: 13px;
  font-weight: 500;
  color: var(--green-deep);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 720px) {
  .founders { grid-template-columns: 1fr; gap: 14px; }
  .founder { padding: 16px 18px; column-gap: 14px; }
  .founder__avatar { width: 48px; height: 48px; }
}

/* Contact */

.section--contact { text-align: left; }

.contact__cta {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.contact__note {
  color: var(--ink-muted);
  font-size: 14px;
}

/* ─── Footer ────────────────────────────────────────────────────── */

.footer {
  text-align: center;
  padding: 48px var(--gutter);
  border-top: 1px solid var(--border);
  color: var(--ink-muted);
  font-size: 13px;
  margin-top: 40px;
}

/* ─── Reduced motion ────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero__logo,
  .hero__title,
  .hero__tagline,
  .hero__actions { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
  .bubble { display: none; }
}
