/* ==========================================================================
   Full-bleed photo bands for the capabilities pages (2026-11-27)
   Two motions:
     .fxb--fixed     "fixed attachment": the photo stands still, the page scrolls over it
                     (a window onto the image).
     .fxb--parallax  the photo drifts slower than the page (theme/js/fx-band.js).
   Why not background-attachment:fixed? iOS Safari and most Android browsers ignore it
   (and it repaints on every scroll in desktop Chrome). Instead the photo is a real
   position:fixed <img> inside a clipped layer (clip + clip-path), which works in
   Safari (macOS + iOS), Chrome, Edge, Firefox and Samsung Internet.
   Note: no ancestor of a .fxb may get transform / filter / will-change, or the fixed
   layer becomes relative to that ancestor.
   Colours: docs/COLOR-PALETTE.md only (deep greens #072925 / #0c3a34, bright green #56f774).

   Markup:
   <section class="fxb fxb--fixed" aria-labelledby="x-title">
     <div class="fxb__media" aria-hidden="true"><img src="…" alt="" width="1600" height="900" loading="lazy" decoding="async"></div>
     <div class="wrap fxb__in">
       <p class="eyebrow">…</p><h2 id="x-title">…</h2><p>…</p>
       <ul class="fxb__points"><li>…</li></ul>            (optional)
       <div class="fxb__actions"><a class="btn btn--primary" …>…</a></div>   (optional)
     </div>
   </section>
   Options: fxb--center (centred text), fxb--tall / fxb--short (height),
            style="--fxb-pos:50% 30%" (focal point of the photo).
   ========================================================================== */

.fxb{
  --fxb-pos:50% 50%;
  --fxb-h:clamp(440px,74vh,760px);
  position:relative;isolation:isolate;overflow:hidden;
  display:flex;align-items:center;
  min-height:var(--fxb-h);
  padding-block:clamp(72px,10vw,128px);
  background:#072925;color:#fff;
}
/* svh = height with the phone's address bar shown, so the band never jumps when it hides */
@supports (height:1svh){ .fxb{--fxb-h:clamp(440px,74svh,760px)} }
.fxb--tall{--fxb-h:clamp(500px,88vh,860px)}
@supports (height:1svh){ .fxb--tall{--fxb-h:clamp(500px,88svh,860px)} }
.fxb--short{--fxb-h:clamp(340px,52vh,540px)}
@supports (height:1svh){ .fxb--short{--fxb-h:clamp(340px,52svh,540px)} }

/* photo layer */
.fxb__media{position:absolute;inset:0;z-index:-2;margin:0;overflow:hidden;
  clip:rect(0,auto,auto,0);            /* old Safari / iOS: clips the fixed child */
  -webkit-clip-path:inset(0);clip-path:inset(0)}
.fxb__media img{position:absolute;left:0;top:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:var(--fxb-pos);display:block}

/* deep-green veil: strong behind the text, lighter where the photo should show */
.fxb::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:
  linear-gradient(90deg,rgba(7,41,37,.92) 0%,rgba(7,41,37,.78) 38%,rgba(12,58,52,.38) 72%,rgba(12,58,52,.18) 100%),
  linear-gradient(180deg,rgba(7,41,37,.45) 0%,transparent 22%,transparent 78%,rgba(7,41,37,.55) 100%)}
.fxb--center::before{background:
  radial-gradient(900px 520px at 50% 50%,rgba(7,41,37,.62),rgba(7,41,37,.86) 70%),
  linear-gradient(180deg,rgba(7,41,37,.4) 0%,transparent 25%,transparent 75%,rgba(7,41,37,.5) 100%)}

/* 1) fixed attachment — the image is pinned to the viewport, the band is the window.
      lvh = the tallest viewport (address bar hidden), so no gap ever shows at the bottom on phones. */
.fxb--fixed .fxb__media img{position:fixed;top:0;left:0;width:100%;height:100vh}
@supports (height:1lvh){ .fxb--fixed .fxb__media img{height:100lvh} }

/* 2) parallax — the photo is 24% taller than the band and fx-band.js moves it (--fxb-y) */
.fxb--parallax .fxb__media img{top:-12%;height:124%;transform:translate3d(0,var(--fxb-y,0px),0);will-change:transform}

/* Mobile Chrome / Android (and some iOS versions) composite the fixed photo into its own layer and can paint it
   OVER the veil and the text. Giving the veil and the content their own layers (translateZ) keeps them on top.
   (These are siblings of the photo, not ancestors, so the fixed layer is not affected.) */
.fxb::before{-webkit-transform:translateZ(0);transform:translateZ(0)}
.fxb__in{-webkit-transform:translateZ(0);transform:translateZ(0)}

/* content */
.fxb__in{position:relative;z-index:1;width:100%}
.fxb__in > *{max-width:680px}
.fxb--center .fxb__in{text-align:center}
.fxb--center .fxb__in > *{margin-inline:auto}
.fxb .eyebrow,[data-theme="light"] .fxb .eyebrow{color:#56f774;font-weight:600}
.fxb h2{color:#fff;font-size:clamp(30px,4.2vw,54px);line-height:1.08;letter-spacing:-.02em;
  text-shadow:0 2px 24px rgba(7,41,37,.45);text-wrap:balance}
.fxb p:not(.eyebrow){color:rgba(255,255,255,.86);font-size:clamp(16px,1.35vw,18px);line-height:1.65;margin-block:18px 0;
  text-shadow:0 1px 12px rgba(7,41,37,.6)}
.fxb p.eyebrow{margin-block:0}
.fxb h2{margin-block:14px 0}

.fxb__points{list-style:none;padding:0;margin-block:26px 0;display:flex;flex-wrap:wrap;gap:10px}
.fxb--center .fxb__points{justify-content:center}
.fxb__points li{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;line-height:1.3;
  padding:8px 14px;border-radius:999px;color:#fff;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.24);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.fxb__points li::before{content:"";width:7px;height:7px;border-radius:2px;background:#56f774;flex:none}

.fxb__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.fxb--center .fxb__actions{justify-content:center}
.fxb .btn--primary{box-shadow:0 14px 30px -12px rgba(86,247,116,.45)}
.fxb .btn--ghost,[data-theme="light"] .fxb .btn--ghost{color:#fff;border-color:rgba(255,255,255,.5);background:rgba(255,255,255,.06)}
.fxb .btn--ghost:hover,[data-theme="light"] .fxb .btn--ghost:hover{background:rgba(255,255,255,.14);border-color:#fff}

/* ---- bands made from a page's EXISTING section text (site-wide, 2026-11-28; content unchanged) ----
   1) a whole text-only section becomes the band:  <section class="fxb fxb--fixed" id="overview">…original lp-head + text…</section>
   2) only a section's heading goes on the band, its cards follow below:
      <section class="section has-band" id="s7"><div class="fxb fxb--parallax fxb--head">…original lp-head…</div><div class="wrap">…cards…</div></section> */
/* content panel on the right (when the subject of the photo is on the left): a frosted deep-green card,
   text stays LEFT-aligned inside it so it reads normally */
.fxb--right .fxb__in{display:flex;justify-content:flex-end}
.fxb--right .fxb__in > *{max-width:none}
.fxb__panel{width:min(100%,600px);padding:clamp(26px,3.4vw,44px);border-radius:22px;text-align:left;
  background:rgba(7,41,37,.72);border:1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter:blur(12px) saturate(1.2);backdrop-filter:blur(12px) saturate(1.2);
  box-shadow:0 30px 60px -30px rgba(7,41,37,.75)}
.fxb__panel .lp-text p{margin-top:0}
.fxb--right::before{background:
  linear-gradient(270deg,rgba(7,41,37,.55) 0%,rgba(7,41,37,.3) 45%,rgba(12,58,52,.12) 100%),
  linear-gradient(180deg,rgba(7,41,37,.4) 0%,transparent 22%,transparent 78%,rgba(7,41,37,.5) 100%)}

/* a WHOLE section (heading + its cards) on the photo: cards become frosted glass, text white */
.fxb--section{--fxb-h:0px;display:block;padding-block:clamp(72px,9vw,120px)}
.fxb--section::before{background:
  radial-gradient(900px 520px at 15% 0%,rgba(86,247,116,.10),transparent 60%),
  linear-gradient(180deg,rgba(7,41,37,.86) 0%,rgba(7,41,37,.76) 45%,rgba(7,41,37,.9) 100%)}
.fxb--section .fxb__in > *{max-width:none}
.fxb.fxb--section .lp-head{max-width:760px;margin-bottom:clamp(32px,4.4vw,52px)}
.fxb--section .lp-card{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);box-shadow:none;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.fxb--section .lp-card h3{color:#fff}
.fxb--section .lp-card p{color:rgba(255,255,255,.8);font-size:15px;line-height:1.6;margin-block:8px 0;text-shadow:none}
.fxb--section .lp-badge{color:#56f774;background:rgba(86,247,116,.12);border-color:rgba(86,247,116,.35)}
.fxb--section .lp-card::before{background:radial-gradient(360px circle at var(--mx,50%) var(--my,0%),rgba(86,247,116,.14),transparent 60%)}
@media (hover:hover){ .fxb--section .lp-card:hover{border-color:rgba(86,247,116,.45);background:rgba(255,255,255,.1)} }
/* slim band that carries only a section heading (+ its intro line) */
.fxb--head{--fxb-h:clamp(300px,44vh,460px);padding-block:clamp(56px,7vw,88px)}
@supports (height:1svh){ .fxb--head{--fxb-h:clamp(300px,44svh,460px)} }
.section.has-band{padding-top:0}
.has-band > .fxb{margin-bottom:clamp(40px,5vw,64px)}
/* the page's own heading / intro / paragraph classes, recoloured for the photo */
.fxb .lp-head{margin-bottom:0}
.fxb .h2,.fxb h2.h2,[data-theme="light"] .fxb .h2{color:#fff}
.fxb .lede,.fxb .prose p,.fxb .lp-prose p,.fxb .lp-text p,[data-theme="light"] .fxb .lede,[data-theme="light"] .fxb .prose p{color:rgba(255,255,255,.88);text-shadow:0 1px 12px rgba(7,41,37,.6)}
.fxb .lp-h2-eyebrow,[data-theme="light"] .fxb .lp-h2-eyebrow{color:#56f774}
.fxb .lp-text{margin-top:14px}
.fxb .lp-text > *{max-width:680px}

/* phones: text runs the full width, so the veil goes top-to-bottom instead of left-to-right */
@media (max-width:760px){
  .fxb{--fxb-h:clamp(400px,72vh,620px);padding-block:clamp(64px,16vw,96px)}
  @supports (height:1svh){ .fxb{--fxb-h:clamp(400px,72svh,620px)} }
  .fxb--short{--fxb-h:clamp(320px,56vh,480px)}
  @supports (height:1svh){ .fxb--short{--fxb-h:clamp(320px,56svh,480px)} }
  .fxb--right .fxb__in{justify-content:flex-start}
  .fxb__panel{width:100%}
  .fxb--section::before{background:linear-gradient(180deg,rgba(7,41,37,.84) 0%,rgba(7,41,37,.8) 50%,rgba(7,41,37,.9) 100%)}
  .fxb::before,.fxb--center::before,.fxb--right::before{background:
    linear-gradient(180deg,rgba(7,41,37,.72) 0%,rgba(7,41,37,.80) 50%,rgba(7,41,37,.88) 100%)}
  .fxb__points li{font-size:13px;padding:7px 12px}
}

/* reduced motion: both bands become a plain still photo */
@media (prefers-reduced-motion:reduce){
  .fxb--fixed .fxb__media img,.fxb--parallax .fxb__media img{position:absolute;top:0;height:100%;transform:none;will-change:auto}
}
/* printing: no fixed layers */
@media print{
  .fxb--fixed .fxb__media img,.fxb--parallax .fxb__media img{position:absolute;top:0;height:100%;transform:none}
}

/* a two-column heading (lp-head--split) stacks inside a panel */
.fxb__panel .lp-head--split{display:block}
.fxb__panel .lp-head--split .lede{margin-top:14px}

/* bands that hold a text panel (e.g. a short Overview) are shorter, so the photo frames the panel instead of leaving empty space */
.fxb:has(> .fxb__in > .fxb__panel){--fxb-h:clamp(380px,56vh,600px);padding-block:clamp(56px,7vw,96px)}
@supports (height:1svh){ .fxb:has(> .fxb__in > .fxb__panel){--fxb-h:clamp(380px,56svh,600px)} }
@media (max-width:760px){
  .fxb:has(> .fxb__in > .fxb__panel){--fxb-h:auto;padding-block:clamp(48px,12vw,72px)}
}

/* step tiles (lp-process) inside a whole-section photo band: same frosted glass as the cards */
.fxb--section .lp-process > li{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);box-shadow:none;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.fxb--section .lp-process h3{color:#fff}
.fxb--section .lp-process p{color:rgba(255,255,255,.8);font-size:14.5px;line-height:1.6;margin-block:8px 0;text-shadow:none}
.fxb--section .lp-process__n{color:#56f774}
.fxb--section .lp-process > li::after{background:rgba(86,247,116,.45)}
@media (hover:hover){ .fxb--section .lp-process > li:hover{border-color:rgba(86,247,116,.45);background:rgba(255,255,255,.1)} }

/* every small text style a landing section can contain, readable on the photo (bullet lists, notes, ticks, chips, links, icons, numbers) */
.fxb--section .lp-bul li,.fxb--section .lp-checks li,.fxb--section .lp-card li{color:rgba(255,255,255,.82)}
.fxb--section .lp-bul li::before{background:#56f774}
.fxb--section .lp-card strong,.fxb--section .lp-card b{color:#fff}
.fxb--section .lp-note,.fxb--section .lp-num,.fxb--section .lp-card small{color:rgba(255,255,255,.65)}
.fxb--section .lp-sub,.fxb--section .lp-card h4{color:#56f774}
.fxb--section .lp-link,.fxb--section .lp-card a{color:#56f774}
.fxb--section .lp-link:hover,.fxb--section .lp-card a:hover{color:#7cf2a0}
.fxb--section .lp-ico{background:rgba(86,247,116,.14);color:#56f774}
.fxb--section .lp-chips span,.fxb--section .lp-tag{color:#fff;background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.24)}
.fxb--section .lp-checks li::before{background-color:rgba(86,247,116,.18)}

/* Conversational AI page: roadmap (lp-scope) and demo video inside a section band */
.fxb--section .lp-scope__step{color:rgba(255,255,255,.78)}
.fxb--section .lp-scope__step b{background:rgba(86,247,116,.18);color:#56f774}
.fxb .lede a{color:#7cf2a0;text-decoration:underline;text-underline-offset:3px}
.fxb .lede a:hover{color:#fff}
.fxb--section .lp-video{margin-inline:auto;box-shadow:0 40px 80px -30px rgba(0,0,0,.7)}
/* white cards inside a band keep dark text (the band itself is white-text): roadmap cards */
.fxb--section .lp-scope__card h3,.fxb--section .lp-scope__out li{color:#1d1d1f}
.fxb--section .lp-scope__card--ai h3{color:#fff}

/* ---------- home page bands (.fxb--home: #lenses, #deploy; words unchanged) ---------- */
.fxb--home .fxb__in > .eyebrow,.fxb--home .fxb__in > .h2,.fxb--home .fxb__in > .lede{max-width:820px}
.fxb--home .fxb__in > .lede{margin-top:16px}
/* lens cards stay white cards (dark text) on the photo */
.fxb--home .lens{color:#1d1d1f;box-shadow:0 24px 50px -28px rgba(7,41,37,.75)}
.fxb--home .lens h3,.fxb--home .lens .lens__title{color:#1d1d1f}
.fxb--home .lens li{color:#424245}
/* the band's generic paragraph style (.fxb p) must not reach the card text */
.fxb--home .lens p{text-shadow:none;margin-block:0}
.fxb--home .lens .lens__tag{color:#424245;font-size:11px;line-height:1.4}
/* lighter veil than other section bands so the photo reads behind the head and between the cards */
.fxb--home::before{background:
  radial-gradient(900px 520px at 15% 0%,rgba(86,247,116,.10),transparent 60%),
  linear-gradient(180deg,rgba(7,41,37,.8) 0%,rgba(7,41,37,.6) 45%,rgba(7,41,37,.84) 100%)}
.fxb--home .fxb__in > .h2,.fxb--home .fxb__in > .lede{text-shadow:0 2px 18px rgba(7,41,37,.7)}
/* deploy steps: light text, glass number dots, faint connecting line */
.fxb--home .steps li::before{background:rgba(255,255,255,.22)}
.fxb--home .steps .n{background:rgba(7,41,37,.6);border-color:#56f774;color:#56f774;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.fxb--home .steps h3{color:#fff}
.fxb--home .steps p{color:rgba(255,255,255,.82);font-size:14.5px;line-height:1.6;margin-block:0}
.fxb--home .connect{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.18);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.fxb--home .connect p{color:#fff;font-size:18px;line-height:1.3;margin-block:0;text-shadow:none}
.fxb--home .connect .chips li,[data-theme="light"] .fxb--home .chips li{color:#fff;background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.24)}
@media (max-width:760px){
  .fxb--home::before{background:linear-gradient(180deg,rgba(7,41,37,.84) 0%,rgba(7,41,37,.76) 50%,rgba(7,41,37,.88) 100%)}
}

/* 2026-11-30: a two-column heading (title | intro text) on a whole-section band uses the full width like on a normal section
   (the 760px cap above is for one-column headings; it squeezed the title into a narrow column, e.g. Digital Twin s4) */
.fxb.fxb--section .lp-head--split{max-width:none}
