/* CTPF-NET-007: home-only layout overrides. All authored dimensions use px. */
.home-page .page-hero--mapped {
  padding: 36px 0;
}

.home-page .hero-composition {
  position: relative;
  display: block;
  min-height: 500px;
}

.home-page .hero-composition .hero-copy {
  width: 480px;
  padding-top: 18px;
}

.home-page .page-hero--mapped .hero-composition h1 {
  max-width: none;
  font-size: 45px;
  line-height: 46px;
  letter-spacing: -2px;
}

.home-page .hero-line--text {
  white-space: nowrap;
}

.home-page .hero-composition .lead {
  max-width: 460px;
  margin-top: 20px;
  font-size: 16px;
  line-height: 27px;
}

.home-page .hero-cta {
  width: 254px;
  gap: 10px;
  margin-top: 24px;
}

.home-page .hero-cta .button {
  width: 254px;
  height: 50px;
  min-height: 50px;
  padding: 12px 20px;
  font-size: 14px;
}

.home-page .world-map--hero {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: calc((100vw - 100%) / -2 - 64px);
  width: clamp(880px, 68vw, 1080px);
  max-width: none;
  margin: 0;
  transform: translateY(-50%);
}

.home-page .world-map--hero .map-land {
  opacity: 1;
  filter: brightness(1.75) contrast(1.08);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 120px);
  mask-image: linear-gradient(to right, transparent 0, #000 120px);
}

.home-page .world-map--hero .map-marker .core {
  r: 5px;
  filter: drop-shadow(0 0 4px var(--pop));
}

.home-page .world-map--hero .map-marker .pulse {
  stroke-width: 2px;
  opacity: .65;
}

.home-page .world-map--hero .map-label text {
  font-size: 13px;
}

.home-page .section {
  padding: 72px 0;
}

.home-page .card-grid {
  gap: 16px;
}

.home-page .feature-card {
  height: 268px;
  min-height: 250px;
  padding: 30px;
}

.home-page .card-index {
  margin-bottom: 28px;
  font-size: 12px;
  line-height: 12px;
}

.home-page .feature-card h2 {
  font-size: 22px;
  line-height: 28px;
}

.home-page .stats-section--home {
  padding: 14px 0;
}

.home-page .stat-grid div {
  padding: 18px 30px;
}

.home-page .stat-grid strong {
  font-size: 56px;
  line-height: 56px;
}

.home-page .stat-grid span {
  font-size: 13px;
  line-height: 18px;
}

.home-page .split-feature {
  gap: 80px;
}

.home-page .split-feature > div + div {
  padding-left: 50px;
}

.home-page .cta-band .shell {
  gap: 32px;
}

.home-page .cta-band .button {
  min-height: 50px;
  padding: 12px 20px;
}

@media (max-width: 1024px) {
  .home-page .page-hero--mapped {
    padding: 48px 0 36px;
  }

  .home-page .hero-composition {
    display: grid;
    min-height: 0;
    gap: 28px;
  }

  .home-page .hero-composition .hero-copy {
    width: 100%;
    padding-top: 0;
  }

  .home-page .page-hero--mapped .hero-composition h1 {
    max-width: 600px;
    font-size: 42px;
    line-height: 44px;
  }

  .home-page .world-map--hero {
    position: relative;
    top: auto;
    right: auto;
    width: calc(100% + 48px);
    margin-left: -24px;
    transform: none;
  }

  .home-page .world-map--hero .map-land {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px);
    mask-image: linear-gradient(to right, transparent 0, #000 40px);
  }

  .home-page .section {
    padding: 64px 0;
  }

  .home-page .split-feature {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .home-page .page-hero--mapped {
    padding: 40px 0 30px;
  }

  .home-page .hero-composition {
    gap: 24px;
  }

  .home-page .page-hero--mapped .hero-composition h1 {
    max-width: none;
    font-size: 34px;
    line-height: 36px;
    letter-spacing: -1px;
  }

  .home-page .hero-line--text {
    white-space: normal;
  }

  .home-page .hero-composition .lead {
    max-width: none;
    margin-top: 18px;
    font-size: 16px;
    line-height: 26px;
  }

  .home-page .hero-cta,
  .home-page .hero-cta .button {
    width: 100%;
  }

  .home-page .world-map--hero {
    width: calc(100% + 32px);
    margin-left: -16px;
  }

  .home-page .world-map--hero .map-land {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 20px);
    mask-image: linear-gradient(to right, transparent 0, #000 20px);
  }

  .home-page .world-map--hero .map-label text {
    font-size: 12px;
  }

  .home-page .section {
    padding: 54px 0;
  }

  .home-page .feature-card {
    height: 286px;
    min-height: 220px;
    padding: 26px;
  }

  .home-page .stats-section--home {
    padding: 8px 0;
  }

  .home-page .stat-grid div {
    padding: 16px 0;
  }

  .home-page .stat-grid strong {
    font-size: 44px;
    line-height: 44px;
  }

  .home-page .split-feature {
    gap: 32px;
  }

  .home-page .split-feature > div + div {
    padding: 30px 0 0;
  }
}

@media (min-width: 901px) and (max-width: 1024px) {
  .home-page .page-hero--mapped {
    padding: 36px 0;
  }

  .home-page .hero-composition {
    position: relative;
    display: block;
    min-height: 500px;
  }

  .home-page .hero-composition .hero-copy {
    width: 430px;
    padding-top: 20px;
  }

  .home-page .page-hero--mapped .hero-composition h1 {
    max-width: 430px;
    font-size: 40px;
    line-height: 42px;
  }

  .home-page .hero-composition .lead {
    max-width: 420px;
  }

  .home-page .world-map--hero {
    position: absolute;
    top: 50%;
    right: -64px;
    width: 650px;
    margin: 0;
    transform: translateY(-50%);
  }
}

@media (orientation: landscape) and (max-height: 540px) and (max-width: 900px) {
  .home-page .page-hero--mapped {
    padding: 24px 0;
  }

  .home-page .hero-composition {
    display: grid;
    grid-template-columns: 46% 54%;
    min-height: 0;
    gap: 18px;
    align-items: center;
  }

  .home-page .hero-composition .hero-copy {
    width: 100%;
  }

  .home-page .page-hero--mapped .hero-composition h1 {
    font-size: 30px;
    line-height: 32px;
  }

  .home-page .hero-composition .lead {
    margin-top: 14px;
    font-size: 14px;
    line-height: 21px;
  }

  .home-page .hero-cta {
    width: 220px;
    gap: 8px;
    margin-top: 16px;
  }

  .home-page .hero-cta .button {
    width: 220px;
    height: 44px;
    min-height: 44px;
  }

  .home-page .world-map--hero {
    position: relative;
    top: auto;
    right: auto;
    width: calc(100% + 36px);
    margin: 0 0 0 -18px;
    transform: none;
  }
}

@media (max-width: 360px) {
  .home-page .page-hero--mapped .hero-composition h1 {
    font-size: 30px;
    line-height: 32px;
  }

  .home-page .world-map--hero {
    width: calc(100% + 24px);
    margin-left: -12px;
  }
}
