/* =====================================================================
   SOLUTIONS (solutions/): banner, capability board, AI showcase, industry panels, delivery journey.
   Loaded after base.css and components.css. Built from: solutions-hero.css, solutions.css.
   ===================================================================== */

/* ======================== from solutions-hero.css ======================== */
/* =====================================================================
   SOLUTIONS BANNER (solutions.html, section.sh): a cinematic three-act title sequence.
   Full-bleed MIPL footage per act (Deploy / Monitor / Maintain) crossfading under a colour grade, film grain,
   vignette and a slow anamorphic light streak. Letterbox bars open on load and close a little as you scroll
   away. A chapter rail switches acts; a frosted tile cycles real AI-detection stills.
   Motion: assets/js/pages/solutions/solutions-hero.js. Everything here is the finished state; without JS the first act's
   poster shows and the bars stay open.
   ===================================================================== */
.sh { --sh-pink: var(--o4-red, #FF1F5A); --sh-ease: cubic-bezier(.2, .8, .2, 1);
  position: relative; isolation: isolate; overflow: hidden; min-height: min(100svh, 960px); display: flex; padding: 0; background: #020816; color: #fff; }

/* ---------- picture ---------- */
.sh__stage { position: absolute; inset: -3%; z-index: -5; }
.sh__scene { position: absolute; inset: 0; opacity: 0; }
.sh__scene.is-on { opacity: 1; }
.sh__scene video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.06) brightness(.82); }
/* colour grade: deep navy on the left for the title, darker floor for the rail, teal-and-pink tint */
.sh__grade { position: absolute; inset: 0; z-index: -4; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 8, 22, .92) 0%, rgba(2, 8, 22, .72) 34%, rgba(2, 8, 22, .2) 62%, rgba(2, 8, 22, .35) 100%),
    linear-gradient(180deg, rgba(2, 8, 22, .55) 0%, rgba(2, 8, 22, 0) 22%, rgba(2, 8, 22, 0) 58%, rgba(2, 8, 22, .94) 100%),
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, .55) 100%),
    linear-gradient(135deg, rgba(46, 94, 180, .18), rgba(255, 31, 90, .1)); }
/* anamorphic light streak drifting across */
.sh__streak { position: absolute; z-index: -3; left: -30%; top: 38%; width: 60%; height: 2px; pointer-events: none; opacity: .55;
  background: linear-gradient(90deg, transparent, rgba(126, 163, 230, .9) 40%, #fff 50%, rgba(255, 31, 90, .8) 60%, transparent);
  filter: blur(1.2px); box-shadow: 0 0 24px 6px rgba(126, 163, 230, .25); animation: sh-streak 14s linear infinite; }
@keyframes sh-streak { from { transform: translateX(0); } to { transform: translateX(260%); } }
/* film grain */
.sh__grain { position: absolute; inset: -50%; z-index: -2; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: sh-grain .9s steps(4) infinite; }
@keyframes sh-grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); } }
/* letterbox bars (scaled by the script: open on load, close slightly on scroll) */
.sh__bars i { position: absolute; left: 0; right: 0; z-index: 4; height: 50%; background: #000; transform: scaleY(0); pointer-events: none; }
.sh__bars i:first-child { top: 0; transform-origin: 50% 0; }
.sh__bars i:last-child { bottom: 0; transform-origin: 50% 100%; }

/* ---------- frame ---------- */
.sh__frame { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto;
  column-gap: clamp(24px, 4vw, 64px); padding-top: clamp(96px, 15vh, 150px); padding-bottom: clamp(18px, 3vh, 28px); min-height: inherit; }
.sh__copy { grid-column: 1; grid-row: 1; align-self: center; max-width: 760px; padding-bottom: clamp(16px, 3vh, 36px); }
.sh .p4-crumbs { margin-bottom: clamp(10px, 2vh, 18px); }
.sh .o4-kicker { margin-bottom: clamp(10px, 1.8vh, 16px); }

#main .sh__title { margin: 0; font-family: var(--display, var(--sans)); font-weight: 300; font-size: clamp(2.5rem, min(1.2rem + 4.2vw, 10vh), 5.6rem); line-height: 1.02; letter-spacing: -.04em; color: #fff; }
/* descenders (g, y, p): background-clip:text only paints inside the span's box and .sh__line clips overflow,
   so both get extra room below the baseline, pulled back with a negative margin so line spacing is unchanged */
.sh__line { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.2em; }
.sh__line > span { display: inline-block; padding-bottom: .18em; margin-bottom: -.18em;
  /* a band of light that sweeps across the title once it has risen in (background-position set by the script) */
  background: linear-gradient(100deg, #fff 0%, #fff 42%, #BFD3FF 50%, #fff 58%, #fff 100%) 100% 0 / 300% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent; }
#main .sh__title em { font-style: normal; font-weight: 700; background: linear-gradient(90deg, #ff7aa0, var(--sh-pink) 55%, #ff4a6d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sh__lede { margin: clamp(14px, 2.4vh, 22px) 0 0; max-width: 54ch; font-size: clamp(1rem, .95rem + .3vw, 1.2rem); line-height: 1.6; color: #C9D6EE; }
.sh__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(16px, 3vh, 28px); }
.sh__actions .btn { gap: 10px; }

/* ---------- AI detection tile ---------- */
.sh-ai { grid-column: 2; grid-row: 1; align-self: center; width: clamp(220px, 19vw, 290px); margin: 0; padding: 10px; border-radius: 18px;
  background: rgba(6, 18, 44, .55); border: 1px solid rgba(160, 190, 240, .22); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.sh-ai__top { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 9px; font: 600 .7rem/1 var(--o4-hud, ui-monospace, monospace); letter-spacing: .12em; text-transform: uppercase; color: #C9D6EE; }
.sh-ai__top span { display: inline-flex; align-items: center; gap: 8px; }
.sh-ai__top b { color: #fff; font-variant-numeric: tabular-nums; }
.sh-dot { width: 7px; height: 7px; border-radius: 50%; background: #2BD67B; box-shadow: 0 0 0 0 rgba(43, 214, 123, .6); animation: sh-live 1.8s ease-out infinite; }
@keyframes sh-live { to { box-shadow: 0 0 0 9px rgba(43, 214, 123, 0); } }
.sh-ai__view { position: relative; overflow: hidden; aspect-ratio: 296 / 173; border-radius: 10px; background: #0B1E4D; }
.sh-ai__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sh-ai__scan { position: absolute; left: 0; right: 0; top: 0; height: 30%; pointer-events: none;
  background: linear-gradient(180deg, rgba(43, 214, 123, 0), rgba(43, 214, 123, .28) 90%, rgba(43, 214, 123, .9) 100%); animation: sh-scan 2.6s linear infinite; }
@keyframes sh-scan { from { transform: translateY(-100%); } to { transform: translateY(340%); } }
.sh-ai__label { margin: 9px 4px 2px; font-weight: 700; font-size: .92rem; color: #fff; }

/* ---------- chapter rail ---------- */
.sh__rail { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: stretch; justify-content: space-between; gap: 24px; padding-top: clamp(14px, 2.4vh, 22px); border-top: 1px solid rgba(255, 255, 255, .14); }
.sh-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 24px); flex: 1 1 auto; max-width: 860px; margin: 0; padding: 0; list-style: none; }
.sh-act { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; width: 100%; height: 100%; padding: 0 0 14px; border: 0; background: none;
  color: rgba(255, 255, 255, .5); font: inherit; text-align: left; cursor: pointer; transition: color .4s ease; }
.sh-act:hover, .sh-act.is-on { color: #fff; }
.sh-act__n { font: 600 .74rem/1.6 var(--o4-hud, ui-monospace, monospace); letter-spacing: .1em; color: var(--sh-pink); }
.sh-act__t { display: flex; flex-direction: column; gap: 3px; font-family: var(--display, var(--sans)); font-weight: 600; font-size: clamp(1.02rem, .95rem + .35vw, 1.25rem); letter-spacing: -.01em; }
.sh-act__t small { font-family: var(--sans); font-weight: 400; font-size: .8rem; line-height: 1.4; color: rgba(201, 214, 238, .75); letter-spacing: 0; }
.sh-act__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; overflow: hidden; background: rgba(255, 255, 255, .16); }
.sh-act__bar b { position: absolute; inset: 0; background: var(--sh-pink); transform: scaleX(0); transform-origin: 0 50%; }
.sh-act.is-on .sh-act__bar b { transform: scaleX(1); }
.sh-act:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 6px; }

.sh-stats { display: flex; gap: 0; margin: 0; align-self: center; }
.sh-stats div { display: flex; flex-direction: column; gap: 2px; padding: 0 clamp(12px, 1.4vw, 20px); border-left: 1px solid rgba(255, 255, 255, .14); }
.sh-stats dt { order: 2; font-size: .72rem; color: #A9B9D6; white-space: nowrap; }
.sh-stats dd { order: 1; margin: 0; font-family: var(--display, var(--sans)); font-weight: 600; font-size: clamp(1.1rem, .95rem + .5vw, 1.5rem); letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.sh-stats dd i { font-style: normal; color: var(--sh-pink); }

/* opening start states, applied from first paint when JS is on (html.o4-js is set in the <head>) so the
   finished banner never flashes before the title sequence. solutions-hero.js animates them in, and adds
   .sh-static to drop them if motion is off or GSAP is missing. */
.o4-js .sh:not(.sh-static) .sh__bars i { transform: scaleY(1); }
.o4-js .sh:not(.sh-static) .sh__line > span { transform: translateY(110%); }
.o4-js .sh:not(.sh-static) [data-sh-in] { opacity: 0; }

/* ---------- smaller screens ---------- */
@media (max-width: 1240px) {
  .sh-stats { display: none; }   /* the rail keeps the three acts; the same figures appear across the site */
}
@media (max-height: 720px) and (min-width: 901px) {
  .sh-act__t small { display: none; }
  .sh-ai { width: clamp(200px, 16vw, 240px); }
  .sh__lede { font-size: 1rem; }
}
@media (max-width: 900px) {
  .sh { min-height: 0; }
  .sh__frame { grid-template-columns: 1fr; padding-top: 110px; }
  .sh-ai { display: none; }
  .sh__copy { padding-bottom: 28px; }
  .sh-acts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sh-act { grid-template-columns: 1fr; row-gap: 2px; }
  .sh-act__t small { display: none; }
  .sh__grade { background: linear-gradient(180deg, rgba(2, 8, 22, .6), rgba(2, 8, 22, .82) 50%, rgba(2, 8, 22, .96)), linear-gradient(135deg, rgba(46, 94, 180, .18), rgba(255, 31, 90, .1)); }
}

@media (prefers-reduced-motion: reduce) {
  .o4-js .sh .sh__bars i, .o4-js .sh .sh__line > span { transform: none; }
  .o4-js .sh [data-sh-in] { opacity: 1; }
  .sh__streak, .sh__grain, .sh-dot, .sh-ai__scan { animation: none; }
  .sh__streak { display: none; }
}

/* ======================== from solutions.css ======================== */
/* =====================================================================
   SOLUTIONS PAGE (solutions.html): the three story sections under the banner.
     01 .sol-cap  Capability board: six capabilities, each with a small live view, and the core
     02 .sol-ai   AI that never blinks: ten selectable detections over real camera views
     03 .sol-dlv  How we deliver: a pinned six-stage journey (large screens), a vertical story elsewhere
   Motion: assets/js/pages/solutions/solutions.js. Everything here is the finished state: without the script each
   section still reads top to bottom (first capability / detection / step shown).
   ===================================================================== */
.sol-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sol-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 16px 48px; align-items: end; }
.sol-head .o4-kicker { grid-column: 1 / -1; margin-bottom: 0; }
#main .sol-head .o4-sub { margin: 0; }

/* ================= 01 · CAPABILITY BOARD =================
   A grid of seven tiles: the SOC (large, dark), four capabilities, quick response (wide) and the core.
   Each tile has a small live view (.cap__viz) above its text. The live views only animate while the
   section is on screen (.sol-cap.is-live, set in solutions.js); otherwise they hold their first frame. */
.sol-cap { position: relative; isolation: isolate; overflow: hidden; background: #fff; padding-block: var(--pad); }
/* faint blueprint grid behind the board */
.sol-cap::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(46, 94, 180, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(46, 94, 180, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 65%, #000 20%, transparent 78%); mask-image: radial-gradient(70% 60% at 50% 65%, #000 20%, transparent 78%); }
.sol-cap:not(.is-live) .cap * , .sol-cap:not(.is-live) .cap *::before, .sol-cap:not(.is-live) .cap *::after { animation-play-state: paused !important; }

.cap-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.3vw, 18px); margin-top: clamp(32px, 4vw, 56px); }
.cap--soc    { grid-column: 1 / 7;  grid-row: 1 / 3; }
.cap--alerts { grid-column: 7 / 10; grid-row: 1; }
.cap--video  { grid-column: 10 / 13; grid-row: 1; }
.cap--talk   { grid-column: 7 / 10; grid-row: 2; }
.cap--access { grid-column: 10 / 13; grid-row: 2; }
.cap--qrt    { grid-column: 1 / 8;  grid-row: 3; }
.cap--core   { grid-column: 8 / 13; grid-row: 3; }

/* ---------- tile ---------- */
.cap { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  border-radius: 22px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(12, 27, 58, .03); transition: translate .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
/* pointer spotlight on the border */
.cap::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(46, 94, 180, .09), transparent 60%); }
.cap:hover { translate: 0 -4px; border-color: rgba(46, 94, 180, .28); box-shadow: 0 30px 60px -36px rgba(12, 27, 58, .45); }
.cap:hover::after { opacity: 1; }
.cap__viz { position: relative; height: 158px; margin: 10px 10px 0; border-radius: 15px; overflow: hidden; background: #F2F5FA; }
.cap__txt { position: relative; z-index: 1; padding: 18px 20px 22px; }
.cap__ic { width: 22px; height: 22px; margin-bottom: 10px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#main .cap h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.05rem, .98rem + .3vw, 1.22rem); line-height: 1.25; letter-spacing: -.01em; color: var(--ink); }
.cap p { margin: 6px 0 0; font-size: .92rem; line-height: 1.55; color: var(--muted); }

/* ---------- SOC: large dark tile with a mini wall ---------- */
.cap--soc { background: #06173F; border-color: #06173F; color: #fff; }
.cap--soc::after { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(156, 192, 255, .12), transparent 60%); }
.cap--soc .cap__viz { flex: 1; min-height: 280px; display: flex; flex-direction: column; gap: 10px; padding: 10px; background: #030b22; border: 1px solid rgba(156, 192, 255, .12); }
.cap--soc .cap__ic { stroke: #9CC0FF; }
#main .cap--soc h3 { color: #fff; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.75rem); }
.cap--soc p { color: rgba(214, 226, 255, .75); font-size: 1rem; max-width: 46ch; }
.cap-wall { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; }
.cap-wall__f { position: relative; overflow: hidden; border-radius: 9px; background: #000; outline: 2px solid transparent; outline-offset: -2px; }
.cap-wall__f img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.85); transform: scale(1.06); }
.cap-wall__f::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 3px); }
.cap-wall__f b { position: absolute; z-index: 1; left: 8px; top: 7px; font: 600 .62rem/1 var(--o4-hud); letter-spacing: .06em; color: #fff; text-shadow: 0 1px 2px #000; }
/* each feed takes a turn as the alerting one */
.cap-wall__f { animation: cap-alert 8s infinite; }
.cap-wall__f:nth-child(2) { animation-delay: 2s; }
.cap-wall__f:nth-child(3) { animation-delay: 4s; }
.cap-wall__f:nth-child(4) { animation-delay: 6s; }
@keyframes cap-alert { 0%, 24% { outline-color: var(--o4-red); } 25%, 100% { outline-color: transparent; } }
.cap-wall__bar { display: flex; align-items: center; gap: 12px; padding: 2px 4px; font: 600 .7rem/1 var(--o4-hud); letter-spacing: .05em; color: rgba(214, 226, 255, .7); }
.cap-wall__bar span { flex: 1; }
.cap-wall__bar time { color: #fff; font-variant-numeric: tabular-nums; }
@keyframes cap-pulse { 0% { box-shadow: 0 0 0 0 rgba(43, 217, 139, .6); } 70%, 100% { box-shadow: 0 0 0 7px rgba(43, 217, 139, 0); } }

/* ---------- Sensor alerts: a feed that scrolls up ---------- */
.cap-feed { margin: 0; padding: 8px 10px; list-style: none; animation: cap-feed 12s linear infinite; }
.cap--alerts .cap__viz::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(#F2F5FA, transparent 22%, transparent 78%, #F2F5FA); }
.cap-feed li { display: flex; align-items: center; gap: 9px; height: 40px; margin-bottom: 6px; padding: 0 12px; border-radius: 11px; background: #fff;
  box-shadow: 0 6px 14px -10px rgba(12, 27, 58, .35); font-size: .82rem; font-weight: 700; color: var(--ink); }
.cap-feed li i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #F5A524; }
.cap-feed li i.is-red { background: var(--o4-red); }
.cap-feed li span { margin-left: auto; font-weight: 500; color: var(--muted); font-size: .76rem; }
@keyframes cap-feed { to { transform: translateY(-276px); } }   /* six rows of 46px */

/* ---------- Video: a feed with a tracking box ---------- */
.cap-cam { position: absolute; inset: 0; background: #000; }
.cap-cam img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.cap-cam__rec { position: absolute; left: 10px; top: 9px; display: inline-flex; align-items: center; gap: 5px; font: 600 .62rem/1 var(--o4-hud); color: #fff; text-shadow: 0 1px 2px #000; }
.cap-cam__rec i { width: 6px; height: 6px; border-radius: 50%; background: #ff3b5c; animation: cap-rec 1.6s steps(2, start) infinite; }
@keyframes cap-rec { to { visibility: hidden; } }
.cap-cam__box { position: absolute; left: 66%; top: 26%; width: 16%; height: 62%; border: 2px solid #2bd98b; border-radius: 4px; animation: cap-track 7s ease-in-out infinite; }
.cap-cam__box b { position: absolute; left: -2px; bottom: 100%; padding: 2px 5px; background: #2bd98b; color: #04112F; font: 700 .58rem/1.2 var(--o4-hud); white-space: nowrap; border-radius: 3px 3px 0 0; }
@keyframes cap-track { 0%, 100% { transform: translate(0, 0); } 40% { transform: translate(-110%, 6%); } 70% { transform: translate(55%, -3%); } }

/* ---------- Two-way: waveform + message ---------- */
.cap-talk { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 14px 16px; }
.cap-talk__wave { display: flex; align-items: center; gap: 4px; height: 34px; }
.cap-talk__wave i { flex: 1; height: 100%; border-radius: 3px; background: var(--blue); transform-origin: 50% 50%; animation: cap-wave 1.1s ease-in-out infinite; }
.cap-talk__wave i:nth-child(3n) { animation-delay: -.3s; background: var(--o4-red); }
.cap-talk__wave i:nth-child(3n+1) { animation-delay: -.6s; }
.cap-talk__wave i:nth-child(4n) { animation-delay: -.85s; }
@keyframes cap-wave { 0%, 100% { transform: scaleY(.18); } 50% { transform: scaleY(1); } }
.cap-talk__msg { margin: 0; padding: 9px 12px; border-radius: 12px 12px 12px 3px; background: #fff; box-shadow: 0 6px 14px -10px rgba(12, 27, 58, .35); font-size: .8rem; line-height: 1.4; color: var(--ink); }
.cap-talk__msg b { display: block; margin-bottom: 2px; font-size: .68rem; color: var(--o4-red); }

/* ---------- Access: entry log, rows light up in turn ---------- */
.cap-log { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 7px; margin: 0; padding: 12px; list-style: none; }
.cap-log li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 8px; padding: 7px 11px; border-radius: 11px; background: #fff;
  font-size: .76rem; color: var(--ink); box-shadow: 0 6px 14px -12px rgba(12, 27, 58, .4); animation: cap-row 6s infinite; opacity: .55; }
.cap-log li:nth-child(2) { animation-delay: 2s; }
.cap-log li:nth-child(3) { animation-delay: 4s; }
.cap-log span { font-weight: 700; }
.cap-log em { grid-row: 2; font-style: normal; color: var(--muted); font-size: .7rem; }
.cap-log b { grid-row: 1 / 3; grid-column: 2; padding: 3px 8px; border-radius: 999px; font-size: .66rem; }
.cap-log .is-ok b { background: rgba(43, 217, 139, .16); color: #0f7a4a; }
.cap-log .is-no b { background: rgba(255, 31, 90, .12); color: #d0124a; }
@keyframes cap-row { 0%, 30% { opacity: 1; transform: translateX(4px); } 34%, 100% { opacity: .55; transform: none; } }

/* ---------- QRT: wide tile, map beside the text ---------- */
.cap--qrt { flex-direction: row-reverse; align-items: stretch; }
.cap--qrt .cap__viz { flex: 1.2; height: auto; min-height: 190px; margin: 10px 10px 10px 0; background: #E9EFF8; }
.cap--qrt .cap__txt { flex: 1; align-self: center; }
.cap-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.cap-map__streets path { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; }
.cap-map__route { fill: none; stroke: var(--blue); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: cap-route 5s ease-in-out infinite; }
@keyframes cap-route { 0% { stroke-dashoffset: 1; } 60%, 100% { stroke-dashoffset: 0; } }
.cap-map__van { fill: var(--blue); stroke: #fff; stroke-width: 2.5; offset-path: path("M30 175H60V100H150V40H240V70H300"); animation: cap-van 5s ease-in-out infinite; }
@keyframes cap-van { 0% { offset-distance: 0%; } 60%, 100% { offset-distance: 100%; } }
.cap-map__pin circle { fill: var(--o4-red); }
.cap-map__ping { opacity: .35; transform-origin: center; transform-box: fill-box; animation: cap-ping 1.8s ease-out infinite; }
@keyframes cap-ping { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(2.4); opacity: 0; } }
.cap-eta { position: absolute; left: 12px; bottom: 12px; display: flex; flex-direction: column; padding: 8px 12px; border-radius: 11px; background: #fff;
  box-shadow: 0 8px 18px -12px rgba(12, 27, 58, .4); font-size: .7rem; color: var(--muted); }
.cap-eta b { font-size: .92rem; color: var(--ink); }

/* ---------- Core: dark tile that ties the six together ---------- */
.cap--core { justify-content: center; background: linear-gradient(140deg, #0b2462, #06173F 60%); border-color: #06173F; color: #fff; }
.cap--core::after { background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 31, 90, .16), transparent 60%); }
#main .cap--core h3 { color: #fff; font-size: clamp(1.4rem, 1.15rem + .9vw, 2rem); }
.cap--core .cap__txt { padding: 28px clamp(22px, 2.4vw, 34px); }
.cap-core__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; padding: 0; list-style: none; }
.cap-core__chips li { padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); font-size: .84rem; color: rgba(255, 255, 255, .9); }
.cap-core__rings { position: absolute; right: -70px; top: 50%; width: 260px; aspect-ratio: 1; translate: 0 -50%; pointer-events: none; }
.cap-core__rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(156, 192, 255, .22); animation: cap-ring 4.5s ease-out infinite; }
.cap-core__rings i:nth-child(2) { animation-delay: 1.5s; }
.cap-core__rings i:nth-child(3) { animation-delay: 3s; }
@keyframes cap-ring { 0% { transform: scale(.35); opacity: 0; } 20% { opacity: 1; } 100% { transform: scale(1.1); opacity: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap--soc { grid-column: 1 / -1; grid-row: auto; }
  .cap--alerts, .cap--video, .cap--talk, .cap--access { grid-column: auto; grid-row: auto; }
  .cap--qrt, .cap--core { grid-column: 1 / -1; grid-row: auto; }
  .cap--soc .cap__viz { min-height: 320px; }
}
@media (max-width: 999px) { .sol-head { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .cap-grid { grid-template-columns: 1fr; }
  .cap--soc .cap__viz { min-height: 240px; }
  .cap--qrt { flex-direction: column; }
  .cap--qrt .cap__viz { flex: none; height: 170px; min-height: 0; margin: 10px 10px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cap *, .cap *::before, .cap *::after { animation: none !important; }
  .cap-map__route { stroke-dashoffset: 0; }
  .cap-map__van { offset-distance: 100%; }
  .cap-log li { opacity: 1; }
}

/* ================= 02 · AI THAT NEVER BLINKS ================= */
.sol-ai { position: relative; background: #fff; }
.sol-ai__shell { position: relative; isolation: isolate; overflow: hidden; background: #04112F; color: var(--o4-text); padding-block: clamp(40px, 4.5vw, 64px); }
.sol-ai__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 60% at 82% 35%, rgba(46, 94, 180, .38), transparent 70%),
    radial-gradient(40% 45% at 6% 100%, rgba(255, 31, 90, .13), transparent 70%),
    linear-gradient(rgba(156, 192, 255, .05) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(156, 192, 255, .05) 1px, transparent 1px) 0 0 / 64px 64px; }
#main .sol-ai .o4-h2 { color: #fff; font-size: clamp(2rem, 1.2rem + 2.2vw, 3.2rem); }
#main .sol-ai .o4-sub { margin-top: 12px; color: var(--o4-text-2); max-width: 44ch; font-size: 1rem; }
.sol-ai__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; }

/* pinned (scroll-driven) mode: the panel fills the screen under the fixed header and the camera view is
   sized by the screen height so everything fits on laptop displays */
.sol-ai.is-pinned .sol-ai__shell { box-sizing: border-box; height: 100vh; height: 100svh; display: flex; align-items: center; padding-block: clamp(80px, 11vh, 96px) 16px; }
.sol-ai.is-pinned .sol-ai__grid { width: 100%; }
.sol-ai.is-pinned .ai-view { width: 100%; max-width: calc((100svh - 230px) * 1.5); justify-self: end; }
.sol-ai.is-pinned .ai-tab[aria-selected="true"] .ai-tab__bar { opacity: 1; }
/* short laptop screens (e.g. 1280x590 at 150% scaling): tighter so the whole pinned panel fits */
@media (max-height: 680px) {
  .sol-ai.is-pinned .sol-ai__shell { padding-block: 84px 10px; }
  #main .sol-ai.is-pinned .o4-h2 { font-size: clamp(1.8rem, 1.1rem + 1.8vw, 2.6rem); }
  #main .sol-ai.is-pinned .o4-kicker { margin-bottom: 10px; }
  #main .sol-ai.is-pinned .o4-sub { margin-top: 8px; font-size: .92rem; }
  .sol-ai.is-pinned .ai-sel { margin-top: 14px; gap: 5px 8px; }
  .sol-ai.is-pinned .ai-tab { min-height: 36px; padding: 5px 10px; }
  .sol-ai.is-pinned .ai-view { max-width: calc((100svh - 200px) * 1.5); }
  .sol-ai.is-pinned .ai-cap { margin-top: -48px; padding-block: 12px; }
  .sol-ai.is-pinned .ai-note { display: none; }
}
/* phones and tablets: one column, so drop the paragraph and note while pinned and let the camera view fill the width */
@media (max-width: 999px) {
  .sol-ai.is-pinned .sol-ai__shell { align-items: flex-start; padding-block: 88px 12px; }
  #main .sol-ai.is-pinned .o4-sub, .sol-ai.is-pinned .ai-note { display: none; }
  #main .sol-ai.is-pinned .o4-h2 { font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.4rem); }
  .sol-ai.is-pinned .sol-ai__grid { gap: 16px; }
  .sol-ai.is-pinned .ai-view { max-width: none; justify-self: stretch; }
  .sol-ai.is-pinned .ai-cap { margin-top: -34px; }
}
.ai-sel { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 8px; margin-top: clamp(18px, 2vw, 26px); }
.ai-tab { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 7px 11px; border-radius: 10px;
  border: 1px solid transparent; background: rgba(255, 255, 255, .035); color: var(--o4-text-2); font: inherit; font-size: .86rem; font-weight: 500; line-height: 1.2; text-align: left; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s; }
.ai-tab:hover { background: rgba(255, 255, 255, .075); color: #fff; }
.ai-tab[aria-selected="true"] { background: rgba(156, 192, 255, .12); border-color: rgba(156, 192, 255, .3); color: #fff; }
.ai-tab:focus-visible { outline: 2px solid #9CC0FF; outline-offset: 2px; }
.ai-tab__n { font-family: var(--o4-hud); font-size: .68rem; letter-spacing: .06em; color: #6F86B3; transition: color .25s; }
.ai-tab[aria-selected="true"] .ai-tab__n { color: var(--o4-red); }
.ai-tab[aria-selected="true"] .ai-tab__ic { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ai-tab__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--o4-red); transform: scaleX(0); transform-origin: 0 50%; }
.ai-tab[aria-selected="true"] .ai-tab__bar { transform: scaleX(1); opacity: .6; }
.ai-sel.is-auto .ai-tab[aria-selected="true"] .ai-tab__bar { opacity: 1; animation: ai-prog var(--ai-dur, 5.5s) linear both; }
.ai-sel.is-paused .ai-tab__bar { animation-play-state: paused; }
@keyframes ai-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.ai-view { position: relative; min-width: 0; }
.ai-view__frame { position: relative; aspect-ratio: 3 / 2; border-radius: 22px; overflow: hidden; background: #020816;
  box-shadow: 0 60px 110px -50px rgba(0, 0, 0, .9), 0 0 0 1px rgba(156, 192, 255, .18); }
.ai-view__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  filter: saturate(.85) contrast(1.05) brightness(.82); transform: scale(1.06); transition: opacity .7s var(--ease), transform 7s linear; }
.ai-view__media img.is-on { opacity: 1; transform: scale(1); }
.ai-view__media img.ai-view__img--tamper.is-on { animation: ai-tamper 1.4s .6s var(--ease) both; }
@keyframes ai-tamper {
  0% { transform: none; filter: saturate(.85) contrast(1.05) brightness(.82); }
  25% { transform: translate(-1.5%, 1%) rotate(-1.5deg) scale(1.04); }
  100% { transform: translate(3%, 4%) rotate(-6deg) scale(1.18); filter: blur(3px) saturate(.4) brightness(.55); } }

.ai-ov { position: absolute; inset: 0; width: 100%; height: 100%; font-family: var(--o4-hud); }
.ai-g { opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.ai-g.is-on { opacity: 1; visibility: visible; transition: opacity .45s .15s; }
.ai-box { fill: none; stroke: rgba(255, 255, 255, .8); stroke-width: 2; }
.ai-box--warn { stroke: #FF1F5A; }
.ai-box--ok { stroke: #2BD98B; }
.ai-box--soft { stroke: #9CC0FF; stroke-dasharray: 10 7; }
.ai-br { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.ai-br--warn { stroke: #FF1F5A; }
.ai-st { fill: none; stroke: #9CC0FF; stroke-width: 3; stroke-linecap: round; }
.ai-st--warn { stroke: #FF1F5A; }
.ai-trail circle { fill: #9CC0FF; opacity: .7; }
.ai-pts circle { fill: #2BD98B; }
.ai-pts path { fill: none; stroke: rgba(43, 217, 139, .65); stroke-width: 1.5; }
.ai-sweep { fill: rgba(43, 217, 139, .85); }
.ai-tag rect { fill: rgba(3, 12, 34, .84); stroke: rgba(255, 255, 255, .28); }
.ai-tag text { fill: #fff; font-size: 20px; letter-spacing: .04em; }
.ai-tag--ok rect { fill: #2BD98B; stroke: none; } .ai-tag--ok text { fill: #032414; font-weight: 700; }
.ai-tag--warn rect { fill: #FF1F5A; stroke: none; } .ai-tag--warn text { font-weight: 700; }
.ai-tag--soft rect { fill: #9CC0FF; stroke: none; } .ai-tag--soft text { fill: #04112F; font-weight: 700; }
.ai-panel rect { fill: rgba(3, 12, 34, .8); stroke: rgba(156, 192, 255, .32); }
.ai-k { fill: #9CC0FF; font-size: 18px; letter-spacing: .12em; }
.ai-v { fill: #fff; font-family: var(--sans); font-size: 28px; font-weight: 600; }
.ai-mid { text-anchor: middle; font-family: var(--o4-hud); }
.ai-zone { fill: rgba(156, 192, 255, .12); stroke: #9CC0FF; stroke-width: 2.5; stroke-dasharray: 12 9; }
.ai-zone--warn { fill: rgba(255, 31, 90, .13); stroke: #FF1F5A; }
.ai-ico, .ai-ico-warn { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ai-ico { stroke: #fff; stroke-width: 1.4; }
.ai-ico-warn { stroke: #FF1F5A; stroke-width: 2; }
.ai-dots circle { fill: rgba(255, 255, 255, .95); stroke: #FF1F5A; stroke-width: 3; }
.ai-meter rect { fill: #FF1F5A; }
.ai-meter rect.off { fill: rgba(255, 255, 255, .18); }
.ai-ping { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; }
.ai-wave rect { fill: #9CC0FF; }
.ai-ring-bg { fill: rgba(3, 12, 34, .78); stroke: rgba(255, 255, 255, .18); stroke-width: 9; }
.ai-ring { fill: none; stroke: #FF1F5A; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: .12; }
.ai-ghost { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 2; stroke-dasharray: 16 10; }
.ai-noise rect { fill: rgba(255, 255, 255, .16); }
.ai-alarm > rect { fill: rgba(3, 12, 34, .88); stroke: #FF1F5A; stroke-width: 2.5; }
.ai-alarm .ai-v { font-size: 36px; letter-spacing: .02em; }
.ai-panel .ai-plate { fill: #F5F7FB; stroke: #0C1B3A; stroke-width: 3; }
.ai-plate__t { fill: #0C1B3A; font-size: 44px; font-weight: 700; letter-spacing: .06em; text-anchor: middle; }

/* each state animates in when it becomes active (the animations restart every time .is-on is set) */
.ai-g.is-on .ai-dr { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ai-draw 1.5s .35s var(--ease) forwards; }
.ai-g.is-on .ai-box, .ai-g.is-on .ai-zone, .ai-g.is-on .ai-ghost { animation: ai-in .6s .1s var(--ease) both; }
.ai-g.is-on .ai-br { animation: ai-lock .7s var(--ease) both; transform-box: fill-box; transform-origin: center; }
.ai-g.is-on .ai-tag, .ai-g.is-on .ai-panel, .ai-g.is-on .ai-alarm { animation: ai-rise .6s .45s var(--ease) both; }
.ai-g.is-on .ai-panel { animation-delay: .7s; }
.ai-g.is-on .ai-sweep { animation: ai-sweep 2.2s ease-in-out infinite alternate; }
.ai-g.is-on .ai-pts, .ai-g.is-on .ai-trail { animation: ai-in .5s .8s both; }
.ai-g.is-on .ai-zone { animation: ai-in .6s both, ai-march 1.4s linear infinite; }
.ai-g.is-on .ai-heat { transform-box: fill-box; transform-origin: center; animation: ai-heat 3.2s ease-in-out infinite alternate; }
.ai-g.is-on .ai-dots circle { transform-box: fill-box; transform-origin: center; animation: ai-pop .45s var(--ease) both; }
.ai-g.is-on .ai-dots circle:nth-child(3n+1) { animation-delay: .15s; }
.ai-g.is-on .ai-dots circle:nth-child(3n+2) { animation-delay: .35s; }
.ai-g.is-on .ai-dots circle:nth-child(3n) { animation-delay: .55s; }
.ai-g.is-on .ai-meter rect:not(.off) { animation: ai-in .2s both; }
.ai-g.is-on .ai-meter rect:nth-child(2) { animation-delay: .9s; } .ai-g.is-on .ai-meter rect:nth-child(3) { animation-delay: 1s; }
.ai-g.is-on .ai-meter rect:nth-child(4) { animation-delay: 1.1s; } .ai-g.is-on .ai-meter rect:nth-child(5) { animation-delay: 1.2s; }
.ai-g.is-on .ai-meter rect:nth-child(6) { animation-delay: 1.3s; } .ai-g.is-on .ai-meter rect:nth-child(7) { animation-delay: 1.4s; }
.ai-g.is-on .ai-ping { animation: ai-ping 1.8s ease-out infinite; }
.ai-g.is-on .ai-ping--2 { animation-delay: .3s; }
.ai-g.is-on .ai-ping--3 { animation-delay: .6s; }
.ai-g.is-on .ai-wave rect { transform-box: fill-box; transform-origin: center; animation: ai-wave .8s ease-in-out infinite alternate; }
.ai-g.is-on .ai-wave rect:nth-child(odd) { animation-duration: .6s; }
.ai-g.is-on .ai-wave rect:nth-child(3n) { animation-delay: -.3s; }
.ai-g.is-on .ai-wave rect:nth-child(4n) { animation-duration: 1.1s; }
.ai-g.is-on .ai-ring { animation: ai-ring 2.4s .3s var(--ease) both; }
.ai-g.is-on .ai-noise rect { animation: ai-noise .5s steps(3) infinite; }
.ai-g.is-on .ai-noise rect:nth-child(2) { animation-delay: -.2s; }
.ai-g.is-on .ai-alarm { animation: ai-rise .6s 1.2s var(--ease) both; }
@keyframes ai-draw { to { stroke-dashoffset: 0; } }
@keyframes ai-in { from { opacity: 0; } }
@keyframes ai-lock { from { opacity: 0; transform: scale(1.25); } }
@keyframes ai-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes ai-sweep { from { transform: translateY(0); } to { transform: translateY(187px); } }
@keyframes ai-march { to { stroke-dashoffset: -42; } }
@keyframes ai-heat { from { opacity: .65; transform: scale(.9); } to { opacity: 1; transform: scale(1.08); } }
@keyframes ai-pop { from { opacity: 0; transform: scale(0); } }
@keyframes ai-ping { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ai-wave { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
@keyframes ai-ring { from { stroke-dashoffset: 1; } to { stroke-dashoffset: .12; } }
@keyframes ai-noise { 0% { transform: translateY(0); opacity: .2; } 50% { transform: translateY(120px); opacity: .8; } 100% { transform: translateY(-80px); opacity: .3; } }

.ai-hud { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px;
  font-family: var(--o4-hud); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #fff;
  background: linear-gradient(rgba(2, 8, 22, .7), rgba(2, 8, 22, 0)); pointer-events: none; }
.ai-hud__rec { display: inline-flex; align-items: center; gap: 8px; }
.ai-hud__rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--o4-red); animation: ai-blink 1.2s steps(2) infinite; }
.ai-hud__rec b { font-weight: 400; color: #C9D6EE; }
@keyframes ai-blink { 50% { opacity: .15; } }
.ai-view__scan { position: absolute; left: 0; right: 0; top: -30%; height: 30%; pointer-events: none;
  background: linear-gradient(rgba(156, 192, 255, 0), rgba(156, 192, 255, .05) 85%, rgba(156, 192, 255, .22) 100%); animation: ai-scan 6s linear infinite; }
@keyframes ai-scan { to { transform: translateY(433%); } }

/* caption card overlapping the bottom of the camera view */
.ai-cap { position: relative; z-index: 2; width: min(430px, 78%); margin: -58px 0 0 clamp(-40px, -2.4vw, -12px); padding: 16px 96px 16px 20px;
  border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .75); }
.ai-cap__n { font-family: var(--o4-hud); font-size: .74rem; letter-spacing: .12em; color: var(--o4-red); }
.ai-cap__n i { font-style: normal; color: #8A98B2; }
#main .ai-cap h3 { margin: 6px 0 6px; font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 1rem + .45vw, 1.4rem); line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }
.ai-cap p { margin: 0; font-size: .94rem; line-height: 1.55; color: var(--muted); }
.ai-cap__ctl { position: absolute; right: 16px; top: 16px; display: flex; gap: 6px; }
.ai-cap__btn { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ai-cap__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ai-cap__btn[data-ai-prev] svg { transform: rotate(180deg); }
.ai-cap__btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.ai-cap__btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ai-note { margin: 8px 0 0; text-align: right; font-size: .78rem; color: #7F91B4; }

@media (max-width: 999px) {
  .sol-ai__grid { grid-template-columns: minmax(0, 1fr); }
  .sol-ai__copy { min-width: 0; }
  .ai-sel { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; }
  .ai-sel::-webkit-scrollbar { display: none; }
  .ai-tab { flex: none; scroll-snap-align: start; white-space: nowrap; }
  .ai-cap { width: auto; margin: -44px 12px 0; }
  .ai-note { text-align: left; }
  .ai-tag text { font-size: 26px; }
}
@media (max-width: 560px) {
  .ai-view__frame { border-radius: 16px; }
  .ai-cap { margin: -28px 8px 0; padding: 18px 18px 18px; }
  .ai-cap__ctl { position: static; margin-top: 14px; }
  .ai-hud { padding: 10px 12px; font-size: .62rem; }
  .ai-panel, .ai-alarm .ai-k { display: none; }
}

/* ================= 03 · HOW WE DELIVER ================= */
.sol-dlv { position: relative; background: #fff; }
.sol-dlv__pin { padding-block: var(--pad); }
.dlv-count, .dlv-nav, .dlv-media { display: none; }
.dlv-head { max-width: 760px; }
.dlv-steps { list-style: none; margin: clamp(24px, 3vw, 40px) 0 0; padding: 0; display: grid; gap: clamp(28px, 4vw, 48px); }
.dlv-step { display: grid; gap: 6px; }
.dlv-step__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; margin-bottom: 14px; background: var(--mist); }
.dlv-step__n { font-family: var(--o4-hud); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--o4-red); }
#main .dlv-step h3 { margin: 2px 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
.dlv-step p { margin: 0; max-width: 34ch; font-size: 1rem; line-height: 1.55; color: var(--muted); }
.dlv-step__list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dlv-step__list li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: .8rem; font-weight: 600; color: var(--ink); }
.dlv-step__list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--o4-red); box-shadow: 0 0 0 3px rgba(255, 31, 90, .15); }
.sol-dlv.is-pinned .dlv-step.is-on .dlv-step__list li { animation: dlv-up .5s var(--ease) both; }
.sol-dlv.is-pinned .dlv-step.is-on .dlv-step__list li:nth-child(1) { animation-delay: .35s; }
.sol-dlv.is-pinned .dlv-step.is-on .dlv-step__list li:nth-child(2) { animation-delay: .45s; }
.sol-dlv.is-pinned .dlv-step.is-on .dlv-step__list li:nth-child(3) { animation-delay: .55s; }
.sol-dlv.is-ready:not(.is-pinned) .dlv-step { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.sol-dlv.is-ready:not(.is-pinned) .dlv-step.is-in { opacity: 1; transform: none; }
@media (min-width: 700px) {
  .sol-dlv:not(.is-pinned) .dlv-step { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: 1fr auto auto auto auto 1fr; column-gap: clamp(28px, 4vw, 64px); row-gap: 8px; }
  .sol-dlv:not(.is-pinned) .dlv-step__img { grid-row: 1 / -1; margin: 0; }
  .sol-dlv:not(.is-pinned) .dlv-step__n { grid-row: 2; }
  .sol-dlv:not(.is-pinned) .dlv-step h3 { grid-row: 3; }
  .sol-dlv:not(.is-pinned) .dlv-step p { grid-row: 4; }
  .sol-dlv:not(.is-pinned) .dlv-step__list { grid-row: 5; align-self: start; }
  .sol-dlv:not(.is-pinned) .dlv-step > :not(img) { grid-column: 2; }
  .sol-dlv:not(.is-pinned) .dlv-step:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .sol-dlv:not(.is-pinned) .dlv-step:nth-child(even) .dlv-step__img { grid-column: 2; }
  .sol-dlv:not(.is-pinned) .dlv-step:nth-child(even) > :not(img) { grid-column: 1; }
}

/* pinned journey (set by the script on large, tall-enough screens) */
.sol-dlv.is-pinned .sol-dlv__pin { box-sizing: border-box; height: 100vh; height: 100svh; padding: clamp(82px, 11vh, 100px) 0 clamp(16px, 3vh, 32px); display: flex; }
.sol-dlv.is-pinned .sol-dlv__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); width: 100%; height: 100%; }
.sol-dlv.is-pinned .dlv-media { grid-column: 1; grid-row: 1; }
.sol-dlv.is-pinned .dlv-left { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; min-height: 0; }
#main .sol-dlv.is-pinned .o4-h2 { font-size: clamp(1.7rem, 1rem + 1.6vw, 2.6rem); }
.sol-dlv.is-pinned .dlv-count { display: flex; align-items: flex-end; gap: 10px; margin-top: auto; }
.dlv-count__win { display: block; height: 1em; overflow: hidden; font-family: var(--display); font-weight: 200; font-size: clamp(3rem, 1.4rem + 3.2vw, 5rem); line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.dlv-count__track { display: flex; flex-direction: column; transition: transform .8s cubic-bezier(.7, 0, .2, 1); }
.dlv-count__track span { display: block; height: 1em; }
.dlv-count__of { padding-bottom: .9em; font-family: var(--o4-hud); font-size: .85rem; color: #8A98B2; }
.sol-dlv.is-pinned .dlv-steps { display: grid; margin: 10px 0 auto; gap: 0; }
.sol-dlv.is-pinned .dlv-step { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(26px); clip-path: inset(0 0 100% 0);
  transition: opacity .45s, transform .6s var(--ease), clip-path .6s var(--ease), visibility 0s .6s; }
.sol-dlv.is-pinned .dlv-step.is-on { opacity: 1; visibility: visible; transform: none; clip-path: inset(0 0 -10% 0); transition: opacity .5s .15s, transform .7s .15s var(--ease), clip-path .8s .15s var(--ease); }
.sol-dlv.is-pinned .dlv-step__img, .sol-dlv.is-pinned .dlv-step__n { display: none; }
.sol-dlv.is-pinned .dlv-step p { font-size: clamp(1rem, .94rem + .2vw, 1.12rem); }
#main .sol-dlv.is-pinned .dlv-step h3 { font-size: clamp(1.5rem, 1.1rem + 1vw, 2.1rem); }

.sol-dlv.is-pinned .dlv-nav { display: block; margin-top: 14px; }
.dlv-nav__bar { position: relative; display: block; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.dlv-nav__bar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue), var(--o4-red)); transform: scaleX(calc(var(--p, 0) * .8333)); transform-origin: 0 50%; }
.dlv-nav ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.dlv-nav button { position: relative; display: block; width: 100%; padding: 16px 0 4px; border: 0; background: none; font: inherit; font-size: .8rem; font-weight: 600; text-align: left; color: #8A98B2; cursor: pointer; transition: color .25s; }
/* one dot per step on the progress line: grey ahead, red once reached, ringed for the current step */
.dlv-nav button::before { content: ""; position: absolute; left: 0; top: -7px; width: 12px; height: 12px; box-sizing: border-box; border-radius: 50%;
  background: #fff; border: 2px solid #C9D3E3; transition: background .3s, border-color .3s, box-shadow .3s, transform .3s; }
.dlv-nav button:hover::before { border-color: var(--blue); }
.dlv-nav button.is-done::before { background: var(--o4-red); border-color: var(--o4-red); }
.dlv-nav button[aria-current]::before { transform: scale(1.25); box-shadow: 0 0 0 5px rgba(255, 31, 90, .18); }
.dlv-nav button b { display: block; margin-bottom: 2px; font-family: var(--o4-hud); font-size: .7rem; font-weight: 400; color: #AEB9CC; transition: color .25s; }
.dlv-nav button:hover, .dlv-nav button[aria-current] { color: var(--ink); }
.dlv-nav button[aria-current] b { color: var(--o4-red); }
.dlv-nav button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.sol-dlv.is-pinned .dlv-media { display: block; position: relative; min-height: 0; height: 100%; border-radius: 26px; overflow: hidden; background: #0A1838;
  box-shadow: 0 50px 90px -50px rgba(12, 27, 58, .6); }
.dlv-scene { position: absolute; inset: 0; visibility: hidden; z-index: 0; }
.dlv-scene.is-prev { visibility: visible; z-index: 1; }
.dlv-scene.is-on { visibility: visible; z-index: 2; animation: dlv-wipe 1s cubic-bezier(.7, 0, .2, 1) both; }
/* scrolling back up, the earlier scene wipes in from the top instead */
.sol-dlv.is-back .dlv-scene.is-on { animation-name: dlv-wipe-back; }
.dlv-scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(4, 17, 47, .1), rgba(4, 17, 47, 0) 40%, rgba(4, 17, 47, .45)); }
.dlv-scene__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dlv-scene.is-on .dlv-scene__img { animation: dlv-zoom 1.6s var(--ease) both; }
@keyframes dlv-wipe { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes dlv-wipe-back { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes dlv-zoom { from { transform: scale(1.16); } to { transform: scale(1); } }
@keyframes dlv-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes dlv-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.dlv-card { position: absolute; z-index: 2; margin: 0; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .94); color: var(--ink);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 30px 60px -30px rgba(3, 12, 34, .7); }
.dlv-card__k { margin: 0 0 10px; font-family: var(--o4-hud); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dlv-card__foot { display: flex; justify-content: space-between; gap: 12px; margin: 10px 0 0; font-family: var(--o4-hud); font-size: .7rem; letter-spacing: .06em; }
.dlv-scene.is-on .dlv-card, .dlv-scene.is-on .dlv-docs { animation: dlv-up .7s .55s var(--ease) both; }

/* 01 blueprint */
.dlv-card--plan { left: 20px; bottom: 20px; width: min(46%, 330px); background: #0A2A6B; color: #fff;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 18px 18px; }
.dlv-card--plan .dlv-card__k, .dlv-card--plan .dlv-card__foot { color: #9CC0FF; }
.dlv-plan { display: block; width: 100%; height: auto; overflow: visible; }
.dlv-plan__wall { fill: none; stroke: #fff; stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.dlv-plan__wall--in { stroke-width: 2; opacity: .7; }
.dlv-plan__cones path { fill: rgba(255, 31, 90, .22); stroke: rgba(255, 31, 90, .7); stroke-width: 1; }
.dlv-plan__cams circle { fill: #FF1F5A; stroke: #fff; stroke-width: 2; }
.dlv-plan__dim { fill: none; stroke: #9CC0FF; stroke-width: 1.5; stroke-dasharray: 1; }
.dlv-plan__t { fill: #9CC0FF; font-family: var(--o4-hud); font-size: 13px; text-anchor: middle; }
.dlv-scene.is-on .dlv-plan__wall { animation: dlv-draw 1.4s .8s var(--ease) both; }
.dlv-scene.is-on .dlv-plan__wall--in { animation-delay: 1.3s; }
.dlv-scene.is-on .dlv-plan__dim { animation: dlv-draw 1s 1.6s var(--ease) both; }
.dlv-scene.is-on .dlv-plan__cones path { animation: ai-in .6s both; }
.dlv-scene.is-on .dlv-plan__cones path:nth-child(1) { animation-delay: 1.8s; } .dlv-scene.is-on .dlv-plan__cones path:nth-child(2) { animation-delay: 2s; }
.dlv-scene.is-on .dlv-plan__cones path:nth-child(3) { animation-delay: 2.2s; } .dlv-scene.is-on .dlv-plan__cones path:nth-child(4) { animation-delay: 2.4s; }
.dlv-scene.is-on .dlv-plan__cones path:nth-child(5) { animation-delay: 2.6s; }
.dlv-scene.is-on .dlv-plan__cams circle { transform-box: fill-box; transform-origin: center; animation: ai-pop .4s 1.6s var(--ease) both; }

/* 02 supply: labelled kit */
.dlv-pin { position: absolute; z-index: 2; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 7px 13px 7px 10px; border-radius: 999px; background: rgba(3, 12, 34, .78); color: #fff; font-size: .8rem; font-weight: 600;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dlv-pin::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--o4-red); box-shadow: 0 0 0 4px rgba(255, 31, 90, .3); }
.dlv-scene.is-on .dlv-pin { animation: dlv-up .6s var(--ease) both; }
.dlv-scene.is-on .dlv-pin:nth-of-type(1) { animation-delay: .7s; } .dlv-scene.is-on .dlv-pin:nth-of-type(2) { animation-delay: .85s; }
.dlv-scene.is-on .dlv-pin:nth-of-type(3) { animation-delay: 1s; } .dlv-scene.is-on .dlv-pin:nth-of-type(4) { animation-delay: 1.15s; }
.dlv-card--chip { right: 24px; bottom: 24px; display: flex; align-items: center; gap: 12px; font-size: .85rem; color: var(--muted); }
.dlv-card--chip svg { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: #2BD98B; fill: none; stroke: #032414; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.dlv-card--chip b { display: block; color: var(--ink); font-size: .95rem; }

/* 03 installation: cable run + sequence */
.dlv-wire { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.dlv-wire path { fill: none; stroke: #9CC0FF; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; }
.dlv-wire circle { fill: var(--o4-red); stroke: #fff; stroke-width: 3; }
.dlv-scene.is-on .dlv-wire path { animation: dlv-draw 1.6s .7s var(--ease) both; }
.dlv-card--seq { left: 24px; bottom: 24px; display: flex; gap: 8px; padding: 8px; list-style: none; counter-reset: seq; border-radius: 999px; }
.dlv-card--seq li { counter-increment: seq; padding: 8px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; background: var(--mist); }
.dlv-card--seq li::before { content: "0" counter(seq) " "; font-family: var(--o4-hud); font-size: .7rem; color: var(--o4-red); }
.dlv-card--seq li:last-child { background: var(--ink); color: #fff; }

/* 04 testing: checklist */
.dlv-card--test { right: 24px; bottom: 24px; width: min(52%, 330px); }
.dlv-card--test ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.dlv-card--test li { display: grid; grid-template-columns: 1fr 56px auto; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; }
.dlv-card--test li i { position: relative; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.dlv-card--test li i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: #2BD98B; transform-origin: 0 50%; }
.dlv-card--test li b { font-family: var(--o4-hud); font-size: .7rem; color: #12935A; }
.dlv-scene.is-on .dlv-card--test li i::after { animation: dlv-fill .8s var(--ease) both; }
.dlv-scene.is-on .dlv-card--test li b { animation: ai-in .3s both; }
.dlv-scene.is-on .dlv-card--test li:nth-child(1) i::after { animation-delay: .9s; } .dlv-scene.is-on .dlv-card--test li:nth-child(1) b { animation-delay: 1.6s; }
.dlv-scene.is-on .dlv-card--test li:nth-child(2) i::after { animation-delay: 1.2s; } .dlv-scene.is-on .dlv-card--test li:nth-child(2) b { animation-delay: 1.9s; }
.dlv-scene.is-on .dlv-card--test li:nth-child(3) i::after { animation-delay: 1.5s; } .dlv-scene.is-on .dlv-card--test li:nth-child(3) b { animation-delay: 2.2s; }
.dlv-scene.is-on .dlv-card--test li:nth-child(4) i::after { animation-delay: 1.8s; } .dlv-scene.is-on .dlv-card--test li:nth-child(4) b { animation-delay: 2.5s; }
.dlv-card--test .dlv-card__foot span { color: #12935A; font-weight: 700; }
@keyframes dlv-fill { from { transform: scaleX(0); } }

/* 05 handover: document layers */
.dlv-docs { position: absolute; z-index: 2; right: 24px; bottom: 24px; display: grid; gap: 8px; }
.dlv-doc { display: flex; align-items: center; gap: 12px; width: 250px; padding: 13px 16px; border-radius: 12px; background: #fff; color: var(--ink); font-size: .9rem; font-weight: 600;
  box-shadow: 0 20px 40px -24px rgba(3, 12, 34, .7); border-left: 3px solid var(--blue); }
.dlv-doc span { font-family: var(--o4-hud); font-size: .7rem; color: var(--o4-red); }
.dlv-doc:nth-child(2) { margin-left: -22px; }
.dlv-doc:nth-child(3) { margin-left: -44px; border-left-color: var(--o4-red); }
.dlv-scene.is-on .dlv-doc { animation: dlv-slide .7s var(--ease) both; }
.dlv-scene.is-on .dlv-doc:nth-child(1) { animation-delay: .8s; } .dlv-scene.is-on .dlv-doc:nth-child(2) { animation-delay: 1s; } .dlv-scene.is-on .dlv-doc:nth-child(3) { animation-delay: 1.2s; }
@keyframes dlv-slide { from { opacity: 0; transform: translateX(40px); } }

/* 06 AMC & support: calm status */
.dlv-card--amc { left: 24px; top: 24px; width: min(46%, 300px); }
.dlv-card--amc .dlv-card__k { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.dlv-card--amc .dlv-card__k i { width: 8px; height: 8px; border-radius: 50%; background: #2BD98B; box-shadow: 0 0 0 4px rgba(43, 217, 139, .25); }
.dlv-beat { display: block; width: 100%; height: 44px; }
.dlv-beat path { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.dlv-scene.is-on .dlv-beat path { animation: dlv-draw 2.4s .8s linear infinite; }
.dlv-card--amc dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 0; }
.dlv-card--amc dt { font-family: var(--o4-hud); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: #8A98B2; }
.dlv-card--amc dd { margin: 2px 0 0; font-weight: 700; font-size: .92rem; }

@media (prefers-reduced-motion: reduce) {
  .ai-view__scan, .ai-hud__rec i { animation: none; }
  .ai-g.is-on *, .ai-view__media img.ai-view__img--tamper.is-on, .dlv-scene.is-on, .dlv-scene.is-on * { animation-duration: .01s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
  .ai-view__media img { transition: opacity .2s; transform: none; }
}

/* ================= BRIDGE · TUNED TO YOUR INDUSTRY (.sol-ind) =================
   A normal-scrolling breather between the two pinned sections: seven panels side by side; the active one
   opens wide (navy) with the sector's focus areas, the rest stay slim with a vertical name. Stacks on small screens. */
.sol-ind { position: relative; background: var(--mist); padding-block: clamp(48px, 5.5vw, 80px); }
.ind { list-style: none; margin: clamp(22px, 3vw, 36px) 0 0; padding: 0; display: flex; gap: 10px; height: clamp(320px, 52vh, 400px); }
.ind__p { position: relative; isolation: isolate; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 20px; background: #0A1838; color: #fff;
  box-shadow: 0 20px 40px -30px rgba(12, 27, 58, .5); transition: flex-grow .7s cubic-bezier(.7, 0, .2, 1), box-shadow .4s; }
.ind__p.is-on { flex-grow: 5.2; box-shadow: 0 40px 70px -40px rgba(4, 15, 43, .8); }
/* sector photo behind every card: muted and dark when slim, full colour when open (text side kept dark for contrast) */
.ind__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.55) brightness(.9); transform: scale(1.14); transition: transform 1.2s var(--ease), filter .6s; }
.ind__p::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; transition: opacity .5s;
  background: linear-gradient(180deg, rgba(4, 15, 43, .5) 0%, rgba(4, 15, 43, .62) 45%, rgba(4, 15, 43, .9) 100%); }
.ind__p::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: linear-gradient(90deg, rgba(4, 15, 43, .95) 0%, rgba(4, 15, 43, .82) 40%, rgba(4, 15, 43, .3) 75%, rgba(4, 15, 43, .15) 100%),
              linear-gradient(0deg, rgba(4, 15, 43, .6), rgba(4, 15, 43, 0) 40%); }
.ind__p:not(.is-on):hover .ind__bg { transform: scale(1.06); filter: saturate(.9) brightness(1); }
.ind__p:not(.is-on):hover::after { opacity: .75; }
.ind__p.is-on .ind__bg { transform: scale(1); filter: none; }
.ind__p.is-on::after { opacity: 0; }
.ind__p.is-on::before { opacity: 1; }

/* slim (closed) panel: the whole panel is the button */
.ind__tab { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 20px 0; border: 0; background: none;
  color: #fff; font: inherit; text-align: left; cursor: pointer; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.ind__n { font-family: var(--o4-hud); font-size: .72rem; letter-spacing: .08em; color: #C9D6EE; }
.ind__ic { flex: none; width: 24px; height: 24px; fill: none; stroke: #9CC0FF; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ind__name { margin-top: auto; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; }
.ind__count { display: none; }
.ind__tab:focus-visible { outline: 2px solid #9CC0FF; outline-offset: -5px; border-radius: 20px; }

/* open panel */
.ind__p.is-on .ind__tab { width: 100%; box-sizing: border-box; position: relative; inset: auto; flex-direction: row; align-items: center; gap: 14px; padding: 26px 30px 0; color: #fff; cursor: default; }
.ind__p.is-on .ind__n { color: var(--o4-red); }
.ind__p.is-on .ind__ic { width: 30px; height: 30px; stroke: #9CC0FF; }
.ind__p.is-on .ind__name { margin: 0; writing-mode: horizontal-tb; transform: none; font-size: clamp(1.5rem, 1.05rem + 1.3vw, 2.3rem); }
.ind__p.is-on .ind__count { display: inline; margin-left: auto; font-family: var(--o4-hud); font-size: .72rem; letter-spacing: .06em; color: #A9B9D6; white-space: nowrap; }
.ind__p.is-on .ind__tab:focus-visible { outline-color: #9CC0FF; }
.ind__body { position: absolute; left: 30px; right: 30px; top: 96px; bottom: 26px; min-width: 330px; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .25s, transform .3s, visibility 0s .3s; }
.ind__p.is-on .ind__body { opacity: 1; visibility: visible; transform: none; transition: opacity .45s .35s, transform .6s .35s var(--ease); }
.ind__k { margin: 0 0 14px; font-family: var(--o4-hud); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #9CC0FF; }
.ind__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.ind__list li { position: relative; padding-left: 18px; font-size: 1rem; font-weight: 500; line-height: 1.35; color: #E9EFFA; }
.ind__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--o4-red); box-shadow: 0 0 0 3px rgba(255, 31, 90, .2); }
.ind__p.is-on .ind__list li { animation: dlv-up .5s var(--ease) both; }
.ind__p.is-on .ind__list li:nth-child(1) { animation-delay: .4s; } .ind__p.is-on .ind__list li:nth-child(2) { animation-delay: .47s; }
.ind__p.is-on .ind__list li:nth-child(3) { animation-delay: .54s; } .ind__p.is-on .ind__list li:nth-child(4) { animation-delay: .61s; }
.ind__p.is-on .ind__list li:nth-child(5) { animation-delay: .68s; }
.ind__link { align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; font-size: .9rem; font-weight: 700; text-decoration: none; transition: background .25s, border-color .25s; }
.ind__link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.ind__link:hover { background: var(--o4-red); border-color: var(--o4-red); }
.ind__link:hover svg { transform: translateX(4px); }
.ind__link:focus-visible { outline: 2px solid #9CC0FF; outline-offset: 3px; }

/* small screens: a vertical accordion, one sector open */
@media (max-width: 899px) {
  .ind { flex-direction: column; height: auto; gap: 8px; }
  .ind__p { flex: none; }
  .ind__tab, .ind__p.is-on .ind__tab { position: relative; inset: auto; flex-direction: row; align-items: center; gap: 12px; padding: 16px 18px; }
  .ind__p.is-on .ind__tab { padding-bottom: 6px; }
  .ind__name, .ind__p.is-on .ind__name { margin: 0; writing-mode: horizontal-tb; transform: none; font-size: 1.1rem; }
  .ind__p.is-on .ind__name { font-size: 1.4rem; }
  .ind__count { display: inline; margin-left: auto; font-family: var(--o4-hud); font-size: .68rem; color: #C9D6EE; white-space: nowrap; }
  .ind__p::before { background: linear-gradient(180deg, rgba(4, 15, 43, .78), rgba(4, 15, 43, .92)); }
  .ind__body { position: static; display: none; min-width: 0; padding: 4px 18px 18px; opacity: 1; visibility: visible; transform: none; }
  .ind__p.is-on .ind__body { display: flex; }
  .ind__link { margin-top: 18px; }
}
@media (max-width: 520px) { .ind__list { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ind__p, .ind__body, .ind__p.is-on .ind__body { transition: none; } .ind__p.is-on .ind__list li { animation: none; } }
/* autoplay timer for the sector cards: fills along the bottom of the open card, then the next one opens */
.ind__prog { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 3px; background: linear-gradient(90deg, var(--blue), var(--o4-red));
  transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.ind.is-auto .ind__p.is-on .ind__prog { animation: ind-prog 5s linear both; }
.ind.is-paused .ind__prog { animation-play-state: paused !important; }
@keyframes ind-prog { to { transform: scaleX(1); } }
@media (max-width: 899px) { .ind__prog { display: none; } }
/* hand-over: a card's label switches layout at once while its width animates (.7s), so fade the label in only
   after the resize has mostly happened. No half-width clipped title or vertical name inside a wide card */
@media (min-width: 900px) {
  .ind__p .ind__tab { animation: ind-label .35s .5s both; }
  .ind__p.is-on .ind__tab { animation: ind-label-open .45s .4s both; }
}
@keyframes ind-label { from { opacity: 0; } }
@keyframes ind-label-open { from { opacity: 0; transform: translateY(8px); } }


/* ======================== HERO (solutions/index.html): animated backgrounds and photo cards ======================== */
/* Three animated backgrounds, one per scene; the scene crossfade in solutions-hero.js switches between them. */
.sh-bg { position: absolute; inset: 0; overflow: hidden; background: #06173F; }
.sh-bg::before { content: ""; position: absolute; inset: -25%; animation: sh-drift 18s ease-in-out infinite alternate;
  background: radial-gradient(circle at 22% 30%, rgba(46, 94, 180, .6), transparent 42%), radial-gradient(circle at 80% 72%, rgba(46, 94, 180, .35), transparent 40%); }
.sh-bg::after { content: ""; position: absolute; inset: 0; animation: sh-grid 30s linear infinite;
  background-image: linear-gradient(rgba(156, 192, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(156, 192, 255, .09) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 60% 50%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse at 60% 50%, #000 25%, transparent 75%); }
.sh-bg--b::before { background: radial-gradient(circle at 75% 25%, rgba(255, 31, 90, .32), transparent 42%), radial-gradient(circle at 20% 80%, rgba(46, 94, 180, .55), transparent 42%); }
.sh-bg--c::before { background: radial-gradient(circle at 50% 20%, rgba(126, 163, 230, .45), transparent 45%), radial-gradient(circle at 15% 75%, rgba(31, 166, 122, .3), transparent 40%); }
@keyframes sh-drift { from { transform: translate3d(-4%, -2%, 0) rotate(0deg); } to { transform: translate3d(4%, 3%, 0) rotate(8deg); } }
@keyframes sh-grid { to { background-position: 56px 56px; } }

/* photo tiles, styled like the About page collage: rounded photo, bordered, pill label with a red dot.
   The three tiles sit close together, joined by elbow connectors (.sh-links, drawn in the same 0-100 space). */
.sh-hub { position: absolute; z-index: 2; right: var(--gutter); top: 50%; transform: translateY(-50%); width: clamp(300px, 30vw, 440px); aspect-ratio: 1 / 1.09; pointer-events: none; }
.sh-links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; }
.sh-links path { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.sh-links circle { fill: var(--o4-red); }
.sh-card { position: absolute; z-index: 2; width: 40%; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; border-radius: 22px; background: #0B1F4B;
  border: 2px solid rgba(255, 255, 255, .85); box-sizing: border-box;
  box-shadow: 0 30px 60px -30px rgba(3, 12, 34, .7); animation: sh-float 7s ease-in-out infinite; }
.sh-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.sh-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(3, 12, 34, .75)); }
.sh-card figcaption { position: absolute; z-index: 1; left: 10px; bottom: 10px; right: 10px; display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: calc(100% - 20px);
  padding: 6px 12px; border-radius: 999px; background: rgba(6, 23, 63, .72); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 600 .78rem/1.2 var(--display, var(--sans)); color: #fff; white-space: nowrap; }
.sh-card figcaption i { width: 7px; height: 7px; border-radius: 50%; background: var(--o4-red); box-shadow: 0 0 0 3px rgba(255, 31, 90, .25); font-size: 0; }
.sh-card--build { top: 0; left: 0; animation: sh-float 7s ease-in-out infinite, sh-hl-build 13s ease-in-out infinite; }
.sh-card--watch { top: 22%; left: 46%; animation: sh-float 7s ease-in-out infinite, sh-hl-watch 13s ease-in-out infinite; }
.sh-card--maintain { top: 54%; left: 0; animation: sh-float 7s ease-in-out infinite, sh-hl-maintain 13s ease-in-out infinite; }
@keyframes sh-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
/* 13s loop: Build lit (0-2.5s), dot travels Build -> Watch (2.5-3.5s), Watch lit (3.5-6s),
   dot travels Watch -> Maintain (6-7s), Maintain lit (7-9s). Each card has its own timing. */
@keyframes sh-hl-build {
  0% { scale: 1; border-color: rgba(255, 255, 255, .85); box-shadow: 0 30px 60px -30px rgba(3, 12, 34, .7); }
  3%, 26% { scale: 1.04; border-color: #FF1F5A; box-shadow: 0 0 0 5px rgba(255, 31, 90, .35), 0 36px 70px -24px rgba(46, 94, 180, .85); }
  31%, 100% { scale: 1; border-color: rgba(255, 255, 255, .85); box-shadow: 0 30px 60px -30px rgba(3, 12, 34, .7); }
}
@keyframes sh-hl-watch {
  0%, 37% { scale: 1; border-color: rgba(255, 255, 255, .85); box-shadow: 0 30px 60px -30px rgba(3, 12, 34, .7); }
  42%, 65% { scale: 1.04; border-color: #FF1F5A; box-shadow: 0 0 0 5px rgba(255, 31, 90, .35), 0 36px 70px -24px rgba(46, 94, 180, .85); }
  70%, 100% { scale: 1; border-color: rgba(255, 255, 255, .85); box-shadow: 0 30px 60px -30px rgba(3, 12, 34, .7); }
}
@keyframes sh-hl-maintain {
  0%, 76% { scale: 1; border-color: rgba(255, 255, 255, .85); box-shadow: 0 30px 60px -30px rgba(3, 12, 34, .7); }
  81%, 98% { scale: 1.04; border-color: #FF1F5A; box-shadow: 0 0 0 5px rgba(255, 31, 90, .35), 0 36px 70px -24px rgba(46, 94, 180, .85); }
  100% { scale: 1; border-color: rgba(255, 255, 255, .85); box-shadow: 0 30px 60px -30px rgba(3, 12, 34, .7); }
}
/* the travelling dot: small and red, only on the connectors */
.sh-links .sh-dot { fill: #FF1F5A; filter: drop-shadow(0 0 3px rgba(255, 31, 90, .6)); }

@media (max-width: 1179px) { .sh-hub { display: none; } }
@media (prefers-reduced-motion: reduce) { .sh-card, .sh-bg::before, .sh-bg::after { animation: none; } .sh-card img { transition: none; } .sh-dot { display: none; } }

/* ======================== PROBLEM SECTION (index.html): landscape photos instead of numbers ======================== */
.s2-gaps--thumbs .s2-gap { grid-template-columns: clamp(150px, 16vw, 220px) minmax(0, 1fr); align-items: center; }
.s2-gaps--thumbs .s2-gap__thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; background: var(--mist); }
@media (max-width: 599px) { .s2-gaps--thumbs .s2-gap { grid-template-columns: 1fr; gap: 14px; } }

/* ======================== ONE LIFECYCLE (index.html, section .apr): white band, three stage cards, return arc ======================== */
.apr { position: relative; isolation: isolate; overflow: hidden; background: #fff; color: var(--ink); }
.apr::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 85% 0%, rgba(46, 94, 180, .08), transparent 70%), radial-gradient(ellipse 45% 40% at 0% 100%, rgba(255, 31, 90, .05), transparent 70%); }
.apr__head { max-width: 760px; margin-bottom: clamp(20px, 2.4vw, 36px); }
#main .apr .o4-h2 { color: var(--ink); }
#main .apr .o4-sub { color: var(--muted); }
.apr__cycle { position: relative; padding-top: 46px; --step: 2.6s; --cyc: 7.8s; }
.apr__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); position: relative; z-index: 1; }

/* "How it works" loop (as on evolvecortex.com): a wire across the card tops with one marker per stage; a red dot
   travels Build -> Watch -> Maintain while each card in turn lifts, takes its accent border and fills its progress bar.
   Runs only while the section is on screen (.is-live, set in solutions-problem.js). */
.apr__wire { position: absolute; top: 6px; left: calc((100% - 2 * clamp(20px, 2.4vw, 32px)) / 6); right: calc((100% - 2 * clamp(20px, 2.4vw, 32px)) / 6); height: 2px; }
.apr__wire > span { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(46, 94, 180, .25), rgba(255, 31, 90, .3) 50%, rgba(31, 165, 122, .3)); }
.apr__wire > b { position: absolute; top: 50%; left: var(--p); width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); transform: translate(-50%, -50%); }
.apr__wire > i { position: absolute; z-index: 1; top: 50%; left: 0; width: 12px; height: 12px; border-radius: 50%; background: #FF1F5A; transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(255, 31, 90, .18), 0 0 18px rgba(255, 31, 90, .6); animation: apr-wire var(--cyc) linear infinite paused; }
@keyframes apr-wire { 0%, 33.3% { left: 0; } 50%, 66.6% { left: 50%; } 83.3%, 100% { left: 100%; } }

/* stage card: white, hairline border, soft shadow; video on top, text below; the link sits at the foot */
.apr__stage { --accent: #2E5EB4; --accent-soft: rgba(46, 94, 180, .08); --accent-glow: rgba(46, 94, 180, .45); position: relative; display: flex; flex-direction: column;
  border-radius: 22px; background: #fff; border: 1px solid var(--line); overflow: hidden;
  box-shadow: 0 24px 48px -32px rgba(12, 27, 58, .35), 0 2px 6px rgba(12, 27, 58, .04);
  animation: apr-card var(--cyc) linear infinite paused; animation-delay: calc(var(--i) * var(--step)); }
.apr__stage--watch { --accent: #FF1F5A; --accent-soft: rgba(255, 31, 90, .08); --accent-glow: rgba(255, 31, 90, .42); }
.apr__stage--maintain { --accent: #1FA57A; --accent-soft: rgba(31, 165, 122, .1); --accent-glow: rgba(31, 165, 122, .45); }
/* the lift uses `translate`, so it never fights the GSAP entrance (which animates `transform`) */
@keyframes apr-card {
  0%, 100% { translate: 0 0; border-color: var(--line); box-shadow: 0 24px 48px -32px rgba(12, 27, 58, .35), 0 2px 6px rgba(12, 27, 58, .04); }
  4%, 30% { translate: 0 -8px; border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft), 0 0 42px 6px var(--accent-glow), 0 40px 70px -34px rgba(12, 27, 58, .5); }
  36% { translate: 0 0; border-color: var(--line); box-shadow: 0 24px 48px -32px rgba(12, 27, 58, .35), 0 2px 6px rgba(12, 27, 58, .04); }
}

.apr__vis { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0B1B3A; }
.apr__vis video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.apr__vis::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 27, 58, .08), rgba(12, 27, 58, .4)); pointer-events: none; }
.apr__live { position: absolute; z-index: 2; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  background: rgba(12, 27, 58, .7); color: #fff; font: 700 .66rem/1 var(--o4-hud); letter-spacing: .12em; text-transform: uppercase; }
.apr__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #FF1F5A; animation: apr-blink 1.2s steps(2) infinite; }
@keyframes apr-blink { 50% { opacity: .2; } }

.apr__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(22px, 2.4vw, 32px); }
.apr__bar { align-self: stretch; display: block; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; margin-bottom: 4px; }
.apr__bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); animation: apr-bar var(--cyc) linear infinite paused; animation-delay: calc(var(--i) * var(--step)); }
@keyframes apr-bar { 0% { transform: scaleX(0); opacity: 1; } 32% { transform: scaleX(1); opacity: 1; } 36%, 100% { transform: scaleX(1); opacity: 0; } }
.apr__cycle.is-live .apr__wire > i, .apr__cycle.is-live .apr__stage, .apr__cycle.is-live .apr__bar i { animation-play-state: running; }

.apr__tag { padding: 7px 13px; border-radius: 999px; background: var(--accent-soft); color: var(--accent);
  font: 700 .7rem/1 var(--o4-hud); letter-spacing: .14em; text-transform: uppercase; }
.apr__word { display: block; margin: 6px 0 0; font-family: var(--display); font-weight: 200; font-size: clamp(2.4rem, 1.6rem + 2.2vw, 3.8rem); line-height: .92; letter-spacing: -.045em; color: var(--ink); }
#main .apr__name { margin: 4px 0 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); line-height: 1.3; color: var(--ink); }
.apr__p { margin: 0; max-width: 34ch; color: var(--muted); line-height: 1.6; }
.apr__link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; margin-top: auto; padding: 10px 0 2px; color: var(--accent); font-weight: 600; text-decoration: none; }
.apr__link:hover { color: var(--ink); }
.apr__link .s2-ic { flex: none; width: 14px; height: 14px; margin: 0; transition: transform .3s; }
.apr__link:hover .s2-ic { transform: translateX(3px); }

/* text reveal (same as the "Why most security falls short" headline): each heading line rises out of its own mask.
   Motion: assets/js/pages/solutions/solutions-problem.js. */
.apr .rv-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.apr .rv-line > span { display: block; }
.apr__p .tr-s { display: inline-block; }   /* description words fade up one by one */

/* return arc above the cards: from Maintain back to Watch, landing on their markers, with the label inside the curve */
.apr__loop { position: relative; height: 92px; margin: 0; }
.apr__arc { position: absolute; left: 0; right: 0; bottom: 0; top: 30px; width: 100%; height: calc(100% - 30px); overflow: visible; }
/* arrowhead where the curve lands on the Watch marker (drawn in CSS so the stretched SVG does not distort it) */
.apr__loop::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 0; transform: translateX(-50%);
  border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 9px solid #FF1F5A; }
.apr__arc path { fill: none; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.apr__label { position: absolute; left: 66.67%; top: 4px; transform: translateX(-50%); margin: 0; white-space: nowrap; font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--ink); }
.apr__label span { color: #FF1F5A; }

@media (max-width: 999px) {
  .apr__list { grid-template-columns: 1fr; gap: 20px; }
  .apr__cycle { padding-top: 0; }
  .apr__wire { display: none; }
  .apr__head { margin-bottom: 28px; }
  .apr__loop { height: auto; margin: 0 0 20px; }
  .apr__loop::after { display: none; }
  .apr__arc { display: none; }
  .apr__label { position: static; transform: none; padding-left: 8px; }
}
@media (prefers-reduced-motion: reduce) { .apr__stage, .apr__bar i, .apr__wire > i, .apr__live::before { animation: none !important; } .apr__bar i { transform: scaleX(1); } .apr__link .s2-ic { transition: none; } }

/* ======================== BANNER: white (body.sol-hero-light, solutions/index.html) ======================== */
/* Same idea as the homepage's .home-hero-light: the photo tiles keep their images and labels; the page-level dark
   parts of the banner (navy backdrop, colour grade, grain, streak, black letterbox bars) turn light. */
.sol-hero-light .sh { background: #fff; color: var(--ink); }
/* the drifting colour glows and grid (.sh-bg::before / ::after) are kept exactly as on the dark banner; only the base turns white */
.sol-hero-light .sh-bg { background: #fff; }
.sol-hero-light .sh__grade,
.sol-hero-light .sh__grain,
.sol-hero-light .sh__streak { display: none; }
/* letterbox bars: dropped on white. They close in a little on scroll, which showed as a white strip
   between the banner and the dark section below. */
.sol-hero-light .sh__bars { display: none; }

/* text: dark ink; the light sweep across the title becomes a blue band */
.sol-hero-light #main .sh__title { color: var(--ink); }
.sol-hero-light .sh__line > span { background-image: linear-gradient(100deg, var(--ink) 0%, var(--ink) 42%, var(--blue) 50%, var(--ink) 58%, var(--ink) 100%); }
.sol-hero-light #main .sh__title em { background: linear-gradient(90deg, #ff4a7b, var(--sh-pink) 55%, #e8164f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sol-hero-light .sh__lede { color: var(--muted); }
.sol-hero-light .sh .p4-crumbs, .sol-hero-light .sh .p4-crumbs a { color: var(--muted); }
.sol-hero-light .sh .p4-crumbs a:hover { color: var(--blue); }
.sol-hero-light .sh .p4-crumbs [aria-current] { color: var(--ink); }

/* secondary button: raised white card, as on the homepage banner */
.sol-hero-light .sh .btn-glass { background: #fff; border: 1px solid #3B7BDB; /* same blue as the header Contact Us button */ color: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 16px 30px -14px rgba(12, 27, 58, .35), 0 2px 6px rgba(12, 27, 58, .08); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s, color .3s; }
.sol-hero-light .sh .btn-glass:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-3px);
  box-shadow: 0 22px 36px -14px rgba(12, 27, 58, .42), 0 4px 10px rgba(12, 27, 58, .1); }

/* photo hub (full size): its top connector rises 10% above the hub and was hidden under the fixed header,
   so the hub sits a little lower in the banner. Labels may wrap instead of being clipped. */
.sol-hero-light .sh-hub { top: calc(50% + 72px); }
.sol-hero-light .sh-card figcaption { white-space: normal; line-height: 1.25; }

/* photo tiles: a soft grey edge instead of the white rim that only showed on navy */
.sol-hero-light .sh-card { border-color: rgba(12, 27, 58, .08); box-shadow: 0 30px 60px -30px rgba(12, 27, 58, .45); }

/* ======================== ONE LIFECYCLE: compact on desktop, so the whole section fits one screen (~1536×704) ======================== */
@media (min-width: 1000px) {
  .apr.p4-sec { padding-block: clamp(48px, 9vh, 96px); }
  /* heading left, intro right */
  .apr__head { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(44px, 8vh, 72px); }
  .apr__head .o4-kicker { grid-column: 1 / -1; margin-bottom: 10px; }
  #main .apr .o4-h2 { font-size: clamp(1.8rem, min(1rem + 1.8vw, 6vh), 2.9rem); }
  #main .apr .o4-sub { margin: 0; font-size: 1rem; }
  /* return arc + label */
  .apr__loop { height: clamp(36px, 6vh, 56px); }
  .apr__arc { top: 0; height: 100%; }
  .apr__label { top: 2px; font-size: .9rem; }
  .apr__cycle { padding-top: 46px; }
  .apr__wire { top: 4px; }
  /* cards: shorter video, tighter body; the big word and its tag share one row */
  .apr__vis { aspect-ratio: auto; height: clamp(170px, 27vh, 280px); }
  .apr__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; row-gap: 8px; padding: clamp(20px, 3vh, 30px) clamp(22px, 2vw, 32px); }
  .apr__bar { grid-column: 1 / -1; margin-bottom: 2px; }
  .apr__word { grid-column: 1; grid-row: 2; margin: 0; font-size: clamp(1.6rem, 1.1rem + 1.1vw, 2.3rem); letter-spacing: -.03em; }
  .apr__tag { grid-column: 2; grid-row: 2; }
  #main .apr__name, .apr__p, .apr__link { grid-column: 1 / -1; }
  #main .apr__name { margin: 2px 0 0; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); }
  .apr__p { font-size: .98rem; line-height: 1.55; max-width: none; }
  .apr__link { justify-self: start; padding: 4px 0 0; margin: 0; }
}
/* short screens (e.g. 1280×590 at 150% scaling): tighter still */
@media (min-width: 1000px) and (max-height: 660px) {
  .apr.p4-sec { padding-block: 40px 44px; }
  .apr__head { margin-bottom: 36px; }
  .apr__head .o4-kicker { margin-bottom: 6px; }
  .apr__loop { height: 34px; }
  .apr__label { top: 0; font-size: .84rem; }
}

/* ======================== CAPABILITIES (#capabilities): ruled grid, as on the evolvecortex.com feature grid ======================== */
/* All six in one row on desktop. Hairline rules between cells (the 1px gaps show the grid's line colour), a top and bottom
   rule, no outer side rules. Hovering a cell fills it blue and turns its icon, title and text white. */
.capx { list-style: none; margin: clamp(36px, 4.5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border-block: 1px solid var(--line); }
.capx__cell { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: clamp(26px, 2.6vw, 40px) clamp(16px, 1.4vw, 24px); background: #fff; --mx: 50%; --my: 50%; }
/* hover fill: blue rises from the bottom of the cell */
.capx__cell::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, #2E5EB4, #1E4A9C);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s cubic-bezier(.65, 0, .35, 1); }
/* cursor spotlight (position set by solutions-problem.js) */
.capx__cell::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(220px circle at var(--mx) var(--my), rgba(255, 255, 255, .22), transparent 70%); }

/* idle loop (driven by solutions-problem.js): the current cell (.is-cur) gets a thin accent bar sweeping across its top and a
   tinted icon; every --step the next cell takes over. Hovering stops it; leaving restarts it from the card that was hovered. */
.capx { --step: 1.5s; }
.capx__bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #2E5EB4, #FF1F5A);
  transform: scaleX(0); transform-origin: 0 50%; opacity: 0; }
.capx__cell.is-cur .capx__bar { animation: capx-bar var(--step) linear forwards; }
@keyframes capx-bar { 0% { transform: scaleX(0); opacity: 1; } 85% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.capx__n { position: absolute; top: clamp(18px, 1.8vw, 26px); right: clamp(16px, 1.4vw, 24px); font: 600 .74rem/1 var(--o4-hud); letter-spacing: .12em; color: #A9B4C8; transition: color .45s, transform .45s; }

.capx__ic { flex: none; position: relative; display: grid; place-items: center; width: clamp(54px, 4.2vw, 68px); height: clamp(54px, 4.2vw, 68px); border-radius: 50%; border: 1.5px solid var(--blue); color: var(--blue);
  margin-bottom: clamp(8px, 1vw, 14px); transition: background-color .45s, border-color .45s, color .45s, box-shadow .45s; }
.capx__cell.is-cur .capx__ic { background-color: rgba(46, 94, 180, .08); box-shadow: 0 0 0 8px rgba(46, 94, 180, .08); }
/* ripple ring that pulses out of the icon on hover */
.capx__ic::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid currentColor; opacity: 0; pointer-events: none; }
.capx__ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#main .capx__title { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.05rem, .9rem + .45vw, 1.35rem); line-height: 1.25; letter-spacing: -.01em; color: var(--ink); transition: color .45s, transform .45s cubic-bezier(.2, .8, .2, 1); }
#main .capx__text { margin: 0; font-size: clamp(.9rem, .86rem + .15vw, 1rem); line-height: 1.6; color: var(--muted); transition: color .45s, transform .45s cubic-bezier(.2, .8, .2, 1) .04s; }

@media (hover: hover) and (pointer: fine) {
  .capx__cell { cursor: default; }
  .capx__cell:hover::before { transform: scaleY(1); }
  .capx__cell:hover::after { opacity: 1; }
  .capx__cell:hover .capx__ic { background: #fff; border-color: #fff; color: var(--blue); box-shadow: 0 12px 26px -10px rgba(3, 12, 34, .55); }
  .capx__cell:hover .capx__ic::after { color: #fff; animation: capx-ripple 1.4s cubic-bezier(.2, .8, .2, 1) infinite; }
  .capx__cell:hover .capx__n { color: rgba(255, 255, 255, .7); transform: translateY(-2px); }
  #main .capx__cell:hover .capx__title { color: #fff; transform: translateY(-3px); }
  #main .capx__cell:hover .capx__text { color: rgba(255, 255, 255, .85); transform: translateY(-3px); }
  /* each icon has its own little action */
  .capx__cell--eye:hover .capx__ic svg { animation: capx-blink 1.6s ease-in-out infinite; }
  .capx__cell--bell:hover .capx__ic svg { animation: capx-ring 1.2s ease-in-out infinite; transform-origin: 50% 10%; }
  .capx__cell--video:hover .capx__ic svg { animation: capx-rec 1s ease-in-out infinite; }
  .capx__cell--msg:hover .capx__ic svg { animation: capx-bob 1s ease-in-out infinite; }
  .capx__cell--lock:hover .capx__ic svg { animation: capx-lock .9s cubic-bezier(.3, 1.6, .5, 1) infinite alternate; }
  .capx__cell--zap:hover .capx__ic svg { animation: capx-zap 1.1s steps(1) infinite; }
}
@keyframes capx-ripple { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes capx-blink { 0%, 40%, 50%, 100% { transform: scaleY(1); } 45% { transform: scaleY(.1); } }
@keyframes capx-ring { 0%, 60%, 100% { transform: rotate(0); } 10% { transform: rotate(16deg); } 20% { transform: rotate(-14deg); } 30% { transform: rotate(10deg); } 40% { transform: rotate(-6deg); } 50% { transform: rotate(3deg); } }
@keyframes capx-rec { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes capx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes capx-lock { from { transform: translateY(0); } to { transform: translateY(-2px) scale(1.08); } }
@keyframes capx-zap { 0%, 100% { opacity: 1; } 20% { opacity: .25; } 30% { opacity: 1; } 45% { opacity: .4; } 55% { opacity: 1; } }

/* the "One SOC runs all six" call to action, as one row under the grid */
.capx-core { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(28px, 3.4vw, 44px); }
#main .capx-core__title { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.6rem); color: var(--ink); }
.capx-core__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.capx-core__chips li { padding: 7px 14px; border-radius: 999px; background: var(--mist); color: var(--ink); font-size: .9rem; font-weight: 600; }
.capx-core .btn { margin-left: auto; }

@media (max-width: 1199px) { .capx { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .capx { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .capx { grid-template-columns: 1fr; }
  .capx-core .btn { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .capx__cell::before, .capx__ic, #main .capx__title, #main .capx__text, .capx__n { transition: none; }
  .capx__bar, .capx__ic::after, .capx__ic svg { animation: none !important; }
}

/* ======================== AI GALLERY (#ai, homepage .hgal): less empty space above and below ======================== */
/* Taller cards fill the pinned frame, so the gaps around them shrink; the intro sits closer to the section top and the cards. */
#ai.hgal { --hgal-w: clamp(280px, 24vw, 360px); --hgal-h: clamp(320px, calc(100vh - 170px), 560px); }
#ai .hgal-intro { padding-top: clamp(32px, 4vw, 48px); padding-bottom: 0; }
#ai .hgal-sticky { align-items: flex-start; padding-top: 84px; padding-bottom: 12px; }   /* clears the fixed header while pinned */
/* the frame's top padding only matters once it is pinned under the header; overlap it with the intro so the
   cards start closer to the text */
#ai .hgal-scroll:not(.is-static) { margin-top: 0; }   /* no pull-up: the cards sit below the description */
@media (prefers-reduced-motion: reduce) { #ai .hgal-scroll { margin-top: 0; } }

/* ======================== HOW WE DELIVER (#delivery .dlv): pinned methodology story ======================== */
/* Reference: evolvecortex.com/ui-ux-services "From Insight to Experience". Builds on the .sitc-flow styles in solutions-v2.css. */
.dlv { padding-block: 0; }
.dlv.is-pinned { padding-bottom: clamp(48px, 9vh, 96px); }   /* breathing room under the cards once the pin lets go */
.dlv::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 15% 0%, rgba(46, 94, 180, .35), transparent 70%), radial-gradient(40% 50% at 100% 100%, rgba(255, 31, 90, .1), transparent 70%); }
.dlv__photo { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%); }
.dlv__photo img { width: 100%; height: 100%; object-fit: cover; opacity: .14; filter: grayscale(1); }
.dlv__pin { position: relative; z-index: 1; padding-block: var(--pad); }
.dlv.is-pinned .dlv__pin { min-height: calc(100vh - 76px); display: flex; align-items: center; padding-block: 12px; }
.dlv.is-pinned .dlv__pin > .o4-wrap { width: 100%; }

/* header: title left, intro + step counter right */
.dlv .dlv__head { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(28px, 5vh, 60px); }
.dlv__head .sitc-flow__sub { margin: 0; }
.dlv__meta { display: grid; gap: 14px; }
.dlv__counter { margin: 0; font: 600 .78rem/1 var(--o4-hud); letter-spacing: .2em; color: rgba(255, 255, 255, .5); font-variant-numeric: tabular-nums; }
.dlv__counter span { margin-right: 4px; font-family: var(--display); font-size: 1.6rem; letter-spacing: -.02em; color: #fff; }

/* stage: big outlined step number behind, a rail across the node row with a progress fill and a runner dot */
.dlv__stage { position: relative; }
.dlv__ghost { position: absolute; right: -1%; top: -.66em; z-index: 0; pointer-events: none; font: 200 clamp(6rem, 22vh, 12rem)/1 var(--display); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(141, 180, 245, .22); }
.dlv .sitc-flow__steps { position: relative; z-index: 1; }
.dlv .sitc-flow__steps::before { display: none; }   /* the static red line is replaced by the rail */
.dlv__rail { position: absolute; z-index: 0; top: 27px; left: calc(100% / 12); right: calc(100% / 12); height: 2px; background: rgba(255, 255, 255, .14); }
.dlv__prog { position: absolute; inset: 0; background: linear-gradient(90deg, #7EA3E6, #FF1F5A); transform-origin: 0 50%; }
.dlv__runner { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; border-radius: 50%; background: #FF1F5A; transform: translate(-50%, -50%); box-shadow: 0 0 0 6px rgba(255, 31, 90, .22); }
.dlv-js .dlv__prog { transform: scaleX(0); }

/* steps: reached nodes take their colour, the active node fills and grows, the active card lights up */
.dlv .sitc-flow__node { border-color: rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .7); box-shadow: none;
  transition: background-color .4s, border-color .4s, color .4s, transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s; }
.dlv .sitc-flow__step.is-reached .sitc-flow__node { border-color: #7EA3E6; color: #fff; }
.dlv .sitc-flow__step.is-active .sitc-flow__node { background: var(--blue); border-color: var(--blue); color: #fff; transform: scale(1.12); box-shadow: 0 0 0 8px rgba(46, 94, 180, .25); }
.dlv .sitc-flow__step--watch.is-active .sitc-flow__node { background: #FF1F5A; border-color: #FF1F5A; box-shadow: 0 0 0 8px rgba(255, 31, 90, .22); }
.dlv .sitc-flow__step--maintain.is-active .sitc-flow__node { background: #1FA57A; border-color: #1FA57A; box-shadow: 0 0 0 8px rgba(31, 165, 122, .22); }
.dlv .sitc-flow__card { margin-top: 28px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: border-color .4s, background-color .4s; }
.dlv .sitc-flow__step.is-active .sitc-flow__card { border-color: rgba(141, 180, 245, .5); background: rgba(46, 94, 180, .2); }
.dlv .sitc-flow__n { transition: color .4s; }
.dlv .sitc-flow__step.is-active .sitc-flow__n { color: #FF1F5A; }

/* short desktop screens: keep the pinned frame inside the viewport */
@media (min-width: 1000px) and (max-height: 760px) {
  .dlv .dlv__head { margin-bottom: 18px; }
  .dlv .sitc-flow__card ul { gap: 3px; }
  .dlv .sitc-flow__node { width: 50px; height: 50px; }
  .dlv__rail { top: 24px; }
  #main .dlv .o4-h2 { font-size: clamp(1.8rem, 1rem + 1.8vw, 2.6rem); }
  .dlv .sitc-flow__card { margin-top: 20px; padding: 14px 16px; }
  .dlv .sitc-flow__card > p { margin-bottom: 8px; font-size: .88rem; }
  .dlv .sitc-flow__card li { font-size: .82rem; }
  .dlv .sitc-flow__n { margin-bottom: 8px; }
  #main .dlv .sitc-flow__card h3 { margin-bottom: 6px; font-size: 1.05rem; }
}
/* below 1000px the steps stack (solutions-v2.css): the rail runs down the node column */
@media (max-width: 999px) {
  .dlv .dlv__head { grid-template-columns: 1fr; }
  .dlv__counter, .dlv__ghost, .dlv__runner { display: none; }
  .dlv__rail { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .dlv__prog { transform-origin: 50% 0; background: linear-gradient(180deg, #7EA3E6, #FF1F5A); }
  .dlv-js .dlv__prog { transform: scaleY(0); }
  .dlv .sitc-flow__card { margin-top: 0; }
}

/* ======================== OUR SOLUTIONS EXPLAINED (#sol-services): each point has a title and a short description ======================== */
#sol-services .deliverables { max-width: 640px; column-gap: 28px; }
#sol-services .deliverables li { display: flex; flex-direction: column; gap: 6px; padding: 14px 0 14px 16px; }
#main #sol-services .deliverables li h4 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.02rem, .96rem + .25vw, 1.15rem); line-height: 1.25; letter-spacing: -.01em; color: var(--ink); }
#main #sol-services .deliverables .svc-pt__d { margin: 0; font-size: .84rem; font-weight: 400; line-height: 1.5; color: var(--muted); }
#sol-services .deliverables li::before { top: calc(14px + .6em); }
/* an odd count leaves one item alone on the last row: keep the rule under the item above it */
#sol-services .deliverables li:nth-last-child(2):nth-child(even) { border-bottom: 1px solid var(--line); }

/* AI-powered security (solutions page): tighter spacing above and below, and a slowly drifting blue background */
#ai.hgal { background: #06173F; position: relative; }
#ai.hgal::before { content: ""; position: absolute; inset: -25%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 20% 30%, rgba(46, 94, 180, .7), transparent 45%),
              radial-gradient(circle at 80% 70%, rgba(46, 94, 180, .45), transparent 42%),
              radial-gradient(circle at 55% 110%, rgba(126, 163, 230, .3), transparent 40%);
  animation: ai-drift 16s ease-in-out infinite alternate; }
#ai .hgal-intro, #ai .hgal-scroll { position: relative; z-index: 1; }
#ai .hgal-intro { padding-top: clamp(28px, 3vw, 40px); padding-bottom: 0; gap: 10px; }
#ai { --hgal-h: min(360px, calc(100vh - 230px)); }
#ai .hgal-sticky { align-items: flex-start; padding-top: 84px; padding-bottom: 12px; }   /* clears the fixed header while pinned */
#ai.hgal .hgal-scroll.is-static .hgal-sticky { padding-top: 12px; padding-bottom: 28px; }
@keyframes ai-drift { from { transform: translate3d(-3%, -2%, 0) rotate(0deg); } to { transform: translate3d(3%, 2%, 0) rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { #ai.hgal::before { animation: none; } }


/* AI cards: category label above the title, in white (no numbers) */
#ai .hgal-num { color: #fff; }
#ai .hgal-content h3 { color: #fff; }
/* solutions page: client logos in full colour (the homepage keeps them grey) */
#main .o4-trust .logo-chip img { filter: none; opacity: 1; }

