/* Home page sections: Trusted heading, Global Presence (map + rotating points), Case Studies marquee, CTA.
   Palette: #021A12 #031F16 #052E22 #06402F / #047857 #059669 #0A8F63 / #D9A441 #E8B65A #F2C96E #F8D98A / #D1D5DB #5B6B64 #F7F3E9 */

/* ---------- Trusted by enterprises globally: styles moved to the shared trusted-logos-2.css ---------- */
/* Section padding for every home section comes from --section-space in the main stylesheet (2026-11-18). */

/* =================================== OUR GLOBAL PRESENCE =================================== */
.home-v4 .pr { position: relative; overflow-x: clip; }
.home-v4 .pr-head { text-align: left; max-width: 760px; }
.home-v4 .pr-head h3 { margin-top: 12px; }
.home-v4 .pr-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; margin-top: var(--section-head-space); }
.home-v4 .pr-map { position: relative; width: 100%; aspect-ratio: 360 / 170; overflow: hidden; }
.home-v4 .pr-cam { position: absolute; left: 0; top: 0; transform-origin: 0 0; transition: transform .5s cubic-bezier(.22,.7,.2,1); will-change: transform; }
.home-v4 .pr-cam.no-anim { transition: none; }
.home-v4 .pr-cam svg { display: block; width: 100%; height: 100%; overflow: visible; }
.home-v4 .pr-land { fill: #052E22; }
.home-v4 .pr-g { fill: #E8B65A; opacity: .35; transition: opacity .35s ease, fill .35s ease; }
.home-v4 .pr-g.is-on { fill: #F2C96E; opacity: 1; filter: url(#prGlow); }
.home-v4 .pr-node__dot { fill: #D9A441; opacity: .5; transition: opacity .35s ease, fill .35s ease; }
.home-v4 .pr-node__ring { fill: none; stroke: #F2C96E; stroke-width: .35; opacity: 0; transform-box: fill-box; transform-origin: center; }
.home-v4 .pr-node.is-on .pr-node__dot { fill: #F8D98A; opacity: 1; filter: url(#prGlow); }
.home-v4 .pr-node.is-on .pr-node__ring { animation: prPulse 2s ease-out infinite; }
@keyframes prPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3); opacity: 0; } }

/* Label pills: dark green glass, white text, gold pin, emerald border, gold connector */
.home-v4 #flatMap.pr-map .pr-label { opacity: 0; transition: opacity .12s ease; z-index: 2; pointer-events: none; }
.home-v4 #flatMap.pr-map .pr-label.is-on { opacity: 1; transition: opacity .2s ease .3s; }
.home-v4 .pr.pr-instant #flatMap.pr-map .pr-label { transition: none; }
.home-v4 #flatMap.pr-map .gl-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 9px; border-radius: 999px;
  background: rgba(3,31,22,.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid #059669; color: #FFFFFF; font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(2,26,18,.45);
}
.home-v4 #flatMap.pr-map .gl-pill svg { width: 14px; height: 14px; color: #E8B65A; }
.home-v4 #flatMap.pr-map .gl-stem { background: #E8B65A; box-shadow: 0 0 6px rgba(232,182,90,.6); }

/* Intro paragraph + rotating points (points are much larger than the paragraph) */
.home-v4 .pr-intro { margin: 0; font-size: 17px; max-width: 58ch; }
.home-v4 .pr-ticker { position: relative; margin-top: 28px; }
.home-v4 .pr-steps { list-style: none; margin: 0; padding: 0; }
.home-v4 .pr-step.is-clone { display: none; }
.home-v4 .pr-step__btn {
  display: block; width: 100%;
  padding: 10px 0; margin: 0; background: none; border: 0; color: #FFFFFF;
  font: inherit; font-size: clamp(22px, 2.1vw, 33px); font-weight: 800; line-height: 1.15; letter-spacing: -.01em;
  text-align: left; cursor: pointer; border-radius: 12px;
}
.home-v4 .pr-step__btn:focus-visible { outline: 2px solid #F2C96E; outline-offset: 4px; }

.home-v4 .pr.is-ready:not(.pr-static) .pr-ticker {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10px, #000 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 10px, #000 58%, transparent 100%);
}
.home-v4 .pr.is-ready:not(.pr-static) .pr-step.is-clone { display: block; }
.home-v4 .pr.is-ready:not(.pr-static) .pr-steps { transition: transform .4s cubic-bezier(.22,.7,.2,1); will-change: transform; }
.home-v4 .pr.is-ready .pr-steps.no-anim { transition: none; }
.home-v4 .pr.is-ready:not(.pr-static) .pr-step { opacity: .3; transition: opacity .3s ease; }
.home-v4 .pr.is-ready:not(.pr-static) .pr-step .pr-step__btn { color: #D1D5DB; transition: color .3s ease; }
.home-v4 .pr.is-ready .pr-step.is-active { opacity: 1; }
.home-v4 .pr.is-ready .pr-step.is-active .pr-step__btn { color: #FFFFFF; }
.home-v4 .pr.is-ready:not(.pr-static) .pr-step:not(.is-active):hover { opacity: .55; }

@media (min-width: 1024px) {
  .home-v4 .pr-grid { grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); gap: clamp(32px, 4vw, 72px); }
}
@media (max-width: 1023px) {
  .home-v4 .pr-map { aspect-ratio: auto; height: clamp(220px, 46vw, 340px); }
  .home-v4 #flatMap.pr-map .gl-pill { font-size: 12px; padding: 4px 9px 4px 7px; gap: 4px; }
  .home-v4 #flatMap.pr-map .gl-pill svg { width: 12px; height: 12px; }
}
@media (max-width: 479px) {
  .home-v4 #flatMap.pr-map .gl-pill { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-v4 .pr-cam, .home-v4 .pr-g, .home-v4 .pr-node__dot, .home-v4 .pr-step, .home-v4 .pr-steps,
  .home-v4 #flatMap.pr-map .pr-label, .home-v4 #flatMap.pr-map .pr-label.is-on { transition: none; }
  .home-v4 .pr-node.is-on .pr-node__ring { animation: none; }
}

/* ===================================== CASE STUDIES ===================================== */
.home-v4 .cs { overflow-x: clip; }
.home-v4 .cs-wrap { position: relative; }
.home-v4 .cs-head { text-align: left; }
.home-v4 .cs-head .eyebrow { color: #D9A441; }
.home-v4 .cs-head h2 { color: #052E22; }
.home-v4 .cs-head .case-head__lead { color: #5B6B64; }
.home-v4 .cs-controls { display: flex; gap: 12px; margin-top: 28px; }
.home-v4 .cs-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 999px;
  background: transparent; border: 1px solid #059669; color: #052E22; cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.home-v4 .cs-btn svg { width: 18px; height: 18px; }
.home-v4 .cs-btn:hover { background: #052E22; border-color: #052E22; color: #F2C96E; }
.home-v4 .cs-btn:focus-visible { outline: 2px solid #059669; outline-offset: 3px; }
.no-js .home-v4 .cs-controls { display: none; }

.home-v4 .cs-viewport { position: relative; overflow: hidden; padding-block: 14px 22px; touch-action: pan-y; cursor: grab; }
.home-v4 .cs-viewport.is-dragging { cursor: grabbing; }
.home-v4 .cs-viewport.is-dragging .cs-card { pointer-events: none; }
.home-v4 .cs-track { display: flex; gap: 28px; width: max-content; will-change: transform; }
.no-js .home-v4 .cs-viewport { overflow-x: auto; }

.home-v4 .cs-card {
  flex: 0 0 clamp(280px, 26vw, 400px);
  display: flex; flex-direction: column;
  background: #FFFFFF; border: 1px solid #E5E1D3; border-radius: 22px; overflow: hidden;
  color: inherit; text-decoration: none;
  box-shadow: 0 1px 2px rgba(2,26,18,.04), 0 14px 34px -18px rgba(2,26,18,.22);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  -webkit-user-drag: none; user-select: none;
}
.home-v4 .cs-card *, .home-v4 .cs-card:hover * { text-decoration: none; }
.home-v4 .cs-media { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.home-v4 .cs-media img {
  display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease;
}
.home-v4 .cs-media img.is-warm { filter: sepia(.25) saturate(1.1) hue-rotate(-10deg) contrast(1.05); }
.home-v4 .cs-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; text-align: left; }
.home-v4 .cs-tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #047857; }
.home-v4 .cs-title { margin: 10px 0 0; color: #052E22; font-weight: 800; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.25; }
.home-v4 .cs-text { margin: 10px 0 0; color: #5B6B64; font-size: 15.5px; line-height: 1.6; }
.home-v4 .cs-card:hover, .home-v4 .cs-card:focus-visible {
  transform: translateY(-4px); border-color: #059669;
  box-shadow: 0 0 0 1px rgba(5,150,105,.35), 0 18px 40px -16px rgba(5,150,105,.4);
}
.home-v4 .cs-card:hover .cs-media img, .home-v4 .cs-card:focus-visible .cs-media img { transform: scale(1.04); }
.home-v4 .cs-card:focus-visible { outline: 2px solid #059669; outline-offset: 3px; }

/* Tablet + desktop: the intro is a layer on the left; the cards run underneath it to the page's right edge */
@media (min-width: 768px) {
  .home-v4 .cs-wrap { display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); align-items: stretch; }
  .home-v4 .cs-head {
    grid-column: 1; grid-row: 1; position: relative; z-index: 2;
    display: flex; flex-direction: column; justify-content: center;
    background: #FFFFFF; padding-right: 32px;
  }
  .home-v4 .cs-head::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: 72px; pointer-events: none;
    background: linear-gradient(to right, #FFFFFF, rgba(255,255,255,0));
  }
  .home-v4 .cs-viewport { grid-column: 1 / -1; grid-row: 1; margin-right: calc(50% - 50vw); }
}
@media (min-width: 1024px) {
  .home-v4 .cs-wrap { grid-template-columns: minmax(0, 34fr) minmax(0, 66fr); }
  .home-v4 .cs-head { padding-right: 40px; }
}
@media (max-width: 767px) {
  .home-v4 .cs-viewport { margin-top: var(--section-head-space); margin-inline: calc(50% - 50vw); }
  .home-v4 .cs-card { flex-basis: min(82vw, 340px); }
  .home-v4 .cs-controls { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-v4 .cs-card, .home-v4 .cs-media img { transition: none; }
  .home-v4 .cs-card:hover, .home-v4 .cs-card:focus-visible { transform: none; }
  .home-v4 .cs-card:hover .cs-media img { transform: none; }
}

/* ======================================= CTA ======================================= */
.home-v4 .cta2 { background: #FFFFFF; color: #021A12; overflow: hidden; }
.home-v4 .cta2-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.home-v4 .cta2-copy { text-align: left; }
.home-v4 .cta2-title { margin: 0; color: #021A12; font-size: clamp(36px, 4.6vw, 64px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.home-v4 .cta2-text { margin: 20px 0 0; color: #052E22; font-size: 18px; line-height: 1.65; max-width: 52ch; }
.home-v4 .cta2-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.home-v4 .cta2-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px;
  border-radius: 999px; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.home-v4 .cta2-btn--solid { background: #000000; color: #FFFFFF; border: 1.5px solid #000000; }
.home-v4 .cta2-btn--solid:hover { background: #021A12; border-color: #021A12; transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(2,26,18,.55); }
.home-v4 .cta2-btn--ghost { background: transparent; color: #021A12; border: 1.5px solid #021A12; }
.home-v4 .cta2-btn--ghost:hover { background: rgba(2,26,18,.08); transform: translateY(-1px); }
.home-v4 .cta2-btn:focus-visible { outline: 2px solid #021A12; outline-offset: 3px; }
.home-v4 .cta2-map { display: flex; justify-content: center; }
/* frame = the drawn map box (360:156), so labels can sit at % positions; 600px = 260px tall */
.home-v4 .cta2-map__frame { position: relative; display: block; width: min(100%, 600px); }
.home-v4 .cta2-map img {
  /* solid dark-green dot map: no fade, mask or blend; soft brand-green outer glow */
  display: block; width: 100%; max-width: none; height: auto;
  opacity: 1; mix-blend-mode: normal; -webkit-mask-image: none; mask-image: none;
  filter: drop-shadow(0 0 1.5px rgba(11, 94, 70, .45)) drop-shadow(0 0 10px rgba(11, 94, 70, .30));
}
.home-v4 .cta2-map__label {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  padding: .4em .8em; border-radius: 999px; background: #021A12; color: #F2C96E;
  font-family: inherit; font-size: clamp(9px, .85vw, 12.5px); font-weight: 700; line-height: 1;
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(242, 201, 110, .35), 0 4px 12px -4px rgba(2, 26, 18, .55);
}

@media (min-width: 1024px) {
  .home-v4 .cta2-grid { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: clamp(32px, 4vw, 72px); }
  .home-v4 .cta2-map { justify-content: flex-end; }
  /* ~6% wider than its column; grows leftward into the gap so the right edge stays on the container edge */
  .home-v4 .cta2-map__frame { flex: 0 0 106%; width: 106%; max-width: 805px; }
}
@media (max-width: 479px) {
  .home-v4 .cta2-map__label { padding: .35em .55em; letter-spacing: .04em; }
  .home-v4 .cta2-actions { flex-direction: column; }
  .home-v4 .cta2-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .home-v4 .cta2-btn { transition: none; }
  .home-v4 .cta2-btn:hover { transform: none; }
}

/* 2026-11-26c: black text in the white Our Work & Impact and Let's Connect sections (buttons and map labels unchanged) */
.home-v4 .cs-head :is(.eyebrow, h2, .case-head__lead),
.home-v4 .cs-card :is(.cs-tag, .cs-title, .cs-text),
.home-v4 .cta2 :is(.cta2-eyebrow, .cta2-title, .cta2-text) { color: #000000; }
