@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --forest-950: #0b2a20;
  --forest-800: #12382b;
  --forest-600: #1b5a43;
  --leaf: #b8f04c;
  --marigold: #f4a62a;
  --paper: #eef5ee;
  --ink: #eaf4ec;
  --muted: #a9c4b4;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 84px;
  --header-h-small: 60px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--forest-950);
  color: var(--ink);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--leaf);
  color: var(--forest-950);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- announce bar ---------- */
.announce {
  background: var(--forest-800);
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.35;
  text-align: center;
  padding: 9px var(--gutter);
  border-bottom: 1px solid var(--forest-600);
}
.announce strong { color: var(--ink); font-weight: 600; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(11, 42, 32, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: height 0.28s var(--ease-out), border-color 0.28s var(--ease-out);
}
.site-header.is-scrolled {
  height: var(--header-h-small);
  border-bottom-color: var(--forest-600);
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--forest-950); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .site-header { border-bottom-color: var(--muted); }
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  min-height: 44px;
}
.brand svg { width: 34px; height: 34px; flex: none; }
.brand small { display: block; font-weight: 400; font-size: 0.75rem; color: var(--muted); letter-spacing: 0.02em; line-height: 1.1; }
.brand span { line-height: 1.15; }

@media (max-width: 360px) {
  .site-header .wrap { gap: 10px; }
  .brand { font-size: 1rem; gap: 10px; }
  .brand svg { width: 30px; height: 30px; }
  .brand small { font-size: 0.6875rem; }
}

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a.link {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  position: relative;
}
.nav a.link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 2px;
  background: var(--leaf);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav a.link:hover::after { transform: scaleX(1); }
}
.nav a.link:focus-visible::after { transform: scaleX(1); }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--leaf);
  color: var(--forest-950);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 2px solid var(--leaf);
  transition: transform 0.2s var(--ease-out), background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.pill.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .pill:hover { transform: translateY(-2px); }
  .pill.ghost:hover { background: var(--ink); color: var(--forest-950); }
}
.pill:focus-visible, .nav a.link:focus-visible, .menu-btn:focus-visible, .brand:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 3px;
}

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--forest-600);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 28px;
    background: var(--forest-800);
    border-bottom: 1px solid var(--forest-600);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out), visibility 0s linear 0.2s;
  }
  .site-header.is-scrolled .nav { max-height: calc(100dvh - var(--header-h-small)); }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav a.link { padding: 6px 0; min-height: 52px; border-bottom: 1px solid var(--forest-600); font-size: 1.125rem; }
  .nav a.link::after { display: none; }
  .nav .pill { margin-top: 20px; min-height: 52px; }
  html.menu-open { overflow: hidden; }
}
@media (max-width: 980px) and (prefers-reduced-motion: reduce) {
  .nav { transition: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(600px, 88vh, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--forest-950);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 100%;
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 42, 32, 0.96) 0%, rgba(11, 42, 32, 0.84) 34%, rgba(11, 42, 32, 0.3) 62%, rgba(11, 42, 32, 0) 78%),
    linear-gradient(180deg, rgba(11, 42, 32, 0.55) 0%, rgba(11, 42, 32, 0) 30%, rgba(11, 42, 32, 0) 72%, rgba(11, 42, 32, 0.9) 100%);
}
.hero-copy {
  padding-block: clamp(56px, 9vh, 110px);
  max-width: 660px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
}
.eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--leaf);
}
.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--leaf);
}
.hero-sub {
  margin: 0 0 34px;
  max-width: 44ch;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--ink);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-cta .pill { min-height: 52px; padding: 0 30px; font-size: 1rem; }

.hero-credit {
  position: absolute;
  right: var(--gutter);
  bottom: 18px;
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: right;
  max-width: 34ch;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .hero { align-items: flex-end; min-height: 700px; }
  .hero-img { object-position: 66% 30%; height: 62%; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(11, 42, 32, 0.15) 0%, rgba(11, 42, 32, 0.15) 22%, rgba(11, 42, 32, 0.96) 52%, var(--forest-950) 100%);
  }
  .hero-copy { padding-block: 40px 56px; }
  .hero-credit { display: none; }
}

/* load cascade: transform + opacity only, runs from CSS so it never depends on JS */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 0.8s var(--ease-out) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.18s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.28s; }
  .hero-img { animation: settle 1.6s var(--ease-out) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  @keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- marigold info strip ---------- */
.strip {
  background: var(--marigold);
  color: var(--forest-950);
}
.strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  align-items: center;
  justify-content: center;
  padding-block: 14px;
  font-size: 0.9375rem;
}
.strip b { font-weight: 700; margin-right: 6px; }
.strip a { text-underline-offset: 3px; font-weight: 600; }

/* ---------- trust bar ---------- */
.trust {
  background: var(--leaf);
  color: var(--forest-950);
}
.trust ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust li {
  padding: clamp(22px, 3.4vw, 40px) clamp(14px, 2vw, 28px);
  border-left: 1px solid rgba(11, 42, 32, 0.28);
}
.trust li:first-child { border-left: 0; padding-left: 0; }
.trust .num {
  display: block;
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.trust .lbl {
  display: block;
  margin-top: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
}
@media (max-width: 760px) {
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .trust li:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid rgba(11, 42, 32, 0.28); }
}
