/* ============================================
   CORPORATE HERO — Engineering Grid Background
   ============================================ */

.gpw-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-height);
  background: #0a1628;
}

/* Engineering grid layer */
.gpw-hero__grid {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  /* Minor grid */
  background-image:
    linear-gradient(rgba(35, 85, 90, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 85, 90, 0.07) 1px, transparent 1px),
    /* Major grid */
    linear-gradient(rgba(35, 85, 90, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 85, 90, 0.15) 1px, transparent 1px);
  background-size:
    40px 40px,
    40px 40px,
    200px 200px,
    200px 200px;
}

/* Glow dots removed — home quick-win 2026-06-08.
   The scattered multicolor pulsing dots read as a SaaS/template preset rather
   than precision-industrial. We keep only the static engineering grid
   (.gpw-hero__grid above) + the depth overlay (.gpw-hero__overlay below). */

/* Gradient overlay for depth + vignette */
.gpw-hero__overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 60% 50% at 25% 75%, rgba(35, 85, 90, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 75% 25%, rgba(237, 131, 94, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 100% 100% at 50% 50%, transparent 40%, rgba(10, 22, 40, 0.6) 100%);
  z-index: 1;
}

/* Content */
.gpw-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-xl);
}

.gpw-hero__tagline {
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.8);   /* was lime — muted-white eyebrow, restrained/industrial */
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.gpw-hero__tagline::before,
.gpw-hero__tagline::after {
  content: '';
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);   /* was lime (hidden on --plain variant anyway) */
}

.gpw-hero h1 {
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: var(--space-xl);
}

.gpw-hero__sub {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
}

.gpw-hero .btn-group {
  justify-content: center;
  margin-bottom: var(--space-3xl);
}

/* Division cards — floating below text */
.gpw-hero__divisions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: 620px;
  margin: 0 auto;
}

.gpw-hero__div-card {
  padding: var(--space-xl);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  text-align: left;
}

.gpw-hero__div-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

.gpw-hero__div-num {
  font-family: var(--font-accent);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-xs);
}

.gpw-hero__div-card:first-child .gpw-hero__div-num { color: var(--lime); }
.gpw-hero__div-card:last-child .gpw-hero__div-num { color: var(--coral); }

.gpw-hero__div-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.gpw-hero__div-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* Scroll indicator */
.gpw-hero__scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: rgba(255,255,255,0.35);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: heroScroll 2s ease-in-out infinite;
}

.gpw-hero__scroll svg {
  width: 20px;
  height: 20px;
}

@keyframes heroScroll {
  0%, 100% { opacity: 0.35; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.7; transform: translateX(-50%) translateY(6px); }
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .gpw-hero__divisions {
    grid-template-columns: 1fr;
    max-width: 340px;
  }

  .gpw-hero__inner {
    padding: var(--space-2xl) var(--space-lg);
  }
}
/* ── Interactive Nearshore Map ── */
.nearshore-map {
  position: relative;
  width: 100%;
  aspect-ratio: 1.2 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0a1628;
}
.nearshore-map__dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}
.nearshore-map__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.nearshore-map__label {
  font-family: 'Lato', sans-serif;
  font-size: 1.4px;
  font-weight: 700;
  fill: var(--white);
  text-anchor: middle;
  pointer-events: none;
  opacity: 1;   /* was animated (mapLabelLoop) — now static */
}
.nearshore-map__label--origin {
  fill: var(--coral);
  font-size: 1.8px;
}
.nearshore-map__path {
  stroke-dashoffset: 0;   /* was animated draw-loop — now drawn once, static */
}
.nearshore-map__dot-travel { display: none; }   /* traveling ping removed */
.nearshore-map__legend {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-md);
  font-size: var(--text-xs);
  color: var(--medium-gray);
}
.nearshore-map__legend span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}
.nearshore-map__legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.nearshore-map__legend-dot--origin { background: var(--coral); }
.nearshore-map__legend-dot--dest { background: rgba(255, 255, 255, 0.85); }   /* was lime */

/* Map animation removed — home quick-win 2026-06-08: routes render once, static
   (no draw loop, no traveling ping, no radar pulses). The data is the asset. */

/* ============================================
   #10 — HOMEPAGE RESTRUCTURE
   Integrated lead, equal billing for both capabilities.
   Reuses shared components from styles.css; adds only the
   home-specific blocks below. Brand-locked, AA-clean.
   ============================================ */

/* --- Hero: long eyebrow variant (no flanking rules, wraps) --- */
.gpw-hero__tagline--plain {
  flex-wrap: wrap;
  text-align: center;
  max-width: 92%;
  margin-left: auto;
  margin-right: auto;
}
.gpw-hero__tagline--plain::before,
.gpw-hero__tagline--plain::after { display: none; }

/* --- Hero: supporting trust line under the CTAs --- */
.gpw-hero__support {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.72);   /* ~8:1 on the dark hero */
  max-width: 600px;
  margin: calc(-1 * var(--space-lg)) auto var(--space-2xl);
}

/* --- Hero: two equal capability chips (replace old Division 01/02) --- */
.gpw-hero__caps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: 640px;
  margin: 0 auto;
}
.gpw-hero__cap {
  padding: var(--space-lg) var(--space-xl);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: left;
  transition: border-color var(--transition-base), background var(--transition-base);
}
.gpw-hero__cap:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
}
.gpw-hero__cap-tag {
  display: block;
  font-family: var(--font-accent);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.8);   /* was lime — muted-white capability tag */
  margin-bottom: var(--space-xs);
}
.gpw-hero__cap-title {
  display: block;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.gpw-hero__cap-desc {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.72);   /* AA on dark */
  line-height: 1.45;
}

/* --- Hero: scroll cue AA fix (was rgba .35 ~3.2:1 → static .8 ~6.5:1; animate transform only) --- */
.gpw-hero__scroll {
  color: rgba(255, 255, 255, 0.8);
  animation: heroScrollY 2s ease-in-out infinite;
}
@keyframes heroScrollY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* --- Legitimacy strip --- */
.home-legit {
  background: var(--off-white);
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
}
.home-legit__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md) var(--space-2xl);
  padding: var(--space-lg) 0;
}
.home-legit__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-body);
  letter-spacing: 0.01em;
}
.home-legit__item svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
}

/* --- Equal capability cards (icon-led, no photo) --- */
.cap-cards__head {
  max-width: 680px;
  margin-bottom: var(--space-3xl);
}
.cap-cards__head p {
  color: var(--text-body);
  font-size: var(--text-lg);
  font-weight: 300;
}
.cap-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}
.cap-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}
.cap-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.cap-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}
.cap-card__icon svg { width: 26px; height: 26px; }
.cap-card__title { font-size: var(--text-2xl); margin-bottom: var(--space-sm); }
.cap-card__oneliner {
  font-size: var(--text-base);
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}
.cap-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}
.cap-card__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-body);
  line-height: 1.5;
}
.cap-card__item svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 3px;
}
.cap-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent-on-light);
  transition: gap var(--transition-base);
}
.cap-card__link:hover { gap: var(--space-md); color: var(--coral-dark); }
.cap-card__link svg { width: 14px; height: 14px; }

/* --- Vertical-integration band (on .section--deep) --- */
.integration__head {
  max-width: 760px;
  margin: 0 auto var(--space-3xl);
  text-align: center;
}
.integration__head p {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-lg);
  font-weight: 300;
}
.integration__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.integration__step {
  position: relative;
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
}
.integration__step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8);   /* was lime — muted-white step number */
  margin-bottom: var(--space-sm);
}
.integration__step-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}
.integration__step-desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  margin: 0;
}
/* connector (graphic only — coral rule) */
.integration__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: calc(-1 * var(--space-lg));
  width: var(--space-lg);
  height: 2px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.22);   /* was coral rule — neutral connector */
  opacity: 1;
}

/* --- Nearshore band reused on a DARK section: intro copy must be light (styles.css
   sets .nearshore__content > p to --mid-gray, which is ~3.3:1 on near-black) --- */
.section--dark .nearshore__content > p { color: rgba(255, 255, 255, 0.82); }

/* --- Industry router: 5-col cards ---
   2026-06-10: tiles upgraded from icon+name to icon+name+value line+arrow
   (reuses the shared industry-card__desc/__arrow components from styles.css).
   Left-aligned to match the hub industry cards. */
.home-router__grid { grid-template-columns: repeat(5, 1fr); }
.home-router .industry-card {
  align-items: flex-start;
  text-align: left;
  padding: var(--space-lg);
}
.home-router .industry-card__icon { margin-bottom: var(--space-md); width: 36px; height: 36px; }
.home-router .industry-card__title { font-size: var(--text-sm); }
.home-router .industry-card__arrow { margin-top: var(--space-sm); }
@media (max-width: 1024px) {
  .home-router__grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- #10 responsive --- */
@media (max-width: 1024px) {
  .cap-cards { grid-template-columns: 1fr; }
  .integration__steps { grid-template-columns: 1fr 1fr; }
  .integration__step:not(:last-child)::after { display: none; }
}
@media (max-width: 768px) {
  .integration__steps { grid-template-columns: 1fr; }
  .home-router__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   HOME QUICK-WINS — 2026-06-08 (founder-approved)
   Scoped to the homepage: this file loads only on "/" and last in the cascade,
   so these overrides do not affect the other 22 pages that share styles.css.
   Goal: drop the "animated preset" feel; read as serious industrial B2B.
   ============================================ */

/* (4) No scroll-reveal cascade — content renders immediately = confident.
   Wins over styles.css .js .reveal (equal specificity, later in cascade). */
.js .reveal { opacity: 1; transform: none; transition: none; }

/* (2) Purge lime as a homepage accent — dark-section eyebrows go muted-white. */
.label--lime { color: rgba(255, 255, 255, 0.8); }

/* (5) Ration coral — section dividers become a thin neutral hairline,
   not a coral bar repeated under every heading. */
.section__divider { background: var(--warm-stone); height: 2px; }
.section--deep .section__divider,
.section--dark .section__divider,
.section--teal .section__divider { background: rgba(255, 255, 255, 0.22); }

/* ============================================
   CAPABILITIES & SPECS — engineer-grade proof block (2026-06-08)
   Clean white spec-sheet (Xometry-style): real numbers in mono, no certs.
   ============================================ */
.specs__head {
  max-width: 720px;
  margin: 0 auto var(--space-3xl);
  text-align: center;
}
.specs__head p {
  color: var(--text-body);
  font-size: var(--text-lg);
  font-weight: 300;
}
.specs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}
.spec-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}
.spec-card__head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--light-gray);
}
.spec-card__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
}
.spec-card__icon svg { width: 24px; height: 24px; }
.spec-card__title { font-size: var(--text-xl); margin-bottom: 2px; }
.spec-card__note {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.4;
}
.spec-list { display: flex; flex-direction: column; }
.spec-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--off-white);
  font-size: var(--text-sm);
  line-height: 1.5;
}
.spec-row:last-child { border-bottom: 0; }
.spec-row dt {
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: 0.01em;
}
.spec-row dd { color: var(--text-body); margin: 0; }
.spec-num {
  font-family: var(--font-mono);
  font-feature-settings: 'tnum' 1, 'zero' 1;
  font-size: 0.92em;
  color: var(--text-heading);
  white-space: nowrap;
}
.specs__caption {
  max-width: 760px;
  margin: var(--space-2xl) auto 0;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}
@media (max-width: 860px) {
  /* minmax(0,1fr): plain 1fr tracks can't shrink below the items'
     min-content (grid min-width:auto), which blew the cards out to 378px
     wide on a 375px viewport (horizontal page overflow) */
  .specs__grid { grid-template-columns: minmax(0, 1fr); }
  .spec-row { grid-template-columns: 112px minmax(0, 1fr); }
}

/* ============================================
   HERO — PHOTO CROSSFADE + SPLIT LAYOUT  (2026-06-08, founder-approved)
   Subtle slow crossfade (~7s) of 2-3 stacked photos, NO controls, gentle.
   Headline + CTAs sit LEFT over the dark veil; the photo subject shows RIGHT.
   ALL hero photos MUST share the dark-left / subject-right composition so the
   left text always stays legible. Rotation pauses under prefers-reduced-motion.
   Slides + image paths live in index.html (.gpw-hero__slides); those paths are
   page-relative (img/hero/...). Drop a new photo in img/hero/ and point a slide
   at it. Keep it honest: tight part / harness / assembly close-ups, never a
   facility-wide shot.
   ============================================ */
.gpw-hero {
  justify-content: flex-start;            /* push content to the left */
  background: #0a1628;                     /* fallback under the photo slides */
}
/* stacked photo layers (crossfade) */
.gpw-hero__slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.gpw-hero__slide {
  position: absolute; inset: 0;
  background-image: var(--img);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.gpw-hero__slide.is-active { opacity: 1; }
/* directional veil: dark on the left (text), clearing toward the right (subject) */
.gpw-hero__overlay {
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(10, 22, 40, 0.94) 0%,
    rgba(10, 22, 40, 0.86) 34%,
    rgba(10, 22, 40, 0.50) 66%,
    rgba(10, 22, 40, 0.12) 100%);
}
/* left-align the hero content */
.gpw-hero__inner {
  text-align: left;
  max-width: 600px;
  margin: 0;
  margin-left: clamp(var(--space-lg), 7vw, 7rem);
}
.gpw-hero__tagline { justify-content: flex-start; }
.gpw-hero__tagline--plain { max-width: 100%; margin-left: 0; margin-right: 0; text-align: left; }
.gpw-hero .btn-group { justify-content: flex-start; }
.gpw-hero__support { margin-left: 0; margin-right: 0; }
.gpw-hero__caps { margin-left: 0; margin-right: 0; max-width: 560px; }

/* Tablet/phone: no room beside the subject — switch the veil to a stronger
   uniform darken and center the text over the full-bleed photo. */
@media (max-width: 900px) {
  .gpw-hero { justify-content: center; }
  .gpw-hero__overlay {
    background: linear-gradient(rgba(10, 22, 40, 0.86), rgba(10, 22, 40, 0.92));
  }
  .gpw-hero__inner { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
  .gpw-hero__tagline--plain { text-align: center; justify-content: center; }
  .gpw-hero .btn-group { justify-content: center; }
}
@media (max-width: 540px) {
  .gpw-hero__caps { grid-template-columns: 1fr; }
}

/* ============================================
   HERO height tighten — founder feedback 2026-06-09
   Was min-height:100vh with tall content -> overflowed the viewport + dead space.
   Compact the vertical rhythm and fit the hero to ~one screen. Scroll cue removed.
   ============================================ */
.gpw-hero { min-height: 80vh; }
.gpw-hero__inner { padding-block: var(--space-2xl); max-width: 660px; }  /* was --space-4xl (6rem); wider so the H1 fits 2 lines */
.gpw-hero h1 { font-size: clamp(2rem, 1.3rem + 2vw, 2.7rem); }           /* sized so "for machining and assembly" stays on one line */
.gpw-hero__sub { margin-bottom: var(--space-xl); font-size: calc(var(--text-xl) - 2px); }   /* -2px per founder */
.gpw-hero .btn-group { margin-bottom: var(--space-2xl); }/* was --space-3xl */

/* ============================================
   HERO eyebrow -> match the service/industry pages' technical style
   (IBM Plex Mono + [coral brackets] + lime), for site-wide consistency.
   Founder request 2026-06-09. (Distinct from the broad decorative lime we removed:
   this is the established small technical eyebrow convention, reads "engineering".)
   ============================================ */
.gpw-hero__tagline {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--lime);
}
.gpw-hero__tagline--plain::before,
.gpw-hero__tagline--plain::after {
  display: inline-block;
  width: auto;
  height: auto;
  background: none;
  color: var(--coral);
  opacity: 0.6;
  font-weight: 700;
}
.gpw-hero__tagline--plain::before { content: "["; }
.gpw-hero__tagline--plain::after  { content: "]"; }

/* ============================================
   NEARSHORE MAP — bigger + subtle one-time draw (founder feedback 2026-06-09)
   Static-by-design (we removed the infinite radar loop). Re-add a SINGLE
   route draw-in on scroll (no loop), and widen the map to fill the right column.
   ============================================ */
/* Desktop-only: the unconditional version of this rule was defeating the
   <=1024px single-column collapse in styles.css (corporate-home.css loads
   later), leaving the band 2-col at 375px and pushing stats off-canvas
   (document.scrollWidth 393 > 360). */
@media (min-width: 1025px) {
  .nearshore__grid { grid-template-columns: 1fr 1.3fr; gap: var(--space-3xl); }
}

/* one-time route draw — JS adds .is-animate when the map scrolls into view */
.nearshore-map__overlay.is-predraw .nearshore-map__path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}
.nearshore-map__overlay.is-animate .nearshore-map__path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: mapDrawOnce 1.5s ease-out forwards;
}
@keyframes mapDrawOnce { to { stroke-dashoffset: 0; } }

/* ============================================
   QW1 mobile eyebrow — 2026-06-10
   At 375px the flex eyebrow wrapped so the [ and ] pseudo-element brackets
   landed alone on their own lines. display:block on the container puts the
   brackets back in the text's inline flow. The pseudos are inline-block
   site-wide (see the bracket override above); inline-block is atomic and
   creates soft-wrap opportunities on both sides, so force display:inline
   here to bind "[" / "]" unconditionally to the adjacent text.
   ============================================ */
@media (max-width: 640px) {
  .gpw-hero__tagline--plain {
    display: block;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-md);
  }
  .gpw-hero__tagline--plain::before,
  .gpw-hero__tagline--plain::after  { display: inline; }
  .gpw-hero__tagline--plain::before { margin-right: 0.4em; }
  .gpw-hero__tagline--plain::after  { margin-left: 0.4em; }
}

/* ============================================
   QW2 mobile fold — 2026-06-10
   Compact the hero on small screens so the primary "Request a Quote" CTA
   fits above the fold in a 375x812 viewport (CTA bottom <= 640px).
   ============================================ */
@media (max-width: 640px) {
  .gpw-hero { min-height: 0; }
  .gpw-hero__inner { padding-block: var(--space-xl); }
  .gpw-hero__sub {
    font-size: var(--text-base);
    line-height: 1.55;
    margin-bottom: var(--space-lg);
  }
}
