/* ===== Tokens ===== */
:root {
  --ink: #0d1716;
  --text: #4a5655;
  --muted: #6b7776;
  --teal: #12a585;
  --teal-2: #1fcca2;
  --teal-dark: #0b6e5b;
  --dark: #063a33;
  --line: #e3e9e9;
  --soft: #f4f7f7;
  --tint: #e7f6f1;
  --bg: #fff;
  --surface: #fff;
  --label: #3e4a49;
  --text-2: #1d2928;
  --text-3: #34403f;
  --icon: #4a5655;
  --border: #d6dfdf;
  --wash: rgba(6, 58, 51, .04);
  --glass: rgba(255, 255, 255, .78);
  --glass-strong: rgba(255, 255, 255, .92);
  --radius: 12px;
  --shadow: 0 12px 32px rgba(10, 40, 36, .06);
}

/* ===== Dark theme (toggled by the sun/moon switch, saved in localStorage) ===== */
[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e9f3f1;
  --text: #b1c2bf;
  --muted: #8fa3a0;
  --teal: #22c39b;
  --teal-dark: #3fd6b0;
  --line: #1c3733;
  --soft: #0b1f1c;
  --tint: rgba(31, 204, 162, .12);
  --bg: #061513;
  --surface: #0c221f;
  --label: #b9cbc8;
  --text-2: #dbe8e5;
  --text-3: #c3d3d0;
  --icon: #9fb4b0;
  --border: #284642;
  --wash: rgba(255, 255, 255, .025);
  --glass: rgba(12, 34, 31, .78);
  --glass-strong: rgba(12, 34, 31, .9);
  --shadow: 0 12px 32px rgba(0, 0, 0, .35);
}
[data-theme="dark"] .ph { background: linear-gradient(135deg, #10302b, #0a221f); }
[data-theme="dark"] :is(.solutions, .about, .industries, .so-over, .mvv) { background: linear-gradient(transparent 60%, var(--wash)); }
[data-theme="dark"] :is(.benefits, .how.tint, .contact-info, .newsletter) { background: var(--wash); }
[data-theme="dark"] .newsletter .ibox { background: var(--tint); }
[data-theme="dark"] :is(.btn-dark, .chip.on) { background: linear-gradient(180deg, #17b691, #0d8d70); box-shadow: 0 10px 22px rgba(0, 0, 0, .3); }
[data-theme="dark"] .pin-ico { background: var(--tint); color: var(--teal-dark); }
[data-theme="dark"] .glass { border-color: rgba(255, 255, 255, .08); }
[data-theme="dark"] .pin { border-color: rgba(255, 255, 255, .08); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); }
[data-theme="dark"] select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dbe8e5' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
[data-theme="dark"] .post-img::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0 2C15 0 40 6 100 20V20H0Z' fill='%230c221f'/%3E%3C/svg%3E"); }
[data-theme="dark"] .cta-media { background: linear-gradient(170deg, #1f4a43 0%, #12332e 50%, #0a221f 100%); }
[data-theme="dark"] .map { opacity: .85; }
[data-theme="dark"] .theme { background: rgba(255, 255, 255, .08); }
[data-theme="dark"] .theme::before { translate: 100% 0; background: #1c3f39; box-shadow: none; }
[data-theme="dark"] .theme button.on { color: #fff; }

/* logo: dark-text lockup in light mode, white-text lockup in dark mode */
/* the colored mark sits ~9px in and is drawn 44px tall inside its 46px box; the white "B" matches that exactly */
.logo .logo-dark, [data-theme="dark"] .logo .logo-light { display: none; }
[data-theme="dark"] .logo .logo-dark { display: block; }
/* dark mode: dim hero photos so the light menu text over them stays readable */
[data-theme="dark"] :is(.hero, .page-hero) .media .bg { filter: brightness(.55) saturate(.9); }

/* theme switch animation: js/main.js grows the new theme in a circle from the clicked button */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
/* during the switch the revealed area must already be final: no hover/colour fades, only the toggle knob slides */
.theme-switching *, .theme-switching *::before, .theme-switching *::after { transition: none !important; }
.theme-switching .theme::before { transition: translate .45s cubic-bezier(.65, 0, .35, 1), background-color .45s !important; }

/* ===== Base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container { position: relative; z-index: 1; width: min(1280px, 100% - 48px); margin-inline: auto; }

.i {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ===== Typography ===== */
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; letter-spacing: -.02em; }
.h1 { font-size: clamp(1.848rem, 3.612vw, 2.94rem); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; }
.h2 { font-size: clamp(1.512rem, 2.52vw, 2.1rem); font-weight: 700; letter-spacing: -.03em; margin-bottom: 18px; }
.h2.lg { font-size: clamp(1.68rem, 3.024vw, 2.52rem); line-height: 1.06; }
.accent { color: var(--teal); }
.accent-2 { color: var(--teal-2); }
.lead { font-size: .95rem; color: var(--text); line-height: 1.65; }

.eyebrow {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 18px;
  font-size: .75rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--label);
}
.eyebrow::after { content: ""; width: 40px; height: 2px; background: var(--teal); }
.eyebrow.plain::after { display: none; }
.label { font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--label); }

/* ===== Buttons & links ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 30px; border-radius: 8px;
  font-size: .902rem; font-weight: 500; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn .i { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { color: #fff; background: linear-gradient(180deg, #0b4b42, #04302a); box-shadow: 0 10px 22px rgba(6, 58, 51, .22); }
.btn-outline { color: var(--ink); background: var(--surface); border: 1px solid var(--border); }
.btn-teal { color: #fff; background: linear-gradient(180deg, #17b691, #0d8d70); box-shadow: 0 10px 22px rgba(0, 0, 0, .18); }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .75); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-sm { height: 44px; padding: 0 24px; font-size: .875rem; }

.link { display: inline-flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 500; color: var(--teal-dark); }
.link .i { width: 16px; height: 16px; transition: transform .2s; }
.link:hover .i { transform: translateX(4px); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

/* ===== Shared blocks ===== */
/* ponytail: image placeholders = CSS background; drop the file in /images and it shows up */
/* photo slots: <img class="bg"> sits under the slot's content and overlays; the gradient shows until a photo exists */
.ph { position: relative; isolation: isolate; background: linear-gradient(135deg, #e8efee, #d2e1de); }
.bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.media { position: absolute; z-index: 0; }
.float { position: absolute; z-index: 2; }
.tri { position: absolute; z-index: 0; background: linear-gradient(160deg, rgba(31, 204, 162, .85), rgba(6, 90, 76, .9)); }

.fade-l {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%);
          mask-image: linear-gradient(90deg, transparent, #000 5%);
}
.fade-lb {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%), linear-gradient(0deg, transparent, #000 5%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent, #000 5%), linear-gradient(0deg, transparent, #000 5%);
          mask-composite: intersect;
}

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 14px;
  box-shadow: 0 20px 44px rgba(10, 40, 36, .12);
}

.ibox { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 10px; background: var(--tint); color: var(--teal-dark); }
.ibox .i { width: 24px; height: 24px; stroke-width: 1.9; }
.ibox.lg { width: 54px; height: 54px; }
.ibox.lg .i { width: 26px; height: 26px; }
.ibox.xl { width: 66px; height: 66px; border-radius: 12px; }
.ibox.xl .i { width: 32px; height: 32px; }

.stat { display: flex; align-items: center; gap: 22px; padding: 0 32px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .i { width: 40px; height: 40px; color: var(--teal); stroke-width: 1.6; }
.stat b { display: block; font-size: 1.47rem; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.stat span { font-size: .902rem; color: var(--text); }

/* ===== Header ===== */
.header { position: absolute; inset: 0 0 auto; z-index: 20; }
/* frosted bar for pages whose hero photo runs behind the menu (Contact) */
.header.solid {
  background: rgba(255, 255, 255, .86); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
[data-theme="dark"] .header.solid { background: rgba(6, 21, 19, .84); }
.nav { display: flex; align-items: center; gap: 32px; height: 92px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { display: block; width: auto; height: 46px; }
.menu { display: flex; gap: 30px; margin-inline: auto; font-size: .893rem; font-weight: 500; color: var(--text-2); }
.menu a { position: relative; display: flex; white-space: nowrap; align-items: center; gap: 6px; padding: 6px 0; transition: color .2s; }
.menu a:hover { color: var(--teal); }
.menu a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 2px; background: var(--teal); }
.menu .i { width: 15px; height: 15px; }
.nav-tools { display: flex; align-items: center; gap: 20px; }
.icon-btn { display: grid; place-items: center; }
.sep { width: 1px; height: 24px; background: var(--border); }
.theme { position: relative; display: flex; padding: 4px; border-radius: 99px; background: rgba(232, 238, 238, .9); }
.theme::before {
  content: ""; position: absolute; top: 4px; left: 4px; width: 46px; height: 38px; border-radius: 99px;
  background: var(--surface); box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  transition: translate .45s cubic-bezier(.65, 0, .35, 1), background-color .45s;
}
.theme button { position: relative; display: grid; place-items: center; width: 46px; height: 38px; border-radius: 99px; color: var(--icon); transition: color .45s; }
.theme button.on { color: var(--ink); }
.burger { display: none; }

/* ===== Hero ===== */
.hero { position: relative; padding: 150px 0 34px; overflow: hidden; }
.hero-text { max-width: 620px; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 540px; margin-bottom: 34px; font-size: 1.035rem; }
/* big photo frames use the photos' own 3:2 shape so nothing is cropped in and enlarged */
.hero-media { top: 0; right: 0; width: min(62%, 920px); aspect-ratio: 1.6; }   /* close to the photo's own shape: shown at ~60% of its size, never zoomed */
.hero-media.fade-lb {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%), linear-gradient(0deg, transparent, #000 14%);
          mask-image: linear-gradient(90deg, transparent, #000 24%), linear-gradient(0deg, transparent, #000 14%);
}
.hero-media .bg { object-position: 100% 50%; }   /* trim the white haze on the left, keep the man and towers */
.hero-card { right: 2%; bottom: 220px; display: flex; align-items: center; gap: 14px; padding: 18px 40px 18px 18px; }
.hero-card > .i { width: 38px; height: 38px; color: var(--teal); stroke-width: 1.5; }
.hero-card b { display: block; font-size: .85rem; font-weight: 600; }
.hero-card span { display: block; font-size: .72rem; line-height: 1.45; color: var(--muted); }
.dots { position: absolute; top: 24px; right: 16px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-2); box-shadow: 0 24px 0 var(--teal-2); }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 56px; padding: 26px 0;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

/* ===== Trusted by ===== */
.trusted { background: var(--wash); padding: 30px 0; }
.trusted .container { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px; }
.trusted .eyebrow { margin-bottom: 20px; }
.logos { display: flex; justify-content: space-between; gap: 16px 24px; font-size: .9rem; font-weight: 500; color: var(--text-3); }
.logos li { display: flex; align-items: center; gap: 10px; white-space: nowrap; transition: color .2s; }
.logos .i { width: 26px; height: 26px; color: var(--icon); stroke-width: 1.5; transition: color .2s; }
.logos li:hover, .logos li:hover .i { color: var(--teal); }
.trusted-tag {
  display: flex; align-items: center; gap: 18px; align-self: stretch;
  padding-left: 44px; border-left: 1px solid var(--border);
  font-size: .72rem; line-height: 1.55; letter-spacing: .16em; text-transform: uppercase; color: var(--label);
}
.trusted-tag::before { content: ""; flex: none; width: 28px; height: 2px; background: var(--teal); }

/* ===== Our Solutions ===== */
.solutions { position: relative; padding: 90px 0 80px; background: linear-gradient(transparent 60%, var(--wash)); overflow: hidden; }
.sec-head { max-width: 520px; }
.sec-head .lead { margin-bottom: 30px; }
.sol-media { top: 0; right: 0; width: min(50%, 720px); aspect-ratio: 3 / 2; }
.slider-arrows { position: absolute; top: 46px; right: 11%; display: flex; gap: 16px; }
.slider-arrows button {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  color: #fff; border: 1px solid rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .15);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 46px; }
.sol-card, .ind-item { display: flex; flex-direction: column; }
.sol-body, .ind-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.sol-body .link, .ind-body .link { margin-top: auto; }
.sol-card { padding: 8px; }
.sol-card .ph { height: 186px; border-radius: 8px; }
.sol-body { padding: 22px 16px 16px; }
.sol-top { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.sol-top h3 { font-size: .966rem; font-weight: 600; line-height: 1.3; }
.sol-body p, .sol-body .link { margin-left: 64px; }
.sol-body p { margin-bottom: 18px; font-size: .84rem; color: var(--muted); }

/* ===== Why Betagate ===== */
.why { display: grid; grid-template-columns: 1fr 1fr; }
.why-media { position: relative; min-height: 480px; }
.why-media::before, .why-media::after { content: ""; position: absolute; inset: 0; }
.why-media::before { background: linear-gradient(160deg, rgba(31, 204, 162, .75), rgba(6, 90, 76, .8)); clip-path: polygon(0 0, 28% 38%, 0 76%); }
.why-media::after { background: var(--bg); clip-path: polygon(0 86%, 14% 100%, 0 100%); }
.why-body { align-self: center; padding: 60px max(24px, calc((100vw - 1280px) / 2)) 60px 56px; }
.why-body .lead { max-width: 560px; margin-bottom: 34px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 34px; }
.feature { display: flex; gap: 20px; }
.feature h3 { margin: 4px 0 8px; font-size: .902rem; font-weight: 600; }
.feature p { font-size: .84rem; color: var(--muted); line-height: 1.55; }

/* ===== Global Coverage ===== */
.coverage { padding: 40px 0 56px; }
.coverage.tight { padding: 10px 0; }
.coverage-grid { display: grid; grid-template-columns: minmax(0, 440px) 1fr; align-items: center; gap: 80px; }
.coverage .lead { max-width: 440px; margin-bottom: 30px; }
/* world map: generated dotted map + hubs + animated routes (images/world-map.svg, 1000x470) */
.map { position: relative; aspect-ratio: 1000 / 470; margin-right: calc(-1 * clamp(0px, (100vw - 1300px) / 2, 50px));   /* overhang only where the page gutter allows */ background: url(../images/world-map.svg) center / 100% 100% no-repeat; }
.pin {
  position: absolute; z-index: 1; display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 12px; white-space: nowrap;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(13, 60, 52, .08); border-radius: 12px;
  box-shadow: 0 1px 2px rgba(10, 40, 36, .05), 0 14px 30px -12px rgba(10, 40, 36, .25);
  transition: transform .25s, box-shadow .25s;
}
.pin:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(10, 40, 36, .05), 0 20px 36px -12px rgba(10, 40, 36, .3); }
.pin::before { content: ""; flex: none; width: 8px; height: 8px; margin-left: 2px; border-radius: 50%; background: var(--teal-2); box-shadow: 0 0 0 4px rgba(31, 204, 162, .18); }
.pin b { display: block; font-size: .812rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.pin span { display: block; font-size: .72rem; line-height: 1.4; color: var(--muted); }

/* ===== Impact ===== */
.impact { position: relative; padding: 46px 0 60px; color: #fff; background: linear-gradient(90deg, #072c28, #073a34 55%, #0a3f38); overflow: hidden; }
.impact-media {
  top: 0; left: 0; bottom: 0; width: min(18%, 250px);   /* ends before the stats text starts */
  background: linear-gradient(135deg, #13544b, #072c28);
  -webkit-mask-image: linear-gradient(90deg, #000 95%, transparent);
          mask-image: linear-gradient(90deg, #000 95%, transparent);
}
.impact .container { padding-left: 16%; }
.impact .eyebrow { color: #d6e7e3; margin-bottom: 26px; }
.impact-stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.impact .stat { gap: 18px; border-color: rgba(255, 255, 255, .16); padding: 6px 24px; }
.impact .stat:first-child { padding-left: 0; }
.impact .stat b { color: #fff; }
.impact .stat span { color: #d6e7e3; font-size: .875rem; }
.impact .stat .i { color: var(--teal-2); }

/* ===== About ===== */
.about { position: relative; padding: 96px 0 70px; background: linear-gradient(transparent 70%, var(--wash)); overflow: hidden; }
.about-text { max-width: 560px; }
.about-text .lead { margin-bottom: 34px; font-size: .978rem; }
.about-media { top: 0; right: 0; width: min(54%, 780px); aspect-ratio: 3 / 2; }
.about-tri { top: 0; right: 0; width: 13%; height: 720px; clip-path: polygon(100% 0, 100% 100%, 0 42%); }
.about-card { top: 150px; right: 4%; display: grid; gap: 30px; width: 300px; padding: 26px 24px; }
.mini { display: flex; align-items: center; gap: 18px; }
.mini b { display: block; font-size: .902rem; font-weight: 600; }
.mini div span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.5; }
.play { display: flex; align-items: center; gap: 16px; }
.play-btn { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--surface); color: var(--teal); box-shadow: 0 8px 24px rgba(10, 40, 36, .12); }
.play b { display: block; font-size: .902rem; font-weight: 600; }
.play small { font-size: .8rem; color: var(--muted); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 80px; padding: 40px 0; }
.pillar { display: flex; gap: 22px; padding: 0 30px; border-left: 1px solid var(--line); }
.pillar:first-child { border-left: 0; }
.pillar h3 { margin: 10px 0 14px; font-size: 1.058rem; font-weight: 600; line-height: 1.3; }
.pillar p:not(.label) { margin-bottom: 20px; font-size: .855rem; color: var(--text); }

/* ===== Industries ===== */
.industries { position: relative; padding: 80px 0 60px; background: linear-gradient(transparent 60%, var(--wash)); overflow: hidden; }
.ind-head { max-width: 640px; }
.ind-media { top: 0; right: 0; width: min(48%, 690px); aspect-ratio: 3 / 2; }
.ind-tri { top: 0; right: 0; width: 10%; height: 440px; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.ind-card { top: 115px; right: 4%; display: flex; gap: 16px; width: 270px; padding: 22px 20px; }
.ind-card b { display: block; margin-bottom: 8px; font-size: .902rem; font-weight: 600; line-height: 1.3; }
.ind-card span:not(.ibox) { display: block; font-size: .75rem; color: var(--muted); }
.ind-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 44px; }
.ind-item { padding: 6px; }
.ind-item .ph { height: 150px; border-radius: 8px; }
.ind-body { padding: 16px 16px 14px; }
.ind-body h3 { margin: 16px 0 10px; font-size: .966rem; font-weight: 700; }
.ind-body p { margin-bottom: 16px; font-size: .84rem; color: var(--text); line-height: 1.55; }
.partner-bar { display: flex; align-items: center; gap: 40px; margin-top: 22px; padding: 22px 30px; }
.partner-title { display: flex; align-items: center; gap: 26px; padding-right: 40px; border-right: 1px solid var(--line); }
.partner-title h3 { margin-top: 6px; font-size: 1.196rem; font-weight: 700; }
.mini-logos { display: flex; flex: 1; justify-content: space-around; gap: 16px; }
.mini-logos li { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); text-align: center; }
.mini-logos .i { width: 28px; height: 28px; color: var(--icon); stroke-width: 1.4; }

/* ===== CTA ===== */
/* Layers (back to front): photo on the right -> dark panel with slanted edge -> see-through teal triangle -> text */
.cta { position: relative; padding: 84px 0 60px; color: #fff; background: #062f2a; overflow: hidden; }
.cta-media {
  top: 0; right: 0; bottom: 0; left: 44.3%;
  background: linear-gradient(170deg, #f3e4cf 0%, #cfe0db 45%, #7fa79f 100%);
}
.cta::before, .cta::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.cta::before {
  background:
    radial-gradient(ellipse 40% 70% at 40% 0, rgba(31, 204, 162, .22), transparent 70%),
    linear-gradient(100deg, #052a26 0%, #073a34 32%, #0b5046 48%, rgba(11, 84, 72, .92) 57%);
  clip-path: polygon(0 0, 44.3% 0, 56.3% 100%, 0 100%);
}
.cta::after {
  background: linear-gradient(180deg, rgba(34, 190, 155, .88), rgba(16, 130, 108, .5));
  clip-path: polygon(44.3% 0, 62.1% 0, 51.2% 58%);
}
.cta .container { z-index: 2; }
.cta-text { max-width: 640px; }
.cta .eyebrow { color: #e3f0ed; }
.cta h2 { color: #fff; }
.cta .lead { max-width: 580px; margin-bottom: 38px; color: rgba(255, 255, 255, .9); font-size: .978rem; }
.cta .btn { height: 56px; padding: 0 40px; }
.cta-feats { display: flex; flex-wrap: wrap; row-gap: 20px; margin-top: 54px; }
.cta-feats li {
  display: flex; align-items: center; gap: 18px; padding: 2px 34px;
  border-left: 1px solid rgba(255, 255, 255, .22);
  font-size: .902rem; line-height: 1.45; white-space: nowrap; color: rgba(255, 255, 255, .92);
}
.cta-feats li:first-child { padding-left: 0; border-left: 0; }
.cta-feats .i { width: 32px; height: 32px; color: var(--teal-2); stroke-width: 1.5; }

/* ===== Footer ===== */
.footer { padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .75fr 1fr 1fr 1.3fr; }
.logo.lg img { height: 54px; }
.footer-brand { padding-right: 40px; }
.footer-brand p { max-width: 350px; margin: 34px 0 26px; font-size: .874rem; color: var(--text); }
.socials { display: flex; gap: 14px; }
.socials a { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 6px; color: var(--text-2); transition: color .2s, border-color .2s; }
.socials a:hover { color: var(--teal); border-color: var(--teal); }
.footer-col { padding: 0 32px 10px; border-left: 1px solid var(--line); }
.footer h4 { margin: 14px 0 26px; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--label); }
.footer-col li { margin-bottom: 12px; font-size: .874rem; color: var(--text-3); }
.footer-col a:hover { color: var(--teal); }
.contact-list li { display: flex; gap: 18px; margin-bottom: 28px; }
.contact-list .i { width: 22px; height: 22px; color: var(--text-3); }
.contact-list .i.accent { color: var(--teal); }
.contact-list span { display: block; color: var(--muted); white-space: nowrap; }
.footer-bottom { margin-top: 44px; border-top: 1px solid var(--line); }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 34px 0; font-size: .875rem; color: var(--text); }
.footer-bottom ul { display: flex; }
.footer-bottom li { padding: 0 24px; white-space: nowrap; border-left: 1px solid var(--border); line-height: 1; }
.footer-bottom li:first-child { border-left: 0; }
.footer-bottom a:hover { color: var(--teal); }

/* ===== About page ===== */
.h2.sm { font-size: clamp(1.344rem, 2.016vw, 1.764rem); line-height: 1.15; }
.eyebrow.pre::before {
  content: ""; width: 14px; height: 8px; margin-right: -6px;
  background: linear-gradient(#3e4a49, #3e4a49) 0 0 / 1.5px 100% no-repeat, linear-gradient(#3e4a49, #3e4a49) 0 50% / 100% 1.5px no-repeat;
}

.page-hero { position: relative; padding: 120px 0 28px; overflow: hidden; }
.page-hero-text { max-width: 540px; }
.page-hero h1 { margin-bottom: 14px; font-size: clamp(1.848rem, 3.024vw, 2.688rem); font-weight: 800; }
.page-hero .actions { gap: 44px; }
.page-hero .btn { padding: 0 36px; }
.page-hero .lead { max-width: 490px; margin-bottom: 22px; font-size: .978rem; line-height: 1.42; }
.page-hero-media { top: 0; right: 0; width: 66%; height: 540px; }
.page-hero-card { top: 300px; bottom: auto; right: 3%; }
.page-hero .play-btn { box-shadow: 0 0 0 7px rgba(31, 204, 162, .12), 0 8px 24px rgba(10, 40, 36, .12); }
.ab-feats { margin-top: 24px; padding: 22px 0; }
.ab-feats .stat { gap: 18px; }
.ab-feats .stat .i { width: 40px; height: 40px; }
.ab-feats .stat b { font-size: .902rem; font-weight: 600; letter-spacing: 0; }
.ab-feats .stat span { font-size: .855rem; color: var(--muted); }
.ab-feats .stat .ibox { width: 50px; height: 50px; color: var(--teal); }
.ab-feats .stat .ibox .i { width: 28px; height: 28px; }

/* Image on the left, text + side list on the right (Our Story, Leadership) */
.split { display: grid; grid-template-columns: 44% 1fr; }
.split-lead { grid-template-columns: 40% 1fr; }
.split-media {
  min-height: 394px;
  -webkit-mask-image: linear-gradient(270deg, transparent, #000 5%);
          mask-image: linear-gradient(270deg, transparent, #000 5%);
}
.split-lead .split-media { min-height: 295px; }
.split-body {
  display: grid; grid-template-columns: 1fr 230px; align-items: center; gap: 44px;
  padding: 34px max(24px, calc((100vw - 1340px) / 2)) 34px 34px;
}
.split-lead .split-body { grid-template-columns: 1fr 320px; gap: 20px; padding-block: 20px; }
.split-text { max-width: 470px; }
.split .h2 { margin-bottom: 14px; }
.split .lead { margin-bottom: 18px; font-size: .85rem; line-height: 1.6; }

.timeline { position: relative; display: grid; gap: 30px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 30px; width: 1px; background: var(--line); }
.timeline li { position: relative; padding-left: 32px; }
.timeline li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(18, 165, 133, .15); }
.timeline b, .side-list b { display: block; margin-bottom: 4px; font-size: .874rem; font-weight: 600; }
.timeline span, .side-list span:not(.ibox) { display: block; font-size: .82rem; line-height: 1.5; color: var(--muted); }

.side-list { display: grid; gap: 22px; padding-left: 26px; border-left: 1px solid var(--line); }
.side-list li { display: flex; align-items: center; gap: 16px; }

/* Mission / Vision / Values with dark image panel on the right */
.mvv { display: grid; grid-template-columns: 1fr 25%; background: linear-gradient(transparent, var(--wash)); }
.mvv-main { padding: 30px 16px 42px max(24px, calc((100vw - 1280px) / 2)); }
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mvv-card { padding: 14px 22px 22px; }
.mvv-top { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.mvv-top .ibox { width: 60px; height: 60px; }
.mvv-top .ibox .i { width: 38px; height: 38px; stroke-width: 2; }
.mvv-top h3 { font-size: .95rem; font-weight: 600; }
.mvv-card p { font-size: .902rem; line-height: 1.5; color: var(--text); }
.checks { display: grid; gap: 8px; margin: 0 0 0 72px; font-size: .855rem; white-space: nowrap; color: var(--text); }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks .i { width: 20px; height: 20px; stroke-width: 2.2; color: var(--teal-dark); }
.mvv-side {
  position: relative; isolation: isolate; display: flex; align-items: center; padding: 40px 24px 40px 90px; color: #fff;
  background: linear-gradient(135deg, #1d4a44, #06231f);
}
.mvv-side::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 30, 28, .55), rgba(4, 30, 28, .75)); }
.mvv-side::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 14px; background: linear-gradient(90deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .08)); }
.mvv-list { display: grid; gap: 26px; }
.mvv-list li { display: flex; align-items: center; gap: 18px; }
.mvv-list .i { width: 30px; height: 30px; stroke-width: 1.5; }
.mvv-list b { display: block; font-size: .874rem; font-weight: 600; }
.mvv-list span { font-size: .8rem; color: rgba(255, 255, 255, .85); }

/* Bottom CTA band */
.cta-band {
  position: relative; isolation: isolate; padding: 30px 0 32px; color: #fff; background: #06332e;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 45% 130% at 88% 0, rgba(31, 204, 162, .28), transparent 60%), linear-gradient(90deg, rgba(4, 36, 32, .92), rgba(6, 58, 51, .85));
}
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-left: 11%; }
.cta-band .eyebrow { margin-bottom: 14px; color: #e3f0ed; }
.cta-band h2 { margin-bottom: 14px; font-size: clamp(1.26rem, 1.848vw, 1.554rem); color: #fff; }
.cta-band-sub { font-size: .855rem; color: rgba(255, 255, 255, .85); }
.cta-band .actions { flex-wrap: nowrap; gap: 18px; }
.cta-band .btn { height: 50px; padding: 0 30px; font-size: .875rem; }

/* ===== Nav dropdown (mega menu) ===== */
.has-drop { position: relative; }
.has-drop > a .i { transition: rotate .25s ease; }
.has-drop:hover > a .i, .has-drop:focus-within > a .i { rotate: 180deg; }
.drop {
  position: absolute; top: calc(100% + 22px); left: 50%; z-index: 30; padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(10, 40, 36, .04), 0 28px 60px -16px rgba(10, 40, 36, .25);
  opacity: 0; visibility: hidden; translate: -50% 10px; scale: .98; transform-origin: 50% 0;
  transition: opacity .2s ease, translate .3s cubic-bezier(.2, .8, .2, 1), scale .3s cubic-bezier(.2, .8, .2, 1), visibility .2s;
}
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; } /* hover bridge */
.drop::after { /* pointer arrow */
  content: ""; position: absolute; top: -7px; left: 50%; width: 12px; height: 12px;
  background: var(--surface); border: 1px solid var(--line); border-right: 0; border-bottom: 0;
  translate: -50% 0; rotate: 45deg;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; translate: -50% 0; scale: 1; }
.drop-sol { display: grid; grid-template-columns: 1fr 220px; gap: 10px; width: 790px; }
.drop-ind { width: 660px; }
.drop-label { padding: 8px 12px 6px; font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.drop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }

.menu .drop-item { display: flex; align-items: flex-start; gap: 14px; padding: 12px; border-radius: 10px; white-space: normal; transition: background .2s; }
.menu .drop-item:hover, .menu .drop-item.active { background: var(--soft); }
.menu .drop-item.active::after { content: none; }
.drop-ico {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px;
  background: var(--tint); color: var(--teal-dark); transition: background .2s, color .2s;
}
.menu .drop-ico .i { width: 20px; height: 20px; stroke-width: 1.8; }
.drop-item:hover .drop-ico, .drop-item.active .drop-ico { background: var(--teal); color: #fff; }
.drop-txt b { display: block; font-size: .855rem; font-weight: 600; line-height: 1.3; color: var(--ink); transition: color .2s; }
.drop-txt small { display: block; margin-top: 3px; font-size: .78rem; font-weight: 400; line-height: 1.45; color: var(--muted); }
.drop-item:hover b, .drop-item.active b { color: var(--teal-dark); }

.menu .drop-promo {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px; border-radius: 12px;
  white-space: normal; color: #fff;
  background: radial-gradient(circle at 100% 0, rgba(31, 204, 162, .35), transparent 60%), linear-gradient(160deg, #0b4b42, #04302a);
}
.drop-promo-ico { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 10px; background: rgba(255, 255, 255, .1); color: var(--teal-2); }
.menu .drop-promo-ico .i { width: 20px; height: 20px; }
.drop-promo b { font-size: .95rem; font-weight: 600; line-height: 1.3; color: #fff; }
.drop-promo span:not([class]) { font-size: .8rem; font-weight: 400; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.drop-promo-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-size: .82rem; font-weight: 600; color: var(--teal-2); }
.menu .drop-promo-link .i, .menu .drop-foot-link .i { width: 15px; height: 15px; transition: translate .2s; }
.drop-promo:hover .drop-promo-link .i, .drop-foot:hover .drop-foot-link .i { translate: 4px 0; }

.menu .drop-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; padding: 14px 16px;
  border-radius: 10px; background: var(--soft); font-size: .82rem; font-weight: 400; color: var(--muted); white-space: normal;
}
.drop-foot-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal-dark); }
[data-theme="dark"] .drop { border-color: rgba(255, 255, 255, .08); box-shadow: 0 28px 60px -16px rgba(0, 0, 0, .7); }
[data-theme="dark"] .drop::after { border-color: rgba(255, 255, 255, .08); }

/* ===== Solutions pages ===== */
.h2.xs { font-size: clamp(1.26rem, 1.68vw, 1.47rem); }
.crumb::after { display: none; }
.crumb i { width: 40px; height: 2px; background: var(--teal); }
.crumb a:hover { color: var(--teal); }
.page-hero .btn-outline { box-shadow: 0 8px 20px rgba(10, 40, 36, .06); }
.btn-outline .i { color: var(--teal); }

/* hero */
.page-hero.sp { padding-bottom: 64px; }
.page-hero.sp .page-hero-text { max-width: 640px; }
.page-hero.sp h1 { font-size: clamp(1.932rem, 3.276vw, 2.94rem); }
.page-hero.sp .lead { max-width: 510px; }
.page-hero.sp .actions { gap: 22px; }
.page-hero.so { padding-bottom: 70px; }
.sp-media { top: 0; right: 0; bottom: 0; width: 57%; }
.so-media { top: 0; right: 0; bottom: 0; width: 54%; }
.sp-card { top: 150px; right: 2%; display: grid; gap: 24px; width: 300px; padding: 24px 20px; }
.sp-card b { white-space: nowrap; }
.sp-card .ibox.lg .i { width: 30px; height: 30px; stroke-width: 2; }
.so-card { top: 178px; }
.so-tri { top: 120px; right: calc(2% + 270px); width: 110px; height: 290px; opacity: .8; clip-path: polygon(100% 0, 100% 100%, 0 47%); }

/* overview: image left, text + feature row right */
.split-over { grid-template-columns: 49% 1fr; }
.split-over .split-media { min-height: 433px; }
.split-over .split-body { display: block; padding-top: 30px; padding-bottom: 30px; }
.split-over .lead { max-width: 640px; margin-bottom: 26px; font-size: 1.035rem; line-height: 1.5; }
.ov-feats { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; max-width: 660px; }
.ov-feats li { display: flex; flex-direction: column; gap: 12px; padding: 0 22px; border-left: 1px solid var(--line); font-size: .902rem; line-height: 1.45; white-space: nowrap; color: var(--text-2); }
.ov-feats li:first-child { padding-left: 0; border-left: 0; }
.ov-feats .ibox { width: 46px; height: 46px; color: var(--teal); }
.ov-feats .ibox .i { width: 28px; height: 28px; }
.ov-feats.inline li { flex-direction: row; align-items: center; gap: 10px; padding: 0 10px 0 0; border: 0; font-size: .8rem; font-weight: 600; }
.ov-feats.inline > li > .i { width: 32px; height: 32px; color: var(--teal); }

/* key benefits */
.benefits { padding: 44px 0; background: var(--wash); }
.benefits .container { display: grid; grid-template-columns: minmax(0, 520px) 1fr; align-items: center; gap: 30px; }
.benefits .h2, .sp-global .h2, .how .h2 { margin-bottom: 14px; font-size: clamp(1.344rem, 2.184vw, 1.932rem); }
.benefits .lead { max-width: 460px; margin-bottom: 22px; font-size: .978rem; line-height: 1.5; }
/* design lets right-hand columns run ~40px past the container */
.ben-grid, .steps, .sp-global .map { margin-right: clamp(-40px, calc((1296px - 100vw) / 2), 0px); }
.ben-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.ben-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.ben-card .ibox .i { width: 34px; height: 34px; stroke-width: 2; }
.ben-card h3 { margin-bottom: 6px; font-size: .902rem; font-weight: 600; }
.ben-card p { font-size: .855rem; line-height: 1.5; color: var(--text); }

/* global reach */
.sp-global { padding: 24px 0 30px; }
.sp-global .lead { max-width: 430px; margin-bottom: 26px; font-size: .978rem; line-height: 1.5; }
.mini-stats { display: flex; }
.mini-stats li { padding: 0 22px; border-left: 1px solid var(--line); white-space: nowrap; }
.mini-stats li:first-child { padding-left: 0; border-left: 0; }
.mini-stats b { display: block; font-size: 1.68rem; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; color: var(--teal); }
.mini-stats span { font-size: .855rem; color: var(--text); }
.pin.ico { padding: 8px 16px 8px 8px; }
.pin.ico::before { content: none; }
.pin-ico {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #e9f9f4, #d2f1e7); color: var(--teal-dark); box-shadow: inset 0 0 0 1px rgba(18, 165, 133, .14);
}
.pin-ico .i { width: 18px; height: 18px; stroke-width: 2; }

/* how it works */
.how { padding: 26px 0 30px; }
.how .container { display: grid; grid-template-columns: minmax(0, 430px) 1fr; align-items: center; gap: 40px; }
.how .lead { font-size: .95rem; line-height: 1.55; }
.how .lead + .btn { margin-top: 26px; }
.steps { display: flex; align-items: center; gap: 10px; }
.step { flex: 1; min-width: 0; align-self: stretch; padding: 18px 16px 20px 20px; }
.step-arrow { width: 20px; height: 20px; color: var(--teal); }
.step-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.step .ibox .i { width: 28px; height: 28px; }
.step-no { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--tint); font-size: .8rem; font-weight: 600; color: var(--teal-dark); }
.step small { display: block; margin: 14px 0 2px; font-size: .8rem; font-weight: 700; }
.step b { display: block; margin-bottom: 6px; font-size: .902rem; font-weight: 600; }
.step p { font-size: .85rem; line-height: 1.55; color: var(--muted); }

/* solutions overview + why (main page) */
.so-over { padding: 40px 0 56px; background: linear-gradient(170deg, transparent 40%, var(--wash)); }
.so-over .h2 { margin-bottom: 12px; font-size: clamp(1.428rem, 2.52vw, 2.268rem); }
.so-over .lead { max-width: 1100px; font-size: .978rem; line-height: 1.5; }
.so-over .sol-grid { margin: 30px clamp(-20px, calc((1296px - 100vw) / 2), 0px) 0; }
.so-over .sol-card .ph { height: 166px; }
.so-over .sol-body { padding-top: 18px; }
.so-over .sol-top { margin-bottom: 10px; }
.so-over .sol-top h3 { font-size: 1.012rem; }
.so-over .sol-top .ibox { width: 62px; height: 62px; }
.so-over .sol-top .ibox .i { width: 32px; height: 32px; }
.so-over .sol-body p, .so-over .sol-body .link { margin-left: 80px; }
.so-over .sol-body p { font-size: .874rem; }
.why.sm .why-media { min-height: 426px; }
.why.sm .why-body { padding-top: 30px; padding-bottom: 20px; }
.why.sm .lead { max-width: 520px; margin-bottom: 26px; font-size: .978rem; line-height: 1.5; }
.why.sm .features { gap: 24px 30px; }
.why.sm .ibox.lg { width: 66px; height: 66px; }
.why.sm .ibox.lg .i { width: 34px; height: 34px; }
.why.sm .feature h3 { font-size: .95rem; }
.why.sm .feature p { font-size: .874rem; }
.how.so-how .container { grid-template-columns: minmax(0, 520px) 1fr; }
.how.so-how .h2 { white-space: nowrap; font-size: clamp(1.26rem, 1.848vw, 1.68rem); }
.how.so-how .steps { gap: 14px; }
.how.so-how .step { padding: 16px 14px 18px 18px; }

/* CTA band with photo on the left */
.cta-band.side { padding: 44px 0 46px; overflow: hidden; }
.cta-band.side .cta-band-inner { padding-left: 22%; }
.cta-band.side h2 { font-size: clamp(1.344rem, 1.932vw, 1.68rem); }
.cta-side {
  top: 0; left: 0; bottom: 0; width: 30%;
  background: linear-gradient(160deg, #2a5c55, #0a2f2b);
  -webkit-mask-image: linear-gradient(90deg, #000 95%, transparent);
          mask-image: linear-gradient(90deg, #000 95%, transparent);
}

/* ===== Industries page ===== */
.page-hero.md h1 { font-size: clamp(1.848rem, 2.856vw, 2.52rem); }
.page-hero.md .page-hero-text { max-width: 680px; }
.ind-card { top: 124px; }
.ind-hero-tri { top: 0; right: 0; width: 16%; height: 160px; opacity: .7; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.page-hero.md { padding-bottom: 40px; }
.ind-over { padding: 16px 0 22px; }
.ind-over .h2 { margin-bottom: 4px; }
.ind-over .lead { max-width: 900px; }
.ind-over .sol-card .ph { height: 116px; }
.ind-over .sol-body { padding: 10px 14px 4px; }
.ind-over .sol-top { margin-bottom: 2px; }
.ind-over .sol-top h3 { font-weight: 500; }
.ind-over .sol-body p { margin-bottom: 10px; font-size: .874rem; line-height: 1.32; }
.ind-over .sol-top h3 { line-height: 1.25; }
.page-hero.ind-hero { padding-bottom: 6px; }
.page-hero.ind-hero h1 { font-size: clamp(1.848rem, 2.94vw, 2.604rem); }
.ind-over .sol-grid { gap: 12px 18px; margin-top: 16px; }
.why.sm.ind-why .why-media {
  min-height: 373px;
  -webkit-mask-image: linear-gradient(270deg, transparent, #000 5%);
          mask-image: linear-gradient(270deg, transparent, #000 5%);
}
.why.sm.ind-why .why-body { padding-top: 12px; padding-bottom: 12px; }
.why.sm.ind-why .eyebrow { margin-bottom: 10px; }
.why.sm.ind-why .ibox.lg { width: 60px; height: 60px; }
.why.sm.ind-why .h2 { margin-bottom: 10px; font-size: clamp(1.428rem, 2.016vw, 1.806rem); line-height: 1.06; }
.why.sm.ind-why .lead { margin-bottom: 14px; line-height: 1.4; }
.why.sm.ind-why .features { gap: 12px 30px; }
.why.sm.ind-why .feature h3 { margin: 0 0 4px; }
.why.sm.ind-why .feature p { line-height: 1.45; }
.how.tint { background: var(--wash); }
.how.tint .container { grid-template-columns: minmax(0, 480px) 1fr; }
.how.tint .h2 { margin-bottom: 10px; }
.how.tint .lead { line-height: 1.4; }
.how.tint { padding: 18px 0 22px; }
.how.tint .step { padding: 14px 12px 14px 18px; }
.how.tint .step .ibox { width: 50px; height: 50px; }
.how.tint .step small { margin: 6px 0 0; color: var(--teal-dark); }
.how.tint .step b { margin-bottom: 2px; }
.how.tint .step p { font-size: .8rem; line-height: 1.38; }
.cta-band.side.tight { padding: 26px 0 28px; }
.cta-band.side.tight .cta-band-inner { padding-left: 25%; }

/* ===== Insights page ===== */
[hidden] { display: none !important; }
.input {
  width: 100%; height: 52px; padding: 0 16px;
  font: inherit; font-size: .874rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: #8a9594; }
.input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(18, 165, 133, .15); }
.search-bar { display: flex; gap: 12px; max-width: 590px; }
.search-field { position: relative; flex: 1; }
.search-field .i { position: absolute; left: 18px; top: 50%; translate: 0 -50%; color: var(--text); }
.search-field .input { padding-left: 50px; box-shadow: 0 8px 20px rgba(10, 40, 36, .05); }
.search-bar .btn { height: 52px; padding: 0 34px; }

.posts { padding: 18px 0 16px; }
.chips { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin: 0 clamp(-12px, calc((1296px - 100vw) / 2), 0px) 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 22px;
  font-size: .855rem; font-weight: 500; background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 6px 16px rgba(10, 40, 36, .05); transition: border-color .2s, color .2s;
}
.chip .i { width: 22px; height: 22px; color: var(--teal); }
.chip:hover { border-color: var(--teal); }
.chip.on { color: #fff; background: linear-gradient(180deg, #0b4b42, #04302a); border-color: transparent; }
.chip.on .i { color: var(--teal-2); }

.post-grid { display: grid; grid-template-columns: 1.82fr 1fr 1fr; gap: 16px 22px; margin: 0 clamp(-12px, calc((1296px - 100vw) / 2), 0px); }
.post { display: flex; flex-direction: column; overflow: hidden; }
.post .ph { height: 120px; }
.post-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 12px 20px 10px; }
.meta { margin-bottom: 6px; font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.meta span { margin: 0 10px; }
.post h3 { margin-bottom: 8px; font-size: 1.104rem; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.post p:not(.meta) { margin-bottom: 8px; font-size: .95rem; line-height: 1.34; color: var(--text); }
.post .link { margin-top: auto; font-size: .95rem; }
.post.feat { grid-row: span 2; }
.post-img { position: relative; }
.post.feat .ph { height: 295px; }
/* white wave cutting into the bottom of the featured photo */
.post-img::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 38px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0 2C15 0 40 6 100 20V20H0Z' fill='%23fff'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.badge {
  position: absolute; left: 20px; bottom: 4px; z-index: 1; padding: 5px 12px; border-radius: 6px;
  font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--dark);
}
.post.feat .post-body { padding: 22px 20px 26px; }
.post.feat h3 { margin-bottom: 14px; font-size: clamp(1.344rem, 2.1vw, 1.89rem); line-height: 1.12; letter-spacing: -.03em; }
.post.feat p:not(.meta) { font-size: 1.104rem; line-height: 1.42; }
.post.feat .link { margin-top: 18px; font-size: 1.196rem; }

.expert { display: grid; grid-template-columns: 38fr 33fr 29fr; color: #fff; background: #06302b; }
.expert-body { align-self: center; padding: 18px 30px 18px max(24px, calc((100vw - 1280px) / 2)); }
.expert .eyebrow { margin-bottom: 12px; }
.expert .btn { height: 50px; padding: 0 34px; }
.expert .eyebrow { color: #dcebe7; }
.expert h2 { margin-bottom: 12px; font-size: clamp(1.344rem, 2.016vw, 1.764rem); color: #fff; }
.expert .lead { max-width: 480px; margin-bottom: 22px; color: rgba(255, 255, 255, .9); font-size: .978rem; line-height: 1.45; }
.btn-white { color: #0d1716; background: #fff; box-shadow: 0 10px 22px rgba(0, 0, 0, .18); }
.expert-media {
  min-height: 300px;
  background: linear-gradient(160deg, #2a5c55, #0a2f2b);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.expert-list { display: grid; align-content: center; padding: 4px 28px 4px 18px; background: #072724; }
.expert-list li { display: flex; align-items: center; gap: 22px; padding: 6px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.expert-list li:first-child { border-top: 0; }
.expert-list .ibox { width: 62px; height: 62px; background: rgba(31, 204, 162, .14); color: var(--teal-2); }
.expert-list .ibox .i { width: 30px; height: 30px; }
.expert-list b { display: block; margin-bottom: 2px; font-size: .95rem; font-weight: 600; }
.expert-list span:not(.ibox) { font-size: .84rem; line-height: 1.35; color: rgba(255, 255, 255, .82); }

.recent { padding: 14px 0 26px; }
.recent-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 10px; }
.recent-head .eyebrow { margin-bottom: 8px; }
.recent-head .h2 { margin: 0; font-size: clamp(1.344rem, 2.184vw, 1.932rem); }
.recent-head .link { margin-bottom: 14px; font-size: .902rem; }
.post-grid.three { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-inline: 0; }
.post-grid.three .ph { height: 124px; }
.post-grid.three .post-body { padding: 14px 24px 16px; }
.post-grid.three .link { font-size: .95rem; }
.post-grid.three p:not(.meta) { font-size: .975rem; }

.newsletter { padding: 24px 0; background: rgba(18, 165, 133, .06); }
.newsletter .container { display: grid; grid-template-columns: auto 1fr minmax(0, 672px); align-items: center; gap: 36px; }
.newsletter .ibox { width: 86px; height: 86px; border-radius: 12px; background: #def5ee; }
.newsletter .ibox .i { width: 44px; height: 44px; stroke-width: 1.6; }
.newsletter h2 { margin: 0; font-size: clamp(1.26rem, 2.016vw, 1.764rem); line-height: 1.12; }
.newsletter p { margin-bottom: 12px; font-size: .902rem; color: var(--text); }
.inline-form { display: flex; gap: 12px; }
.inline-form .btn { height: 52px; padding: 0 34px; }

/* ===== Contact page ===== */
.contact-hero { min-height: 668px; padding-bottom: 40px; }
.contact-hero .page-hero-text { max-width: 600px; }
.contact-hero h1 { font-size: clamp(1.932rem, 3.276vw, 2.94rem); }
.contact-hero .lead { max-width: 515px; margin-bottom: 0; font-size: 1.035rem; line-height: 1.5; }
.contact-media { top: 0; right: 0; bottom: 0; width: 60%; }
.hero-feats { display: flex; margin-top: 54px; }
.hero-feats li { padding: 0 34px; border-left: 1px solid var(--line); }
.hero-feats li:first-child { padding-left: 0; border-left: 0; }
.hero-feats .ibox { width: 60px; height: 60px; margin-bottom: 18px; }
.hero-feats .ibox .i { width: 32px; height: 32px; }
.hero-feats b { display: block; margin-bottom: 4px; font-size: .95rem; font-weight: 600; }
.hero-feats span:not(.ibox) { display: block; font-size: .855rem; line-height: 1.45; color: var(--muted); }

.form-card { top: 98px; right: 34px; width: 566px; padding: 26px 30px 20px; background: var(--surface); border-radius: 14px; box-shadow: 0 24px 60px rgba(10, 40, 36, .16); }
.form-card h2 { margin-bottom: 20px; font-size: 1.196rem; font-weight: 600; letter-spacing: -.01em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field > span { font-size: .8rem; font-weight: 500; color: var(--ink); }
.form-card .input { height: 44px; font-size: .85rem; }
select.input {
  appearance: none; padding-right: 44px; cursor: pointer;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1716' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 16px;
}
select.input:invalid { color: #8a9594; }
textarea.input { height: 92px; padding: 12px 16px; resize: vertical; }
.form-card .btn { width: 100%; height: 50px; margin-top: 20px; }
.privacy { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .72rem; color: var(--muted); }
.privacy .i { width: 13px; height: 13px; color: var(--teal); }

.contact-info { padding: 24px 0; background: var(--wash); }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0 clamp(-32px, calc((1296px - 100vw) / 2), 0px); }
.info-card { display: flex; align-items: flex-start; gap: 20px; padding: 22px 10px 22px 24px; }
.info-card .ibox { width: 64px; height: 64px; }
.info-card .ibox .i { width: 34px; height: 34px; }
.info-card b { display: block; margin-bottom: 6px; font-size: .95rem; font-weight: 600; }
.info-card .hl { display: block; margin-bottom: 6px; font-size: .95rem; font-weight: 500; color: var(--teal-dark); }
.info-card .hl.dark { font-weight: 600; color: var(--ink); }
.info-card p { font-size: .86rem; line-height: 1.5; color: var(--muted); }
.info-card .link { margin-top: 12px; }

.offices-cov { padding: 8px 0 14px; }
.offices-cov .coverage-grid { grid-template-columns: minmax(0, 480px) 1fr; gap: 40px; }
.offices-cov .map { width: 100%; max-width: 650px; margin: 0 40px 0 auto; }
.offices-cov .pin { padding: 8px 18px 8px 8px; }
.office-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0 clamp(-38px, calc((1296px - 100vw) / 2), 0px); }
.offices { padding-bottom: 24px; }
.office { overflow: hidden; }
.office .ph { height: 178px; }
.office-body { padding: 16px 24px 16px; }
.office h3 { font-size: 1.104rem; font-weight: 600; }
.office-country { display: block; margin-bottom: 12px; font-size: .902rem; color: var(--muted); }
.office address { display: flex; gap: 14px; font-style: normal; font-size: .88rem; line-height: 1.55; color: var(--text); }
.office address .i { width: 22px; height: 22px; color: var(--teal); }

.faq { padding: 16px 0 24px; }
.faq .container { display: grid; grid-template-columns: minmax(0, 530px) 1fr; gap: 40px; align-items: start; }
.faq-intro { padding-right: 40px; border-right: 1px solid var(--line); }
.faq-intro .lead { margin-bottom: 24px; font-size: .978rem; line-height: 1.5; }
.faq-list { display: grid; gap: 2px; margin-right: clamp(-16px, calc((1296px - 100vw) / 2), 0px); }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 4px 12px rgba(10, 40, 36, .04); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 22px; font-size: .902rem; font-weight: 500; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--teal-dark); }
.faq-item summary .i { width: 18px; height: 18px; transition: transform .2s; }
.faq-item[open] summary .i { transform: rotate(180deg); }
.faq-item p { padding: 0 22px 18px; font-size: .855rem; color: var(--text); }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .nav, .menu { gap: 24px; }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-bar { flex-direction: column; align-items: stretch; }
  .partner-title { padding: 0 0 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .impact .container { padding-left: 24%; }
  .impact-stats { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .impact .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

@media (max-width: 1180px) {
  .burger { display: grid; }
  .menu {
    position: absolute; top: 84px; left: 0; right: 0;
    display: none; flex-direction: column; gap: 4px;
    padding: 14px 24px; background: var(--surface); border-radius: 12px; box-shadow: 0 20px 44px rgba(10, 40, 36, .14);
  }
  .nav.open .menu { display: flex; }
  .menu a.active { color: var(--teal); }
  .menu a.active::after { display: none; }
  .nav-tools { margin-left: auto; }
}

@media (max-width: 1080px) {
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); row-gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:nth-child(2) { padding-left: 0; border-left: 0; }
}

@media (max-width: 860px) {
  .hero { padding-top: 120px; }
  .media { position: relative; inset: auto; width: auto; height: 280px; aspect-ratio: auto; margin: 32px 24px 0; border-radius: 12px; -webkit-mask-image: none; mask-image: none; clip-path: none; }
  .float { position: relative; inset: auto; width: auto; margin: -40px 36px 0; }
  .tri, .dots, .impact-media, .cta::before, .cta::after { display: none; }
  .cta { background: linear-gradient(160deg, #052a26, #0b5046); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; margin-top: 24px; }
  .stat:nth-child(3) { border-left: 0; }
  .trusted .container { grid-template-columns: 1fr; gap: 24px; }
  .trusted-tag { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--border); }
  .sol-grid { margin-top: 32px; }
  .why, .coverage-grid { grid-template-columns: 1fr; }
  .why-media { min-height: 300px; }
  .why-body { padding: 48px 24px; }
  .impact .container { padding-left: 0; }
  .pillars { grid-template-columns: 1fr; margin-top: 40px; padding: 0; }
  .pillar { padding: 28px; border-left: 0; border-top: 1px solid var(--line); }
  .pillar:first-child { border-top: 0; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-logos { flex-wrap: wrap; }
  .cta-feats li { flex: 0 0 50%; }
  .cta-feats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-col { padding-left: 0; border-left: 0; }
}

@media (max-width: 560px) {
  .nav-tools .search, .nav-tools .sep, .theme, .get-started { display: none; }
  .eyebrow { font-size: .7rem; letter-spacing: .12em; }
  .actions .btn { width: 100%; }
  .stats, .impact-stats, .sol-grid, .ind-grid, .features, .footer-grid { grid-template-columns: 1fr; }
  .stat, .impact .stat { padding: 0 24px; border-left: 0; }
  .impact .stat { padding: 0; }
  .cta-feats li { flex-basis: 100%; padding-left: 0; border-left: 0; }
  .partner-title { flex-direction: column; align-items: flex-start; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
  .footer-bottom li { padding: 0 12px; }
  .footer-bottom li:first-child { padding-left: 0; }
}

/* About page breakpoints */
@media (max-width: 1080px) {
  .split-body, .split-lead .split-body { grid-template-columns: 1fr; }
  .side-list { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .mvv { grid-template-columns: 1fr; }
  .mvv-main { padding-right: 24px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; padding-left: 0; }
  .cta-band .actions { flex-wrap: wrap; }
}
@media (max-width: 860px) {
  .split, .split-lead { grid-template-columns: 1fr; }
  .split-media, .split-lead .split-media { min-height: 260px; -webkit-mask-image: none; mask-image: none; }
  .split-body { padding: 40px 24px; }
  .mvv-grid { grid-template-columns: 1fr; }
  .mvv-main { padding: 40px 24px 24px; }
  .mvv-side { padding: 40px 24px; }
}
@media (max-width: 860px) {
  .cta-band h2 br { display: none; }
}
@media (max-width: 560px) {
  .footer-bottom ul { flex-wrap: wrap; row-gap: 10px; }
}
@media (max-width: 860px) {
  .map { margin-right: 0; }
}

/* Dropdown + solutions pages breakpoints */
@media (max-width: 1180px) {
  .menu { max-height: calc(100vh - 110px); overflow-y: auto; }
  .drop, .drop-sol, .drop-ind { position: static; display: block; width: auto; padding: 2px 0 8px 4px; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; translate: none; scale: none; }
  [data-theme="dark"] .drop { box-shadow: none; }
  .drop::before, .drop::after { content: none; }
  .has-drop:hover > a .i, .has-drop:focus-within > a .i { rotate: none; }
  .drop-label, .drop-promo, .drop-foot, .drop-txt small { display: none !important; }
  .drop-grid { grid-template-columns: 1fr; gap: 0; }
  .menu .drop-item { align-items: center; gap: 12px; padding: 6px 4px; }
  .drop-ico { width: 30px; height: 30px; border-radius: 8px; }
  .menu .drop-ico .i { width: 16px; height: 16px; }
  .drop-txt b { font-size: .88rem; font-weight: 500; color: var(--text); }
}
@media (max-width: 1080px) {
  .benefits .container, .how .container, .how.so-how .container { grid-template-columns: 1fr; }
  .how.so-how .h2 { white-space: normal; }
  .ben-grid, .steps, .sp-global .map, .so-over .sol-grid { margin-right: 0; margin-left: 0; }
  .cta-band.side .cta-band-inner, .cta-band.side.tight .cta-band-inner { padding-left: 0; }
}
@media (max-width: 860px) {
  .split-over { grid-template-columns: 1fr; }
  .split-over .split-media { min-height: 260px; }
  .ov-feats { grid-template-columns: repeat(2, 1fr); justify-content: stretch; row-gap: 20px; }
  .ov-feats li { white-space: normal; }
  .ov-feats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps { flex-direction: column; align-items: stretch; }
  .step-arrow { align-self: center; transform: rotate(90deg); }
  .mini-stats { flex-wrap: wrap; row-gap: 16px; }
  .why.sm .why-media { min-height: 300px; }
}
@media (max-width: 560px) {
  .ben-grid { grid-template-columns: 1fr; }
  .mini-stats li { flex: 0 0 50%; }
  .mini-stats li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 860px) {
  .cta-band.side .cta-side { display: none; }
  .coverage-grid { gap: 32px; }
  .map { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; aspect-ratio: auto; margin-right: 0; padding-top: 49%; background-size: 100% auto; background-position: top; }
  .pin { position: static; white-space: normal; }
}
@media (max-width: 560px) {
  .crumb { flex-wrap: wrap; gap: 6px 12px; white-space: nowrap; }
  .crumb i { width: 24px; }
  .map { grid-template-columns: 1fr; }
}

/* Industries / Insights / Contact breakpoints */
@media (max-width: 1240px) {
  .contact-hero { min-height: 0; }
  .form-card { position: relative; inset: auto; width: auto; max-width: 720px; margin: 40px 24px 0; }
}
@media (max-width: 1080px) {
  .how.tint .container { grid-template-columns: 1fr; }
  .chips { margin-inline: 0; justify-content: flex-start; }
  .post-grid, .post-grid.three { grid-template-columns: 1fr 1fr; margin-inline: 0; }
  .post.feat { grid-column: 1 / -1; grid-row: auto; }
  .expert { grid-template-columns: 1fr 1fr; }
  .expert-media { display: none; }
  .newsletter .container { grid-template-columns: auto 1fr; }
  .newsletter .container > div { grid-column: 1 / -1; }
  .info-grid, .office-grid { grid-template-columns: 1fr 1fr; margin-inline: 0; }
  .faq .container { grid-template-columns: 1fr; }
  .faq-intro { padding-right: 0; border-right: 0; }
  .faq-list { margin-right: 0; }
}
@media (max-width: 860px) {
  .expert { grid-template-columns: 1fr; }
  .expert-body, .expert-list { padding: 40px 24px; }
  .hero-feats { flex-wrap: wrap; row-gap: 24px; margin-top: 36px; }
  .offices-cov .map { max-width: none; }
  .form-card { margin: 32px 24px 0; }
}
@media (max-width: 560px) {
  .post-grid, .post-grid.three, .info-grid, .office-grid, .form-grid { grid-template-columns: 1fr; }
  .search-bar, .inline-form { flex-direction: column; }
  .recent-head { flex-direction: column; align-items: flex-start; }
  .newsletter .container { grid-template-columns: 1fr; gap: 20px; }
  .hero-feats li { flex: 0 0 50%; padding: 0 16px 0 0; border-left: 0; }
  .form-card { margin-inline: 16px; padding: 22px 18px; }
}
@media (max-width: 860px) {
  .offices-cov .coverage-grid { grid-template-columns: 1fr; gap: 32px; }
  .offices-cov .map { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .theme::before, .theme button { transition: none; }
}

/* Trusted-by row: 6 items need ~925px, so below 1280px they become an even grid */
@media (max-width: 1279px) {
  .logos { display: grid; grid-template-columns: repeat(3, max-content); justify-content: space-between; row-gap: 18px; }
}
@media (max-width: 560px) {
  .logos { grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .logos li { white-space: normal; font-size: .85rem; }
}

/* ===== Ambient motion (subtle "alive" background; all transform/opacity, off for reduced motion) ===== */
/* hero: "money rain" of digits and currency symbols, drawn inside each hero by js/main.js (canvas.money-rain) */
.hero, .page-hero { isolation: isolate; background: var(--bg); }
.money-rain {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 72%, transparent);
          mask-image: linear-gradient(#000 72%, transparent);
}
/* white sections: each gets its own soft fibre-optic strands (div.fiber-layer, built by js/main.js).
   The strands are a static SVG set as --fibers-light/--fibers-dark; a small canvas inside animates the light pulses. */
html { background: var(--bg); }
:is(.solutions, .why, .coverage, .about, .industries, .split, .mvv, .benefits, .so-over, .how, .posts, .recent, .offices, .faq, .footer) {
  position: relative; isolation: isolate;
}
.fiber-layer {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--fibers-light) 0 0 / 100% 100% no-repeat;
}
[data-theme="dark"] .fiber-layer { background-image: var(--fibers-dark); }
.fiber-layer.flip { transform: scaleY(-1); }       /* alternate sections mirror the bundles for variety */
.fiber-layer canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* dark bands: a soft light sweeps across every few seconds */
.expert { position: relative; overflow: hidden; }
.expert > * { position: relative; z-index: 1; }
.impact::after, .expert::after, .cta-band::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; z-index: 0; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(31, 204, 162, .13) 50%, transparent);
  transform: translateX(-120%); animation: sweep 11s cubic-bezier(.45, 0, .25, 1) infinite;
}
.cta-band { overflow: hidden; }
.cta-band::before { animation-delay: 3s; }
.expert::after { animation-delay: 5s; }
@keyframes sweep { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(330%); } }
.cta::after { animation: breathe 7s ease-in-out infinite alternate; }
@keyframes breathe { from { opacity: .82; } to { opacity: 1; } }

/* floating glass cards */
.glass.float { animation: float 7s ease-in-out infinite alternate; }
.form-card.float { animation: none; }
@keyframes float { from { translate: 0 0; } to { translate: 0 -8px; } }

/* cards lift on hover, their photo eases in */
.card { transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
:is(.sol-card, .ind-item, .post, .office, .ben-card, .info-card, .mvv-card, .step):hover {
  transform: translateY(-4px); box-shadow: 0 22px 44px -18px rgba(10, 40, 36, .28);
}
:is(.sol-card, .ind-item, .post, .office) .ph { overflow: hidden; }
:is(.sol-card, .ind-item, .post, .office) .bg { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
:is(.sol-card, .ind-item, .post, .office):hover .bg { transform: scale(1.05); }

/* scroll reveal + count-up (classes added by js/main.js) */
.reveal { opacity: 0; }
.reveal.in { animation: rise .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s) both; }
@keyframes rise { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
.stat b, .mini-stats b { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
    .impact::after, .expert::after, .cta-band::before, .cta::after, .glass.float { animation: none; }
  .impact::after, .expert::after, .cta-band::before { display: none; }
}
@media print { .reveal { opacity: 1; animation: none; } }
/* Contact hero: keep the people in the photo visible to the left of the message form */
@media (min-width: 1241px) {
  .contact-media { width: calc(100% - 640px);   /* photo starts where the text column ends */ -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%); mask-image: linear-gradient(90deg, transparent, #000 5%); }
  .contact-media .bg { object-position: 100% 50%; }
}

/* ===== Tablet / small laptop (≤1200px) ===== */
@media (max-width: 1200px) {
  /* map sections stack: text first, then a full-width map so the region cards have room */
  .coverage-grid, .offices-cov .coverage-grid { grid-template-columns: 1fr; gap: 32px; }
  .map, .sp-global .map, .offices-cov .map { width: 100%; max-width: 900px; margin: 0; }
  /* overview feature row wraps to 2x2 instead of forcing the column wider than the screen */
  .split > * { min-width: 0; }
  .ov-feats { grid-template-columns: repeat(2, max-content); justify-content: start; row-gap: 20px; }
  .ov-feats li { white-space: normal; }
  .ov-feats li:nth-child(3) { padding-left: 0; border-left: 0; }
}
/* region cards near the map's right edge anchor to that edge on narrower screens so they never spill out */
@media (max-width: 1400px) { .pin.pin-r { left: auto !important; right: 0; } }

/* ===== Phones (≤560px) ===== */
@media (max-width: 560px) {
  /* header: compact logo + theme switch stays available next to the menu button */
  .logo img { height: 40px; }
  .nav-tools { gap: 12px; }
  .nav-tools .theme { display: flex; padding: 3px; }
  .theme::before { top: 3px; left: 3px; width: 38px; height: 32px; }
  .theme button { width: 38px; height: 32px; }
  /* stats: 2x2 grid, icon above the number */
  .stats, .impact-stats { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .stats { padding: 20px 4px; }
  .stat, .impact .stat { flex-direction: column; align-items: flex-start; gap: 8px; padding: 0 14px; border-left: 0; }
  .stat .i { width: 30px; height: 30px; }
  .stat b { font-size: 1.35rem; }
  .stat span { font-size: .8rem; line-height: 1.4; }
  /* footer: link columns two-up, legal links without stray separators */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-brand { grid-column: 1 / -1; padding-right: 0; }
  .footer-col { padding: 0; }
  .footer h4 { margin: 0 0 16px; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom ul { gap: 8px 18px; }
  .footer-bottom li, .footer-bottom li:first-child { padding: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .mvv > * { min-width: 0; }
  .checks { margin-left: 0; white-space: normal; }
}
@media (max-width: 560px) {
  .btn { height: auto; min-height: 48px; padding-block: 12px; white-space: normal; text-align: center; }
  .ov-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
  .ov-feats li { padding: 0; border-left: 0; }
  .benefits .container > * { min-width: 0; }
  .ben-card { padding: 16px; gap: 14px; }
}

/* ===== Mobile menu: sub-menus closed until tapped (accordion; js toggles .open) ===== */
.menu .drop-all { display: none; }   /* mobile only */
@media (max-width: 1180px) {
  .menu > li > a { justify-content: space-between; padding: 10px 0; }
  .has-drop > .drop { display: none; }
  .has-drop.open > .drop { display: block; }
  .has-drop > a .i { transition: rotate .25s ease; }
  .has-drop.open > a .i { rotate: 180deg; }
  .has-drop.open > a { color: var(--teal); }
  .menu .drop-all { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 4px 4px; padding: 6px 0; font-size: .85rem; font-weight: 600; color: var(--teal-dark); }
  .menu .drop-all .i { width: 14px; height: 14px; rotate: none; }
}

/* ===== Phones/small tablets: hero reads heading -> text -> image -> buttons ===== */
@media (max-width: 860px) {
  :is(.hero, .page-hero) { display: flex; flex-direction: column; }
  :is(.hero, .page-hero) > .container:first-of-type, .hero-text, .page-hero-text { display: contents; }
  :is(.hero-text, .page-hero-text) > * { margin-inline: 24px; }
  :is(.hero, .page-hero) > * { order: 3; }
  :is(.hero-text, .page-hero-text) > * { order: 0; }
  :is(.hero, .page-hero) > .media { order: 1; }
  :is(.hero-text, .page-hero-text) > :is(.actions, .search-bar) { order: 2; }
  :is(.hero, .page-hero) .lead { margin-bottom: 24px; }
  :is(.hero, .page-hero) > .media { margin: 0 24px 24px; }
  :is(.hero, .page-hero) > .float:not(.form-card) { margin: 28px 24px 0; }   /* info card follows the buttons */
}

/* ===== Video pop-up (js/main.js opens it from any a.play link) ===== */
.video-modal { width: min(960px, 92vw); max-width: none; padding: 0; border: 0; border-radius: 14px; background: #000; overflow: visible; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.video-modal::backdrop { background: rgba(4, 20, 18, .84); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.video-modal[open] { animation: video-in .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes video-in { from { opacity: 0; transform: scale(.96); } }
.video-modal video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; background: #000; }
.video-close {
  position: absolute; top: -48px; right: 0; display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .14); transition: background .2s;
}
.video-close:hover { background: rgba(255, 255, 255, .26); }
.video-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (prefers-reduced-motion: reduce) { .video-modal[open] { animation: none; } }

/* contact cards: 3 across now that the phone card is gone */
.info-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .info-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }
/* the base reset removes the auto margins browsers use to centre <dialog> */
.video-modal { margin: auto; max-height: 90vh; }
