/* ==========================================================================
   HERO HEADLINE + JUMP NAV — homepage only. Added 2026-11-30.

   Two jobs:
     1. SEO. The <h1> now opens with "Influencer marketing from", so the
        heading states the page topic instead of only naming a city. The
        language gloss moved out of the <h1> (see below) because it was being
        flattened into the heading text, turning it into a run-on string.
     2. Google builds "jump to section" sitelinks from in-page anchor links.
        index.html already carried thirteen section ids and nothing linked to
        them, so those sitelinks were never on offer. The nav also gives the
        hero its first CTA — there was nothing clickable above the fold.

   Loaded only by index.html. The hero exists on no other page, and keeping
   this separate means the three shared stylesheets keep their filenames —
   CloudFront drops query strings from the cache key, so renaming one to bust
   cache would mean editing all 212 pages.
   ========================================================================== */

/* ---------- H1 ---------- */

/* The leading keyword line. No max-width: at desktop sizes it fits on one
   line, and constraining it would force a break that orphans "from". On a
   narrow screen it wraps naturally, balanced so the two lines come out even. */
.hero__line--lead {
  text-wrap: balance;
}

/* The gloss ("Mumbai, Maharashtra · bindaas = carefree …") is now a sibling of
   the <h1> rather than a child, so it sits below the headline. js/main.js
   finds it by id, so the rotation is unaffected. Margins are zeroed because
   .hero__voice supplies an 18px flex gap of its own. */
/* .hero__voice is a flex column with an 18px gap, which is wider than the 8px
   margin the gloss had inside the <h1>. The negative top margin claws that
   back, so the hero stack is the same height as before. It matters because
   .hero is height:100svh with overflow:hidden — extra height clips, it does
   not scroll. */
.hero__voice > .voice__meaning {
  margin: -10px 0 0;
  max-width: 46ch;
}

/* ---------- Jump nav ---------- */

.hero__jump {
  background: var(--primary-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 14px var(--gutter);
}

.hero__jump-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 8px;
  max-width: var(--max);
  margin: 0 auto;
  /* Scrolls sideways on a phone instead of stacking into a tall column. */
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hero__jump-inner::-webkit-scrollbar { display: none; }

.hero__jump-label {
  flex: 0 0 auto;
  margin-right: 4px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.5;
}

.hero__jump a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0.5em 1.05em;
  border: 1px solid rgba(190, 244, 82, 0.28);
  border-radius: var(--pill);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  color: var(--lime);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}
.hero__jump a:hover,
.hero__jump a:focus-visible {
  background: rgba(190, 244, 82, 0.14);
  border-color: var(--lime);
}

.hero__jump .hero__jump-cta {
  margin-left: 6px;
  background: var(--lime);
  border-color: var(--lime);
  color: var(--primary-deep);
  font-weight: 600;
}
.hero__jump .hero__jump-cta:hover,
.hero__jump .hero__jump-cta:focus-visible {
  background: var(--white);
  border-color: var(--white);
  color: var(--primary-deep);
}

/* Clears the fixed site nav when a jump link lands on a section.
   Matches the 96px already used by .prose h2. */
#campaigns,
#platform,
#hyperlocal,
#industries,
#creators,
#insights {
  scroll-margin-top: 96px;
}

@media (max-width: 700px) {
  .hero__jump { padding: 11px var(--gutter); }
  .hero__jump-inner { justify-content: flex-start; }
  .hero__jump-label { display: none; }
  .hero__jump a { font-size: 0.78rem; padding: 0.46em 0.9em; }

  /* The strip scrolls sideways on a phone, so a CTA sitting last would be
     ~400px off-screen and never seen. Pull it to the front, where it is the
     first thing in view — this is the hero's only call to action. */
  .hero__jump .hero__jump-cta {
    order: -1;
    margin-left: 0;
    margin-right: 6px;
  }
}
