/* Next-BuzZ Solutions — site styles */
:root {
  --navy-950: #061029;
  --navy-900: #0A1A3F;
  --navy-800: #10275A;
  --blue: #2A66E0;
  --blue-soft: #7FA6FF;
  --orange: #F26A21;
  --orange-hi: #FF823F;
  --c-gen: #2A66E0;
  --c-agg: #0E8A86;
  --c-ana: #D2540F;
  --c-vis: #6B4FC8;

  --paper: #F3F6FA;
  --surface: #FFFFFF;
  --ink: #0F1B33;
  --muted: #51607A;
  --line: #D8E0EB;
  --tint: #E9EFF8;
  --panel-warm: #FFF1E6;
  --link: #1F56C9;

  --on-dark: #FFFFFF;
  --on-dark-muted: #BFCCE8;

  --wrap: 1720px;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0B1430;
    --surface: #101C3E;
    --ink: #E7EDF8;
    --muted: #A3B1CC;
    --line: #243560;
    --tint: #16264D;
    --panel-warm: #34220F;
    --link: #8FB2FF;
    --c-gen: #6F9BFF;
    --c-agg: #2EC4BE;
    --c-ana: #FF8A4C;
    --c-vis: #A792FF;
  }
}
:root[data-theme="dark"] {
  --paper: #0B1430;
  --surface: #101C3E;
  --ink: #E7EDF8;
  --muted: #A3B1CC;
  --line: #243560;
  --tint: #16264D;
  --panel-warm: #34220F;
  --link: #8FB2FF;
  --c-gen: #6F9BFF;
  --c-agg: #2EC4BE;
  --c-ana: #FF8A4C;
  --c-vis: #A792FF;
}

*, *::before, *::after { box-sizing: inherit; }
html { height: 100%; scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 96px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--link); }
h1, h2, h3 {
  font-stretch: 112%;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.012em;
  margin: 0;
}
h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
[id] { scroll-margin-top: 96px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1rem, 2.5vw, 2.5rem); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--orange); color: var(--navy-950); padding: .6rem 1rem; border-radius: 6px; z-index: 100; font-weight: 700; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + .75rem); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--on-dark); text-decoration: none; }
.logo-mark { width: 50px; height: 50px; flex: none; }
.wordmark { display: grid; line-height: 1; }
.wm-main { font-size: 1.4rem; font-weight: 800; font-stretch: 115%; letter-spacing: -0.01em; }
.wm-buzz { color: var(--orange); }
.wm-sub { font-size: .74rem; color: var(--on-dark-muted); font-weight: 500; margin-top: .22rem; letter-spacing: .02em; }
.wm-tag { display: flex; align-items: center; gap: .38em; margin-top: .42rem; font-size: .74rem; font-weight: 600; font-stretch: 108%; color: #fff; letter-spacing: .01em; white-space: nowrap; }
.wm-tag i { display: inline-block; width: 2px; height: 1.05em; background: var(--orange); border-radius: 1px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.35rem; }
.site-nav a:not(.btn), .nav-disabled { color: #D5DEF0; text-decoration: none; font-size: .95rem; font-weight: 500; padding: .35rem 0; }
.site-nav a:not(.btn):hover { color: #fff; }
.site-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--orange); }
.nav-disabled { position: relative; color: #7F8FB0 !important; cursor: not-allowed; }
.nav-disabled .soon {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: #fff; color: var(--navy-950); font-size: .78rem; font-weight: 600; white-space: nowrap;
  padding: .3rem .55rem; border-radius: 5px; opacity: 0; visibility: hidden; transition: opacity .15s;
}
.nav-disabled:hover .soon, .nav-disabled:focus .soon { opacity: 1; visibility: visible; }

.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; width: 44px; height: 40px; cursor: pointer; }
.burger, .burger::before, .burger::after { display: block; width: 20px; height: 2px; background: #fff; margin: 0 auto; position: relative; content: ""; transition: transform .2s; }
.burger::before { position: absolute; top: -6px; }
.burger::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-900); border-bottom: 1px solid rgba(255,255,255,.1); display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem clamp(1.25rem, 4vw, 2.5rem) 1.25rem; }
  .site-nav li { border-bottom: 1px solid rgba(255,255,255,.07); }
  .site-nav li:last-child { border-bottom: 0; padding-top: 1rem; }
  .site-nav a:not(.btn), .nav-disabled { display: block; padding: .9rem 0; font-size: 1.05rem; }
  .site-nav a[aria-current="page"] { box-shadow: none; color: var(--orange); }
  .nav-disabled .soon { position: static; transform: none; opacity: 1; visibility: visible; background: rgba(255,255,255,.1); color: #D5DEF0; margin-left: .6rem; }
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.3rem; border-radius: 6px; font: inherit; font-weight: 650; font-stretch: 105%;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; line-height: 1.2;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn .icon { width: 20px; height: 20px; }
.btn-primary { background: var(--orange); color: var(--navy-950); }
.btn-primary:hover { background: var(--orange-hi); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { padding: .55rem .95rem; font-size: .92rem; }
.text-link { color: var(--link); font-weight: 650; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.text-link:hover { text-decoration-thickness: 2.5px; }
.on-dark .text-link, .text-link.light { color: #fff; text-decoration-color: var(--orange); }

.icon { width: 28px; height: 28px; flex: none; }


.icon { width: 28px; height: 28px; flex: none; }
.tg-bar {
  display: inline-block; width: .1em; min-width: 5px; border-radius: 2px;
  background: var(--orange); box-shadow: 0 0 22px rgba(242,106,33,.55);
  transform-origin: 50% 100%; animation: bar-rise .7s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes bar-rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Page shell: every page fills exactly one screen on desktop ---------- */
main { flex: 1; display: flex; flex-direction: column; }
[data-route] { flex: 1; display: flex; flex-direction: column; }
[data-route][hidden] { display: none; }
.fill { flex: 1; display: flex; align-items: center; }
.fill > .wrap { width: 100%; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(900px 520px at 80% 25%, rgba(42,102,224,.38), transparent 62%),
    radial-gradient(600px 400px at 5% 110%, rgba(242,106,33,.12), transparent 60%),
    var(--navy-950);
  padding: clamp(2rem, 5vh, 3.5rem) 0;
  --c-gen: #7FA6FF; --c-agg: #3FD2CB; --c-ana: #FF8A4C; --c-vis: #B3A0FF;
}
.hero-net {
  position: absolute; right: -4%; top: 0; bottom: 0; width: min(60vw, 820px);
  display: flex; align-items: center; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}
.hero-net svg { display: block; width: 100%; height: auto; max-height: 100%; }
.net-line { stroke: #4C7BE0; stroke-opacity: .32; stroke-width: 1; }
.net-node { fill: #7FA6FF; }
.net-node.hot { fill: var(--orange); }
.net-pulse { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .85; animation: draw 2.4s .6s cubic-bezier(.4,0,.2,1) both; }
.net-ring { fill: none; stroke: var(--orange); animation: ring-in 1s 2.7s ease-out both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ring-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

.hero-inner { position: relative; z-index: 1; }
.hero-head { display: grid; grid-template-columns: auto 1fr; column-gap: clamp(1rem, 2vw, 1.5rem); margin-bottom: 1.25rem; }
.hero-head .tg-bar { width: 8px; }
.hero-title { font-size: clamp(2rem, 3.7vw, 3.2rem); font-weight: 800; font-stretch: 114%; letter-spacing: -0.022em; line-height: 1.05; max-width: 25ch; animation: fade-up .8s .15s cubic-bezier(.2,.8,.2,1) both; }
.hero-lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--on-dark-muted); max-width: 46ch; margin: 0 0 1.75rem calc(8px + clamp(1rem, 2vw, 1.5rem)); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-left: calc(8px + clamp(1rem, 2vw, 1.5rem)); }

/* Value chain (inside hero) */
.chain { margin-top: clamp(2rem, 6vh, 3.5rem); padding-top: clamp(1.5rem, 3.5vh, 2rem); border-top: 1px solid rgba(255,255,255,.12); }
.chain-title { font-size: 1rem; font-weight: 650; font-stretch: 105%; color: var(--on-dark-muted); letter-spacing: 0; margin-bottom: 1.1rem; }
.chain-rail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; position: relative; max-width: 980px; }
.step { position: relative; display: grid; grid-template-columns: 40px 1fr; column-gap: .85rem; align-items: center; width: 100%; text-align: left; background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: help; }
.step-num { position: relative; z-index: 1; grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy-950); border: 2px solid var(--c); color: var(--c); font-weight: 800; transition: background-color .15s, color .15s; }
.step:hover .step-num, .step:focus-visible .step-num { background: var(--c); color: var(--navy-950); }
.step-name { font-size: 1.2rem; font-weight: 750; font-stretch: 110%; line-height: 1.2; }
.step-sub { color: var(--on-dark-muted); font-size: .92rem; line-height: 1.3; }
@media (max-width: 860px) {
  .chain-rail { grid-template-columns: 1fr 1fr; row-gap: 1.4rem; }
}
@media (max-width: 720px) {
  .hero-net { width: 130vw; right: -45%; opacity: .45; }
  .hero-lede, .hero-actions { margin-left: 0; }
  .hero-head { column-gap: 1rem; }
  .hero-head .tg-bar { width: 6px; }
}
@media (max-width: 420px) { .chain-rail { grid-template-columns: 1fr; } }

/* Tooltips */
.tip { position: relative; }
.tip-text {
  position: absolute; left: 0; bottom: calc(100% + 10px); width: max-content; max-width: min(280px, 80vw);
  background: var(--navy-900); color: #fff; border: 1px solid rgba(255,255,255,.16);
  font-size: .9rem; line-height: 1.45; font-weight: 400; font-stretch: 100%; text-align: left; white-space: normal;
  padding: .65rem .8rem; border-radius: 8px; box-shadow: 0 12px 28px rgba(6,16,41,.28);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
  pointer-events: none; z-index: 30;
}
.tip-text::after { content: ""; position: absolute; left: 16px; top: 100%; border: 7px solid transparent; border-top-color: var(--navy-900); }
.tip:hover .tip-text, .tip:focus .tip-text { opacity: 1; visibility: visible; transform: none; }

/* ---------- Sub-pages ---------- */
.page-hero {
  color: var(--on-dark);
  background: radial-gradient(800px 380px at 88% 0%, rgba(42,102,224,.35), transparent 60%), var(--navy-950);
  padding: clamp(1.6rem, 4vh, 2.5rem) 0 clamp(1.4rem, 3.5vh, 2.2rem);
}
.page-body-inner { position: relative; }
.page-close {
  position: absolute; top: calc(-1 * clamp(1.5rem, 4vh, 3rem) + .75rem); right: clamp(1.25rem, 4vw, 2.5rem);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; z-index: 5;
  color: var(--ink); background: var(--surface); border: 1.5px solid var(--line);
  box-shadow: 0 4px 14px rgba(10,26,63,.12); transition: background-color .15s, border-color .15s, color .15s;
}
.page-close:hover, .page-close:focus-visible { background: var(--orange); border-color: var(--orange); color: var(--navy-950); }
.page-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.page-title { display: flex; align-items: stretch; gap: .5em; font-size: clamp(2rem, 3.8vw, 2.9rem); font-weight: 800; font-stretch: 114%; letter-spacing: -0.02em; line-height: 1.05; margin-bottom: .7rem; }
.page-title .tg-bar { animation: none; width: 6px; }
.page-hero .lede { color: var(--on-dark-muted); font-size: clamp(1.02rem, 1.4vw, 1.18rem); max-width: 75ch; }
.page-body { padding: clamp(1.5rem, 4vh, 3rem) 0; }
.page-body-inner > .page-close + * { margin-top: 2.75rem; }

/* Column layouts */
.cols { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); }
.cols > * { padding: 0 clamp(1.25rem, 2.5vw, 2.25rem); border-left: 1px solid var(--line); }
.cols > *:first-child { padding-left: 0; border-left: 0; }
.cols > *:last-child { padding-right: 0; }
.col-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .55rem; }
.col .icon { width: 32px; height: 32px; color: var(--blue); }
.col h2 { font-size: clamp(1.3rem, 1.75vw, 1.5rem); font-stretch: 106%; }
.col > h2 { margin-bottom: .55rem; }
.col > p { color: var(--muted); margin-bottom: 1.1rem; }
@media (max-width: 860px) {
  .cols { grid-template-columns: 1fr; }
  .cols > * { padding: 1.5rem 0; border-left: 0; border-top: 1px solid var(--line); }
  .cols > *:first-child { padding-top: 0; border-top: 0; }
}

/* Panel layout (What we deliver): a light panel only as wide as its three columns, on the dark page background */
.page-body-panel { background: var(--navy-950); align-items: flex-start; padding-top: 1.25rem; }
.panel-box {
  position: relative; width: fit-content; max-width: 100%; margin: 0 auto;
  background: linear-gradient(165deg, var(--surface) 0%, var(--tint) 60%, var(--panel-warm) 100%);
  border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.35);
  padding: 3.4rem clamp(1.25rem, 2.2vw, 1.75rem) 1.75rem;
}
.panel-box::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, var(--blue) 0%, var(--c-agg) 50%, var(--orange) 100%);
}
.panel-box .page-close { top: .8rem; right: .8rem; }
/* Give icons a little color variety across the soothing blue/teal/orange scheme */
.cols > .col:nth-child(3n+1) .icon, .matrix .tile:nth-child(3n+1) .icon { color: var(--blue); }
.cols > .col:nth-child(3n+2) .icon, .matrix .tile:nth-child(3n+2) .icon { color: var(--c-agg); }
.cols > .col:nth-child(3n+3) .icon, .matrix .tile:nth-child(3n+3) .icon { color: var(--orange); }
.contact-grid .panel:nth-child(1) .icon { color: var(--blue); }
.contact-grid .panel:nth-child(2) .icon { color: var(--orange); }
.panel-box .cols { grid-template-columns: 21.75rem 22rem 20.25rem; }
.panel-box .col h2 { white-space: nowrap; }
.panel-box .cols > * { padding-left: 1.75rem; padding-right: 1.75rem; }
.panel-box .cols > *:first-child { padding-left: 0; }
.panel-box .cols > *:last-child { padding-right: 0; }
@media (max-width: 1160px) { .panel-box .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } .panel-box { width: auto; } .panel-box .col h2 { white-space: normal; } }
@media (max-width: 860px) {
  .panel-box .cols { grid-template-columns: 1fr; }
  .panel-box .cols > * { padding: 1.5rem 0; }
  .panel-box .cols > *:first-child { padding-top: 0; }
}
.panel-box .matrix { grid-template-columns: repeat(3, 20.5rem); }
@media (max-width: 1160px) { .panel-box .matrix { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .panel-box .matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.panel-box .matrix[style*="--n:4"] { grid-template-columns: repeat(4, 15.5rem); }
@media (max-width: 1160px) { .panel-box .matrix[style*="--n:4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .panel-box .matrix { grid-template-columns: 1fr; } }
/* Compact tiles (Technologies): icon beside the name, smaller text, less padding */
.matrix-compact .tile { display: grid; grid-template-columns: 22px 1fr; align-items: center; align-content: start; column-gap: .6rem; row-gap: .25rem; padding: .8rem 1.05rem .9rem; }
.matrix-compact .tile .icon { width: 22px; height: 22px; }
.matrix-compact .tile-name { font-size: .98rem; line-height: 1.25; }
.matrix-compact .tile-desc { grid-column: 2; font-size: .86rem; line-height: 1.4; }
/* Line up the headings, intros and item lists across columns */
@supports (grid-template-rows: subgrid) {
  .cols-aligned { grid-template-rows: auto auto 1fr; }
  .cols-aligned > .col { display: grid; grid-template-rows: subgrid; grid-row: span 3; align-content: start; }
  .cols-aligned > .col > * { margin-bottom: 0; }
  .cols-aligned > .col { row-gap: .6rem; }
  .cols-aligned > .col > .chips { margin-top: .5rem; align-content: start; }
}

/* Item chips with hover detail (What we deliver) */
.chips { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.chip {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: .45rem .8rem;
  font: inherit; font-size: .98rem; font-weight: 600; color: var(--ink); text-align: left; cursor: help;
  transition: border-color .15s, background-color .15s;
}
.chip::after { content: "i"; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--muted); color: var(--muted); font-size: .7rem; font-weight: 800; font-style: normal; display: grid; place-items: center; line-height: 1; }
.chip:hover, .chip:focus-visible { border-color: var(--blue); background: var(--tint); }

.outcomes { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.outcomes li { display: flex; align-items: center; gap: .7rem; font-weight: 600; }
.outcomes li::before { content: ""; width: 4px; height: 1.1em; border-radius: 2px; background: var(--orange); flex: none; }

/* Tile matrix */
.matrix { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tile { display: flex; flex-direction: column; gap: .7rem; background: var(--surface); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(1.1rem, 2.6vh, 1.6rem) 1.4rem; }
.tile .icon { width: 32px; height: 32px; color: var(--blue); }
.tile-name { font-size: 1.15rem; font-weight: 700; font-stretch: 108%; line-height: 1.25; }
.tile-desc { color: var(--muted); font-size: .98rem; line-height: 1.5; }
.matrix-note { margin-top: 1.4rem; color: var(--muted); max-width: 70ch; }
@media (max-width: 960px) { .matrix { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .matrix { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.panel .icon { width: 34px; height: 34px; color: var(--blue); margin-bottom: 1rem; }
.panel h2 { font-size: 1.45rem; margin-bottom: .5rem; }
.panel p { color: var(--muted); margin-bottom: 1.3rem; }
.big-link { font-size: 1.2rem; font-weight: 700; word-break: break-all; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* Capabilities (hidden page) */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 1.75rem; border-top: 1px solid var(--line); }
.cap-grid div { padding: 1.1rem 1.25rem 1.1rem 0; border-bottom: 1px solid var(--line); }
.cap-grid dt { font-weight: 700; margin-bottom: .25rem; }
.cap-grid dd { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .cap-grid { grid-template-columns: 1fr; } }

/* Templates (About / Leadership) */
.draft-note { border: 1.5px dashed var(--orange); border-radius: 8px; padding: .7rem 1rem; background: var(--surface); margin-bottom: 1.75rem; font-size: .95rem; }
.leader .avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--navy-800); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; margin-bottom: 1rem; border: 3px solid var(--orange); }
.leader .role { color: var(--link); font-weight: 600; margin: .15rem 0 .7rem; }
.leader p, .col p { color: var(--muted); }

.text-link { color: var(--link); font-weight: 650; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.text-link:hover { text-decoration-thickness: 2.5px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--navy-950);
  color: var(--on-dark-muted);
  font-size: .95rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.site-footer::before {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, rgba(247,106,18,1) 0%, rgba(247,106,18,.7) 35%, rgba(247,106,18,0) 100%);
}
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: .6rem 2rem; }
.foot-top { padding-top: .6rem; padding-bottom: .6rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-top .logo-mark { width: 30px; height: 30px; }
.foot-top .wm-main { font-size: 1rem; }
.foot-top .wm-sub { font-size: .64rem; margin-top: .1rem; }
.foot-id {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: .5rem 1.25rem;
  min-width: 0;
}
.foot-id .brand { padding-right: 1.25rem; border-right: 1px solid rgba(255,255,255,.2); }
.foot-promise {
  color: #fff;
  margin: 0;
  text-align: left;
  font-style: italic;
  font-weight: 600;
  font-stretch: 106%;
  font-size: clamp(.95rem, 1.3vw, 1.08rem);
}
.foot-cols { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem 3rem; padding-top: .9rem; padding-bottom: .9rem; }
.site-footer h2 { font-size: .85rem; color: #fff; font-stretch: 100%; font-weight: 700; letter-spacing: 0; margin-bottom: .35rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; font-size: .82rem; }
.site-footer a { color: #D5DEF0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: .5rem; padding-bottom: .6rem; font-size: .76rem; }
@media (max-width: 640px) { .foot-cols { justify-content: flex-start; column-gap: 3.5rem; } }
@media (max-width: 420px) { .foot-id .brand { border-right: 0; padding-right: 0; } }

/* Compact popups: keep panel pages within one laptop screen */
.page-hero:has(+ .page-body-panel) { padding: 1.1rem 0 1.5rem; }
.page-hero:has(+ .page-body-panel) .page-title { font-size: clamp(1.8rem, 3vw, 2.35rem); margin-bottom: .35rem; }
.page-hero:has(+ .page-body-panel) .lede { font-size: 1rem; }
.page-body-panel { padding-bottom: 1rem; }
.panel-box:has(> .cols) { padding-top: 1.6rem; padding-bottom: 1.35rem; }
.panel-box .page-close { width: 38px; height: 38px; top: .6rem; right: .6rem; }
.panel-box .col h2 { font-size: 1.35rem; }
.panel-box .col > p { font-size: .95rem; line-height: 1.5; }
.chips { gap: .3rem; }
.chip { padding: .25rem .75rem; font-size: .9rem; line-height: 1.35; }
.chip::after { width: 16px; height: 16px; }
.panel-box .col .icon { width: 26px; height: 26px; }
.cols-aligned > .col { row-gap: .4rem; }
.cols-aligned > .col > .chips { margin-top: .35rem; }

/* Careers popup: two boxes in a snug panel */
.panel-box:has(> .contact-grid) { padding: 2.9rem 1.25rem 1.1rem; }
.panel-box .contact-grid { grid-template-columns: repeat(2, 22rem); gap: 1rem; }
.panel-box .panel { padding: 1.1rem 1.3rem 1.2rem; }
.panel-box .panel .icon { width: 28px; height: 28px; margin-bottom: .6rem; }
.panel-box .panel h2 { font-size: 1.25rem; margin-bottom: .35rem; }
.panel-box .panel p { font-size: .95rem; line-height: 1.5; margin-bottom: 1rem; }
@media (max-width: 820px) { .panel-box .contact-grid { grid-template-columns: 1fr; } }

/* Home: headline left, buttons right, value-creation graphic below */
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(1.5rem, 4vw, 4rem); row-gap: clamp(1rem, 3vh, 1.75rem); align-items: center; }
.hero:has(.hero-split) { padding: clamp(2rem, 4.5vh, 3.25rem) 0 clamp(1.5rem, 3.5vh, 2.25rem); }
.hero:has(.hero-split) .hero-net { display: none; }
.hero-split .hero-head { margin-bottom: .6rem; }
.hero-split .hero-title { font-size: clamp(1.7rem, 2.6vw, 2.55rem); max-width: 36ch; }
.hero-split .hero-lede { margin-bottom: 0; max-width: 62ch; }
.hero-split .hero-actions { margin-left: 0; justify-content: flex-end; }
.hero-figure { grid-column: 1 / -1; margin: .5rem 0 0; display: flex; justify-content: center; }
.hero-figure img { display: block; width: 77%; height: auto; aspect-ratio: 2.1 / 1; object-fit: cover; object-position: 50% 19%; }
/* Fade the image edges into the page background */
.hero-figure img {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-composite: intersect;
}
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-split .hero-actions { justify-content: flex-start; }
  .hero-figure img { max-height: none; width: 100%; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Popup palette: deeper blue with a warm orange glow and crisp, beveled controls */
.page-hero:has(+ .page-body-panel) {
  background:
    radial-gradient(760px 360px at 92% 4%, rgba(42,102,224,.42), transparent 64%),
    radial-gradient(540px 300px at 5% 100%, rgba(242,106,33,.17), transparent 68%),
    linear-gradient(112deg, #061029 0%, #0A1A3F 64%, #14284E 100%);
}
.page-body-panel {
  background:
    radial-gradient(760px 440px at 88% 8%, rgba(42,102,224,.24), transparent 68%),
    radial-gradient(620px 360px at 8% 100%, rgba(242,106,33,.15), transparent 68%),
    #061029;
}
.panel-box {
  color: #F5F8FF;
  background: linear-gradient(145deg, #132D5C 0%, #0D2046 56%, #30213A 100%);
  border: 1px solid rgba(127,166,255,.58);
  box-shadow: 0 20px 46px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.13);
}
.panel-box::before {
  height: 6px;
  background: linear-gradient(90deg, #4D83F2 0%, #3977DA 38%, #B96B55 72%, #F26A21 100%);
  box-shadow: 0 2px 14px rgba(242,106,33,.2);
}
.panel-box .cols > * { border-color: rgba(127,166,255,.28); }
.panel-box .col > p,
.panel-box .tile-desc,
.panel-box .panel p,
.panel-box .matrix-note { color: #C4D0E8; }
.panel-box .col h2,
.panel-box .tile-name,
.panel-box .panel h2 { color: #FFFFFF; }
.panel-box .tile,
.panel-box .panel {
  color: #F5F8FF;
  background: linear-gradient(145deg, rgba(26,54,101,.96), rgba(13,31,68,.98) 68%, rgba(53,39,57,.96));
  border-color: rgba(127,166,255,.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 5px 14px rgba(0,0,0,.2);
}
.panel-box .cols > .col:nth-child(3n+1) .chip { border-color: rgba(89,142,245,.7); }
.panel-box .cols > .col:nth-child(3n+2) .chip { border-color: rgba(65,190,185,.62); }
.panel-box .cols > .col:nth-child(3n+3) .chip { border-color: rgba(242,132,81,.68); }
.panel-box .chip {
  color: #F5F8FF;
  background: linear-gradient(110deg, rgba(24,49,91,.98), rgba(33,42,71,.98) 72%, rgba(65,43,48,.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 2px 5px rgba(0,0,0,.18);
}
.panel-box .chip::after { color: #D8E4FF; border-color: #9EB9F1; }
.panel-box .chip:hover,
.panel-box .chip:focus-visible {
  background: linear-gradient(110deg, #244F91, #27466D 62%, #70432F);
  border-color: #FF9A60 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 0 0 2px rgba(242,106,33,.16);
}
.page-body-panel .btn {
  border-width: 1px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.36), inset 0 -2px 0 rgba(6,16,41,.18), 0 3px 8px rgba(0,0,0,.28);
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.page-body-panel .btn:hover { transform: translateY(-1px); }
.page-body-panel .btn-primary { border-color: #FFB080; }
.page-body-panel .btn-primary:hover { border-color: #FFD0B2; box-shadow: inset 0 1px 0 rgba(255,255,255,.48), 0 5px 12px rgba(0,0,0,.34); }
.page-body-panel .btn-outline {
  color: #F5F8FF;
  background: linear-gradient(145deg, #234B86, #142D58 65%, #3A2B42);
  border-color: #82A9F5;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), inset 0 -2px 0 rgba(6,16,41,.24), 0 3px 8px rgba(0,0,0,.28);
}
.page-body-panel .btn-outline:hover { background: linear-gradient(145deg, #2D60A6, #1B3A6D 65%, #5A3A42); border-color: #FF9A60; }
.panel-box .page-close {
  border-color: #8EAEED;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 4px 14px rgba(0,0,0,.32);
}
.panel-box .page-close:hover,
.panel-box .page-close:focus-visible { border-color: #FFAC79; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 4px 14px rgba(0,0,0,.32); }

/* Popup contrast refinement: light blue-to-orange surfaces behind dark controls */
.panel-box {
  color: #10234A;
  background: linear-gradient(118deg, #DCEAFF 0%, #E8E4F4 52%, #F8D8C1 100%);
  border-color: rgba(76,123,209,.58);
  box-shadow: 0 20px 46px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.82);
}
.panel-box::before {
  background: linear-gradient(90deg, #3977DA 0%, #648AE0 38%, #E78A5A 72%, #F26A21 100%);
  box-shadow: 0 2px 14px rgba(242,106,33,.23);
}
.panel-box .cols > * { border-color: rgba(39,76,138,.2); }
.panel-box .col > p,
.panel-box .tile-desc,
.panel-box .panel p,
.panel-box .matrix-note { color: #3E506F; }
.panel-box .col h2,
.panel-box .tile-name,
.panel-box .panel h2 { color: #10234A; }
.panel-box .tile,
.panel-box .panel {
  color: #10234A;
  background: linear-gradient(135deg, rgba(247,250,255,.94), rgba(235,241,252,.95) 58%, rgba(255,239,224,.96));
  border-color: rgba(65,101,165,.36);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.94), 0 4px 12px rgba(28,48,83,.13);
}
.panel-box .cols > .col:nth-child(3n+1) .chip { border-color: rgba(57,119,218,.52); }
.panel-box .cols > .col:nth-child(3n+2) .chip { border-color: rgba(14,138,134,.48); }
.panel-box .cols > .col:nth-child(3n+3) .chip { border-color: rgba(210,84,15,.48); }
.panel-box .chip {
  color: #152A4E;
  background: linear-gradient(105deg, #F5F8FF 0%, #EEF2FA 68%, #FFF0E5 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 2px 5px rgba(28,48,83,.12);
}
.panel-box .chip::after { color: #324F7C; border-color: #7894C4; }
.panel-box .chip:hover,
.panel-box .chip:focus-visible {
  color: #10234A;
  background: linear-gradient(105deg, #DFEAFF, #E9EAF6 62%, #FFE0C9);
  border-color: #E4773E !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 0 0 2px rgba(242,106,33,.14);
}
.page-body-panel .btn-primary {
  color: #FFFFFF;
  background: linear-gradient(135deg, #173B76 0%, #1B3970 58%, #713B2D 100%);
  border-color: #E49568;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -2px 0 rgba(4,15,37,.38), 0 4px 9px rgba(18,37,70,.3);
}
.page-body-panel .btn-primary:hover {
  color: #FFFFFF;
  background: linear-gradient(135deg, #24549A 0%, #254A82 58%, #984F32 100%);
  border-color: #F4A87D;
}
.page-body-panel .btn-outline {
  color: #FFFFFF;
  background: linear-gradient(135deg, #183D78 0%, #1A376A 62%, #60392F 100%);
  border-color: #7298D7;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -2px 0 rgba(4,15,37,.38), 0 4px 9px rgba(18,37,70,.3);
}
.page-body-panel .btn-outline:hover {
  color: #FFFFFF;
  background: linear-gradient(135deg, #285BA0 0%, #26497E 62%, #8A4A31 100%);
  border-color: #F3A277;
}

/* Slightly stronger raised bevel for popup actions and selectable chips */
.page-body-panel .btn,
.panel-box .chip {
  border-style: solid;
  border-width: 1.5px;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.42),
    inset 0 -3px 0 rgba(3,12,30,.34),
    0 2px 0 rgba(5,16,39,.24),
    0 5px 10px rgba(7,20,46,.24);
}
.page-body-panel .btn:hover,
.panel-box .chip:hover,
.panel-box .chip:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.48),
    inset 0 -3px 0 rgba(3,12,30,.3),
    0 3px 0 rgba(5,16,39,.2),
    0 7px 13px rgba(7,20,46,.3);
}
.page-body-panel .btn:active,
.panel-box .chip:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 2px 3px rgba(3,12,30,.26),
    inset 0 -1px 0 rgba(255,255,255,.2),
    0 1px 2px rgba(7,20,46,.2);
}


/* ================= Requested changes ================= */
/* Home: value-creation figure 20% shorter (scaled, so nothing is cropped) */
@media (min-width: 901px) { .hero-figure img { width: 61.6%; } }
/* Home: "See what we deliver" below "Start a conversation" */
.hero-split .hero-actions { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: .75rem; }
/* Header and footer: key text a bit bigger */
.wm-main { font-size: 1.55rem; }
.wm-tag { font-size: .84rem; }
.site-nav a:not(.btn), .nav-disabled { font-size: 1.08rem; }
.foot-top .logo-mark { width: 44px; height: 44px; }
.site-footer h2 { font-size: 1.08rem; }
.foot-promise { font-size: clamp(1.15rem, 1.6vw, 1.38rem); }
/* Popups open an inch lower */
.page-body-panel { padding-top: 1.25rem; }
@media (max-width: 520px) { .page-body-panel { padding-top: 1.25rem; } }
/* Popup without the close button needs less top padding */
.panel-box:has(> .contact-grid) { padding-top: 1.6rem; }
/* What we deliver: three separate boxes */
.box-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; align-items: stretch; max-width: 1180px; margin: 0 auto; }
.box-row .panel-box { width: auto; margin: 0; padding: 2.1rem 1.6rem 1.9rem; }
.box-row .col { display: block; padding: 0; border: 0; }
.box-row .col h2 { font-size: 1.5rem; white-space: normal; }
.box-row .col > p { font-size: 1.05rem; margin: .4rem 0 1.4rem; }
.box-row .chips { gap: 1.05rem; margin: 0; }
/* Chips styled like the Technologies tiles, larger text and spacing */
.box-row .panel-box .chip {
  padding: 1rem 1.15rem; font-size: 1.2rem; font-weight: 700; font-stretch: 106%; line-height: 1.25; color: #10234A;
  border: 1px solid rgba(65,101,165,.36); border-radius: 4px;
  background: linear-gradient(135deg, rgba(247,250,255,.94), rgba(235,241,252,.95) 58%, rgba(255,239,224,.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.94), 0 4px 12px rgba(28,48,83,.13);
}
.box-row .panel-box .chip:hover, .box-row .panel-box .chip:focus-visible {
  transform: none; border-color: #E4773E;
  background: linear-gradient(135deg, #E6EEFF, #EBEDF8 58%, #FFE6D2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.94), 0 4px 12px rgba(28,48,83,.18);
}
.box-row .panel-box .chip:active { transform: none; }
.box-row .panel-box .chip::after { width: 20px; height: 20px; font-size: .8rem; }
@media (max-width: 900px) { .box-row { grid-template-columns: 1fr; } }

/* What we deliver: items show their text below the name (no hover hints) */
.box-row .chips { gap: .9rem; }
.box-row .item {
  padding: .9rem 1.15rem 1rem; border: 1px solid rgba(65,101,165,.36); border-radius: 4px; color: #10234A;
  background: linear-gradient(135deg, rgba(247,250,255,.94), rgba(235,241,252,.95) 58%, rgba(255,239,224,.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.94), 0 4px 12px rgba(28,48,83,.13);
}
.box-row .item-name { font-size: 1.05rem; font-weight: 700; font-stretch: 106%; line-height: 1.25; color: #10234A; margin: 0 0 .3rem; }
.box-row .item-desc { font-size: .88rem; line-height: 1.5; color: #3E506F; margin: 0; }

/* What we deliver: boxes span the full page width (Products flush left, Knowledge flush right) and are more compact */
.box-row { max-width: none; margin: 0; gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.box-row .panel-box { padding: 1.7rem 1.5rem 1.5rem; }
.box-row .col > p { margin: .3rem 0 1.05rem; }
.box-row .chips { gap: .7rem; }
.box-row .item { padding: .7rem 1.1rem .8rem; }
.box-row .item-name { margin-bottom: .2rem; }
.box-row .item-desc { line-height: 1.4; }
.box-row { align-items: start; }

/* Home: caption and buttons sit higher */
.hero.fill:has(.hero-split) { align-items: flex-start; padding-top: calc(.7rem + 1in); }

/* Popup title: the orange bar runs down alongside the title and the line beneath it */
.page-hero { --pt: clamp(2rem, 3.8vw, 2.9rem); }
.page-hero:has(+ .page-body-panel) { --pt: clamp(1.8rem, 3vw, 2.35rem); }
.page-hero .page-hero-inner { position: relative; padding-left: calc(clamp(1rem, 2.5vw, 2.5rem) + 6px + var(--pt) * .5); }
.page-hero .page-title { gap: 0; }
.page-hero .page-title .tg-bar { position: absolute; left: clamp(1rem, 2.5vw, 2.5rem); top: 0; bottom: 0; width: 6px; height: auto; }

/* Home: the orange bar runs down alongside the caption and the line beneath it */
.hero-split .hero-copy { position: relative; }
.hero-split .hero-head { display: block; padding-left: calc(8px + clamp(1rem, 2vw, 1.5rem)); }
.hero-split .hero-head .tg-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 8px; height: auto; }
@media (max-width: 720px) {
  .hero-split .hero-head { padding-left: calc(6px + 1rem); }
  .hero-split .hero-lede { margin-left: calc(6px + 1rem); }
  .hero-split .hero-head .tg-bar { width: 6px; }
}


/* Popup boxes (About, Technologies, Wireless, Contact) follow the What we deliver design */
.box-row { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
@media (max-width: 1100px) { .box-row[style*="--n:4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .box-row, .box-row[style*="--n:4"], .box-row[style*="--n:2"] { grid-template-columns: 1fr; } }
.box-row .panel-box:nth-child(3n+1) .col-head .icon, .box-row .panel-box:nth-child(3n+1) .item > .icon { color: var(--blue); }
.box-row .panel-box:nth-child(3n+2) .col-head .icon, .box-row .panel-box:nth-child(3n+2) .item > .icon { color: var(--c-agg); }
.box-row .panel-box:nth-child(3n+3) .col-head .icon, .box-row .panel-box:nth-child(3n+3) .item > .icon { color: var(--orange); }
.box-row .panel-box:nth-child(4) .col-head .icon { color: #6B4FC8; }
.box-row .item.has-icon { display: grid; grid-template-columns: 26px 1fr; column-gap: .7rem; align-items: start; }
.box-row .item.has-icon > .icon { width: 24px; height: 24px; grid-column: 1; grid-row: 1; margin-top: .05rem; }
.box-row .item.has-icon .item-name { grid-column: 2; grid-row: 1; }
.box-row .item.has-icon .item-desc { grid-column: 2; }
.box-row .col > .btn { margin-top: .2rem; }
.box-row .col .big-link { font-size: 1.2rem; }
.box-note { margin-top: 1.5rem; color: var(--on-dark-muted); font-size: 1.05rem; max-width: 70ch; }

/* Wireless: the two intro sentences run on one line (wrapping only when the screen is narrow) */
.page-hero .lede.lede-wide { max-width: none; }
/* Footer text one notch larger */
.site-footer ul { font-size: .92rem; }
.foot-legal { font-size: .85rem; }
/* Footer column captions (Explore, Company, Contact) larger */
.site-footer h2 { font-size: 1.25rem; }
