/* ============================================================
   01 — Hero: full-bleed Fresh Grass canvas, single floating pill
   nav, poster-scale display headline, one paper-cut character
   conducting the work, bleeding from the bottom edge.
   All classes prefixed hero- / nav-. No shadows. No gradients.
   ============================================================ */

.hero {
  position: relative;
  /* Taller than the viewport on purpose: the character art anchors to the hero's
     bottom and bleeds below the fold, reference-style, instead of riding up
     over the headline on short screens. */
  min-height: 1400px;
  background: var(--color-fresh-grass);
  overflow: hidden;
}

/* ---------- floating pill navigation: ONE soft pill ---------- */

.nav-bar {
  display: flex;
  align-items: stretch;
  gap: 18px;                 /* the strip of green between the two pills */
  position: absolute;
  top: 28px;
  left: 88px;
  right: 88px;
  z-index: 10;
}

.nav-pill {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  background: var(--color-pure-white);
  border-radius: var(--radius-nav);
  padding: 8px 8px 8px 24px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.nav-logo {
  width: 26px;
  height: auto;
  flex: none;
}

.nav-wordmark-sub {
  display: block;
  margin-top: 3px;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-stone-gray);
}

.nav-wordmark {
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-ink-black);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  display: inline-block;
  padding: 10px 14px;
  font-size: var(--text-body-sm);
  font-weight: 500;
  line-height: 1;
  color: var(--color-ink-black);
  border-radius: var(--radius-buttons);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--color-stone-gray);
}

.nav-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.nav-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-fresh-grass);
  flex: none;
}

.nav-menu-lines {
  position: relative;
  display: block;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-ink-black);
}

.nav-menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-ink-black);
}

/* standalone CTA pill — its own soft pill with green showing between */

.nav-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color-pure-white);
  border-radius: var(--radius-buttons);
  padding: 8px 44px 8px 26px;      /* right pad holds the dot */
  --btn-pad: 8px;
  --btn-shift: 18px;
  font-size: var(--text-body-sm);
  font-weight: 500;
  line-height: 1;
  color: var(--color-ink-black);
}

.nav-cta-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-sky-pop);
  flex: none;
}

/* ---------- headline block ---------- */

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 148px 24px 0;
  text-align: center;
}

.hero-headline {
  font-family: var(--font-inter);
  font-size: min(196px, 13.6vw);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: var(--color-ink-black);
}

.hero-subhead {
  margin-top: 38px;
  font-size: var(--text-subheading); /* 20px */
  font-weight: 400;
  line-height: var(--leading-subheading);
  color: var(--color-ink-black);
}

/* primary hero action — white pill, single blue dot affordance */

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 52px;
  background: var(--color-pure-white);
  border-radius: var(--radius-buttons);
  padding: 12px 60px 12px 30px;    /* right pad holds the dot */
  --btn-pad: 12px;
  --btn-shift: 30px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-ink-black);
}

.hero-cta-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-sky-pop);
  flex: none;
}

/* ---------- one character, bleeding from the bottom ---------- */

.hero-art {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1380px;
  max-width: 98vw;
  z-index: 2;
  pointer-events: none;
}

.hero-art-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- narrower viewports (primary target is 1440px) ---------- */

@media (max-width: 1280px) {
  .hero-headline {
    font-size: 11.2vw;
  }
  .hero-content {
    padding-top: 130px;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .hero-subhead {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* video hero art (keyed character animation) — shifted left so the envelope
   rises just left of the "Book a free call" CTA */
.hero-art { width: 1180px; left: -20px; transform: none; max-width: none; }
.hero-art-video { display: block; width: 100%; height: auto; }


/* ---------- right-side atmosphere ---------- */

.hero-atmo {
  position: absolute;
  right: 210px;
  bottom: 330px;
  width: 260px;          /* balances the character's mass on the left */
  z-index: 2;
  pointer-events: none;
}

.hero-atmo-video { display: block; width: 100%; height: auto; max-width: none; }

.hero-el { position: absolute; z-index: 2; pointer-events: none; }


@media (max-width: 1180px) {
  .hero-atmo { width: 150px; right: 16px; bottom: 190px; }
  .hero-el { display: none; }
}

