/* Page modules for Services, Technology and the solution pages.
   Each module is designed to appear on one page only, so no two pages share a structure.
   Accent comes from the page theme (--ac / --ac2 as "r,g,b"); default is brand blue. */
:root { --ac: 77,139,255; --ac2: 34,211,238; }

/* ---------- Shared image treatment: duotone tint + scroll unmask ---------- */
.m-img { position: relative; overflow: hidden; border-radius: var(--radius); background: #05070d; isolation: isolate; }
.m-img img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(0.78); }
.m-img::after { content: ""; position: absolute; inset: 0; background: rgb(var(--ac)); mix-blend-mode: color; opacity: 0.5; pointer-events: none; }
.m-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55)); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .m-unmask { clip-path: inset(14% 10% 14% 10% round 28px); transition: clip-path 1.3s cubic-bezier(.2,.75,.15,1); }
  .js .m-unmask img { transform: scale(1.22); transition: transform 1.6s cubic-bezier(.2,.75,.15,1); }
  .js .m-unmask.is-visible { clip-path: inset(0 0 0 0 round var(--radius)); }
  .js .m-unmask.is-visible img { transform: scale(1); }
}
.m-cap { position: absolute; left: 20px; bottom: 16px; z-index: 2; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.8); }

/* =====================================================================
   HEROES (one per page)
   ===================================================================== */
.hero-x { position: relative; isolation: isolate; overflow: hidden; }
.hero-x .sx-crumbs { margin-bottom: 26px; }

/* Photo hero (Enablement): full-bleed photo, copy bottom-left, art card right */
.hero-photo { min-height: min(100vh, 920px); display: flex; align-items: flex-end; padding: 140px 0 70px; }
.hero-photo__bg { position: absolute; inset: 0; z-index: -1; }
.hero-photo__bg.m-img { border-radius: 0; }
.hero-photo__bg::before { background: linear-gradient(90deg, rgba(0,0,0,0.92) 25%, rgba(0,0,0,0.45) 70%, rgba(0,0,0,0.75)), linear-gradient(0deg, #000, transparent 45%); }
.hero-photo__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: end; }

/* Centered typographic hero (Investor) */
.hero-center { padding: 110px 0 40px; text-align: center; }
.hero-center .sx-crumbs { justify-content: center; }
.hero-center h1 { font-size: clamp(46px, 7.4vw, 104px); line-height: 0.98; letter-spacing: -0.055em; max-width: 1100px; margin: 22px auto 0; }
.hero-center .lead { margin: 28px auto 0; max-width: 680px; }
.hero-center .btn-row { justify-content: center; margin-top: 34px; }
.hero-center__art { max-width: 980px; margin: 64px auto 0; text-align: left; }
.hero-center__art .sx-opps { grid-template-columns: repeat(3, 1fr); }

/* Mosaic hero (Marketplace): staggered photo grid with the approval card floating over it */
.hero-mosaic { padding: 90px 0 60px; }
.hero-mosaic__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-mosaic__stage { position: relative; height: 620px; }
.hero-mosaic__tiles { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.hero-mosaic__tiles .m-img { position: relative; }
.hero-mosaic__tiles .m-img:nth-child(1) { top: 30px; }
.hero-mosaic__tiles .m-img:nth-child(4) { top: -30px; }
.hero-mosaic__card { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; pointer-events: none; }
.hero-mosaic__stage .sx-approve { pointer-events: auto; width: min(400px, 92%); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(6,10,22,0.82); z-index: 2; }

/* Wide control-room hero (Command center): copy row on top, panoramic art below */
.hero-wide { padding: 90px 0 30px; }
/* Headline spans the full width (two lines); intro and actions share the row beneath it */
.hero-wide__top { display: grid; grid-template-columns: 1fr; gap: 34px; }
.hero-wide__title { margin-top: 22px; font-size: clamp(44px, 6.2vw, 88px); line-height: 1.02; letter-spacing: -0.05em; }
.hero-wide__sub { display: grid; grid-template-columns: minmax(0, 640px) auto; justify-content: space-between; gap: 40px; align-items: end; }
.hero-wide__sub .lead { margin: 0; }
.hero-wide__sub .btn-row { margin: 0; flex-wrap: nowrap; }
.hero-wide .sx-net { margin-top: 48px; padding: 22px 26px; }
.hero-wide .sx-net svg { max-height: 360px; }
.hero-wide .sx-net__bar { grid-template-columns: repeat(4, 1fr); }

/* Mirrored hero (Adaptive): art left, copy right */
.hero-mirror { padding: 90px 0 70px; }
.hero-mirror__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }

/* Inline hero stats (SDLC) */
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-stats div b { display: block; font-size: 30px; font-weight: 400; letter-spacing: -0.04em; color: #fff; }
.hero-stats div span { display: block; margin-top: 2px; font-size: 13px; color: var(--subtle); max-width: 150px; }

/* =====================================================================
   BODY MODULES
   ===================================================================== */
.m-head { max-width: 760px; }
.m-head > * + * { margin-top: 20px; }

/* Statements: large sentences revealed word by word (SDLC problem) */
.m-statements { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 0; counter-reset: st; }
.m-statements li { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 34px 0; border-top: 1px solid var(--line); counter-increment: st; }
.m-statements li::before { content: counter(st, decimal-leading-zero); font-size: 15px; color: rgb(var(--ac)); padding-top: 10px; }
.m-statements h3 { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 400; }
.m-statements p { margin-top: 12px; max-width: 640px; color: var(--muted); line-height: 27px; }

/* Accordion (SDLC deliverables): exclusive <details name> rows */
.m-accordion { margin-top: 48px; border-top: 1px solid var(--line); }
.m-accordion details { border-bottom: 1px solid var(--line); }
.m-accordion summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 70px 1fr 40px; align-items: center; gap: 16px; padding: 26px 0; }
.m-accordion summary::-webkit-details-marker { display: none; }
.m-accordion summary b { font-size: 14px; color: rgb(var(--ac)); font-weight: 500; }
.m-accordion summary span { font-size: clamp(20px, 2.3vw, 28px); letter-spacing: -0.03em; transition: color .3s, transform .3s; }
.m-accordion summary i { justify-self: end; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-style: normal; color: rgb(var(--ac)); transition: transform .3s, background .3s; }
.m-accordion summary i::before { content: "+"; font-size: 20px; }
.m-accordion details[open] summary i { transform: rotate(45deg); background: rgba(var(--ac),0.15); }
.m-accordion summary:hover span { transform: translateX(6px); color: #fff; }
.m-accordion details > div { display: grid; grid-template-columns: 70px 1fr 1fr; gap: 16px; padding: 0 0 28px; }
.m-accordion details > div p { grid-column: 2; color: var(--muted); line-height: 27px; }
.m-accordion details > div ul { grid-column: 3; margin: 0; padding-left: 18px; color: rgba(255,255,255,0.75); line-height: 27px; }

/* Phase columns with big duration (SDLC engage) */
.m-phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 48px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.m-phases article { padding: 34px 30px; position: relative; }
.m-phases article + article { border-left: 1px solid var(--line); }
.m-phases article:nth-child(2) { background: linear-gradient(180deg, rgba(var(--ac),0.12), transparent); }
.m-phases small { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(var(--ac)); }
.m-phases b { display: block; margin-top: 14px; font-size: clamp(40px, 4.6vw, 60px); font-weight: 400; letter-spacing: -0.05em; line-height: 1; }
.m-phases h3 { margin-top: 18px; font-size: 21px; font-weight: 500; }
.m-phases p { margin-top: 10px; color: var(--muted); line-height: 26px; }

/* Big numbers row (Enablement research) */
.m-bignums { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.m-bignums div { padding: 10px 26px 0; border-left: 1px solid var(--line); }
.m-bignums div:first-child { border-left: 0; padding-left: 0; }
.m-bignums b { display: block; font-size: clamp(44px, 5.6vw, 80px); font-weight: 400; letter-spacing: -0.055em; line-height: 1; background: linear-gradient(180deg, #fff 40%, rgb(var(--ac))); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.m-bignums span { display: block; margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 23px; max-width: 240px; }

/* Contrast table (Enablement gap) */
.m-contrast { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.m-contrast > div { padding: 30px 32px; }
.m-contrast > div:last-child { background: linear-gradient(180deg, rgba(var(--ac),0.14), rgba(var(--ac),0.02)); border-left: 1px solid rgba(var(--ac),0.35); }
.m-contrast h3 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtle); font-weight: 500; }
.m-contrast > div:last-child h3 { color: rgb(var(--ac)); }
.m-contrast ul { list-style: none; margin: 18px 0 0; padding: 0; }
.m-contrast li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 26px; color: var(--muted); }
.m-contrast > div:last-child li { color: #fff; }
.m-contrast > div:first-child li { text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.25); }

/* Drag/scroll carousel (Enablement pathways) */
.m-carousel { margin-top: 44px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: rgba(var(--ac),0.5) transparent; cursor: grab; }
.m-carousel.is-drag { cursor: grabbing; scroll-snap-type: none; }
.m-carousel > * { scroll-snap-align: start; }
.m-carousel__nav { display: flex; gap: 10px; margin-top: 18px; }
.m-carousel__nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,0.04); color: #fff; font-size: 18px; cursor: pointer; transition: background .2s, border-color .2s; }
.m-carousel__nav button:hover { background: rgba(var(--ac),0.2); border-color: rgba(var(--ac),0.6); }

/* Chip columns (Enablement tracks) */
.m-chipcols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; }
.m-chipcols h3 { font-size: 17px; font-weight: 500; padding-bottom: 14px; border-bottom: 1px solid rgba(var(--ac),0.4); }
.m-chipcols .chips { margin-top: 16px; }
.m-chipcols .chip { transition: border-color .2s, color .2s, background .2s; }
.m-chipcols .chip:hover { border-color: rgba(var(--ac),0.6); color: #fff; background: rgba(var(--ac),0.12); }

/* Sticky image + list (Enablement principles) */
.m-stickyimg { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: start; }
.m-stickyimg__media { position: sticky; top: 110px; height: min(72vh, 620px); }
.m-stickyimg__list { list-style: none; margin: 40px 0 0; padding: 0; }
.m-stickyimg__list li { padding: 26px 0; border-top: 1px solid var(--line); }
.m-stickyimg__list h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.4px; }
.m-stickyimg__list p { margin-top: 8px; color: var(--muted); line-height: 26px; }

/* Vertical timeline (Enablement engage) */
.m-vtimeline { list-style: none; margin: 48px 0 0; padding: 0 0 0 44px; position: relative; display: grid; gap: 34px; max-width: 760px; }
.m-vtimeline::before { content: ""; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, rgb(var(--ac)), rgba(var(--ac2),0.2)); }
.m-vtimeline li { position: relative; }
.m-vtimeline li::before { content: ""; position: absolute; left: -38px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #05070d; border: 2px solid rgb(var(--ac)); box-shadow: 0 0 0 6px rgba(var(--ac),0.12); }
.m-vtimeline h3 { font-size: 22px; font-weight: 500; }
.m-vtimeline p { margin-top: 6px; color: var(--muted); line-height: 26px; }

/* Gauges (Investor metrics) */
.m-gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 980px; margin: 0 auto; }
.m-gauge { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: center; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.m-gauge svg { width: 110px; height: 110px; transform: rotate(-90deg); }
.m-gauge circle { fill: none; stroke-width: 7; }
.m-gauge .track { stroke: rgba(255,255,255,0.08); }
.m-gauge .bar { stroke: rgb(var(--ac)); stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: calc(289 - 289 * var(--p, 0)); transition: stroke-dashoffset 1.6s cubic-bezier(.2,.75,.15,1); filter: drop-shadow(0 0 6px rgba(var(--ac),0.7)); }
.js .m-gauge:not(.is-visible) .bar { stroke-dashoffset: 289; }
.m-gauge b { display: block; font-size: 40px; font-weight: 400; letter-spacing: -0.045em; }
.m-gauge span { color: var(--muted); font-size: 15px; }

/* Editorial numbered list (Investor challenge) */
.m-editorial { list-style: none; margin: 56px 0 0; padding: 0; }
.m-editorial li { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; padding: 30px 0; border-top: 1px solid var(--line); align-items: baseline; transition: background .3s; }
.m-editorial li:hover { background: linear-gradient(90deg, rgba(var(--ac),0.08), transparent); }
.m-editorial h3 { font-size: clamp(26px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 400; display: flex; gap: 22px; align-items: baseline; }
.m-editorial h3 small { font-size: 14px; color: rgb(var(--ac)); letter-spacing: 0; }
.m-editorial p { color: var(--muted); font-size: 17px; line-height: 28px; }

/* Quadrant (Investor capabilities): four cells around a human-oversight core */
.m-quadrant { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-top: 56px; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.m-quadrant article { padding: 44px 40px; min-height: 220px; transition: background .4s; }
.m-quadrant article:nth-child(2), .m-quadrant article:nth-child(4) { border-left: 1px solid var(--line); text-align: right; }
.m-quadrant article:nth-child(n+3) { border-top: 1px solid var(--line); }
.m-quadrant article:hover { background: rgba(var(--ac),0.08); }
.m-quadrant h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.5px; }
.m-quadrant p { margin-top: 10px; color: var(--muted); line-height: 26px; max-width: 360px; }
.m-quadrant article:nth-child(2) p, .m-quadrant article:nth-child(4) p { margin-left: auto; }
.m-quadrant__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; text-align: center; font-size: 14px; line-height: 19px; background: radial-gradient(circle, rgba(var(--ac),0.35), #05070d 70%); border: 1px solid rgba(var(--ac),0.6); box-shadow: 0 0 60px rgba(var(--ac),0.35); }
@media (prefers-reduced-motion: no-preference) { .m-quadrant__core { animation: m-breathe 4s ease-in-out infinite; } }
@keyframes m-breathe { 50% { box-shadow: 0 0 90px rgba(var(--ac),0.55); } }

/* Cycle (Investor delivery): six steps around an agile loop */
.m-cycle { display: grid; grid-template-columns: 1fr 380px 1fr; gap: 30px; align-items: center; margin-top: 56px; }
.m-cycle__ring { position: relative; aspect-ratio: 1; }
.m-cycle__ring svg { width: 100%; height: 100%; }
.m-cycle__ring circle { fill: none; stroke: rgba(var(--ac),0.35); stroke-width: 1.5; stroke-dasharray: 4 6; }
@media (prefers-reduced-motion: no-preference) { .m-cycle__ring svg { animation: m-spin 40s linear infinite; } }
@keyframes m-spin { to { transform: rotate(360deg); } }
.m-cycle__ring > span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; font-size: 15px; color: var(--muted); }
.m-cycle__ring > span b { display: block; font-size: 30px; color: #fff; font-weight: 400; letter-spacing: -0.03em; }
.m-cycle__ring i { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 14px; background: #05070d; border: 1px solid rgba(var(--ac),0.7); box-shadow: 0 0 20px rgba(var(--ac),0.3); transform: rotate(var(--a)) translateY(-170px) rotate(calc(-1 * var(--a))); }
.m-cycle ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: cy var(--start, 0); }
.m-cycle li { counter-increment: cy; }
.m-cycle h3 { font-size: 18px; font-weight: 500; }
.m-cycle h3::before { content: counter(cy, decimal-leading-zero) "  "; color: rgb(var(--ac)); font-size: 14px; }
.m-cycle p { margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 24px; }
.m-cycle ol:last-child { text-align: right; }

/* Spec table (Investor evidence) */
.m-table { width: 100%; margin-top: 44px; border-collapse: collapse; }
.m-table th, .m-table td { text-align: left; padding: 20px 0; border-top: 1px solid var(--line); vertical-align: top; }
.m-table th { width: 30%; font-weight: 500; color: #fff; font-size: 17px; padding-right: 24px; }
.m-table td { color: var(--muted); line-height: 26px; }

/* Full-bleed image break with parallax (Investor) */
.m-imagebreak { position: relative; height: min(70vh, 620px); margin: 40px 0; }
.m-imagebreak .m-img { position: absolute; inset: 0; border-radius: 0; }
.m-imagebreak .m-img img { height: 120%; }
.m-imagebreak__text { position: absolute; z-index: 2; left: 50%; bottom: 60px; transform: translateX(-50%); width: min(1000px, 90%); font-size: clamp(28px, 4vw, 56px); line-height: 1.08; letter-spacing: -0.04em; }

/* Big-text ticker (Marketplace scope) */
.m-ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.m-ticker__track { display: flex; gap: 56px; width: max-content; font-size: clamp(28px, 3.6vw, 48px); letter-spacing: -0.035em; white-space: nowrap; }
.m-ticker__track span b { color: rgb(var(--ac)); font-weight: 400; margin-right: 12px; }
.m-ticker__track span::after { content: "✦"; margin-left: 56px; color: rgba(var(--ac),0.6); font-size: 0.6em; vertical-align: middle; }
@media (prefers-reduced-motion: no-preference) { .m-ticker__track { animation: tl-drift 38s linear infinite; } }

/* Pinned horizontal scroll (Marketplace platform tour) */
.m-hscroll { position: relative; }
.m-hscroll { --hdr: 90px; }
.m-hscroll__sticky { position: sticky; top: var(--hdr); height: calc(100vh - var(--hdr)); overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.m-hscroll__track { --edge: max(20px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; gap: 32px; padding-left: var(--edge); will-change: transform; }
/* Panels fit the space under the header: image height = viewport minus header, caption and progress */
.m-hscroll__panel { flex: none; width: min(78vw, 1040px, calc((100vh - var(--hdr) - 230px) * 1.72)); }
.m-hscroll__panel .sx-shot__frame img { aspect-ratio: 1.72; object-fit: cover; object-position: top left; }
.m-hscroll__panel--intro { width: min(46vw, 520px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.m-hscroll__panel figure { margin: 0; }
.m-hscroll__panel figcaption { display: grid; grid-template-columns: 50px 1fr; gap: 12px; margin-top: 16px; color: var(--muted); line-height: 25px; }
.m-hscroll__panel figcaption b { color: rgb(var(--ac)); font-weight: 500; }
.m-hscroll__progress { margin: 30px max(20px, calc((100vw - var(--max)) / 2)) 0; height: 2px; background: rgba(255,255,255,0.1); }
.m-hscroll__progress i { display: block; height: 100%; width: calc(var(--hp, 0) * 100%); background: linear-gradient(90deg, rgb(var(--ac)), rgb(var(--ac2))); }

/* Stacking cards (Marketplace AI) */
.m-stack { margin-top: 48px; display: grid; gap: 0; }
.m-stack article { position: sticky; top: calc(120px + var(--i) * 26px); min-height: 300px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; padding: 44px; margin-bottom: 26px; border-radius: var(--radius); border: 1px solid rgba(var(--ac),0.3); background: linear-gradient(135deg, #0a0d18, #05070d); box-shadow: 0 -20px 60px rgba(0,0,0,0.6); }
.m-stack article > b { font-size: clamp(70px, 9vw, 130px); font-weight: 400; letter-spacing: -0.06em; line-height: 0.9; color: transparent; -webkit-text-stroke: 1px rgba(var(--ac),0.7); }
.m-stack h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 400; letter-spacing: -0.035em; }
.m-stack p { margin-top: 14px; color: var(--muted); font-size: 17px; line-height: 28px; }

/* Image tiles with hover reveal (Marketplace asset classes) */
.m-imgtiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.m-imgtile { position: relative; aspect-ratio: 0.82; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); isolation: isolate; }
.m-imgtile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(0.45); transform: scale(1.08); transition: filter .6s, transform .8s cubic-bezier(.2,.75,.15,1); }
.m-imgtile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.9)); z-index: 1; }
.m-imgtile:hover img { filter: grayscale(0.2) brightness(0.75); transform: scale(1); }
.m-imgtile div { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; }
.m-imgtile b { font-size: 12px; letter-spacing: 0.12em; color: rgb(var(--ac)); font-weight: 500; }
.m-imgtile h3 { margin-top: 6px; font-size: 19px; font-weight: 500; letter-spacing: -0.3px; }
.m-imgtile p { margin-top: 4px; font-size: 14px; color: rgba(255,255,255,0.65); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s, opacity .4s; }
.m-imgtile:hover p { max-height: 60px; opacity: 1; }

/* Spec comparison columns (Marketplace custody) */
.m-specs { display: grid; grid-template-columns: 200px repeat(3, 1fr); margin-top: 48px; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.m-specs > div { padding: 18px 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.m-specs > div:nth-child(-n+4) { border-top: 0; }
.m-specs > .h { color: #fff; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(var(--ac),0.08); }
.m-specs > .h b { display: block; font-size: 22px; letter-spacing: -0.02em; text-transform: none; font-weight: 500; color: rgb(var(--ac)); margin-top: 4px; }
.m-specs > .k { color: #fff; font-weight: 500; }

/* Phase bar (Marketplace roadmap) */
.m-phasebar { margin-top: 48px; }
.m-phasebar__bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.m-phasebar__bar i { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.1); position: relative; overflow: hidden; }
.m-phasebar__bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(var(--ac)), rgb(var(--ac2))); transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2,.75,.15,1); transition-delay: calc(var(--i) * .35s); }
.m-phasebar.is-visible .m-phasebar__bar i::after, html:not(.js) .m-phasebar__bar i::after { transform: none; }
.m-phasebar ol { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.m-phasebar li { padding-right: 18px; }
.m-phasebar li small { font-size: 13px; color: rgb(var(--ac)); letter-spacing: 0.1em; text-transform: uppercase; }
.m-phasebar li h3 { margin-top: 8px; font-size: 19px; font-weight: 500; }
.m-phasebar li p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 24px; }

/* Screenshot hotspots (Command center) */
.m-hotspots { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; margin-top: 48px; }
.m-hotspots__shot { position: relative; }
.m-hotspots__shot .sx-shot { margin: 0; }
.m-hotspot { position: absolute; z-index: 3; width: 30px; height: 30px; margin: -15px; border-radius: 50%; border: 0; cursor: pointer; font: inherit; font-size: 13px; color: #04121c; background: rgb(var(--ac)); box-shadow: 0 0 0 6px rgba(var(--ac),0.25); }
@media (prefers-reduced-motion: no-preference) { .m-hotspot { animation: m-hot 2.4s ease-out infinite; } }
@keyframes m-hot { 0% { box-shadow: 0 0 0 0 rgba(var(--ac),0.6); } 100% { box-shadow: 0 0 0 16px rgba(var(--ac),0); } }
.m-hotspot[aria-pressed="true"] { background: #fff; }
.m-hotspots__legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: sticky; top: 110px; }
.m-hotspots__legend li { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.m-hotspots__legend li.is-on { border-color: rgba(var(--ac),0.65); background: rgba(var(--ac),0.08); }
.m-hotspots__legend h3 { font-size: 16px; font-weight: 500; display: flex; gap: 10px; }
.m-hotspots__legend h3 b { color: rgb(var(--ac)); font-weight: 500; }
.m-hotspots__legend p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 22px; }

/* Index list with cursor-following image (Command center views) */
.m-index { list-style: none; margin: 48px 0 0; padding: 0; position: relative; }
.m-index li { display: grid; grid-template-columns: 60px 1fr 1fr; gap: 24px; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--line); cursor: default; transition: padding .35s; }
.m-index li:last-child { border-bottom: 1px solid var(--line); }
.m-index li small { color: rgb(var(--ac)); font-size: 14px; }
.m-index li h3 { font-size: clamp(26px, 3.4vw, 46px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.05; transition: color .3s, transform .35s; }
.m-index li p { color: var(--muted); line-height: 26px; }
.m-index:hover li h3 { color: rgba(255,255,255,0.35); }
.m-index li:hover h3 { color: #fff; transform: translateX(14px); }
.m-index__float { position: fixed; z-index: 30; left: 0; top: 0; width: 320px; aspect-ratio: 1.4; border-radius: 16px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(0.85); transition: opacity .25s, transform .35s cubic-bezier(.2,.75,.15,1); box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.m-index__float.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.m-index__float img { width: 100%; height: 100%; object-fit: cover; }

/* Icon row (Command center AI) */
.m-iconrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; }
.m-iconrow article { padding: 0 26px; border-left: 1px solid var(--line); }
.m-iconrow article:first-child { border-left: 0; padding-left: 0; }
.m-iconrow .icon { width: 60px; height: 60px; border-radius: 50%; }
.m-iconrow h3 { margin-top: 22px; font-size: 20px; font-weight: 500; }
.m-iconrow p { margin-top: 8px; color: var(--muted); line-height: 26px; }

/* Funnel: many feeds in, one decision out (Command center) */
.m-funnel { display: grid; grid-template-columns: 1fr 160px 1fr; gap: 24px; align-items: center; margin-top: 48px; }
.m-funnel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.m-funnel li { padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); color: rgba(255,255,255,0.8); }
.m-funnel ul:last-child li { border-color: rgba(var(--ac2),0.4); background: rgba(var(--ac2),0.06); }
.m-funnel__core { position: relative; height: 100%; min-height: 300px; display: grid; place-items: center; }
.m-funnel__core svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-funnel__core path { fill: none; stroke: rgba(var(--ac),0.45); stroke-width: 1.4; stroke-dasharray: 5 7; }
@media (prefers-reduced-motion: no-preference) { .m-funnel__core path { animation: m-flow 1.6s linear infinite; } }
@keyframes m-flow { to { stroke-dashoffset: -24; } }
.m-funnel__core span { position: relative; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; text-align: center; font-size: 13px; background: radial-gradient(circle, rgba(var(--ac),0.4), #05070d 72%); border: 1px solid rgba(var(--ac),0.7); }

/* Stats over an image (Adaptive) */
.m-imagestats { position: relative; min-height: 460px; display: flex; align-items: flex-end; }
.m-imagestats .m-img { position: absolute; inset: 0; }
.m-imagestats .m-img::before { background: linear-gradient(0deg, rgba(0,0,0,0.92), rgba(0,0,0,0.2) 70%); }
.m-imagestats__row { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); padding: 40px; gap: 30px; }
.m-imagestats__row b { display: block; font-size: clamp(40px, 5vw, 70px); font-weight: 400; letter-spacing: -0.05em; line-height: 1; }
.m-imagestats__row span { display: block; margin-top: 10px; color: rgba(255,255,255,0.75); }

/* Role tabs with image swap (Adaptive) */
.m-roles { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; margin-top: 48px; align-items: stretch; }
.m-roles__tabs { display: grid; gap: 8px; align-content: start; }
.m-roles__tabs button { text-align: left; font: inherit; color: rgba(255,255,255,0.55); background: none; border: 0; border-left: 2px solid var(--line); padding: 16px 20px; cursor: pointer; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.03em; transition: color .3s, border-color .3s, padding .3s; }
.m-roles__tabs button[aria-selected="true"] { color: #fff; border-color: rgb(var(--ac)); padding-left: 28px; }
.m-roles__panel { position: relative; min-height: 420px; }
.m-roles__panel article { position: absolute; inset: 0; display: flex; align-items: flex-end; }
.m-roles__panel article[hidden] { display: none; }
.m-roles__panel .m-img { position: absolute; inset: 0; }
.m-roles__panel article > div:last-child { position: relative; z-index: 2; padding: 30px; max-width: 520px; }
.m-roles__panel h3 { font-size: 26px; font-weight: 500; }
.m-roles__panel p { margin-top: 8px; color: rgba(255,255,255,0.8); line-height: 26px; }
@media (prefers-reduced-motion: no-preference) { .m-roles__panel article:not([hidden]) { animation: m-fade .6s ease both; } }
@keyframes m-fade { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: none; } }

/* Before / after (Adaptive challenge) */
.m-beforeafter { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: stretch; margin-top: 48px; }
.m-beforeafter > div { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); }
.m-beforeafter > div:last-child { border-color: rgba(var(--ac),0.45); background: rgba(var(--ac),0.06); }
.m-beforeafter h3 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtle); font-weight: 500; }
.m-beforeafter > div:last-child h3 { color: rgb(var(--ac)); }
.m-beforeafter ul { margin: 16px 0 0; padding-left: 18px; color: var(--muted); line-height: 30px; }
.m-beforeafter > div:last-child ul { color: #fff; }
.m-beforeafter__arrow { display: grid; place-items: center; font-size: 28px; color: rgb(var(--ac)); }

/* Feature lines (Adaptive delivered): borderless three-column list */
.m-featurelines { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 48px; margin-top: 48px; }
.m-featurelines article { padding: 28px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.m-featurelines svg { width: 26px; height: 26px; stroke: rgb(var(--ac)); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.m-featurelines h3 { font-size: 19px; font-weight: 500; }
.m-featurelines p { margin-top: 6px; color: var(--muted); line-height: 25px; }

/* Rollout (Adaptive engage): phases lighting up hubs */
.m-rollout { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.m-rollout article { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); }
.m-rollout__dots { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; margin-bottom: 20px; }
.m-rollout__dots i { aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,0.08); }
.m-rollout__dots i.on { background: rgb(var(--ac)); box-shadow: 0 0 8px rgba(var(--ac),0.8); }
.m-rollout h3 { font-size: 19px; font-weight: 500; }
.m-rollout p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 24px; }

/* Case-study pager (navigation, shared on purpose) */
.m-pager { display: flex; justify-content: space-between; gap: 20px; padding: 40px 0 0; border-top: 1px solid var(--line); }
.m-pager a { display: block; max-width: 48%; }
.m-pager a:last-child { text-align: right; margin-left: auto; }
.m-pager small { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); }
.m-pager b { display: block; margin-top: 8px; font-size: clamp(22px, 2.6vw, 34px); font-weight: 400; letter-spacing: -0.03em; transition: color .3s; }
.m-pager a:hover b { color: rgb(var(--ac)); }

/* =====================================================================
   CTAs (one style per page)
   ===================================================================== */
/* Terminal CTA (SDLC) */
.cta-term { border-radius: var(--radius); border: 1px solid rgba(var(--ac),0.35); background: #04060c; font-family: ui-monospace, "SF Mono", Menlo, monospace; overflow: hidden; }
.cta-term__bar { padding: 12px 18px; border-bottom: 1px solid var(--line); color: var(--subtle); font-size: 12px; }
.cta-term__body { padding: 40px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.cta-term__body p { font-size: clamp(20px, 2.6vw, 32px); line-height: 1.3; color: #fff; }
.cta-term__body p span { color: rgb(var(--ac2)); }
.cta-term__body p i { display: inline-block; width: 0.55em; height: 1em; vertical-align: -0.12em; background: rgb(var(--ac2)); font-style: normal; }
@media (prefers-reduced-motion: no-preference) { .cta-term__body p i { animation: m-caret 1s steps(1) infinite; } }
@keyframes m-caret { 50% { opacity: 0; } }
.cta-term .btn { font-family: "DM Sans", sans-serif; }

/* Photo CTA (Enablement) */
.cta-photo { position: relative; min-height: 440px; display: flex; align-items: center; padding: 60px; border-radius: var(--radius); overflow: hidden; }
.cta-photo .m-img { position: absolute; inset: 0; border-radius: 0; }
.cta-photo .m-img::before { background: linear-gradient(90deg, rgba(0,0,0,0.9) 30%, rgba(0,0,0,0.3)); }
.cta-photo > div:last-child { position: relative; z-index: 2; max-width: 560px; }
.cta-photo > div:last-child > * + * { margin-top: 22px; }

/* Big-type CTA (Investor) */
.cta-big { display: block; padding: 60px 0 20px; border-top: 1px solid var(--line); }
.cta-big small { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtle); }
.cta-big b { display: block; margin-top: 14px; font-size: clamp(44px, 8vw, 120px); font-weight: 400; letter-spacing: -0.06em; line-height: 0.95; background: linear-gradient(90deg, #fff, #fff) 0 100% / 0 3px no-repeat; transition: background-size .6s cubic-bezier(.2,.75,.15,1), color .3s; padding-bottom: 10px; }
.cta-big:hover b { background-size: 100% 3px; color: rgb(var(--ac)); }
.cta-big b::after { content: " →"; }

/* Gradient split CTA (Marketplace) */
.cta-grad { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; padding: 56px; border-radius: var(--radius); background: radial-gradient(80% 120% at 100% 0%, rgba(var(--ac),0.45), transparent 60%), radial-gradient(60% 100% at 0% 100%, rgba(var(--ac2),0.25), transparent 60%), #05070d; border: 1px solid rgba(var(--ac),0.35); }
.cta-grad > div > * + * { margin-top: 20px; }
/* Minted token: thick reeded coin, engraved ring lettering, guilloche field, light sweep.
   Front reads "Token"; the back carries the Delphilens mark embossed. */
.cta-grad__coin { position: relative; justify-self: center; width: 210px; height: 210px; perspective: 1000px; }
.coin { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.coin__edge { position: absolute; inset: 0; border-radius: 50%; transform: translateZ(var(--z));
  background: repeating-conic-gradient(from 0deg, #c88a12 0 3deg, #8a5a05 3deg 6deg); }
.coin__face { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; display: grid; place-items: center; isolation: isolate; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transform: translateZ(4.5px);
  background: radial-gradient(circle at 32% 26%, rgba(255,255,255,0.6), transparent 40%), conic-gradient(from 210deg, rgb(var(--ac)), rgb(var(--ac2)), #ffe08a, #e0a21a, rgb(var(--ac)));
  box-shadow: 0 0 90px rgba(var(--ac),0.45), inset 0 -12px 26px rgba(90,45,0,0.4), inset 0 10px 18px rgba(255,255,255,0.25); }
.coin__face--back { transform: rotateY(180deg) translateZ(4.5px); }
/* reeded rim and raised bezel */
.coin__rim { position: absolute; inset: 0; border-radius: 50%; z-index: 2;
  background: repeating-conic-gradient(from 0deg, rgba(255,246,200,0.55) 0 2deg, rgba(110,65,0,0.45) 2deg 4deg);
  -webkit-mask: radial-gradient(circle, transparent 0 88%, #000 89% 100%); mask: radial-gradient(circle, transparent 0 88%, #000 89% 100%); }
.coin__rim::after { content: ""; position: absolute; inset: 9%; border-radius: 50%; box-shadow: 0 0 0 2px rgba(110,65,0,0.45), 0 0 0 3px rgba(255,246,200,0.5), inset 0 2px 4px rgba(90,45,0,0.35); }
/* guilloche field behind the centre */
.coin__guilloche { position: absolute; inset: 22%; border-radius: 50%; z-index: 0; opacity: 0.55;
  background: repeating-radial-gradient(circle, rgba(120,70,0,0.35) 0 1px, transparent 1px 5px), repeating-conic-gradient(from 0deg, rgba(255,250,220,0.18) 0 4deg, transparent 4deg 8deg); }
/* engraved ring lettering + dotted ring (SVG) */
.coin__ring { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.coin__ring text { font: 600 11px "DM Sans", sans-serif; letter-spacing: 0.2em; text-transform: uppercase; fill: rgba(80,45,0,0.62); }
.coin__ring .hl { fill: rgba(255,248,215,0.55); transform: translate(-0.6px, -0.6px); }
.coin__ring circle { fill: none; stroke: rgba(80,45,0,0.45); stroke-width: 1.2; stroke-dasharray: 0.1 4.2; stroke-linecap: round; }
.coin__label { position: relative; z-index: 2; text-align: center; color: #3d2700; text-shadow: 0 1px 0 rgba(255,250,220,0.6), 0 -1px 0 rgba(70,40,0,0.3); }
.coin__label b { display: block; font-size: 17px; letter-spacing: 0.22em; font-weight: 600; }
.coin__label small { display: block; margin-top: 4px; font-size: 9px; letter-spacing: 0.3em; }
.coin__label small::before, .coin__label small::after { content: "✦"; margin: 0 6px; font-size: 8px; }
/* Emboss: wrapper casts light top-left and dark bottom-right edges around the masked mark */
.coin__emboss { position: relative; z-index: 2; width: 52%; aspect-ratio: 160 / 130; filter: drop-shadow(-1px -1px 0 rgba(255,250,220,0.8)) drop-shadow(1.5px 1.5px 0 rgba(70,40,0,0.6)) drop-shadow(0 5px 7px rgba(60,30,0,0.4)); }
.coin__emboss i { display: block; width: 100%; height: 100%;
  background: linear-gradient(145deg, #fff0b8, rgb(var(--ac)) 55%, #b37400);
  -webkit-mask: url(/assets/site/images/k8PC6dQFuTGlP9MFQ8HK9GV5E1g.0a7crvi.png) center / contain no-repeat; mask: url(/assets/site/images/k8PC6dQFuTGlP9MFQ8HK9GV5E1g.0a7crvi.png) center / contain no-repeat; }
/* light sweep across the face */
.coin__face::after { content: ""; position: absolute; inset: -30%; z-index: 3; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.55) 50%, transparent 60%); transform: translateX(-70%); }
/* sparkles around the coin */
.coin__spark { position: absolute; z-index: 3; width: 18px; height: 18px; color: #fff3c4; pointer-events: none; }
.coin__spark::before { content: "✦"; font-size: 18px; line-height: 1; text-shadow: 0 0 12px rgba(var(--ac),0.9); }
.coin__spark--a { right: 2%; top: 6%; }
.coin__spark--b { left: -4%; bottom: 16%; transform: scale(0.65); }
.coin__spark--c { right: -8%; bottom: 34%; transform: scale(0.45); }
@media (prefers-reduced-motion: no-preference) {
  .coin { animation: m-coin 8s cubic-bezier(.65,0,.35,1) infinite; }
  .coin__face::after { animation: m-sweep 4s ease-in-out infinite; }
  .coin__face--back::after { animation-delay: -2s; }
  .coin__spark { animation: m-twinkle 2.8s ease-in-out infinite; }
  .coin__spark--b { animation-delay: -1s; } .coin__spark--c { animation-delay: -1.9s; }
}
@keyframes m-coin { 0%, 30% { transform: rotateY(0deg) rotateX(6deg); } 50%, 80% { transform: rotateY(180deg) rotateX(6deg); } 100% { transform: rotateY(360deg) rotateX(6deg); } }
@keyframes m-sweep { 0%, 55% { transform: translateX(-70%); } 85%, 100% { transform: translateX(70%); } }
@keyframes m-twinkle { 0%, 100% { opacity: 0.2; scale: 0.7; } 50% { opacity: 1; scale: 1.1; } }

/* HUD CTA (Command center) */
.cta-hud { position: relative; padding: 50px; border-radius: 4px; border: 1px solid rgba(var(--ac),0.4); background: repeating-linear-gradient(0deg, rgba(var(--ac),0.04) 0 1px, transparent 1px 22px), #04070d; }
.cta-hud::before, .cta-hud::after { content: ""; position: absolute; width: 22px; height: 22px; border: 2px solid rgb(var(--ac)); }
.cta-hud::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.cta-hud::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.cta-hud__grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.cta-hud small { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: rgb(var(--ac2)); }
.cta-hud h2 { margin-top: 12px; }

/* Glow CTA (Adaptive) uses theme .cta with an accent tint */
.sx-page--adaptive-learning-platforms .cta::before { background: radial-gradient(40% 55% at 30% 70%, rgba(var(--ac),0.6), transparent 70%), radial-gradient(45% 50% at 62% 18%, rgba(var(--ac2),0.5), transparent 70%); }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 960px) {
  .hero-wide__sub { grid-template-columns: 1fr; gap: 24px; }
  .hero-wide__sub .btn-row { flex-wrap: wrap; }
  .hero-photo__grid, .hero-mosaic__grid, .hero-wide__top, .hero-mirror__grid, .m-stickyimg, .m-hotspots, .m-roles, .cta-grad, .cta-hud__grid, .cta-term__body { grid-template-columns: 1fr; gap: 36px; }
  .hero-mirror__grid > :first-child { order: 2; }
  .hero-mosaic__stage { height: 520px; }
  .hero-center__art .sx-opps { grid-template-columns: 1fr; }
  .m-bignums, .m-imgtiles, .m-rollout, .m-iconrow { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .m-bignums div:nth-child(3) { border-left: 0; padding-left: 0; }
  .m-iconrow article:nth-child(3) { border-left: 0; padding-left: 0; }
  .m-chipcols, .m-featurelines { grid-template-columns: 1fr 1fr; }
  .m-phases, .m-gauges { grid-template-columns: 1fr; }
  .m-phases article + article { border-left: 0; border-top: 1px solid var(--line); }
  .m-cycle { grid-template-columns: 1fr; }
  .m-cycle__ring { max-width: 340px; margin: 0 auto; order: -1; }
  .m-cycle ol:last-child { text-align: left; }
  .m-quadrant article { padding: 30px 24px; }
  .m-quadrant__core { width: 110px; height: 110px; font-size: 12px; }
  .m-stickyimg__media { position: relative; top: 0; height: 360px; }
  .m-hotspots__legend { position: static; }
  .m-specs { grid-template-columns: 140px repeat(3, 1fr); font-size: 13px; }
  .m-specs > div { padding: 14px; }
  .m-funnel { grid-template-columns: 1fr; }
  .m-funnel__core { min-height: 120px; }
  .m-index li { grid-template-columns: 40px 1fr; }
  .m-index li p { grid-column: 2; }
  .m-index__float { display: none; }
  .m-accordion details > div { grid-template-columns: 1fr; padding-left: 0; }
  .m-accordion details > div p, .m-accordion details > div ul { grid-column: 1; }
  .m-hscroll__sticky { position: relative; height: auto; padding: 40px 0; }
  .m-hscroll__track { flex-direction: column; transform: none !important; }
  .m-hscroll__panel, .m-hscroll__panel--intro { width: auto; }
  .m-hscroll__progress { display: none; }
  .m-stack article { grid-template-columns: 1fr; padding: 30px; top: calc(90px + var(--i) * 16px); }
  .m-phasebar__bar, .m-phasebar ol { grid-template-columns: 1fr 1fr; }
  .m-beforeafter { grid-template-columns: 1fr; }
  .m-beforeafter__arrow { transform: rotate(90deg); }
  .m-editorial li { grid-template-columns: 1fr; gap: 10px; }
  .cta-photo, .cta-grad, .cta-hud { padding: 34px; }
}
@media (max-width: 640px) {
  .m-bignums, .m-imgtiles, .m-rollout, .m-iconrow, .m-chipcols, .m-featurelines, .m-imagestats__row { grid-template-columns: 1fr; }
  .m-bignums div, .m-iconrow article { border-left: 0; padding-left: 0; }
  .m-contrast { grid-template-columns: 1fr; }
  .m-contrast > div:last-child { border-left: 0; border-top: 1px solid rgba(var(--ac),0.35); }
  .m-quadrant { grid-template-columns: 1fr; }
  .m-quadrant article:nth-child(2), .m-quadrant article:nth-child(4) { border-left: 0; text-align: left; }
  .m-quadrant article:nth-child(n+2) { border-top: 1px solid var(--line); }
  .m-quadrant article p { margin-left: 0 !important; }
  .m-quadrant__core { position: static; transform: none; margin: 20px auto; }
  .m-specs { display: block; }
  .m-specs > div { border-top: 1px solid var(--line) !important; }
  .m-statements li { grid-template-columns: 1fr; gap: 6px; }
  .m-imagestats__row { padding: 24px; }
}

/* =====================================================================
   SERVICES page modules
   ===================================================================== */
/* Full-width image band with overlay copy (SDLC teaser) */
.m-band { position: relative; min-height: 560px; display: flex; align-items: flex-end; border-radius: var(--radius); overflow: hidden; }
.m-band .m-img { position: absolute; inset: 0; border-radius: 0; }
.m-band .m-img::before { background: linear-gradient(90deg, rgba(0,0,0,0.9) 25%, rgba(0,0,0,0.05) 75%), linear-gradient(0deg, rgba(0,0,0,0.55), transparent 45%); }
.m-band .m-img img { filter: grayscale(1) contrast(1.15) brightness(1.05); }
.m-band__copy { position: relative; z-index: 2; padding: 56px; max-width: 760px; }
.m-band__copy > * + * { margin-top: 22px; }
.m-band__stages { display: flex; flex-wrap: wrap; gap: 8px; }
.m-band__stages span { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.18); background: rgba(0,0,0,0.4); font-size: 14px; backdrop-filter: blur(6px); }
.m-band__stages span b { color: #8fb2ff; font-weight: 500; margin-right: 6px; }

/* Typographic staircase (Enablement teaser) */
.m-steptype { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.m-steptype ol { list-style: none; margin: 0; padding: 0; }
.m-steptype li { padding-left: calc(var(--i) * 5%); font-size: clamp(24px, 3vw, 42px); white-space: nowrap; line-height: 1.18; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px rgba(143,178,255,0.45); transition: color .4s, -webkit-text-stroke-color .4s; }
.m-steptype li small { font-size: 0.4em; vertical-align: middle; margin-right: 12px; color: #8fb2ff; -webkit-text-stroke: 0; letter-spacing: 0; }
.m-steptype li:hover, .m-steptype li:last-child { color: #fff; -webkit-text-stroke-color: transparent; }
/* Scroll-driven climb (services.js sets --p per level, 0 → 1): each level slides into its step and fills in turn. */
.m-steptype.is-scroll ol { position: relative; }
.m-steptype.is-scroll ol::before { content: ""; position: absolute; left: -22px; bottom: 0; width: 1px; height: 100%; background: rgba(143,178,255,0.15); }
.m-steptype.is-scroll ol::after { content: ""; position: absolute; left: -22px; bottom: 0; width: 1px; height: calc(var(--climb, 0) * 100%); background: linear-gradient(0deg, #0055fe, #8fb2ff); box-shadow: 0 0 10px #0055fe; }
.m-steptype.is-scroll li { --p: 0; will-change: transform; transform: translate3d(calc((1 - var(--p)) * (40px + var(--i) * 26px)), calc((1 - var(--p)) * 18px), 0); opacity: calc(0.25 + var(--p) * 0.75);
  color: rgba(255,255,255, calc(var(--f, 0))); -webkit-text-stroke-color: rgba(143,178,255, calc(0.45 * (1 - var(--f, 0)))); }
.m-steptype.is-scroll li:hover { color: #fff; -webkit-text-stroke-color: transparent; }
.m-steptype p.band { margin-top: 18px; padding: 12px 16px; border-radius: 12px; border: 1px dashed rgba(143,178,255,0.45); color: var(--muted); font-size: 15px; }

/* Expanding photo panels (Engagement models). One active panel at a time, set by services.js on hover or focus,
   so crossing the gaps between panels never snaps them back. Text has a fixed width so it never re-wraps mid-resize. */
.m-panels { --ease: cubic-bezier(.65,0,.25,1); display: flex; gap: 14px; height: 520px; margin-top: 56px; }
.js .m-panels .m-panel.reveal { transition: flex .9s var(--ease), border-color .5s ease, opacity .7s ease, transform .7s ease; }
/* Once revealed, drop the transform transition so scroll parallax (inline transforms from services.js) tracks without lag. */
.js .m-panels .m-panel.reveal.is-visible { transition: flex .9s var(--ease), border-color .5s ease, opacity .7s ease; }
.m-panel { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); isolation: isolate; outline: none;
  transition: flex .9s var(--ease), border-color .5s ease; }
.m-panels.has-active .m-panel { flex-grow: 0.72; }
.m-panels.has-active .m-panel.is-active { flex-grow: 1.9; border-color: rgba(0,85,255,0.45); }
.m-panel:focus-visible { border-color: rgba(143,178,255,0.9); }
.m-panel .m-img { position: absolute; inset: -22% 0; border-radius: 0; will-change: transform; }
.m-panel .m-img img { transform: scale(1.04); transition: transform 1.4s var(--ease), filter 1s ease; }
.m-panel.is-active .m-img img { transform: scale(1.12); filter: grayscale(0.6) contrast(1.1) brightness(0.9); }
.m-panel .m-img::before { background: linear-gradient(0deg, rgba(0,0,0,0.95) 25%, rgba(0,0,0,0.2)); }
.m-panel__body { position: absolute; z-index: 2; left: 28px; bottom: 28px; width: min(440px, calc(100vw - 96px)); }
.m-panel__body small { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: #8fb2ff; }
.m-panel__body h3 { margin-top: 10px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 400; letter-spacing: -0.035em; white-space: nowrap; }
.m-panel__body p, .m-panel__body ul { margin-top: 10px; color: rgba(255,255,255,0.78); line-height: 25px; }
.m-panel__body > p { max-width: 330px; transition: max-width .9s var(--ease), opacity .4s ease; }
.m-panel.is-active .m-panel__body > p { max-width: 440px; }
.m-panels.has-active .m-panel:not(.is-active) .m-panel__body > p { opacity: 0; }
.m-panel::after { content: ""; position: absolute; z-index: 3; top: 0; bottom: 0; right: 0; width: 90px; pointer-events: none; opacity: 0;
  background: linear-gradient(270deg, rgba(0,0,0,0.92), transparent); transition: opacity .6s ease; }
.m-panels.has-active .m-panel:not(.is-active)::after { opacity: 1; }
.m-panel__body ul { padding-left: 18px; }
.m-panel__more { display: grid; grid-template-rows: 0fr; opacity: 0; transform: translateY(8px);
  transition: grid-template-rows .6s var(--ease), opacity .3s ease, transform .4s ease; }
.m-panel__more > * { overflow: hidden; min-height: 0; }
.m-panel__more > ul { margin-top: 0; padding-top: 10px; }
.m-panel.is-active .m-panel__more { grid-template-rows: 1fr; opacity: 1; transform: none;
  transition: grid-template-rows .7s var(--ease) .25s, opacity .5s ease .45s, transform .6s var(--ease) .45s; }
@media (prefers-reduced-motion: reduce) {
  .m-panel, .js .m-panels .m-panel.reveal, .m-panel .m-img img, .m-panel__more, .m-panel.is-active .m-panel__more, .m-panel__body > p { transition: none; }
}

/* Technology teaser with static logo strip */
.m-techteaser { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; padding: 48px; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(80% 120% at 100% 0%, rgba(0,85,255,0.2), transparent 60%), #04060c; }
.m-techteaser > div:first-child > * + * { margin-top: 20px; }

@media (max-width: 960px) {
  .m-steptype, .m-techteaser { grid-template-columns: 1fr; gap: 36px; }
  .m-band__copy { padding: 34px; }
  .m-panels { flex-direction: column; height: auto; }
  .m-panel { min-height: 360px; flex: none !important; }
  .m-panel__more { grid-template-rows: 1fr; opacity: 1; transform: none; }
  .m-panel__body { width: auto; right: 28px; }
  .m-panel__body > p { max-width: none; opacity: 1 !important; }
  .m-panel__body h3 { white-space: normal; }
  .m-panel::after { display: none; }
  .m-panels .m-panel { transform: none !important; }
  .m-techteaser { padding: 32px; }
}

/* =====================================================================
   TECHNOLOGY page modules
   ===================================================================== */
.home-hero .tl-wall { margin: 70px 0 34px; }
.tech-page .journey__step .tl-strip { margin-top: 4px; }

/* Know-How: one annotated code review — file list | editor | reviewer notes, with notes pinned to code lines */
.kh { margin-top: 56px; border-radius: var(--radius); border: 1px solid rgba(120,165,255,0.22); overflow: hidden;
  background: radial-gradient(60% 80% at 100% 0%, rgba(0,85,255,0.14), transparent 60%), #04060c; box-shadow: 0 40px 120px rgba(0,40,160,0.18); }
.kh__bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.kh__bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.kh__bar i:first-child { background: #ff5f57; opacity: .7; } .kh__bar i:nth-child(2) { background: #febc2e; opacity: .7; } .kh__bar i:nth-child(3) { background: #28c840; opacity: .7; }
.kh__bar span { margin-left: 12px; font: 12px ui-monospace, "SF Mono", Menlo, monospace; color: var(--subtle); }
.kh__body { display: grid; grid-template-columns: 230px 1fr; min-height: 470px; }
.kh__files { list-style: none; margin: 0; padding: 14px 10px; border-right: 1px solid var(--line); background: rgba(0,0,0,0.25); }
.kh-file { width: 100%; text-align: left; font: inherit; color: inherit; background: none; border: 0; border-radius: 10px; padding: 10px 12px; cursor: pointer; position: relative; transition: background .25s; }
.kh-file__name { display: block; font: 13.5px ui-monospace, "SF Mono", Menlo, monospace; color: rgba(255,255,255,0.6); transition: color .25s; }
.kh-file__area { display: block; margin-top: 2px; font-size: 12px; color: var(--subtle); }
.kh-file:hover { background: rgba(255,255,255,0.04); }
.kh-file:hover .kh-file__name { color: #fff; }
.kh-file[aria-selected="true"] { background: rgba(0,85,255,0.16); }
.kh-file[aria-selected="true"] .kh-file__name { color: #fff; }
.kh-file[aria-selected="true"] .kh-file__area { color: #8fb2ff; }
.kh-file[aria-selected="true"]::before { content: ""; position: absolute; left: -10px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: #4d8bff; box-shadow: 0 0 10px #0055fe; }
.kh-pane { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr auto; min-width: 0; }
.kh-pane[hidden] { display: none; }
.kh-code { margin: 0; padding: 26px 0; overflow-x: auto; font: 13.5px/1.9 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: rgba(255,255,255,0.88); background: #070b16; border-right: 1px solid var(--line); }
.kh-code code { display: block; min-width: max-content; }
.kh-line { position: relative; display: block; padding: 0 44px 0 0; transition: background .25s; }
.kh-line > i { display: inline-block; width: 46px; padding-right: 16px; text-align: right; font-style: normal; color: rgba(255,255,255,0.22); user-select: none; }
.kh-line.is-lit { background: linear-gradient(90deg, rgba(0,85,255,0.28), rgba(0,85,255,0.06)); }
.kh-line.is-lit > i { color: #8fb2ff; }
.kh-pin { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  font: 600 10px/1 "DM Sans", system-ui, sans-serif; color: #04060c; background: #8fb2ff; box-shadow: 0 0 0 3px rgba(0,85,255,0.25); }
.kh-code .c { color: #6b7a99; } .kh-code .k { color: #8fb2ff; } .kh-code .s { color: #7ee2b8; }
.kh-notes { padding: 30px 32px; }
.kh-notes small { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #8fb2ff; }
.kh-notes h3 { margin-top: 10px; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.15; font-weight: 400; letter-spacing: -0.03em; }
.kh-notes p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 25px; }
.kh-notes ol { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; }
.kh-notes li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); font-size: 14.5px; line-height: 22px; color: rgba(255,255,255,0.85); cursor: default; transition: border-color .25s, background .25s; }
.kh-notes li b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: #8fb2ff; border: 1px solid rgba(143,178,255,0.5); }
.kh-notes li:hover, .kh-notes li.is-on { border-color: rgba(120,165,255,0.6); background: rgba(0,85,255,0.1); }
.kh-notes li:hover b, .kh-notes li.is-on b { background: #8fb2ff; color: #04060c; border-color: #8fb2ff; }
.kh-status { grid-column: 1 / -1; display: flex; gap: 22px; margin: 0; padding: 9px 18px; border-top: 1px solid var(--line); font: 11.5px ui-monospace, "SF Mono", Menlo, monospace; color: var(--subtle); background: rgba(255,255,255,0.015); }
.kh-status__ok { margin-left: auto; color: #7ee2b8; }
@media (prefers-reduced-motion: no-preference) {
  .kh-pane:not([hidden]) .kh-line { animation: khLine .45s ease both; animation-delay: calc(var(--n) * 45ms); }
  .kh-pane:not([hidden]) .kh-notes > * { animation: khLine .5s ease both; }
  .kh-pane:not([hidden]) .kh-notes > :nth-child(2) { animation-delay: .06s; } .kh-pane:not([hidden]) .kh-notes > :nth-child(3) { animation-delay: .12s; } .kh-pane:not([hidden]) .kh-notes > :nth-child(4) { animation-delay: .18s; }
}
@keyframes khLine { from { opacity: 0; transform: translateX(-8px); } }
/* Typewriter mode (modules.js): lines type in place; markers appear once their line is complete. */
.kh.is-typewriter .kh-pane:not([hidden]) .kh-line { animation: none; }
.kh.is-typewriter .kh-line > i { transition: color .3s; }
.kh.is-typewriter .kh-line.is-empty > i { color: rgba(255,255,255,0.1); }
.kh.is-typewriter .kh-pin { opacity: 0; transform: translateY(-50%) scale(.4); transition: opacity .3s ease, transform .4s cubic-bezier(.3,1.6,.5,1); }
.kh.is-typewriter .kh-line.is-typed .kh-pin { opacity: 1; transform: translateY(-50%) scale(1); }
.kh-caret { display: inline-block; width: 8px; height: 1.15em; margin-left: 1px; vertical-align: -0.2em; background: #8fb2ff; box-shadow: 0 0 10px rgba(77,139,255,0.8); animation: khBlink 1s steps(1) infinite; }
.kh-pane.is-done .kh-caret { animation-duration: 1.1s; }
.kh.is-typewriter .kh-status__ok { opacity: 0; transition: opacity .4s ease; }
.kh.is-typewriter .kh-pane.is-done .kh-status__ok { opacity: 1; }
@keyframes khBlink { 50% { opacity: 0; } }

/* Architecture patterns */
.m-patterns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.m-pattern { position: relative; padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent); transition: border-color .3s, transform .3s; overflow: hidden; isolation: isolate; }
.m-pattern:hover { border-color: rgba(0,85,255,0.5); transform: translateY(-3px); }
.m-pattern code { font: 12px ui-monospace, Menlo, monospace; color: #8fb2ff; letter-spacing: 0.02em; }
.m-pattern h3 { margin-top: 12px; font-size: 18px; font-weight: 500; letter-spacing: -0.3px; }
.m-pattern p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 23px; }

/* Principles: outlined numerals */
.m-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.m-principles article { padding: 34px 30px 34px 0; border-bottom: 1px solid var(--line); }
.m-principles article:not(:nth-child(3n+1)) { padding-left: 30px; border-left: 1px solid var(--line); }
.m-principles b { display: block; font-size: 72px; line-height: 1; font-weight: 400; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(143,178,255,0.55); transition: color .4s; }
.m-principles article:hover b { color: #0055fe; -webkit-text-stroke-color: #0055fe; }
.m-principles h3 { margin-top: 18px; font-size: 20px; font-weight: 500; }
.m-principles p { margin-top: 8px; color: var(--muted); line-height: 26px; }

/* Centered statement CTA over an image */
.m-ctaimg { position: relative; min-height: 520px; display: grid; place-items: center; text-align: center; border-radius: var(--radius); overflow: hidden; padding: 60px 24px; }
.m-ctaimg .m-img { position: absolute; inset: 0; border-radius: 0; }
.m-ctaimg .m-img::before { background: radial-gradient(60% 70% at 50% 50%, rgba(0,0,0,0.55), rgba(0,0,0,0.95)); }
.m-ctaimg > div:last-child { position: relative; z-index: 2; max-width: 720px; }
.m-ctaimg > div:last-child > * + * { margin-top: 22px; }
.m-ctaimg .btn-row { justify-content: center; }

@media (max-width: 960px) {
  .kh__body { grid-template-columns: 1fr; }
  .kh__files { display: flex; gap: 6px; overflow-x: auto; padding: 10px; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .kh__files li { flex: none; }
  .kh-file[aria-selected="true"]::before { left: 12px; right: 12px; top: auto; bottom: 2px; width: auto; height: 2px; }
  .kh-pane { grid-template-columns: 1fr; grid-template-rows: auto; }
  .kh-code { border-right: 0; border-bottom: 1px solid var(--line); }
  .m-patterns { grid-template-columns: 1fr 1fr; }
  .m-principles { grid-template-columns: 1fr; }
  .m-principles article, .m-principles article:not(:nth-child(3n+1)) { padding: 26px 0; border-left: 0; }
}
@media (max-width: 640px) { .m-patterns { grid-template-columns: 1fr; } .kh-notes { padding: 24px 20px; } .kh-status span:nth-child(2) { display: none; } }

/* =====================================================================
   TECHNOLOGY page v2: spotlight blueprint hero + 3D layer stack
   (replaces the particle hero and pinned journey, which belong to the home page)
   ===================================================================== */
.tq-hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(100vh, 980px); display: flex; flex-direction: column; justify-content: center; padding: 130px 0 40px; --sx: 72%; --sy: 45%; }
.tq-hero__grid { position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(rgba(143,178,255,0.07) 1px, transparent 1px) 0 0 / 56px 56px,
  linear-gradient(90deg, rgba(143,178,255,0.07) 1px, transparent 1px) 0 0 / 56px 56px,
  radial-gradient(60% 70% at 75% 40%, rgba(0,60,220,0.25), transparent 70%), #000; }
.tq-hero__grid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, #000); }
.tq-hero__reveal { position: absolute; inset: 0; z-index: -1;
  -webkit-mask-image: radial-gradient(circle 280px at var(--sx) var(--sy), #000 0%, rgba(0,0,0,0.6) 45%, transparent 72%);
  mask-image: radial-gradient(circle 280px at var(--sx) var(--sy), #000 0%, rgba(0,0,0,0.6) 45%, transparent 72%); }
.tq-hero__reveal.m-img { border-radius: 0; }
.tq-hero__reveal img { filter: grayscale(1) contrast(1.25) brightness(0.95); }
.tq-hero__reveal::before { display: none; }
.tq-hero__ring { position: absolute; z-index: -1; left: var(--sx); top: var(--sy); width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; border: 1px dashed rgba(143,178,255,0.35); pointer-events: none; }
.tq-hero__ring::after { content: attr(data-coord); position: absolute; left: 50%; top: -26px; transform: translateX(-50%); font: 11px ui-monospace, Menlo, monospace; letter-spacing: 0.08em; color: rgba(143,178,255,0.7); white-space: nowrap; }
.tq-hero .h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: 1; letter-spacing: -0.055em; max-width: 980px; }
.tq-rotator { position: relative; display: block; height: 1.08em; overflow: hidden; font-size: clamp(44px, 6.4vw, 92px); line-height: 1.08; letter-spacing: -0.055em; margin-top: 4px; }
.tq-rotator span { position: absolute; left: 0; top: 0; white-space: nowrap; background: linear-gradient(90deg, #8fb2ff, #4d8bff 50%, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(105%); transition: transform .75s cubic-bezier(.7,0,.2,1); will-change: transform; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.tq-rotator span.is-on { transform: none; }
.tq-rotator span.is-out { transform: translateY(-105%); }
html:not(.js) .tq-rotator span:first-child { transform: none; }
.tq-hero .lead { margin-top: 30px; max-width: 600px; }
.tq-hero .btn-row { margin-top: 36px; }
.tq-spec { display: inline-flex; flex-wrap: wrap; gap: 0; margin-top: 56px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font: 13px ui-monospace, "SF Mono", Menlo, monospace; background: rgba(0,0,0,0.55); backdrop-filter: blur(8px); }
.tq-spec span { padding: 12px 18px; color: rgba(255,255,255,0.65); }
.tq-spec span + span { border-left: 1px solid var(--line); }
.tq-spec b { color: #8fb2ff; font-weight: 500; margin-right: 6px; font-size: 15px; }

/* 3D isometric layer stack */
.tx-stack { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; margin-top: 70px; }
.tx-stack__view { position: relative; height: 640px; perspective: 1700px; }
.tx-stack__scene { position: absolute; left: 50%; top: 60%; width: 380px; height: 380px; margin: -190px 0 0 -190px; transform-style: preserve-3d; transform: rotateX(57deg) rotateZ(-40deg); transition: transform .8s cubic-bezier(.2,.75,.15,1); --gap: 62px; }
.tx-stack__view:hover .tx-stack__scene { --gap: 78px; }
.tx-plate { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateZ(calc(var(--i) * var(--gap))); transition: transform .7s cubic-bezier(.2,.75,.15,1); border: 0; padding: 0; background: none; cursor: pointer; font: inherit; color: inherit; }
.tx-plate__face { position: absolute; inset: 0; border-radius: 26px; border: 1px solid rgba(143,178,255,0.35); background: linear-gradient(135deg, rgba(0,85,255,0.16), rgba(5,8,18,0.82) 60%); box-shadow: 0 0 0 1px rgba(0,0,0,0.4) inset, 0 30px 60px rgba(0,0,0,0.45); display: grid; grid-template-rows: auto 1fr; padding: 26px 28px; text-align: left; transition: background .5s, border-color .5s, box-shadow .5s; backdrop-filter: blur(2px); }
.tx-plate__face b { font: 12px ui-monospace, Menlo, monospace; letter-spacing: 0.12em; color: #8fb2ff; }
.tx-plate__face strong { display: block; margin-top: 6px; font-size: 30px; font-weight: 400; letter-spacing: -0.03em; color: rgba(255,255,255,0.85); }
.tx-plate__logos { align-self: end; display: grid; grid-template-columns: repeat(4, 34px); gap: 12px; opacity: 0.55; transition: opacity .5s; }
.tx-plate__logos svg { width: 30px; height: 30px; fill: #fff; }
.tx-plate.is-active { transform: translateZ(calc(var(--i) * var(--gap) + 46px)); }
.tx-plate.is-active .tx-plate__face { border-color: rgba(143,178,255,0.95); background: linear-gradient(135deg, rgba(0,85,255,0.55), rgba(6,14,40,0.9) 65%); box-shadow: 0 0 60px rgba(0,85,255,0.55), 0 30px 60px rgba(0,0,0,0.5); }
.tx-plate.is-active .tx-plate__logos { opacity: 1; }
.tx-plate:focus-visible .tx-plate__face { outline: 2px solid #fff; outline-offset: 4px; }
.tx-stack__shadow { position: absolute; left: 50%; top: 62%; width: 520px; height: 220px; margin-left: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,85,255,0.35), transparent); filter: blur(30px); }
@media (prefers-reduced-motion: no-preference) {
  .tx-stack__scene { animation: tx-float 7s ease-in-out infinite; }
}
@keyframes tx-float { 0%, 100% { transform: rotateX(57deg) rotateZ(-40deg) translateZ(0); } 50% { transform: rotateX(57deg) rotateZ(-36deg) translateZ(14px); } }
.tx-stack__detail { position: relative; min-height: 470px; }
.tx-layer { position: absolute; inset: 0; }
.tx-layer[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .tx-layer:not([hidden]) > * { animation: tx-in .6s cubic-bezier(.2,.75,.15,1) both; } .tx-layer:not([hidden]) > *:nth-child(2) { animation-delay: .05s; } .tx-layer:not([hidden]) > *:nth-child(3) { animation-delay: .1s; } .tx-layer:not([hidden]) > *:nth-child(n+4) { animation-delay: .15s; } }
@keyframes tx-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tx-layer small { font: 13px ui-monospace, Menlo, monospace; letter-spacing: 0.1em; color: #8fb2ff; }
.tx-layer h3 { margin-top: 12px; font-size: clamp(32px, 3.6vw, 48px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.05; }
.tx-layer h3 span { display: block; font-size: 0.48em; color: var(--heading-muted); letter-spacing: -0.02em; margin-top: 8px; }
.tx-layer p { margin-top: 18px; color: var(--muted); line-height: 27px; }
.tx-layer .note { color: rgba(255,255,255,0.88); padding-left: 14px; border-left: 2px solid #0055fe; }
.tx-layer .tl-strip { margin-top: 20px; }
.tx-stack__ctrl { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.tx-stack__ctrl button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,0.04); color: #fff; cursor: pointer; font-size: 16px; }
.tx-stack__ctrl button:hover { border-color: rgba(0,85,255,0.7); background: rgba(0,85,255,0.15); }
.tx-stack__bar { flex: 1; height: 2px; background: rgba(255,255,255,0.1); position: relative; overflow: hidden; }
.tx-stack__bar i { position: absolute; inset: 0; background: linear-gradient(90deg, #0055fe, #8fb2ff); transform-origin: left; transform: scaleX(0); }
.tx-stack__bar i.is-run { animation: tx-bar var(--t, 7s) linear forwards; }
@keyframes tx-bar { to { transform: scaleX(1); } }

@media (max-width: 960px) {
  .tx-stack { grid-template-columns: 1fr; }
  .tx-stack__view { height: 460px; }
  .tx-stack__scene { width: 260px; height: 260px; margin: -130px 0 0 -130px; --gap: 44px; }
  .tx-plate__face { padding: 16px 18px; } .tx-plate__face strong { font-size: 20px; }
  .tx-plate__logos { grid-template-columns: repeat(4, 24px); gap: 8px; } .tx-plate__logos svg { width: 22px; height: 22px; }
  .tx-stack__detail { min-height: 520px; }
  .tq-hero__ring { display: none; }
}

/* ---------- Demo video (Command center) ---------- */
.m-video { margin: 48px 0 0; }
.m-video__frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(var(--ac),0.35); background: #04070d; box-shadow: 0 40px 120px rgba(var(--ac),0.22); aspect-ratio: 16 / 9; }
.m-video__frame video { display: block; width: 100%; height: 100%; object-fit: cover; background: #04070d; }
.m-video__play { position: absolute; inset: 0; display: grid; justify-items: center; align-content: end; justify-content: end; padding: 0 6% 6% 0; gap: 12px; border: 0; cursor: pointer; font: inherit; color: #fff;
  background: radial-gradient(40% 50% at 86% 80%, rgba(0,0,0,0.45), transparent 70%); transition: background .3s; }
.m-video__play:hover { background: radial-gradient(40% 50% at 86% 80%, rgba(0,0,0,0.3), transparent 70%); }
.m-video__play span { position: relative; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--ac),0.92); color: #04121c; font-size: 30px; padding-left: 6px; box-shadow: 0 0 0 10px rgba(var(--ac),0.2), 0 20px 60px rgba(0,0,0,0.5); transition: transform .3s; }
.m-video__play:hover span { transform: scale(1.06); }
@media (prefers-reduced-motion: no-preference) { .m-video__play span::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(var(--ac),0.6); animation: m-hot 2.4s ease-out infinite; } }
.m-video__play b { font-weight: 500; font-size: 16px; letter-spacing: -0.2px; padding: 8px 16px; border-radius: 999px; background: rgba(4,8,16,0.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.m-video__play small { font: 12px ui-monospace, Menlo, monospace; letter-spacing: 0.1em; color: #fff; padding: 4px 11px; border-radius: 999px; background: rgba(4,8,16,0.78); }
.m-video.is-playing .m-video__play { display: none; }
@media (max-width: 640px) { .m-video__play { justify-content: center; padding: 0 0 8%; } .m-video__play span { width: 64px; height: 64px; font-size: 22px; } }
.m-video figcaption { margin-top: 14px; color: var(--subtle); font-size: 14px; }

/* ---------- Enablement framework as a rising staircase (fw--steps) ----------
   Five level columns step up left to right; the Champion Network spans beneath them;
   the selected level's detail sits full width below. Tab behaviour comes from services.js. */
.fw--steps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.fw--steps .fw__levels { grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: end; }
.fw--steps .fw__tab { --k: calc(var(--step, 0) / 4);
  margin-left: 0; height: calc(200px + var(--step, 0) * 44px); display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 10px;
  position: relative; padding: 22px 20px; border-radius: 18px; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(var(--ac), calc(0.18 + var(--k) * 0.3)); border-top: 3px solid rgba(var(--ac), calc(0.35 + var(--k) * 0.6));
  background: linear-gradient(180deg, rgba(var(--ac), calc(0.05 + var(--k) * 0.16)), rgba(5,7,13,0.9) 75%); transition: transform .35s cubic-bezier(.2,.75,.15,1), box-shadow .35s, border-color .35s, background .35s; }
.fw--steps .fw__tab::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s; background: radial-gradient(120% 80% at 50% 0%, rgba(var(--ac),0.45), transparent 70%); }
.fw--steps .fw__tab:hover { transform: translateY(-4px); }
.fw--steps .fw__tab[aria-selected="true"] { transform: translateY(-10px); border-color: rgba(var(--ac),0.95); background: linear-gradient(180deg, rgba(var(--ac),0.32), rgba(8,6,20,0.92) 80%); box-shadow: 0 24px 60px rgba(var(--ac),0.3); }
.fw--steps .fw__tab[aria-selected="true"]::after { opacity: 1; }
.fw__tierlab { position: absolute; top: 18px; left: 20px; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgb(var(--ac)); }
.fw--steps .fw__n { width: auto; height: auto; border: 0; background: none; box-shadow: none !important; display: block; font-size: 64px; line-height: 0.9; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1.2px rgba(var(--ac), calc(0.5 + var(--k) * 0.5)); transition: color .35s; }
.fw--steps .fw__tab[aria-selected="true"] .fw__n { color: #fff; -webkit-text-stroke-color: transparent; background: none; }
.fw--steps .fw__name { display: block; font-size: 18px; line-height: 23px; }
.fw--steps .fw__aud { margin-top: 4px; font-size: 13px; line-height: 19px; }
/* Champion Network band across all levels */
.fw--steps .fw__tab--band { grid-column: 1 / -1; height: auto; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; margin-top: 2px; padding: 18px 22px; border: 1px dashed rgba(var(--ac),0.55); border-top-width: 1px; background: repeating-linear-gradient(90deg, rgba(var(--ac),0.08) 0 2px, transparent 2px 14px), rgba(5,7,13,0.9); }
.fw--steps .fw__tab--band .fw__tierlab { position: static; order: 3; margin-left: auto; }
.fw--steps .fw__tab--band .fw__n { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; -webkit-text-stroke: 0; border: 1px solid rgba(var(--ac),0.5); background: rgba(var(--ac),0.15); }
.fw--steps .fw__tab--band[aria-selected="true"] { transform: none; }
.fw--steps .fw__panel { min-height: 0; background: radial-gradient(90% 70% at 100% 0%, rgba(var(--ac),0.2), transparent 60%), linear-gradient(180deg, #080616, #020308); border-color: rgba(var(--ac),0.25); }
.fw--steps .fw__panel .fw__cols { grid-template-columns: 1fr 1fr 1.1fr; }
.fw--steps .fw__panel .fw__meta { grid-template-columns: repeat(3, 1fr); }
.fw--steps .fw__bar i { background: linear-gradient(90deg, rgb(var(--ac)), rgb(var(--ac2))); }
@media (max-width: 960px) {
  .fw--steps .fw__levels { grid-template-columns: 1fr; }
  .fw--steps .fw__tab { height: auto; min-height: 0; flex-direction: row; align-items: center; gap: 16px; padding: 18px 20px; margin-left: calc(var(--step, 0) * 10px); }
  .fw--steps .fw__tab[aria-selected="true"] { transform: none; }
  .fw--steps .fw__tierlab { position: static; order: 3; margin-left: auto; }
  .fw--steps .fw__n { font-size: 40px; }
  .fw--steps .fw__panel .fw__cols { grid-template-columns: 1fr; }
}

/* Per-level accents for the enablement staircase: one family stepping cool to warm,
   centred on the page's violet. Each level's block and detail panel share a hue. */
.fw--steps #tab-1, .fw--steps #lvl-1 { --ac: 56,189,248;  --ac2: 96,165,250; }
.fw--steps #tab-2, .fw--steps #lvl-2 { --ac: 96,165,250;  --ac2: 129,140,248; }
.fw--steps #tab-3, .fw--steps #lvl-3 { --ac: 129,140,248; --ac2: 167,139,250; }
.fw--steps #tab-4, .fw--steps #lvl-4 { --ac: 192,132,252; --ac2: 216,124,250; }
.fw--steps #tab-5, .fw--steps #lvl-5 { --ac: 232,121,249; --ac2: 244,114,182; }
.fw--steps #tab-6, .fw--steps #lvl-6 { --ac: 167,139,250; --ac2: 232,121,249; }
.fw--steps .fw__panel .fw__cols h4 { color: rgb(var(--ac)); }
.fw--steps .fw__panel .fw__cols li::before { border-color: rgb(var(--ac)); }
.fw--steps .fw__tab[aria-selected="true"] .fw__n { text-shadow: 0 0 28px rgba(var(--ac),0.6); }
/* The Champion Network spans every level, so its band carries the whole spectrum */
.fw--steps .fw__tab--band { position: relative; }
.fw--steps .fw__tab--band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, rgb(56,189,248), rgb(96,165,250), rgb(129,140,248), rgb(192,132,252), rgb(232,121,249)); opacity: .85; }
#lvl-6 .fw__bar i { background: linear-gradient(90deg, rgb(56,189,248), rgb(129,140,248), rgb(192,132,252), rgb(232,121,249)); }

/* Tier brackets: each tier named once, under the steps it groups (replaces repeated per-step labels) */
.fw--steps #tab-1, .fw--steps #tab-2, .fw--steps #tab-3, .fw--steps #tab-4, .fw--steps #tab-5 { grid-row: 1; }
.fw--steps .fw__tab--band { grid-row: 3; }
.fw__bracket { grid-row: 2; position: relative; height: 34px; display: flex; justify-content: center; align-items: flex-end; }
.fw__bracket--foundation { grid-column: 1 / span 2; --b1: 56,189,248; --b2: 96,165,250; }
.fw__bracket--build { grid-column: 3; --b1: 129,140,248; --b2: 129,140,248; }
.fw__bracket--lead { grid-column: 4 / span 2; --b1: 192,132,252; --b2: 232,121,249; }
.fw__bracket::before { content: ""; position: absolute; left: 6px; right: 6px; top: 4px; height: 10px; border: 1.5px solid; border-top: 0; border-radius: 0 0 8px 8px;
  border-image: linear-gradient(90deg, rgb(var(--b1)), rgb(var(--b2))) 1; opacity: .8; }
.fw__bracket span { position: relative; padding: 0 12px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  background: linear-gradient(90deg, rgb(var(--b1)), rgb(var(--b2))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fw--steps .fw__tab .fw__tierlab { color: rgba(255,255,255,0.55); letter-spacing: 0.08em; }
.fw--steps .fw__tab[aria-selected="true"] .fw__tierlab { color: rgb(var(--ac)); }
.fw--steps .fw__tab--band .fw__tierlab { color: rgb(var(--ac)); letter-spacing: 0.14em; }
@media (max-width: 960px) {
  .fw--steps .fw__levels > * { grid-row: auto !important; grid-column: auto !important; }
  .fw__bracket { height: auto; justify-content: flex-start; margin-top: 10px; }
  .fw__bracket::before { display: none; }
  .fw__bracket span { padding: 0 4px; }
  .fw__bracket--foundation { order: 0; } .fw--steps #tab-1 { order: 1; } .fw--steps #tab-2 { order: 2; }
  .fw__bracket--build { order: 3; } .fw--steps #tab-3 { order: 4; }
  .fw__bracket--lead { order: 5; } .fw--steps #tab-4 { order: 6; } .fw--steps #tab-5 { order: 7; }
  .fw--steps .fw__tab--band { order: 8; }
}
@media (max-width: 960px) {
  .fw--steps .fw__tab { min-width: 0; margin-left: calc(var(--step, 0) * 6px); }
  .fw--steps .fw__tab > span:not(.fw__n):not(.fw__tierlab) { flex: 1; min-width: 0; }
  .fw--steps .fw__tab .fw__tierlab { flex: none; font-size: 11px; }
  .fw--steps .fw__tab--band { flex-wrap: wrap; }
  .fw--steps .fw__tab--band .fw__tierlab { order: 3; flex: 1 0 100%; box-sizing: border-box; margin: 2px 0 0; padding-left: 60px; }
}

/* ---------- Technology partners (Technology page) ---------- */
.tp-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.tp-head .h2 { margin-top: 20px; }
.tp-head .lead { margin: 0; }
.tp-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 48px; }
.tp-card { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 10px; padding: 30px 24px 26px; border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)); transition: border-color .35s, transform .35s, box-shadow .35s; }
.tp-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s; background: radial-gradient(120% 80% at 50% 0%, rgba(var(--cr),0.22), transparent 65%); }
.tp-card__logo { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 14px; border-radius: 16px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); transition: border-color .35s, box-shadow .35s; }
.tp-card__logo svg { width: 32px; height: 32px; fill: #fff; transition: fill .35s, filter .35s; }
.tp-card h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.4px; }
.tp-card p { color: var(--muted); font-size: 14.5px; line-height: 22px; }
.tp-card:hover { border-color: rgba(var(--cr),0.55); transform: translateY(-4px); box-shadow: 0 24px 60px rgba(var(--cr),0.15); }
.tp-card:hover::before { opacity: 1; }
.tp-card:hover .tp-card__logo { border-color: rgba(var(--cr),0.5); box-shadow: 0 0 30px rgba(var(--cr),0.35); }
.tp-card:hover .tp-card__logo svg { fill: var(--c); filter: drop-shadow(0 0 8px rgba(var(--cr),0.6)); }
@media (max-width: 960px) { .tp-head { grid-template-columns: 1fr; gap: 20px; } .tp-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .tp-grid { grid-template-columns: 1fr 1fr; } }

/* =====================================================================
   Cognitive Orchestration Framework (technology page, ag-): a tilted 3D board of standing agent cards over
   three foundation layers. modules.js drives --rx/--ry (scroll + pointer), packets and the sample run.
   ===================================================================== */
.ag-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.ag-head > div > * + * { margin-top: 22px; }
.ag-head .btn-row { margin-top: 26px; }
.ag-run { font: inherit; border: 0; cursor: pointer; }
.ag-run[disabled] { opacity: .6; cursor: progress; }
.ag-stages { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); counter-reset: st; }
.ag-stages li { padding: 16px 18px 0 0; font-size: 14px; line-height: 21px; color: var(--muted); counter-increment: st; }
.ag-stages b { display: block; color: #fff; font-weight: 500; font-size: 15px; }
.ag-stages b::before { content: "0" counter(st) "  "; font: 12px ui-monospace, "SF Mono", Menlo, monospace; color: #8fb2ff; white-space: pre; }

.ag { display: grid; grid-template-columns: 1fr 340px; gap: 0; margin-top: 36px; border: 1px solid rgba(120,165,255,0.22); border-radius: var(--radius);
  background: radial-gradient(70% 70% at 40% 40%, rgba(0,85,255,0.16), transparent 70%), #03050b; }
.ag-stage { position: relative; height: 640px; overflow: hidden; border-radius: var(--radius) 0 0 var(--radius); }
/* Camera: a flat layer over the projected board, so zooming scales the picture evenly (moved by modules.js during a run). */
.ag-cam { position: absolute; inset: 0; perspective: 1800px; perspective-origin: 50% 30%; transform-origin: 50% 50%; will-change: transform; }
/* Caption typed out for the node in focus during a sample run. */
.ag-say { position: absolute; left: 50%; top: 22px; width: min(540px, calc(100% - 40px)); transform: translate(-50%, -8px); opacity: 0; pointer-events: none; z-index: 2;
  padding: 14px 18px 15px; border-radius: 14px; border: 1px solid rgba(143,178,255,0.45); background: rgba(5,11,30,0.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.5), 0 0 30px rgba(0,85,255,0.25); transition: opacity .35s, transform .35s; }
.ag-say.is-on { opacity: 1; transform: translate(-50%, 0); }
/* While zoomed, other cards step back (opacity on the card only: on the 3D layers it would flatten the board). */
.ag.is-focus .ag-node:not(.is-hot) .ag-card { opacity: .4; }
.ag-say small { display: block; font: 11px ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.14em; text-transform: uppercase; color: #8fb2ff; }
.ag-say[data-kind="human"] { border-color: rgba(196,181,253,0.55); } .ag-say[data-kind="human"] small { color: #c4b5fd; }
.ag-say[data-kind="out"] { border-color: rgba(126,226,184,0.45); } .ag-say[data-kind="out"] small { color: #7ee2b8; }
.ag-say p { margin-top: 6px; font-size: 16px; line-height: 24px; color: #fff; min-height: 48px; }
.ag-say.is-typing p::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: #8fb2ff; animation: agCaret .8s steps(1) infinite; }
@keyframes agCaret { 50% { opacity: 0; } }
.ag-scale { position: absolute; left: 50%; top: 40%; width: 0; height: 0; transform: scale(var(--s, 1)); transform-style: preserve-3d; }
.ag-tilt { position: absolute; transform-style: preserve-3d; transform: rotateY(var(--ry, 0deg)); }
.ag-board { --rx: 54deg; position: absolute; left: -550px; top: -300px; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateZ(var(--rz, 0deg)); }
.ag.is-live .ag-board { transition: none; }
.ag-plane { position: absolute; inset: 0; border-radius: 28px; border: 1px solid rgba(143,178,255,0.25);
  background: linear-gradient(rgba(143,178,255,0.07) 1px, transparent 1px) 0 0 / 50px 50px, linear-gradient(90deg, rgba(143,178,255,0.07) 1px, transparent 1px) 0 0 / 50px 50px,
    radial-gradient(60% 60% at 45% 50%, rgba(0,85,255,0.22), transparent 70%), rgba(4,8,20,0.72); box-shadow: 0 0 80px rgba(0,60,255,0.25) inset; }
.ag-layer { position: absolute; inset: 30px 40px; border-radius: 24px; transform: translateZ(calc(var(--d) * -58px)); border: 1px solid rgba(143,178,255, calc(0.32 - var(--d) * 0.06));
  background: linear-gradient(180deg, rgba(0,85,255, calc(0.12 - var(--d) * 0.025)), rgba(0,0,0,0)); }
.ag-layer:nth-child(2) { border-color: rgba(167,139,250,0.28); background: linear-gradient(180deg, rgba(139,92,246,0.08), transparent); }
.ag-layer:nth-child(3) { border-color: rgba(126,226,184,0.22); background: linear-gradient(180deg, rgba(126,226,184,0.05), transparent); }
.ag-layer__tag { position: absolute; left: 50%; bottom: -1px; transform: translate(-50%, 50%); padding: 5px 14px; border-radius: 999px; font: 12px/1.2 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.75); background: #060a16; border: 1px solid currentColor; cursor: pointer; white-space: nowrap; }
.ag-layer:nth-child(1) .ag-layer__tag { color: #8fb2ff; } .ag-layer:nth-child(2) .ag-layer__tag { color: #c4b5fd; } .ag-layer:nth-child(3) .ag-layer__tag { color: #7ee2b8; }
.ag-layer__tag:hover, .ag-layer__tag[aria-pressed="true"] { background: #0b1430; box-shadow: 0 0 18px currentColor; }
.ag-wires { position: absolute; inset: 0; overflow: visible; transform: translateZ(1px); }
.ag-edge { fill: none; stroke: rgba(143,178,255,0.28); stroke-width: 1.5; stroke-dasharray: 5 7; transition: stroke .4s, stroke-width .4s; }
.ag-edge.is-hot { stroke: #8fb2ff; stroke-width: 2.5; stroke-dasharray: none; filter: drop-shadow(0 0 6px #4d8bff); }
.ag-pad { fill: rgba(0,85,255,0.12); stroke: rgba(143,178,255,0.45); stroke-width: 1; transition: fill .4s, stroke .4s; }
.ag-pad--core { fill: rgba(0,85,255,0.25); stroke: #8fb2ff; }
.ag-pad--human { stroke: rgba(196,181,253,0.6); fill: rgba(139,92,246,0.12); }
.ag-pad--out { stroke: rgba(126,226,184,0.5); fill: rgba(126,226,184,0.08); }
.ag-pad.is-hot { fill: rgba(77,139,255,0.45); stroke: #fff; }
.ag-packet { fill: #fff; filter: drop-shadow(0 0 6px #8fb2ff) drop-shadow(0 0 12px #0055fe); }
.ag-packet--idle { fill: #8fb2ff; opacity: .7; }

.ag-node { position: absolute; width: 0; height: 0; transform-style: preserve-3d; }
.ag-stem { position: absolute; left: -0.5px; bottom: 0; width: 1px; height: var(--lift); transform-origin: 50% 100%; transform: rotateX(-90deg); background: linear-gradient(0deg, rgba(143,178,255,0.1), rgba(143,178,255,0.7)); }
.ag-lift { position: absolute; transform-style: preserve-3d; transform: translateZ(var(--lift)); }
.ag-card { position: absolute; left: 0; bottom: 0; transform-origin: 50% 100%; transform: translateX(-50%) rotateX(calc(var(--rx, 54deg) * -1)) rotateY(calc(var(--ry, 0deg) * -0.6)); transition: box-shadow .35s, border-color .35s, background .35s, translate .35s, opacity .5s;
  display: flex; align-items: center; gap: 10px; width: max-content; padding: 10px 14px 10px 10px; border-radius: 14px; font: inherit; color: #fff; text-align: left; cursor: pointer;
  border: 1px solid rgba(143,178,255,0.35); background: linear-gradient(180deg, rgba(14,24,52,0.96), rgba(6,10,22,0.96)); box-shadow: 0 18px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.03) inset; }
.ag-card:hover { translate: 0 -6px; border-color: rgba(143,178,255,0.8); }
.ag-card[aria-pressed="true"] { border-color: #8fb2ff; box-shadow: 0 18px 40px rgba(0,0,0,0.55), 0 0 30px rgba(0,85,255,0.55); }
.ag-card__icon { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(0,85,255,0.18); border: 1px solid rgba(143,178,255,0.35); }
.ag-card__icon svg { width: 18px; height: 18px; fill: none; stroke: #cfe0ff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ag-card__txt small { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtle); line-height: 14px; }
.ag-card__txt b { display: block; font-weight: 500; font-size: 15px; line-height: 20px; white-space: nowrap; }
.ag-node--core .ag-card { padding: 14px 20px 14px 14px; border-color: rgba(143,178,255,0.7); background: linear-gradient(180deg, #0f2a6e, #071230); box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 50px rgba(0,85,255,0.45); }
.ag-node--core .ag-card__icon { width: 44px; height: 44px; background: #0055fe; }
.ag-node--core .ag-card__txt b { font-size: 19px; }
.ag-node--in .ag-card__icon { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.2); }
.ag-node--human .ag-card { border-color: rgba(196,181,253,0.55); }
.ag-node--human .ag-card__icon { background: rgba(139,92,246,0.22); border-color: rgba(196,181,253,0.5); }
.ag-node--out .ag-card { border-color: rgba(126,226,184,0.4); }
.ag-node--out .ag-card__icon { background: rgba(126,226,184,0.12); border-color: rgba(126,226,184,0.4); }
.ag-node--out .ag-card__icon svg { stroke: #b6f3d8; }
.ag-node.is-hot .ag-card { border-color: #fff; box-shadow: 0 18px 40px rgba(0,0,0,0.55), 0 0 40px rgba(77,139,255,0.8); translate: 0 -8px; }
.ag-node--human.is-hot .ag-card { box-shadow: 0 18px 40px rgba(0,0,0,0.55), 0 0 40px rgba(139,92,246,0.85); }
.ag-node--out.is-hot .ag-card { box-shadow: 0 18px 40px rgba(0,0,0,0.55), 0 0 40px rgba(126,226,184,0.7); }
.ag-node.is-waiting .ag-card { animation: agWait 1.2s ease-in-out infinite; }
@keyframes agWait { 50% { box-shadow: 0 18px 40px rgba(0,0,0,0.55), 0 0 0 8px rgba(139,92,246,0.25), 0 0 50px rgba(139,92,246,0.9); } }

.ag-panel { display: flex; flex-direction: column; border-left: 1px solid var(--line); min-width: 0; }
.ag-detail { padding: 28px 26px 22px; border-bottom: 1px solid var(--line); min-height: 250px; }
.ag-detail small { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #8fb2ff; }
.ag-detail h3 { margin-top: 8px; font-size: 26px; font-weight: 400; letter-spacing: -0.03em; }
.ag-detail p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 24px; }
.ag-detail ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ag-detail li { padding: 4px 10px; border-radius: 999px; font-size: 12.5px; color: rgba(255,255,255,0.8); border: 1px solid var(--line); background: rgba(255,255,255,0.03); }
.ag-detail.is-swap > * { animation: khLine .4s ease both; }
.ag-trace { position: relative; flex: 1; display: flex; flex-direction: column; padding: 18px 20px 20px; min-height: 0; }
.ag-trace__head { display: flex; justify-content: space-between; font: 11px ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); }
.ag-trace__state { color: #7ee2b8; }
.ag-trace__log { list-style: none; margin: 12px 0 0; padding: 0; flex: 1; max-height: 300px; overflow-y: auto; font: 12px/1.6 ui-monospace, "SF Mono", Menlo, monospace; color: rgba(255,255,255,0.8); scrollbar-width: thin; }
.ag-trace__log li { display: grid; grid-template-columns: 50px 1fr; gap: 8px; padding: 4px 0; border-bottom: 1px dashed rgba(255,255,255,0.05); animation: khLine .35s ease both; }
.ag-trace__log li time { color: var(--subtle); }
.ag-trace__log li b { font-weight: 500; color: #8fb2ff; margin-right: 6px; }
.ag-trace__log li[data-tag="human"] b { color: #c4b5fd; } .ag-trace__log li[data-tag="system"] b, .ag-trace__log li[data-tag="report"] b, .ag-trace__log li[data-tag="audit"] b { color: #7ee2b8; }
.ag-trace__log .ag-trace__hint { display: block; color: var(--subtle); font-family: "DM Sans", system-ui, sans-serif; font-size: 13.5px; line-height: 21px; border: 0; }
.ag-approve { margin-top: 12px; align-self: flex-start; font: inherit; font-size: 14px; padding: 9px 16px; border-radius: 10px; color: #fff; cursor: pointer; border: 1px solid #a78bfa; background: rgba(139,92,246,0.25); animation: agWait 1.2s ease-in-out infinite; }

/* Compact: the board becomes a flat, scaled diagram; panel moves below. */
@media (max-width: 1100px) {
  .ag { grid-template-columns: 1fr; }
  .ag-stage { height: 500px; border-radius: var(--radius) var(--radius) 0 0; }
  .ag-panel { border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; }
  .ag-detail { border-bottom: 0; border-right: 1px solid var(--line); }
}
@media (max-width: 960px) { .ag-head { grid-template-columns: 1fr; gap: 24px; } .ag-stages { grid-template-columns: 1fr 1fr; gap: 0 18px; } }
@media (max-width: 720px) {
  .ag-stage { height: 420px; }
  .ag-panel { grid-template-columns: 1fr; }
  .ag-detail { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
  .ag-stages { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ag-card, .ag-edge, .ag-pad, .ag-say { transition: none; } .ag-node.is-waiting .ag-card, .ag-approve { animation: none; } }

/* ---------- Device optimisation ---------- */
/* Orchestration board on phones: a tappable grid replaces the scaled-down 3D board. */
.ag-list { display: none; }
@media (max-width: 720px) {
  .ag-stage { display: none; }
  .ag-list { display: grid; gap: 18px; list-style: none; margin: 0; padding: 22px 18px; border-bottom: 1px solid var(--line); }
  .ag-list p { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtle); margin-bottom: 8px; }
  .ag-list div { display: flex; flex-wrap: wrap; gap: 8px; }
  .ag-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 7px 14px 7px 7px; border-radius: 14px; font: inherit; font-size: 14.5px; color: #fff; cursor: pointer;
    border: 1px solid rgba(143,178,255,0.3); background: linear-gradient(180deg, rgba(14,24,52,0.9), rgba(6,10,22,0.9)); transition: border-color .3s, box-shadow .3s; }
  .ag-chip .ag-card__icon { width: 32px; height: 32px; }
  .ag-chip--core { border-color: rgba(143,178,255,0.7); background: linear-gradient(180deg, #0f2a6e, #071230); }
  .ag-chip--human { border-color: rgba(196,181,253,0.55); }
  .ag-chip--out { border-color: rgba(126,226,184,0.4); }
  .ag-chip[aria-pressed="true"] { border-color: #8fb2ff; box-shadow: 0 0 24px rgba(0,85,255,0.45); }
  .ag-chip.is-hot { border-color: #fff; box-shadow: 0 0 26px rgba(77,139,255,0.75); }
  .ag-chip.is-waiting { animation: agWait 1.2s ease-in-out infinite; }
}
/* 3D layer stack (Technology): never wider than the screen. */
.tx-stack__view { overflow-x: clip; }
@media (max-width: 640px) {
  .tx-stack__view { height: 400px; }
  .tx-stack__scene { width: 210px; height: 210px; margin: -105px 0 0 -105px; --gap: 36px; }
  .tx-stack__view:hover .tx-stack__scene { --gap: 44px; }
}
/* Enablement staircase on phones: the step indent comes out of the width, not on top of it. */
@media (max-width: 960px) { .fw--steps .fw__tab { width: calc(100% - var(--step, 0) * 10px); } }
@media (max-width: 960px) {
  .fw--steps .fw__levels { grid-template-columns: minmax(0, 1fr); }
  .fw--steps .fw__levels > * { min-width: 0; }
  .fw--steps .fw__tab { flex-wrap: wrap; }
}
.fw--steps .fw__panel .fw__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 420px) { .fw--steps .fw__panel .fw__meta { grid-template-columns: minmax(0, 1fr); } }
/* Cycle ring (case studies) on small phones: shrink the ring and the node radius together. */
@media (max-width: 420px) {
  .m-cycle__ring { max-width: 260px; }
  .m-cycle__ring i { transform: rotate(var(--a)) translateY(-130px) rotate(calc(-1 * var(--a))); width: 40px; height: 40px; margin: -20px; }
}
.m-band__copy { min-width: 0; }
@media (max-width: 420px) { .m-band__copy { padding: 26px 22px; } .m-band { min-height: 480px; } }
/* Type staircase (Services) on phones: fluid size, smaller step indent, and clipped so the scroll slide-in never widens the page. */
.m-steptype > div:last-child { overflow-x: clip; }
@media (max-width: 640px) {
  .m-steptype li { font-size: clamp(19px, 6.4vw, 30px); padding-left: calc(var(--i) * 3.5%); }
}
@media (max-width: 380px) { .m-steptype li { white-space: normal; } }
.m-cycle { overflow-x: clip; }
.hero-mirror .sx-hero__copy .sx-crumbs { margin-bottom: 22px; }
.m-hotspots__map { position: relative; display: block; }
.m-hotspots__map img { display: block; width: 100%; height: auto; }
@media (max-width: 640px) { .m-hotspot { width: 24px; height: 24px; margin: -12px; font-size: 11px; } }
@media (max-width: 640px) { .hero-wide .dt .sx-net__bar { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sx-net__bar small { letter-spacing: 0.04em; } }
/* Phones: know-how code wraps instead of scrolling sideways */
@media (max-width: 640px) {
  .kh .kh-code { font-size: 12px; overflow-x: hidden; }
  .kh .kh-code code { min-width: 0; }
  .kh .kh-line { display: grid; grid-template-columns: 34px minmax(0, 1fr); padding-right: 30px; }
  .kh .kh-line > i { width: auto; padding-right: 10px; }
  .kh .kh-line > span { white-space: pre-wrap; overflow-wrap: anywhere; }
}
@media (max-width: 640px) {
  .tl-filters { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -20px; margin-right: -20px; padding: 0 20px 2px; }
  .tl-filters::-webkit-scrollbar { display: none; }
  .tl-filters button { flex: none; }
  .tl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; }
  .tl-grid .tl-tile { min-height: 0; padding: 14px 6px; aspect-ratio: auto; }
  .tl-grid .tl-tile svg { width: 26px; height: 26px; }
  .tl-grid .tl-tile span { font-size: 11.5px; }
}

/* Capability framework on phones: levels as a swipeable chip row right above the detail; compact detail. */
@media (max-width: 640px) {
  .fw--steps .fw__levels { display: flex !important; flex-wrap: nowrap; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 14px 20px 6px; }
  .fw--steps .fw__levels::-webkit-scrollbar { display: none; }
  .fw--steps .fw__bracket { display: none !important; }
  .fw--steps .fw__tab, .fw--steps .fw__tab--band { flex: 0 0 auto; width: 168px !important; height: auto !important; min-height: 0; margin: 0 !important; scroll-snap-align: start;
    display: grid !important; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 12px 14px !important; border-radius: 14px; transform: none !important; }
  .fw--steps .fw__tab[aria-selected="true"] { transform: none !important; }
  .fw--steps .fw__n { grid-row: 1 / span 2; font-size: 30px !important; }
  .fw--steps .fw__tab--band .fw__n { width: 32px; height: 32px; font-size: 14px !important; }
  .fw--steps .fw__tierlab, .fw--steps .fw__tab--band .fw__tierlab { position: static !important; order: 0; margin: 0 !important; font-size: 10px; grid-column: 2; }
  .fw--steps .fw__name { grid-column: 2; font-size: 14px !important; line-height: 18px !important; }
  .fw--steps .fw__aud { display: none; }
  .fw--steps .fw__panel { margin-top: 6px; padding: 22px 18px !important; }
  .fw--steps .fw__panel .fw__cols { grid-template-columns: 1fr !important; gap: 18px; margin-top: 18px; }
  .fw--steps .fw__cols ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .fw--steps .fw__cols li { padding: 5px 10px; border-radius: 999px; font-size: 13px; line-height: 18px; border: 1px solid rgba(var(--ac),0.35); background: rgba(var(--ac),0.08); }
  .fw--steps .fw__cols li::before { display: none; }
  .fw--steps .fw__panel .fw__meta { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 6px; margin-top: 18px; }
  .fw--steps .fw__meta div { padding: 10px 10px; }
  .fw--steps .fw__meta span { font-size: 10px; }
  .fw--steps .fw__meta strong { font-size: 12.5px; line-height: 17px; }
}
@media (max-width: 640px) {
  .fw--steps { margin-top: 28px; }
  .fw--steps .fw__levels { align-items: stretch !important; scroll-padding-left: 20px; }
  .fw--steps .fw__levels > * { align-self: stretch; max-height: 92px; }
}
/* Framework levels on phones: all six visible at once in a 3 × 2 grid (replaces the swipe row). */
@media (max-width: 640px) {
  .fw--steps .fw__levels { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; overflow: visible; margin: 0; padding: 10px 0 0; -webkit-mask-image: none !important; mask-image: none !important; }
  .fw--steps .fw__levels + .xs-hint { display: none !important; }
  .fw--steps .fw__tab, .fw--steps .fw__tab--band { width: auto !important; max-height: none; min-height: 84px; display: flex !important; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 6px;
    padding: 10px 10px 11px !important; border-radius: 12px; box-shadow: none !important; overflow: hidden; }
  .fw--steps .fw__tab::after { display: none; }
  .fw--steps .fw__tab[aria-selected="true"] { box-shadow: inset 0 0 0 1px rgba(var(--ac),0.9), 0 0 18px rgba(var(--ac),0.25) !important; }
  .fw--steps .fw__n { font-size: 22px !important; line-height: 1; color: rgb(var(--ac)) !important; -webkit-text-stroke: 0 !important; }
  .fw--steps .fw__tab[aria-selected="true"] .fw__n { color: #fff !important; }
  .fw--steps .fw__tab--band .fw__n { width: 24px; height: 24px; font-size: 12px !important; border-radius: 7px; }
  .fw--steps .fw__tierlab { display: none !important; }
  .fw--steps .fw__name { font-size: 12.5px !important; line-height: 16px !important; color: rgba(255,255,255,0.85); }
  .fw--steps .fw__tab[aria-selected="true"] .fw__name { color: #fff; }
}
