/* ==========================================================================
   Druits — static site styles
   Palette taken from druits.com Elementor globals:
   accent #2A44D4 · navy #041537 · green #1AD67E · teal #00D1A2
   text #0C0C0C · light #F4F5FD
   ========================================================================== */

/* Self-hosted variable fonts (SIL Open Font License).
   Served from our own origin so no visitor IP reaches Google — see /privacy/. */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../assets/fonts/instrument-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../assets/fonts/instrument-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --accent: #2A44D4;
  --accent-dark: #1f35ad;
  --navy: #041537;
  --navy-deep: #030d24;
  --green: #1AD67E;
  --teal: #00D1A2;
  --red: #e5484d;
  --ink: #0C0C0C;
  --muted: #4b5163;
  --light: #F4F5FD;
  --border: #e3e6f2;
  --font-display: "Instrument Sans", "Inter", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --radius: 10px;
  --header-h: 72px;
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { color: var(--muted); }

a { color: inherit; text-decoration: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

section { padding: 80px 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { margin-top: 12px; }

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn .arrow { font-size: 0.85em; transition: transform 0.2s; }
.btn:hover .arrow { transform: translate(2px, -2px); }

.btn--ghost { background: transparent; border: 1.5px solid rgba(255,255,255,0.6); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); }

/* Header ----------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  /* Hairline drawn as a shadow, not a border, so the header's box height is
     exactly --header-h. Anything measuring against that token (the sticky
     dropdowns, the full-height hero unit) then lines up without a fudge. */
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo img { height: 34px; width: auto; }

.main-nav ul { display: flex; align-items: center; gap: 8px; list-style: none; }

.main-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 6px;
}

.main-nav .nav-link:hover { background: var(--light); }

.main-nav .caret { font-size: 0.6rem; transition: transform 0.2s; }
.has-dropdown.open .caret { transform: rotate(180deg); }

.has-dropdown { position: relative; }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 412px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(4, 21, 55, 0.14);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}

.has-dropdown.open .dropdown,
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Icon + two lines of text. The icon spans both rows, so a one-line title and
   a two-line description stay optically aligned against it. */
.dropdown a {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-areas: "ico title" "ico desc";
  column-gap: 13px; row-gap: 2px;
  padding: 12px 14px; border-radius: 8px;
}
.dropdown a:hover { background: var(--light); }
.dropdown a strong { grid-area: title; font-family: var(--font-display); font-size: 0.98rem; }
.dropdown a span { grid-area: desc; font-size: 0.83rem; color: var(--muted); line-height: 1.45; }

/* The chip is the <img> itself - background and padding on the element, so no
   wrapper is needed and the icon keeps its intrinsic 24px artwork crisp. */
.dropdown a .dd-ico {
  grid-area: ico; align-self: center;
  width: 36px; height: 36px; box-sizing: border-box;
  padding: 9px; border-radius: 9px;
  background: var(--light);
  transition: background 0.2s ease, transform 0.2s ease;
}
.dropdown a:hover .dd-ico { background: #fff; transform: translateY(-1px); }

@media (prefers-reduced-motion: reduce) {
  .dropdown a .dd-ico { transition: none; }
  .dropdown a:hover .dd-ico { transform: none; }
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--ink);
}

/* Hero slider (home) ------------------------------------------------------ */

/* 85vh matches druits.com. The height matters: background-size:cover means a
   taller box crops the sides, zooming the artwork in over the copy. */
.hero-slider { position: relative; height: 85vh; min-height: 600px; overflow: hidden; padding: 0; }

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 10, 28, 0.78) 0%, rgba(3, 10, 28, 0.35) 60%, rgba(3, 10, 28, 0.15) 100%);
}

.slide.active { opacity: 1; z-index: 1; }

/* .slide is a flex row, so .container would shrink-wrap its content and then be
   centred by its auto margins — pushing the copy into the middle of the artwork.
   width:100% makes it fill the slide so it lines up with the header container. */
.slide > .container { width: 100%; padding-bottom: 56px; }

/* Capped so the right of the frame stays clear for the slide artwork. */
.slide-content { position: relative; z-index: 2; max-width: 620px; color: #fff; }
.slide-content .eyebrow { color: rgba(255,255,255,0.85); }
/* Slides 2+ use h2 so the page has a single h1 — size them identically. */
.slide-content h1,
.slide-content h2 { font-size: clamp(2.2rem, 5vw, 3.75rem); text-transform: uppercase; margin-bottom: 20px; }
.slide-content p { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 600px; }

.slider-nav {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 8px 6px;
}

.slider-nav button {
  background: none;
  border: 0;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 6px;
  cursor: pointer;
  border-radius: 999px;
}

.slider-nav button.active { color: #fff; background: rgba(255,255,255,0.22); }

/* Page hero (interior pages) ---------------------------------------------- */

.page-hero {
  position: relative;
  background: var(--navy);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 110px 0;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 10, 28, 0.85) 0%, rgba(3, 10, 28, 0.45) 100%);
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 720px; margin-bottom: 18px; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 620px; font-size: 1.05rem; margin-bottom: 28px; }

/* Hero carrying the DAT concept player: copy left, demo in the right-hand space.
   The demo is sized to the column and must NOT grow the hero, so the stage is
   compacted (fixed 2x2 grid, shorter charts) rather than left to reflow into a
   taller stack. Hero height stays in line with a plain page-hero.
   On-navy text colours match the roi-band pattern already used on that page. */
.page-hero--demo { padding: 72px 0; }
/* Gradient instead of a photo: resolution-independent, so no upscaling and no
   crop at any viewport. The accent glow sits under the right-hand column to
   lift the demo card off the surface. */
.page-hero--demo {
  background-image:
    radial-gradient(1100px 620px at 76% 48%, rgba(42, 68, 212, 0.30), transparent 68%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 58%, #062057 100%);
}
/* The base hero's ::before exists to darken a photo for text legibility. With no
   photo it just muddies the gradient. */
.page-hero--demo::before { display: none; }
.page-hero--demo .container {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 44px;
  align-items: center;
}
/* No font-size override: the h1 uses the same global clamp(2.2rem, 5vw, 3.75rem)
   as the MRO and Property Management heroes, so the product pages stay
   typographically consistent. Only the 720px clamp is dropped, since the copy
   column is narrower than that anyway. */
.page-hero--demo h1 { max-width: none; }
.page-hero--demo .hero-copy p { max-width: none; margin-bottom: 24px; }

/* Column-bound, not 980px-bound, and no auto centring.
   min-height reserves the ASSEMBLED height so the card is its final size from
   the first paint and never resizes. Required because renderDashboard() does
   `kpiRow.innerHTML = ''` / `chartGrid.innerHTML = ''` on every cycle, which
   collapses the stage to zero height — without this the card starts short,
   jumps when the first dashboard lands, then pumps on every loop. */
/* color: the card is a light surface sitting inside a hero that sets
   `color: #fff`. Everything in here that inherits its colour — the prompt text,
   .kpi-value, .chart-card h3 — would otherwise render white on white and read
   as blank. Reset to ink at the card boundary. */
.page-hero--demo .concept-player { margin: 0; max-width: none; padding: 16px; min-height: 394px; color: var(--ink); }
.page-hero--demo .concept-prompt { font-size: 0.9rem; padding: 12px 14px; }
/* Fixed height, not min-height: this is empty most of the cycle but holds
   "Building dashboard…" briefly, and the text's line box is ~3px taller than a
   16px floor — enough to nudge the whole card. */
.page-hero--demo .concept-status { font-size: 0.75rem; height: 20px; min-height: 0; margin: 8px 2px 0; overflow: hidden; }

/* Fixed 3-up KPIs and 2-up charts: `auto-fit` would wrap at this width and make
   the card taller, which is exactly what must not happen. */
.page-hero--demo .concept-stage .kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.page-hero--demo .kpi-tile { padding: 11px 12px; }
.page-hero--demo .kpi-tile .kpi-label { font-size: 0.6rem; letter-spacing: 0.04em; }
.page-hero--demo .kpi-tile .kpi-value { font-size: 1.1rem; margin-top: 2px; }
.page-hero--demo .kpi-tile .kpi-trend { font-size: 0.66rem; }
.page-hero--demo .concept-stage .chart-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.page-hero--demo .chart-card { padding: 12px; }
.page-hero--demo .chart-card h3 { font-size: 0.78rem; margin-bottom: 4px; }
.page-hero--demo .concept-stage .chart-card .chart { height: 132px; }

/* Needs .page-hero--demo to outrank `.page-hero p`, which would otherwise
   clamp this back to 620px and re-add its bottom margin. */
.page-hero--demo .hero-demo-note {
  max-width: none;
  margin: 14px 0 0;
  text-align: left;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
}
.page-hero--demo .hero-demo-note a { color: #4ADE9B; font-weight: 600; }

/* Below the split, stack and let the demo use the full width again. */
@media (max-width: 980px) {
  .page-hero--demo .container { grid-template-columns: 1fr; gap: 32px; }
  .page-hero--demo .concept-stage .chart-grid { grid-template-columns: 1fr; }
  .page-hero--demo .concept-stage .chart-card .chart { height: 180px; }
}
@media (max-width: 720px) {
  .page-hero--demo { padding: 56px 0 44px; }
  .page-hero--demo .concept-stage .kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Logo band ---------------------------------------------------------------- */

.logo-band { padding: 64px 0; border-bottom: 1px solid var(--border); }
.logo-band h2 { text-align: center; font-size: clamp(1.3rem, 2.5vw, 1.7rem); margin-bottom: 40px; }

.marquee { overflow: hidden; position: relative; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: marquee 45s linear infinite;
}
/* No pause-on-hover. The strip is a full-width band sitting right at the fold,
   so a cursor resting anywhere on the page stopped it dead and it read as a
   broken carousel rather than a deliberate pause. */

/* An infinite auto-scroll should not run for someone who has asked for less
   motion. Stopping it (rather than hiding it) keeps every logo on the page. */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
.marquee-track img { height: 44px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(0.15); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Cards -------------------------------------------------------------------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover { box-shadow: 0 18px 44px rgba(4, 21, 55, 0.12); transform: translateY(-4px); }

.card img { height: 150px; object-fit: contain; margin: 20px auto; }
.card h3 { min-height: 3.2em; display: flex; align-items: center; justify-content: center; }
.card p { font-size: 0.92rem; flex: 1; margin: 8px 0 24px; }
.card .btn { align-self: center; }

/* Feature grid (icon cards on solution pages) ------------------------------- */

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.feature {
  background: var(--light);
  border-radius: var(--radius);
  padding: 30px 26px;
}

.feature h3 { font-size: 1.1rem; margin-bottom: 10px; }
.feature p { font-size: 0.92rem; }
/* Card icons, taken from the live site's Elementor icon widgets and self-hosted
   as SVG in assets/img/icons/ (no icon font, no third-party request). */
.feature-icon { display: block; width: 48px; height: 48px; margin-bottom: 16px; }

/* Split sections (text + image) --------------------------------------------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > .split-media { order: 2; }
.split h2 { margin-bottom: 18px; }
.split p { margin-bottom: 14px; }
.split ul { list-style: none; margin: 18px 0 24px; }
.split ul li { padding-left: 30px; position: relative; margin-bottom: 12px; color: var(--muted); }
/* Filled circle + white tick, matching the live site's Elementor icon-list
   badges. #0E9F63 not var(--green) (#1AD67E): the accent green is too light to
   carry a white glyph. The tick is decorative — the list text carries meaning. */
.split ul li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #0E9F63;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}
.split-media img { border-radius: var(--radius); box-shadow: 0 24px 60px rgba(4, 21, 55, 0.16); }

.alt-bg { background: var(--light); }

/* Carousel ------------------------------------------------------------------
   Vanilla and dependency-free: the site issues zero third-party requests, and
   pulling Swiper from a CDN would undo that and require a privacy-notice change.
   Every slide stays in the DOM, so all content is present for search engines and
   for anyone without JS (see the :not([data-carousel-ready]) fallback below). */
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.5s ease; }
.carousel-slide { flex: 0 0 100%; min-width: 100%; }

/* Slide images are sourced from stock of varying aspect ratios, which made each
   slide's picture a different height (416px vs 340px on MRO). Fix the box and
   cover-crop so every slide presents identically as the carousel advances. */
.carousel .split-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 900px) {
  .carousel .split-media img { height: 260px; }
}

/* Text-only slide (no paired image) — Property Management's support carousel. */
.carousel-copy { max-width: 760px; margin: 0 auto; text-align: center; }
.carousel-copy h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 12px; }
.carousel-copy p { color: var(--muted); }

.carousel-controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; margin-top: 32px;
}
.carousel-count { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin: 0; }
.carousel-arrows { display: flex; }
.carousel-arrows button {
  width: 54px; height: 54px;
  border: 0; cursor: pointer;
  background: var(--accent); color: #fff;
  font-size: 1.15rem; line-height: 1;
  transition: background 0.2s ease;
}
.carousel-arrows button:hover { background: var(--accent-dark); }
.carousel-arrows button:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }

/* Before JS runs (or if it never does) show every slide stacked rather than
   clipping three of four away. */
.carousel:not([data-carousel-ready]) .carousel-track { display: block; }
.carousel:not([data-carousel-ready]) .carousel-slide + .carousel-slide { margin-top: 64px; }
.carousel:not([data-carousel-ready]) .carousel-controls { display: none; }

@media (prefers-reduced-motion: reduce) {
  .carousel-track { transition: none; }
}
@media (max-width: 720px) {
  .carousel-arrows button { width: 46px; height: 46px; }
  .carousel-controls { margin-top: 24px; }
}

/* We are Druits -------------------------------------------------------------- */

.we-are { text-align: center; background: var(--light); }
.we-are h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 24px; }
.we-are .lede { max-width: 760px; margin: 0 auto; font-size: 1.05rem; }
.hl-red { color: var(--red); font-weight: 600; }
.hl-green { color: var(--green); font-weight: 600; }

/* Stats band ------------------------------------------------------------------ */

.stats-band {
  position: relative;
  background: var(--navy) center/cover;
  color: #fff;
  text-align: center;
}

.stats-band::before { content: ""; position: absolute; inset: 0; background: rgba(4, 21, 55, 0.82); }
.stats-band .container { position: relative; z-index: 1; }
.stats-band h2 { margin-bottom: 14px; }
.stats-band > .container > p { color: rgba(255,255,255,0.8); max-width: 640px; margin: 0 auto 56px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

.stat .num { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; }
.stat .label { color: rgba(255,255,255,0.75); font-size: 0.95rem; margin-top: 6px; }

/* CTA card ---------------------------------------------------------------------- */

.cta-wrap { padding: 0; background: linear-gradient(180deg, #fff 50%, var(--navy-deep) 50%); }
.cta-wrap.on-dark { background: var(--navy-deep); padding-top: 60px; }

.cta-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(4, 21, 55, 0.25);
  text-align: center;
  padding: 64px 40px;
}

.cta-card h2 { margin-bottom: 12px; }
.cta-card p { margin-bottom: 28px; }

/* FAQ ------------------------------------------------------------------------------ */

.faq-list { max-width: 820px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  padding: 22px 4px;
  cursor: pointer;
}

.faq-q::after { content: "+"; font-size: 1.5rem; color: var(--accent); flex-shrink: 0; transition: transform 0.25s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 4px 22px; font-size: 0.95rem; }

/* Forms ------------------------------------------------------------------------------ */

.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-grid label { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 6px; }

.form-grid input,
.form-grid textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-grid input:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(42, 68, 212, 0.15);
}

.form-note { font-size: 0.85rem; }

/* Footer -------------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-deep) center/cover;
  color: #fff;
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.3fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-col h4 { font-size: 0.95rem; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.7; }

/* ROI band (analytical-reporting): rules now live in the "DAT percentage band"
   block at the end of this file. */

/* Legal pages (privacy notice) — long-form prose needs more breathing room
   than the marketing sections. */
.legal h2 { font-size: 1.6rem; margin-top: 48px; margin-bottom: 14px; }
.legal h3 { font-size: 1.1rem; margin-top: 30px; margin-bottom: 10px; }
.legal p { margin-bottom: 14px; line-height: 1.7; }
.legal ul { margin: 0 0 18px 22px; }
.legal li { margin-bottom: 8px; line-height: 1.7; }
.legal a { color: var(--accent); }

.footer-legal { color: rgba(255,255,255,0.75); font-size: 0.85rem; text-decoration: none; }
.footer-legal:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  flex-wrap: wrap;
}

.footer-bottom .copyright { color: rgba(255,255,255,0.55); font-size: 0.85rem; }

.sap-badge { height: 56px; width: auto; }

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}

.social a:hover { background: var(--accent); }

/* Reveal on scroll ------------------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive -------------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .cards, .feature-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > .split-media { order: 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .menu-toggle { display: block; }

  /* Lay the slider dots along the bottom, as druits.com does — the vertical
     rail sits on top of the copy once the column is this narrow. */
  .slider-nav {
    right: auto;
    left: 50%;
    top: auto;
    bottom: 24px;
    transform: translateX(-50%);
    flex-direction: row;
  }
  .slide > .container { padding-bottom: 80px; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    padding: 24px;
    display: none;
    overflow-y: auto;
  }

  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav .nav-link { width: 100%; justify-content: space-between; padding: 16px 8px; font-size: 1.05rem; }

  .dropdown {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: 0;
    display: none;
    padding: 0 0 8px;
  }

  .has-dropdown.open .dropdown { display: block; opacity: 1; visibility: visible; transform: none; }
  .has-dropdown:hover .dropdown { transform: none; }

  .cards, .feature-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .slider-nav { right: 14px; }
  section { padding: 56px 0; }
}

/* AI assistant widget ----------------------------------------------------- */

.ai-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--accent), #00b8d9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(42, 68, 212, 0.4);
  transition: transform 0.2s;
}

.ai-fab:hover { transform: scale(1.06); }

.ai-panel {
  position: fixed;
  right: 24px;
  bottom: 94px;
  z-index: 200;
  width: min(380px, calc(100vw - 32px));
  height: min(520px, calc(100vh - 130px));
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(4, 21, 55, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ai-panel[hidden] { display: none; }

.ai-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--navy);
  color: #fff;
}

.ai-panel-head strong { font-family: var(--font-display); display: block; font-size: 0.95rem; }
.ai-panel-head span { font-size: 0.72rem; color: rgba(255,255,255,0.65); }
.ai-close { background: none; border: 0; color: rgba(255,255,255,0.8); font-size: 1rem; cursor: pointer; }

.ai-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }

.ai-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.ai-msg--bot { background: var(--light); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.ai-msg--user { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.ai-msg--pending { color: var(--muted); }
.ai-msg--demo { border: 1px dashed var(--accent); }

.ai-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.ai-input-row input { flex: 1; border: 1px solid var(--border); border-radius: 999px; padding: 10px 16px; font-size: 0.9rem; }
.ai-input-row input:focus { outline: none; border-color: var(--accent); }
.ai-input-row button {
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: var(--accent); color: #fff; cursor: pointer; font-size: 0.9rem;
}

/* AI demo page ------------------------------------------------------------ */

.demo-input-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 36px rgba(4, 21, 55, 0.08);
}

.demo-input-row { display: flex; gap: 12px; }
.demo-input-row input {
  flex: 1;
  font-size: 1rem;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
}
.demo-input-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(42,68,212,0.15); }

.demo-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.demo-chips button {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.83rem;
  color: var(--muted);
  cursor: pointer;
}
.demo-chips button:hover { border-color: var(--accent); color: var(--accent); }

.dash { margin-top: 40px; }
.dash-title { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.dash-insight { font-size: 0.92rem; background: #eefcf5; border: 1px solid #bfeeda; color: #0a6e46; padding: 10px 16px; border-radius: 8px; }

.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 20px; }
.kpi-tile { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.kpi-tile .kpi-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.kpi-tile .kpi-value { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; margin-top: 4px; }
.kpi-tile .kpi-trend { font-size: 0.8rem; font-weight: 600; }
.kpi-trend--up { color: #0E9F63; }
.kpi-trend--down { color: #0084A8; }
.kpi-trend--flat { color: var(--muted); }

.chart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.chart-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.chart-card h3 { font-size: 0.95rem; margin-bottom: 8px; }
.chart-card .chart { width: 100%; height: 280px; }

.demo-status { margin-top: 16px; font-size: 0.9rem; }
.demo-status--error { color: #c0392b; }

.ai-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(42,68,212,0.08); color: var(--accent);
  border-radius: 999px; padding: 6px 14px;
  font-size: 0.8rem; font-weight: 600;
}

/* DAT concept player ------------------------------------------------------- */

.concept-player {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(4, 21, 55, 0.1);
  padding: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.concept-prompt {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 1rem;
  min-height: 52px;
}

.concept-prompt .concept-icon { color: var(--accent); flex-shrink: 0; font-weight: 700; }
.concept-prompt .concept-caret {
  display: inline-block;
  width: 2px; height: 1.15em;
  background: var(--accent);
  margin-left: 1px;
  animation: caret-blink 1s steps(1) infinite;
}

@keyframes caret-blink { 50% { opacity: 0; } }

.concept-status { min-height: 22px; font-size: 0.85rem; color: var(--accent); font-weight: 600; margin: 10px 2px 0; }

.concept-stage { opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.5s ease; margin-top: 8px; }
.concept-stage--visible { opacity: 1; transform: none; }

.concept-stage .kpi-row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.concept-stage .chart-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.concept-stage .chart-card .chart { height: 240px; }

@media (prefers-reduced-motion: reduce) {
  .concept-prompt .concept-caret { animation: none; }
  .concept-stage { transition: none; }
}

/* ============================================================================
   HOME v2 — light enterprise design language
   ----------------------------------------------------------------------------
   Light-first by direction. Dark/neon reads as consumer tech to the aerospace
   and defence buyers this site sells to; confident light is the right register
   for SAP-adjacent enterprise software.

   Surfaces are #fff and --light with soft tinted gradient washes; navy stays for
   type. Product UI carries the visual weight instead of stock photography, which
   also permanently removes the upscaling problem — every hero photo in this repo
   is narrower than a wide viewport.
   ========================================================================== */

/* Hero --------------------------------------------------------------------- */
.hero-lite {
  position: relative;
  padding: 88px 0 76px;
  background:
    radial-gradient(900px 520px at 84% 14%, rgba(42, 68, 212, 0.10), transparent 62%),
    radial-gradient(760px 500px at 6% 84%, rgba(0, 209, 162, 0.11), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--light) 100%);
  overflow: hidden;
}
.hero-lite .container {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 52px;
  align-items: center;
}
.hero-lite h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-lite h1 em { font-style: normal; color: var(--accent); }
.hero-lite .lede {
  font-size: 1.1rem; line-height: 1.65; color: var(--muted);
  margin-bottom: 30px; max-width: 48ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  border: 1px solid var(--border); background: #fff; color: var(--navy);
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.btn-ghost:hover { border-color: var(--accent); transform: translateY(-1px); }
.hero-lite .hero-note { margin-top: 24px; font-size: 0.8rem; color: var(--muted); max-width: 48ch; }

/* The demo card sits on a light surface here, so it needs a stronger shadow
   than it does on navy in order to lift off the background. */
/* 515px matches .product-panel so switching tabs cannot resize the hero — the
   MRO panel carries a 188px photo band and is the tallest of the three. */
.hero-lite .concept-player {
  margin: 0; max-width: none; padding: 16px; min-height: 560px;
  box-shadow: 0 30px 70px rgba(4, 21, 55, 0.14);
}
/* The hero column is narrower than the DAT page's, so the longest scenario
   prompt wraps to two lines while the others fit one — which moved the card
   between 399px and 424px as the demo cycled. Reserve both lines. */
.hero-lite .concept-prompt { min-height: 81px; align-items: flex-start; }
.hero-lite .concept-status { font-size: 0.75rem; height: 20px; min-height: 0; margin: 8px 2px 0; overflow: hidden; }
.hero-lite .concept-stage .kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.hero-lite .kpi-tile { padding: 11px 12px; }
.hero-lite .kpi-tile .kpi-label { font-size: 0.6rem; letter-spacing: 0.04em; }
.hero-lite .kpi-tile .kpi-value { font-size: 1.1rem; margin-top: 2px; }
.hero-lite .kpi-tile .kpi-trend { font-size: 0.66rem; }
.hero-lite .concept-stage .chart-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hero-lite .chart-card { padding: 12px; }
.hero-lite .chart-card h3 { font-size: 0.78rem; margin-bottom: 4px; }
.hero-lite .concept-stage .chart-card .chart { height: 132px; }

/* Trust strip -------------------------------------------------------------- */
.trust-strip { padding: 36px 0 42px; background: #fff; border-bottom: 1px solid var(--border); }
.trust-label {
  text-align: center; font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 24px;
}
.trust-strip .marquee-track { gap: 60px; }
.trust-strip .marquee-track img {
  height: 42px; max-width: 150px; object-fit: contain;
  filter: grayscale(1); opacity: 0.6;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.trust-strip .marquee-track img:hover { filter: none; opacity: 1; }

/* Bento solutions ---------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bento-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: 30px; overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(4, 21, 55, 0.10);
  border-color: #cfd6f5;
}
.bento-card--wide { grid-column: span 2; }
.bento-eyebrow {
  font-size: 0.71rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; color: var(--accent); margin-bottom: 12px;
}
.bento-card h3 { font-size: clamp(1.2rem, 1.7vw, 1.5rem); margin-bottom: 10px; }
.bento-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.bento-points { list-style: none; margin: 0 0 22px; }
.bento-points li {
  position: relative; padding-left: 27px; margin-bottom: 9px;
  font-size: 0.9rem; color: var(--muted);
}
.bento-points li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #0E9F63; color: #fff; font-size: 0.62rem; font-weight: 700;
}
.bento-link { margin-top: auto; font-weight: 700; color: var(--accent); text-decoration: none; font-size: 0.92rem; }
.bento-link:hover { text-decoration: underline; }
/* The source images carry baked-in decorative chevrons and clipart around their
   edges, which read as stock clipart and undercut the card. Scale past them so
   only the product screenshot in the middle survives the crop. */
.bento-media { margin: 22px -30px -30px; border-top: 1px solid var(--border); overflow: hidden; }
.bento-media img {
  display: block; width: 100%; height: 200px;
  object-fit: cover; object-position: center;
  transform: scale(1.22);
}

/* AI band ------------------------------------------------------------------ */
.ai-lite { background: var(--light); }
.ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ai-item { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.ai-item h3 { font-size: 1.08rem; margin: 14px 0 10px; }
.ai-item p { color: var(--muted); font-size: 0.92rem; }
.ai-foot { text-align: center; margin-top: 30px; font-size: 0.82rem; color: var(--muted); }
.ai-foot a:not(.btn) { color: var(--accent); font-weight: 600; }

/* Proof band — deliberately light, so the numbers read as an invitation
   rather than a confrontation. Data colours are the ones already validated
   for this site: #C2321C / #0E9F63. */
.proof-lite { background: #fff; }
.proof-hero { text-align: center; margin-bottom: 44px; }
.proof-figure {
  font-family: var(--font-display); font-weight: 700; line-height: 1;
  font-size: clamp(2.8rem, 7vw, 4.4rem); letter-spacing: -0.03em; color: var(--navy);
}
.proof-hero p { color: var(--muted); margin-top: 14px; max-width: 62ch; margin-left: auto; margin-right: auto; }
.proof-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.proof-cell { background: var(--light); border-radius: 16px; padding: 26px; }
.proof-key { display: block; width: 26px; height: 4px; border-radius: 2px; margin-bottom: 16px; }
.proof-key--trad { background: #C2321C; }
.proof-key--dat { background: #0E9F63; }
.proof-cell .proof-label { font-size: 0.84rem; color: var(--muted); }
.proof-cell .proof-value {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 6px; color: var(--navy);
}
.proof-cell .proof-meta { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.proof-cell .proof-delta { display: inline-block; margin-top: 12px; font-size: 0.84rem; font-weight: 700; color: #0E9F63; }
.proof-note { font-size: 0.78rem; color: var(--muted); line-height: 1.7; margin-top: 32px; text-align: center; }
.proof-note a { color: var(--accent); font-weight: 600; }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-lite { padding: 60px 0 52px; }
  .hero-lite .container { grid-template-columns: 1fr; gap: 34px; }
  .hero-lite .concept-stage .chart-grid { grid-template-columns: 1fr; }
  .hero-lite .concept-stage .chart-card .chart { height: 180px; }
  .bento, .ai-grid, .proof-cols { grid-template-columns: 1fr; }
  .bento-card--wide { grid-column: span 1; }
}
@media (max-width: 560px) {
  .trust-strip .marquee-track { gap: 40px; }
  .trust-strip .marquee-track img { height: 34px; }
}

/* Hero product switcher ----------------------------------------------------
   Tabs rather than a rotator: Ramco tabs its product categories and ThoughtSpot
   tabs its product showcase, so this is the category-appropriate pattern — and
   unlike a carousel the visitor chooses. MRO leads because it is the main seller. */
.hero-tabs { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.hero-tabs button {
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border); background: #fff; color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.hero-tabs button:hover { color: var(--navy); border-color: #cfd6f5; }
.hero-tabs button[aria-selected="true"] {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.hero-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Panels share one fixed min-height so switching tabs cannot resize the hero. */
.tab-panel[hidden] { display: none; }
.product-panel {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 30px 70px rgba(4, 21, 55, 0.14);
  padding: 20px; min-height: 560px;
  display: flex; flex-direction: column;
}
.product-panel .panel-label {
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; color: var(--accent); margin-bottom: 16px;
}
.product-panel .panel-caption { font-size: 0.85rem; color: var(--muted); margin-top: auto; }
/* One visual treatment for every product card, matching the DAT card on the
   analytical-reporting page: framed image, chips beneath, caption last. */
.panel-visual {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--border);
  background: var(--light); margin-bottom: 16px;
}
.panel-visual img { display: block; width: 100%; height: 300px; object-fit: cover; object-position: center; }
.panel-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.panel-chip {
  font-size: 0.72rem; font-weight: 700; padding: 6px 11px; border-radius: 999px;
  background: var(--light); color: var(--navy); border: 1px solid var(--border);
}
.panel-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.panel-tile { background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.panel-tile .t-label { font-size: 0.6rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.panel-tile .t-value { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-top: 3px; color: var(--navy); }
.panel-tile .t-trend { font-size: 0.66rem; font-weight: 600; margin-top: 2px; }
.t-up { color: #0E9F63; } .t-down { color: #0084A8; } .t-flat { color: var(--muted); }

/* Capability rows — MRO process chain and compliance frameworks. */
.panel-rows { display: grid; gap: 8px; }
.panel-row {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 14px; font-size: 0.85rem; color: var(--navy); font-weight: 600;
}
.panel-row span.step {
  flex: 0 0 22px; height: 22px; border-radius: 50%;
  background: var(--light); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; font-weight: 700;
}
.panel-row small { display: block; font-weight: 400; color: var(--muted); font-size: 0.78rem; }
.panel-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.panel-badge {
  font-size: 0.74rem; font-weight: 700; padding: 7px 12px; border-radius: 999px;
  background: rgba(14, 159, 99, 0.10); color: #0B7A4C;
}

@media (max-width: 980px) {
  .product-panel { min-height: 0; }
  .panel-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .panel-tiles { grid-template-columns: 1fr; }
  .hero-tabs button { font-size: 0.78rem; padding: 8px 13px; }
}

/* Home hero — the analytical-reporting hero treatment, rotating -------------
   Same look as .page-hero--demo on /analytical-reporting/: navy gradient, copy
   left, white product card right. Rotation reuses the .hero-slider mechanism
   already in main.js (it toggles .active on .slide), so no new JS. */
/* Above-the-fold unit: hero + customer strip fill the screen together, so the
   section below always starts off-screen however tall the display is. Nothing
   here is a fixed height — the strip contributes its intrinsic height, the hero
   absorbs whatever the viewport has left, and both fall back to their content
   height on screens too short to hold them. svh (not vh) so mobile browser
   chrome does not push the strip under the fold. */
.hero-viewport {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
}
.hero-viewport > .hero-slider { flex: 1 1 auto; }
.hero-viewport > .trust-strip { flex: 0 0 auto; }

.hero-slider.hero-panels {
  /* No floor of its own: the slides give the section its height, and the
     wrapper above stretches it to fill whatever the viewport has spare. */
  height: auto; min-height: 0; padding: 0;
  background:
    radial-gradient(1100px 620px at 76% 48%, rgba(42, 68, 212, 0.30), transparent 68%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 58%, #062057 100%);
}
/* Slides are stacked in a single grid cell rather than absolutely positioned:
   the section then has an intrinsic height (the tallest slide) instead of
   needing a hard-coded one, and rotating cannot resize it. */
.hero-slider.hero-panels { display: grid; grid-template-areas: "slide"; }
.hero-panels .slide {
  grid-area: slide;
  position: relative; inset: auto;
  background: none; display: block;
  /* Vertical rhythm scales with the viewport so a short laptop screen still
     fits the hero and the customer strip together; on tall screens it settles
     at the designed maximum. */
  padding: clamp(2rem, 6vh, 4rem) 0 clamp(1.75rem, 5vh, 3.5rem);
  pointer-events: none;
}
.hero-panels .slide.active { pointer-events: auto; }

/* Two things go on here.

   1. Inactive slides are hidden outright, not merely transparent. opacity:0
      still paints, so any mismatch between markup and stylesheet - a stale
      cached CSS, a transition caught mid-flight - stacks two slides in the
      same grid cell. visibility also drops them out of hit-testing and the
      tab order.

   2. The backgrounds crossfade, but the COPY does not. Two headlines sitting
      on top of each other for half a second is what made this look broken, so
      the outgoing copy leaves quickly and the incoming waits for the gap. */
.hero-panels .slide { visibility: hidden; transition: opacity 0.6s ease, visibility 0s linear 0.6s; }
.hero-panels .slide.active { visibility: visible; transition: opacity 0.6s ease, visibility 0s; }

.hero-panels .slide .slide-content,
.hero-panels .slide .concept-player { opacity: 0; transition: opacity 0.16s ease; }
.hero-panels .slide.active .slide-content,
.hero-panels .slide.active .concept-player { opacity: 1; transition: opacity 0.42s ease 0.22s; }

@media (prefers-reduced-motion: reduce) {
  .hero-panels .slide,
  .hero-panels .slide.active,
  .hero-panels .slide .slide-content,
  .hero-panels .slide .concept-player,
  .hero-panels .slide.active .slide-content,
  .hero-panels .slide.active .concept-player { transition: none; }
}
.hero-panels .slide::before { display: none; }   /* photo scrim: no photo here */
/* Photo slides use the original full-bleed treatment: cover image + scrim,
   copy left, no card. Only the DAT slide gets the card layout. */
.hero-panels .slide--photo {
  background-size: cover; background-position: center;
}
.hero-panels .slide--photo::before {
  display: block; content: "";
  background: linear-gradient(90deg, rgba(3,10,28,0.86) 0%, rgba(3,10,28,0.55) 55%, rgba(3,10,28,0.30) 100%);
}
.hero-panels .slide--photo > .container { display: block; }


.hero-panels .slide--photo .slide-content { max-width: 620px; }
.hero-panels .slide { display: flex; align-items: center; }

.hero-panels .slide > .container {
  width: 100%; padding-bottom: 0;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px; align-items: center;
}
.hero-panels .slide-content { max-width: none; }
.hero-panels .slide-content .eyebrow { color: rgba(255,255,255,0.85); }
.hero-panels .slide-content h1,
.hero-panels .slide-content h2 {
  color: #fff; text-transform: none;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem); margin-bottom: 18px;
}
.hero-panels .slide-content p {
  color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 46ch; margin-bottom: 26px;
}
.hero-panels .hero-note { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 18px; max-width: 44ch; }

/* The card — identical treatment to the DAT card on the analytics page. */
.hero-panels .hero-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 30px 70px rgba(4, 21, 55, 0.28);
  padding: 18px; min-height: min(470px, 56vh);
  display: flex; flex-direction: column;
}
.hero-panels .card-label {
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; color: var(--accent); margin-bottom: 14px;
}
.hero-panels .card-visual {
  border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: var(--light);
}
.hero-panels .card-visual img { display: block; width: 100%; height: 268px; object-fit: cover; }
.hero-panels .card-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.hero-panels .card-chip {
  font-size: 0.71rem; font-weight: 700; padding: 6px 11px; border-radius: 999px;
  background: var(--light); color: var(--navy); border: 1px solid var(--border);
}
.hero-panels .card-caption { font-size: 0.82rem; color: var(--muted); margin-top: auto; padding-top: 14px; }

/* The DAT slide carries the live concept player. Its contents render from JS,
   so it needs a reserved height or the card collapses on first paint; the vh
   cap lets that reservation shrink on short screens instead of pushing the
   customer strip below the fold. Equal slide heights come from the grid stack,
   not from this floor. */
.hero-panels .concept-player {
  margin: 0; max-width: none; padding: 16px; min-height: min(470px, 56vh);
  box-shadow: 0 30px 70px rgba(4, 21, 55, 0.28);
}
.hero-panels .concept-prompt { min-height: 78px; align-items: flex-start; font-size: 0.9rem; padding: 12px 14px; }
.hero-panels .concept-status { font-size: 0.75rem; height: 20px; min-height: 0; margin: 8px 2px 0; overflow: hidden; }
.hero-panels .concept-stage .kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.hero-panels .kpi-tile { padding: 11px 12px; }
.hero-panels .kpi-tile .kpi-label { font-size: 0.6rem; letter-spacing: 0.04em; }
.hero-panels .kpi-tile .kpi-value { font-size: 1.1rem; margin-top: 2px; }
.hero-panels .kpi-tile .kpi-trend { font-size: 0.66rem; }
.hero-panels .concept-stage .chart-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hero-panels .chart-card { padding: 12px; }
.hero-panels .chart-card h3 { font-size: 0.78rem; margin-bottom: 4px; }
.hero-panels .concept-stage .chart-card .chart { height: 118px; }

/* Only ever set ONE of top/bottom here: the base rule pins top:50% and centres
   with translateY(-50%), so adding `bottom` as well made the pill stretch
   between the two - 332px of capsule around 120px of numbers. */
.hero-panels .slider-nav { bottom: auto; }

@media (max-width: 980px) {
  .hero-panels .slide { position: relative; padding: 44px 0; }
  .hero-panels .slide:not(.active) { display: none; }
  .hero-panels .slide > .container { grid-template-columns: 1fr; gap: 28px; }
  .hero-panels .card-visual img { height: 210px; }
  .hero-panels .hero-card, .hero-panels .concept-player { min-height: 0; }
  .hero-panels .concept-stage .chart-grid { grid-template-columns: 1fr; }
  .hero-panels .concept-stage .chart-card .chart { height: 170px; }
}

/* Home page rhythm fixes ----------------------------------------------------
   Diagnosis these address, measured on the built page:
     - five consecutive near-white bands (#fff vs #F4F5FD is a ~3% difference,
       so the page read as one unbroken slab)
     - four consecutive equal-column grids down the page
     - 17 centred text blocks, no left edge to read down
     - every section on an identical 80px vertical rhythm
   All selectors are home-only classes, so no other page is affected.
   ========================================================================== */

/* Surface rhythm: white -> tint -> NAVY -> white -> navy. The proof band gets
   the navy because the $468,000 figure is the strongest content on the page and
   was sitting on the weakest surface. */
.solutions-lite { background: #fff; padding: 92px 0 100px; }
.ai-lite { background: #EDEFFA; padding: 88px 0; }
.we-are { background: #fff; padding: 68px 0; }

.proof-lite {
  background:
    radial-gradient(900px 520px at 80% 20%, rgba(42, 68, 212, 0.28), transparent 65%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #062057 100%);
  padding: 104px 0 108px;
}
.proof-lite .proof-figure { color: #fff; }
.proof-lite .proof-hero p { color: rgba(255,255,255,0.78); }

/* Left-align the body. Centring is kept for exactly one moment: the proof
   figure. Everything else gets a shared left edge. */
.solutions-lite .section-head,
.ai-lite .section-head { text-align: left; margin-left: 0; max-width: 780px; }
.we-are .container { text-align: left; }
.we-are .lede { margin-left: 0; max-width: 68ch; font-size: 1.08rem; }
.ai-lite .ai-foot { text-align: left; }

/* Three equal cards. An earlier attempt made the lead card wider to break up the
   repeated equal-thirds rhythm; unequal boxes read as a layout bug rather than a
   choice, so the variation lives in the surrounding surfaces instead. */
.solutions-lite .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* Proof: a single horizontal figure row separated by rules — deliberately not
   another card grid. */
.proof-row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,0.16);
}
.proof-item { padding: 30px 26px 8px; border-left: 1px solid rgba(255,255,255,0.16); }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-item .proof-label { font-size: 0.84rem; color: rgba(255,255,255,0.72); }
.proof-item .proof-value {
  font-family: var(--font-display); font-weight: 700; color: #fff;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-top: 8px;
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.proof-item .proof-value em { font-style: normal; font-size: 0.8rem; font-weight: 700; color: #4ADE9B; }
.proof-item .proof-meta { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 8px; }
.proof-lite .proof-note { color: rgba(255,255,255,0.5); text-align: left; margin-top: 36px; }
.proof-lite .proof-note a { color: #4ADE9B; }

@media (max-width: 900px) {
  .solutions-lite .bento { grid-template-columns: 1fr; }
  .proof-row { grid-template-columns: 1fr; border-top: 0; }
  .proof-item { border-left: 0; border-top: 1px solid rgba(255,255,255,0.16); padding-left: 0; }
  .proof-item:first-child { border-top: 0; }
  .solutions-lite { padding: 64px 0 68px; }
  .proof-lite { padding: 72px 0; }
}


/* Solution cards, redesigned -------------------------------------------------
   Previously: three white cards on a white section, distinguished only by a thin
   grey icon. No colour, no identity, nothing to anchor the eye — which is what
   made the section read as bland.

   Now each product owns a colour and gets a real header block. Sizes stay
   identical across the three; the differentiation is colour, not dimension.
   Colours come from the existing tokens (accent / teal / green family) so this
   also gives each product a recognisable identity to carry across the site. */

.solutions-lite { background: #EFF1FB; }          /* tinted, so white cards read as cards */

.solutions-lite .bento-card {
  padding: 0;                                      /* header block runs edge to edge */
  overflow: hidden;
  border-color: #dfe4f6;
  box-shadow: 0 2px 3px rgba(4, 21, 55, 0.04);
}
.solutions-lite .bento-card:hover {
  box-shadow: 0 26px 60px rgba(4, 21, 55, 0.14);
  border-color: #cbd3f0;
}

.bento-head {
  position: relative;
  padding: 26px 30px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.bento-head img { width: 40px; height: 40px; filter: brightness(0) invert(1); }
.bento-kicker {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 999px; padding: 5px 11px;
}
.bento-body { padding: 26px 30px 30px; display: flex; flex-direction: column; flex: 1; }

/* One colour per product. */
.bento-card--iam .bento-head { background: linear-gradient(135deg, #041537 0%, #0B4F63 55%, #00A88A 100%); }
.bento-card--dat .bento-head { background: linear-gradient(135deg, #14205C 0%, #2A44D4 60%, #4359E8 100%); }
.bento-card--pm  .bento-head { background: linear-gradient(135deg, #052A1E 0%, #0B6B47 55%, #0E9F63 100%); }

.bento-card--iam .bento-eyebrow { color: #067E68; }
.bento-card--dat .bento-eyebrow { color: var(--accent); }
.bento-card--pm  .bento-eyebrow { color: #0B7A4C; }

.bento-card--iam .bento-points li::before { background: #067E68; }
.bento-card--dat .bento-points li::before { background: var(--accent); }
.bento-card--pm  .bento-points li::before { background: #0B7A4C; }

.bento-card--iam .bento-link { color: #067E68; }
.bento-card--dat .bento-link { color: var(--accent); }
.bento-card--pm  .bento-link { color: #0B7A4C; }

/* A thin colour rule under the header ties the block to the body. */
.bento-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: rgba(255, 255, 255, 0.28);
}

@media (max-width: 560px) {
  .bento-head { padding: 20px 22px 18px; }
  .bento-body { padding: 22px 22px 26px; }
}

/* Solution cards: substance over the templated icon-plus-three-bullets pattern.
   Bullet lists became capability tags (denser, less list-like), and the heading
   reserves two lines so the three cards' body copy starts on the same baseline —
   previously "Intelligent Asset Management" wrapped and pushed its body down,
   which is the inconsistency that made the row look accidental. */
.solutions-lite .bento-card h3 {
  min-height: 2.3em;              /* two lines at this size, so bodies align */
  display: flex; align-items: flex-start;
}
.bento-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 0 22px; }
.bento-tag {
  font-size: 0.76rem; font-weight: 600; line-height: 1.25;
  padding: 6px 11px; border-radius: 7px;
  background: var(--light); color: var(--navy); border: 1px solid var(--border);
}
.bento-card--iam .bento-tag { background: #ECF7F3; border-color: #CDE9E0; color: #085A4A; }
.bento-card--dat .bento-tag { background: #EEF0FC; border-color: #D5DBF7; color: #22369F; }
.bento-card--pm  .bento-tag { background: #EDF6F1; border-color: #CFE7DA; color: #0A5C3C; }


/* Solutions cards -----------------------------------------------------------
   Replaces the gradient-header .bento cards, which read as a generic SaaS
   template. Each card is one idea top to bottom:

     the image  - an industry photograph carrying the product NAME and a live
                  element (trend line / work scope / audit clauses) that
                  animates once as the card scrolls in
     the body   - five checklist points taken from that product's own page,
                  then the site button

   The photographs get the same treatment as the hero slides: a light grade and
   a navy scrim in rgba(3, 10, 28), not a colour filter. An invented duotone
   looked like a filter rather than like this site.

   The live elements state capability and never invent metrics - fabricated
   KPIs on a marketing page read as customer results, which these are not.
   ========================================================================== */
.solgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }

.solcard {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.solcard:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 68, 212, 0.35);
  box-shadow: 0 26px 60px rgba(4, 21, 55, 0.16);
}

.solcard-shot {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--navy);
  overflow: hidden;
}
.solcard-shot img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(0.88) contrast(1.06);
  transform: scale(1.02);
  transition: transform 0.6s ease;
}
.solcard:hover .solcard-shot img { transform: scale(1.06); }
/* Same scrim colour the hero photo slides use, so the cards read as part of
   the same page rather than as a separate treatment. */
.solcard-shot::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(3, 10, 28, 0.94) 0%,
                              rgba(3, 10, 28, 0.66) 42%,
                              rgba(3, 10, 28, 0.32) 100%);
}

.solplate { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; }
.solplate .solcard-meta {
  display: flex; align-items: center; gap: 9px; margin-bottom: 7px;
  font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700; color: rgba(255, 255, 255, 0.66);
}
.solplate .solcard-num { font-family: var(--font-display); color: var(--green); letter-spacing: 0.04em; }
.solplate h3 {
  color: #fff; font-size: 1.3rem; line-height: 1.2; margin: 0 0 14px;
  text-shadow: 0 2px 18px rgba(3, 10, 28, 0.6);
}

/* DAT - the trend line draws itself in. A sparkline reads as a chart at this
   size; tiny bars just read as blocks. non-scaling-stroke keeps the line an
   even weight despite the non-uniform viewBox scaling. */
.solspark {
  display: block; width: 100%; height: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.solspark-area { fill: rgba(26, 214, 126, 0.18); opacity: 0; transition: opacity 0.6s ease 0.35s; }
.solspark-line {
  fill: none; stroke: var(--green); stroke-width: 2;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 260; stroke-dashoffset: 260;
  transition: stroke-dashoffset 1.15s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}
.solcard.visible .solspark-line { stroke-dashoffset: 0; }
.solcard.visible .solspark-area { opacity: 1; }

/* IAM - the work scope fills stage by stage. */
.solflow { display: flex; gap: 5px; }
.solflow i {
  flex: 1; font-style: normal; text-align: center;
  font-size: 0.55rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 700;
  padding: 6px 2px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.10); color: rgba(255, 255, 255, 0.5);
  transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}
/* Only the completed stages fill. A scope with every stage green would read
   as "all done" rather than as work in progress. */
.solcard.visible .solflow i:nth-child(-n+3) {
  background: rgba(26, 214, 126, 0.22); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(26, 214, 126, 0.38);
}
.solcard.visible .solflow i:nth-child(1) { transition-delay: 0.10s; }
.solcard.visible .solflow i:nth-child(2) { transition-delay: 0.24s; }
.solcard.visible .solflow i:nth-child(3) { transition-delay: 0.38s; }

/* Property - the clauses tick in. These are the actual regulations the product
   implements, named on /sap-property-management/. */
.solchecks { display: flex; flex-wrap: wrap; gap: 5px; }
.solchecks i {
  position: relative; font-style: normal;
  font-size: 0.57rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 5px 9px 5px 19px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.10); color: rgba(255, 255, 255, 0.85);
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.solchecks i::before {
  content: "\2713"; position: absolute; left: 8px; color: var(--green); font-weight: 700;
}
.solcard.visible .solchecks i { opacity: 1; transform: none; }
.solcard.visible .solchecks i:nth-child(1) { transition-delay: 0.12s; }
.solcard.visible .solchecks i:nth-child(2) { transition-delay: 0.26s; }
.solcard.visible .solchecks i:nth-child(3) { transition-delay: 0.40s; }

.solcard-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }

/* Checklist, reusing the badge from .split ul li so the page has one checklist
   treatment rather than two. #0E9F63 not var(--green): the accent green is too
   light to carry a white glyph. The tick is decorative - the text carries the
   meaning. */
.solpoints { list-style: none; margin: 0 0 22px; padding: 0; }
.solpoints li {
  position: relative; padding-left: 28px; margin-bottom: 11px;
  font-size: 0.92rem; line-height: 1.4; color: var(--ink);
}
.solpoints li:last-child { margin-bottom: 0; }
.solpoints li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  width: 19px; height: 19px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #0E9F63; color: #fff;
  font-size: 0.66rem; font-weight: 700; line-height: 1;
}

/* The button is the only action on the card. An earlier version stretched it
   over the whole card; that made the image a hidden link and did not survive a
   real click test, so the target is just the button. */
.solcard-body .btn { margin-top: auto; align-self: center; }

/* Align the rows ACROSS the three cards, not just within each one: image, lede
   and button each get a shared track, so a longer point in one card cannot
   drop its button out of line with its neighbours. Subgrid takes this off the
   content itself - no fixed heights to keep in sync. Declared after the base
   rules so it wins over .solcard-body's flex display, and only where the cards
   actually sit side by side. The breakpoint is 1140px rather than 980px so the
   three columns only appear while every checklist point still fits on one
   line - below that the columns get narrow enough to wrap. */
@media (min-width: 1141px) {
  @supports (grid-template-rows: subgrid) {
    .solgrid { grid-template-rows: repeat(3, auto); }
    .solcard { display: grid; grid-template-rows: subgrid; grid-row: span 3; }
    .solcard-body { display: grid; grid-template-rows: subgrid; grid-row: span 2; }
    .solcard-body .btn { margin-top: 0; align-self: end; justify-self: center; }
  }
}

@media (max-width: 1140px) {
  .solgrid { grid-template-columns: 1fr; gap: 20px; }
  .solcard-shot { aspect-ratio: 16 / 9; }
  .solplate h3 { font-size: 1.22rem; }
}

@media (prefers-reduced-motion: reduce) {
  .solcard, .solcard-shot img, .solspark-line, .solspark-area, .solchecks i,
  .solflow i { transition: none; }
  .solcard:hover { transform: none; }
  .solcard:hover .solcard-shot img { transform: scale(1.02); }
  .solspark-line { stroke-dashoffset: 0; }
  .solspark-area { opacity: 1; }
  .solchecks i { opacity: 1; transform: none; }
}


/* AI band ------------------------------------------------------------------
   Brought onto the same card language as the solutions section: the same
   shell (white, hairline border, 16px radius, lift on hover), a navy icon
   chip echoing the photo plates, the green kicker, and the site button
   instead of a text link. It previously used a different vocabulary - soft
   borderless boxes, large outline icons, an underlined link - and read as a
   different site.
   ========================================================================== */
.ai-item {
  display: flex; flex-direction: column;
  padding: 26px 24px 28px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.ai-item:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 68, 212, 0.35);
  box-shadow: 0 26px 60px rgba(4, 21, 55, 0.16);
}
.ai-icon {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 11px; margin-bottom: 16px;
  background: linear-gradient(145deg, var(--accent) 0%, var(--navy) 85%);
}
/* The source icons are drawn in the accent; flatten them to white so they sit
   on the navy chip. */
.ai-icon img { width: 26px; height: 26px; filter: brightness(0) invert(1); }
/* Specificity: `.ai-item p` is (0,1,1) and would otherwise win over a bare
   class, muting the kicker and dropping its margin. */
.ai-item p.ai-kicker {
  font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700; color: #0E9F63; margin: 0 0 6px; line-height: 1.3;
}
.ai-item h3 { font-size: 1.12rem; line-height: 1.25; margin: 0 0 10px; }
.ai-item p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; margin: 0; }

.ai-lite .ai-foot {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  margin-top: 34px; text-align: center;
}
.ai-foot p.ai-disclaimer { font-size: 0.8rem; color: var(--muted); margin: 0; }

@media (max-width: 1140px) {
  .ai-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* AI page ------------------------------------------------------------------
   Rebuilt visual-first. Each band leads with something drawn - a timeline to
   scale, the artefact each product produces, a mechanism diagram, a status
   board - and the prose supports it rather than carrying it.

   The visual vocabulary is borrowed from the subject matter rather than from
   "AI": work scopes, turnaround clocks, custody records, sign-off gates. All
   of it is built from the site's existing tokens, because consistency with
   the rest of the site matters more here than a new palette.
   ========================================================================== */

.lane-lede { color: var(--muted); font-size: 1.02rem; max-width: 58ch; margin: 10px 0 40px; }

/* Bottleneck ---------------------------------------------------------------
   Two tracks on one axis, drawn to scale. The comparison is the content, so
   it is a picture rather than three cards of prose. */
.lane-band { background: #fff; padding: 88px 0; }
.lanes { display: grid; gap: 26px; }
.lane-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 10px;
}
.lane-name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--navy); }
.lane-cost { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--muted); }
.lane--fast .lane-cost { color: #0E9F63; }

/* Both lanes share one axis: the slow track is 133 hrs across the full width,
   so the fast track is drawn at its true 2.3% of it. The smallness is the
   argument - scaling it up to be readable would be a lie. */
.lane-track { display: flex; gap: 3px; height: 46px; }
.lane-step {
  flex: 0 0 var(--w); min-width: 9px;
  display: flex; align-items: center; padding-left: 12px;
  font-size: 0.78rem; font-weight: 600; color: var(--muted);
  background: var(--light); border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden; white-space: nowrap;
}
.lane-step--on {
  background: rgba(14, 159, 99, 0.12); border-color: rgba(14, 159, 99, 0.4); color: #0B7A4B;
}
/* The empty remainder makes the short track legible as short. */
.lane-rest {
  flex: 1; border-radius: 3px;
  background: repeating-linear-gradient(135deg,
    transparent 0 7px, rgba(12, 12, 12, 0.05) 7px 8px);
}
.lane-foot { margin-top: 9px; font-size: 0.82rem; color: var(--muted); }
.lane-note { margin-top: 30px; font-size: 0.8rem; color: var(--muted); line-height: 1.7; }
.lane-note a { color: var(--accent); font-weight: 600; }

/* Capability explorer ------------------------------------------------------ */
.ai-explorer { background: var(--light); padding: 88px 0; }
.ai-explorer .hero-tabs { margin-bottom: 26px; }
.ai-cap {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 44px;
  align-items: center;
}

/* The artefact mocks. Deliberately flat and quiet: they are diagrams of an
   output, not screenshots, and nothing here is a real product surface. */
.mock {
  margin: 0; background: #fff;
  border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 24px 60px rgba(4, 21, 55, 0.12);
  overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 14px; background: var(--navy); color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem; font-weight: 600;
}
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.mock-body { padding: 16px; }

.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.mock-kpis div { border: 1px solid var(--border); border-radius: 8px; padding: 10px 11px; }
.mock-kpis b { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); }
.mock-kpis i { font-style: normal; font-size: 0.66rem; color: var(--muted); }

.mock-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-chart {
  border: 1px solid var(--border); border-radius: 8px; padding: 10px;
  height: 92px; display: flex; align-items: flex-end; gap: 6px;
}
.mock-chart span { flex: 1; height: var(--h); background: var(--accent); border-radius: 2px 2px 0 0; opacity: 0.85; }
.mock-chart--line { display: block; padding: 12px 10px; }
.mock-chart--line svg { width: 100%; height: 100%; }
.mock-chart--line polyline {
  fill: none; stroke: #0E9F63; stroke-width: 2;
  vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round;
}

/* Work scope */
.scope-track { display: flex; gap: 4px; margin-bottom: 14px; }
.scope-stage {
  flex: 1; text-align: center; padding: 7px 2px; border-radius: 4px;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.04em;
  background: var(--light); border: 1px solid var(--border); color: var(--muted);
}
.scope-stage--done { background: rgba(14, 159, 99, 0.14); border-color: rgba(14, 159, 99, 0.38); color: #0B7A4B; }
.scope-stage--now  { background: var(--navy); border-color: var(--navy); color: #fff; }

.scope-rule { position: relative; height: 34px; margin-bottom: 12px; }
.scope-rule::before {
  content: ""; position: absolute; left: 0; right: 0; top: 6px;
  height: 2px; background: var(--border);
}
.scope-marker { position: absolute; left: var(--at); top: 0; }
.scope-marker::before {
  content: ""; position: absolute; left: -4px; top: 2px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--navy);
}
.scope-marker i {
  position: absolute; top: 15px; left: -4px; white-space: nowrap;
  font-style: normal; font-size: 0.66rem; color: var(--muted);
}
.scope-marker--pred::before { background: #fff; border: 2px solid var(--accent); }
.scope-marker--pred i { color: var(--accent); font-weight: 700; }

.scope-rows { border-top: 1px solid var(--border); }
.scope-rows div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.8rem; color: var(--muted);
}
.scope-rows b { font-family: var(--font-display); color: var(--navy); font-size: 0.92rem; }
.scope-rows b.is-good { color: #0E9F63; }

/* Property ledger */
.led-row {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
  gap: 12px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.8rem; color: var(--muted);
}
.led-id { font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 0.78rem; }
.led-ok, .led-flag {
  justify-self: end; font-size: 0.68rem; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.led-ok   { background: rgba(14, 159, 99, 0.12); color: #0E9F63; }
.led-flag { background: rgba(199, 125, 10, 0.14); color: #A0640A; }
.led-row--flag { background: rgba(199, 125, 10, 0.06); }
.led-note { margin-top: 12px; font-size: 0.7rem; color: #A0640A; }

.ai-cap-copy h3 { font-size: 1.55rem; line-height: 1.2; margin-bottom: 12px; }
.ai-cap-copy > p { color: var(--muted); font-size: 0.98rem; line-height: 1.6; margin-bottom: 18px; }
.ai-cap-copy .solpoints { margin-bottom: 24px; }

/* Mechanism ----------------------------------------------------------------
   A real sequence, so the connectors earn their place. */
.flow-band { background: #fff; padding: 88px 0; }
.flow {
  list-style: none; margin: 0 0 20px; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px;
}
.flow-node { position: relative; padding-top: 16px; border-top: 2px solid var(--border); }
.flow-node--source { border-top-color: var(--navy); }
.flow-node--gate { border-top-color: #0E9F63; }
/* Connector between nodes */
.flow-node::after {
  content: ""; position: absolute; top: -2px; right: -30px; width: 30px; height: 2px;
  background: var(--border);
}
.flow-node:last-child::after { display: none; }
.flow-mark {
  display: inline-block; margin-bottom: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--navy);
}
.flow-node p { color: var(--muted); font-size: 0.89rem; line-height: 1.55; }
.flow-return {
  position: relative; padding: 14px 0 0 30px;
  border-top: 1px dashed var(--border);
  font-size: 0.84rem; color: var(--muted);
}
.flow-return::before {
  content: "\21BA"; position: absolute; left: 0; top: 11px;
  font-size: 1.1rem; color: var(--accent);
}

/* Status board ------------------------------------------------------------- */
.board-band { background: var(--light); padding: 88px 0; }
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.board-col { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px 18px 8px; }
.board-col h3 {
  font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px; padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.board-col--live h3   { border-bottom-color: #0E9F63; color: #0E9F63; }
.board-col--dev h3    { border-bottom-color: var(--accent); color: var(--accent); }
.board-col--design h3 { border-bottom-color: var(--border); }
.board-col ul { list-style: none; margin: 0; padding: 0; }
.board-col li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--border);
  font-size: 0.88rem; color: var(--navy);
}
.board-col li:last-child { border-bottom: 0; }
.board-col li span { font-size: 0.68rem; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; }

/* Governance --------------------------------------------------------------- */
.ai-trust {
  padding: 84px 0;
  background:
    radial-gradient(900px 520px at 78% 22%, rgba(42, 68, 212, 0.30), transparent 66%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #062057 100%);
}
.ai-trust-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.ai-trust-copy h2 { color: #fff; margin-bottom: 14px; }
.ai-trust-copy p { color: rgba(255, 255, 255, 0.78); margin-bottom: 26px; max-width: 46ch; }
.ai-trust-points { list-style: none; margin: 0; padding: 0; }
.ai-trust-points li {
  padding: 0 0 18px; margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.72); font-size: 0.93rem; line-height: 1.55;
}
.ai-trust-points li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.ai-trust-points li strong {
  display: block; color: #fff; font-family: var(--font-display);
  font-size: 1rem; margin-bottom: 5px;
}

@media (max-width: 1140px) {
  .ai-cap { grid-template-columns: 1fr; gap: 28px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 30px; }
  .flow-node:nth-child(2)::after { display: none; }
  .board { grid-template-columns: 1fr; }
  .ai-trust-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 680px) {
  .flow { grid-template-columns: 1fr; gap: 22px; }
  .flow-node::after { display: none; }
  .mock-kpis { grid-template-columns: 1fr; }
  .mock-charts { grid-template-columns: 1fr; }
  .lane-step { font-size: 0.68rem; padding-left: 7px; }
  .scope-stage { font-size: 0.54rem; }
}

/* ==========================================================================
   AI Consultancy page (/ai-consultancy/)
   Reuses the hero, tabs, mock, flow, board and trust patterns from /ai/.
   Only what those do not already cover lives here, prefixed cx- / tr-.
   ========================================================================== */
.cx-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cx-offer { background: #fff; }
.cx-offer .lane-lede { margin-bottom: 44px; }
.cx-connect { background: #fff; padding: 88px 0; }

/* Hero flow canvas ---------------------------------------------------------- */
.cx-canvas {
  background: #fff; color: var(--ink);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.cx-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--border);
  font-size: 0.76rem; color: var(--muted);
}
.cx-crumb i { font-style: normal; margin: 0 4px; }
.cx-crumb b { color: var(--navy); font-weight: 600; }
.cx-btns { display: flex; gap: 8px; flex: none; }
.cx-btn {
  padding: 4px 11px; border-radius: 6px; border: 1px solid var(--border);
  font-size: 0.72rem; font-weight: 600; color: var(--navy); background: #fff;
}
.cx-btn--pub { background: var(--accent); border-color: var(--accent); color: #fff; }
.cx-prompt {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 16px 16px 0; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 8px; background: var(--light);
}
.cx-prompt p { margin: 0; color: var(--navy); font-size: 0.86rem; line-height: 1.5; max-width: none; }
.cx-spark { color: var(--accent); font-size: 1rem; line-height: 1.4; }

/* The board mirrors the product canvas: dotted lavender surface, icon tiles
   with the label underneath, curved connectors, ports and "+" buttons. */
.cx-board {
  position: relative; margin-top: 16px;
  background-color: #E9EBF8;
  background-image: radial-gradient(#c5c9e2 1px, transparent 1.3px);
  background-size: 16px 16px;
  border-top: 1px solid var(--border);
}
.cx-svg { display: block; width: 100%; height: auto; }
.cx-edge { fill: none; stroke: #7b8095; stroke-width: 1.2; }
.cx-pulse {
  fill: none; stroke: #0E9F63; stroke-width: 2.4; stroke-linecap: round;
  stroke-dasharray: 14 120; stroke-dashoffset: 14; opacity: 0;
  animation: cx-run 12s linear infinite; animation-delay: calc(var(--s) * 0.9s);
}
.cx-port { fill: #565b70; }
.cx-plus circle { fill: #fff; stroke: #cfd3e8; stroke-width: 1; }
.cx-plus path { stroke: #565b70; stroke-width: 1.2; stroke-linecap: round; }
.cx-elabel { font: 600 7px var(--font-body); fill: #6b7085; }
.cx-tile { filter: drop-shadow(0 1px 3px rgba(20, 28, 70, 0.18)); }
.cx-box { fill: #fff; }
.cx-ring {
  fill: none; stroke: #0E9F63; stroke-width: 2; opacity: 0;
  animation: cx-ring 12s ease-in-out infinite; animation-delay: calc(var(--s) * 0.9s);
}
.cx-ic { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cx-bolt { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linejoin: round; }
.cx-tile--blue   { color: #2A44D4; }
.cx-tile--purple { color: #6D4AE0; }
.cx-tile--amber  { color: #C77D0A; }
.cx-tile--green  { color: #0E9F63; }
.cx-lab { font: 600 9.5px var(--font-body); fill: #20243a; text-anchor: middle; }
.cx-sub { font: 500 8px var(--font-body); fill: #7b8095; text-anchor: middle; }
.cx-zoom {
  position: absolute; left: 12px; bottom: 10px;
  padding: 4px 10px; border-radius: 8px; background: #fff;
  font-size: 0.66rem; color: var(--muted); box-shadow: 0 1px 3px rgba(20, 28, 70, 0.15);
}
.cx-zoom b { color: var(--navy); margin: 0 4px; }
.cx-tick { opacity: 0; animation: 12s linear infinite; }
.cx-tick circle { fill: #0E9F63; stroke: #fff; stroke-width: 1.5; }
.cx-tick path { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Ticks stay on once a step has run, then clear together for the next run. */
@keyframes cx-tick-0 { 0%,4.17% { opacity: 0; transform-box: fill-box; } 5.67%, 95% { opacity: 1; } 99%, 100% { opacity: 0; } }
.cx-tick-0 { animation-name: cx-tick-0; }
@keyframes cx-tick-2 { 0%,19.17% { opacity: 0; transform-box: fill-box; } 20.67%, 95% { opacity: 1; } 99%, 100% { opacity: 0; } }
.cx-tick-2 { animation-name: cx-tick-2; }
@keyframes cx-tick-4 { 0%,34.17% { opacity: 0; transform-box: fill-box; } 35.67%, 95% { opacity: 1; } 99%, 100% { opacity: 0; } }
.cx-tick-4 { animation-name: cx-tick-4; }
@keyframes cx-tick-6 { 0%,49.17% { opacity: 0; transform-box: fill-box; } 50.67%, 95% { opacity: 1; } 99%, 100% { opacity: 0; } }
.cx-tick-6 { animation-name: cx-tick-6; }
@keyframes cx-tick-8 { 0%,64.17% { opacity: 0; transform-box: fill-box; } 65.67%, 95% { opacity: 1; } 99%, 100% { opacity: 0; } }
.cx-tick-8 { animation-name: cx-tick-8; }
@keyframes cx-tick-11 { 0%,86.67% { opacity: 0; transform-box: fill-box; } 88.17%, 95% { opacity: 1; } 99%, 100% { opacity: 0; } }
.cx-tick-11 { animation-name: cx-tick-11; }
/* One 12s run: each element lights in its slot, in the order the flow executes. */
@keyframes cx-ring { 0%, 9%, 100% { opacity: 0; } 1.5%, 6% { opacity: 1; } }
@keyframes cx-run {
  0% { stroke-dashoffset: 14; opacity: 1; }
  7% { stroke-dashoffset: -110; opacity: 1; }
  7.5%, 100% { stroke-dashoffset: -110; opacity: 0; }
}

.cx-kind {
  align-self: flex-start; margin-bottom: 4px;
  padding: 2px 7px; border-radius: 999px;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--light); color: var(--muted); border: 1px solid var(--border);
}
.cx-kind--ai    { background: rgba(42, 68, 212, 0.09); color: var(--accent); border-color: rgba(42, 68, 212, 0.25); }
.cx-kind--sap   { background: rgba(4, 21, 55, 0.07); color: var(--navy); border-color: rgba(4, 21, 55, 0.18); }
.cx-kind--human { background: rgba(14, 159, 99, 0.12); color: #0B7A4B; border-color: rgba(14, 159, 99, 0.35); }

.cx-foot {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px 14px; border-top: 1px solid var(--border);
  font-size: 0.68rem; color: var(--muted);
}
.cx-foot span::before { content: "\2713\00a0"; color: #0E9F63; font-weight: 700; }

/* "Three kinds of AI" cards carry their label above the heading */
.cx-kinds .feature .cx-kind { margin-bottom: 14px; }

@media (max-width: 680px) {
  .cx-crumb i, .cx-btn:not(.cx-btn--pub) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-ring, .cx-pulse { animation: none; }
  .cx-tick { animation: none; opacity: 1; }
}

/* Hero polish --------------------------------------------------------------- */
.cx-grad {
  background: linear-gradient(90deg, #8FA6FF 0%, #4ADE9B 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero--demo:has(.cx-canvas) {
  background-image:
    radial-gradient(900px 520px at 78% 45%, rgba(42, 68, 212, 0.38), transparent 66%),
    radial-gradient(520px 320px at 8% 100%, rgba(26, 214, 126, 0.12), transparent 70%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 58%, #062057 100%);
  overflow: hidden;
}
.page-hero--demo:has(.cx-canvas)::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1.3px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 70%);
}
.cx-connects {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 30px; font-size: 0.74rem;
}
.cx-connects span { color: rgba(255, 255, 255, 0.55); margin-right: 4px; letter-spacing: 0.04em; }
.cx-connects b {
  font-weight: 600; color: rgba(255, 255, 255, 0.9);
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06);
}
.page-hero--demo .hero-demo { position: relative; }
.cx-float {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px; background: #fff; color: var(--navy);
  font-size: 0.74rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  animation: cx-bob 5s ease-in-out infinite;
}
.cx-float--bot { left: 50%; bottom: 40px; margin-left: -80px; animation-delay: -2.5s; }
.cx-float i {
  display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%;
  background: #0E9F63; color: #fff; font-style: normal; font-size: 0.62rem;
}
@keyframes cx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* Watch a flow run ----------------------------------------------------------- */
.rn-band {
  padding: 80px 0;
  background:
    radial-gradient(900px 520px at 85% 20%, rgba(42, 68, 212, 0.30), transparent 66%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #062057 100%);
}
.rn-band h2 { color: #fff; }
.rn-band .lane-lede { color: rgba(255, 255, 255, 0.72); margin-bottom: 28px; }
.rn-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.rn-tab {
  cursor: pointer; font: inherit; color: inherit;
  display: inline-flex; align-items: baseline; gap: 9px;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.2s, border-color 0.2s;
}
.rn-tab:hover { background: rgba(255, 255, 255, 0.10); }
.rn-tab:focus-visible { outline: 2px solid #4ADE9B; outline-offset: 2px; }
.rn-tab[aria-selected="true"] { background: rgba(255, 255, 255, 0.14); border-color: rgba(74, 222, 155, 0.7); }
.rn-num { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #4ADE9B; }
.rn-tab strong { color: #fff; font-family: var(--font-display); font-size: 0.92rem; font-weight: 600; }

/* Canvas on the left, run log beside it, so the whole thing stays short. */
.rn-card {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px;
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.rn-card .cx-bar { grid-column: 1 / -1; }
.rn-card .cx-board { margin-top: 0; border-top: 0; height: 330px; }
.rn-card .cx-svg { height: 100%; }
.rn-pill {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px; font-size: 0.68rem; font-weight: 700;
}
.rn-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.rn-pill--run { background: rgba(199, 125, 10, 0.14); color: #A0640A; }
.rn-pill--run::before { animation: rn-blink 1s ease-in-out infinite; }
.rn-pill--done { background: rgba(14, 159, 99, 0.13); color: #0B7A4B; }
@keyframes rn-blink { 50% { opacity: 0.25; } }

/* JS-driven states on the shared canvas classes */
.rn .cx-ring { animation: none; opacity: 0; transition: opacity 0.2s; }
.rn .cx-ring.on { opacity: 1; }
.rn .cx-tick { animation: none; opacity: 0; transform-box: fill-box; transition: opacity 0.25s; }
.rn .cx-tick.on { opacity: 1; }
.rn .cx-pulse { animation: none; opacity: 0; }
.rn .cx-pulse.go { animation: rn-run 0.55s linear forwards; }
.rn .cx-edge { transition: stroke 0.3s; }
.rn .cx-edge.done { stroke: #0E9F63; stroke-width: 1.6; }
@keyframes rn-run {
  0% { stroke-dashoffset: 14; opacity: 1; }
  99% { stroke-dashoffset: -110; opacity: 1; }
  100% { stroke-dashoffset: -110; opacity: 0; }
}

.rn-log {
  background: #0A1430; color: #CFD6F5; padding: 14px 16px; height: 330px; overflow: hidden;
  font-size: 0.76rem; line-height: 1.4;
}
.rn-log::before {
  content: "Run log"; display: block; margin-bottom: 4px;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.rn-row {
  display: grid; grid-template-columns: 46px 14px minmax(0, 1fr); gap: 8px; align-items: baseline;
  padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  animation: rn-in 0.3s ease-out;
}
.rn-t { color: rgba(255, 255, 255, 0.5); font-variant-numeric: tabular-nums; }
.rn-ok { color: #4ADE9B; font-weight: 700; }
.rn-who {
  display: inline-block; margin-left: 4px; vertical-align: 1px;
  font-size: 0.56rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 1px 6px; border-radius: 999px; background: rgba(74, 222, 155, 0.16); color: #4ADE9B;
}
.rn-row--result { display: block; border-bottom: 0; padding-top: 10px; color: #4ADE9B; font-weight: 700; }
@keyframes rn-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.rn-note { margin-top: 22px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }

@media (max-width: 980px) {
  .rn-card { grid-template-columns: 1fr; }
  .rn-card .cx-board { height: auto; }
  .rn-card .cx-svg { height: auto; }
  .rn-log { height: auto; min-height: 270px; }
}
@media (max-width: 560px) {
  .rn-tab { padding: 8px 13px; }
  .rn-num { display: none; }
  .cx-float--bot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-float, .rn-pill--run::before, .rn-row { animation: none; }
}

/* Four stages, in the canvas colours ---------------------------------------- */
.st { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.st-card {
  --c: var(--accent);
  position: relative; padding: 20px 20px 22px; border-radius: 12px;
  background: color-mix(in srgb, var(--c) 7%, #fff);
  border: 1px solid color-mix(in srgb, var(--c) 22%, #fff);
  border-top: 3px solid var(--c);
}
.st-card--blue   { --c: #2A44D4; }
.st-card--green  { --c: #0E9F63; }
.st-card--purple { --c: #6D4AE0; }
.st-card--amber  { --c: #C77D0A; }
.st-top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.st-ico {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: #fff; color: var(--c); box-shadow: 0 1px 4px rgba(20, 28, 70, 0.18);
}
.st-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-num { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; color: var(--c); }
.st-badge {
  margin-left: auto; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--c); color: #fff;
}
.st-card h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--navy); }
.st-card p { color: var(--muted); font-size: 0.89rem; line-height: 1.55; }
/* Connector to the next stage, in the colour of the stage it leaves */
.st-card:not(:last-child)::after {
  content: ""; position: absolute; top: 42px; right: -30px; width: 30px; height: 2px;
  background: linear-gradient(90deg, var(--c), var(--next, var(--c)));
}
.st-card--blue  { --next: #0E9F63; }
.st-card--green { --next: #6D4AE0; }
.st-card--purple { --next: #C77D0A; }
@media (max-width: 1140px) {
  .st { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 30px; }
  .st-card:nth-child(2)::after { display: none; }
}
@media (max-width: 680px) {
  .st { grid-template-columns: 1fr; gap: 18px; }
  .st-card::after { display: none; }
}

/* Connects to: hub and spokes on the canvas surface -------------------------- */
.cn-board { margin-top: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; padding: 6px 0 0; }
.cn-edge { stroke: #9aa0b8; stroke-width: 1.3; }
.cn-pulse {
  stroke-dasharray: 8 92; stroke-dashoffset: 8; opacity: 0.9;
  animation: cn-flow 3.6s linear infinite; animation-delay: calc(var(--s) * -0.45s);
}
@keyframes cn-flow { to { stroke-dashoffset: -100; } }
.cn-hub-box { fill: var(--navy); }
.cn-hub { filter: drop-shadow(0 4px 12px rgba(4, 21, 55, 0.35)); }
.cn-hub-ic { fill: none; stroke: #4ADE9B; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cn-hub-lab { font: 700 11.5px var(--font-display); fill: var(--navy); text-anchor: middle; }
@media (max-width: 680px) { .cn-board { overflow-x: auto; } .cn-svg { min-width: 640px; } }
@media (prefers-reduced-motion: reduce) { .cn-pulse { animation: none; opacity: 0; } }

/* Governance points as a checklist (AI Consultancy page) -------------------- */
.ai-trust-points--checks li { position: relative; padding-left: 44px; }
.ai-trust-points--checks li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 26px; height: 26px; border-radius: 8px;
  background: #0E9F63 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: 0 0 0 4px rgba(14, 159, 99, 0.18);
}

/* The engagement as a staircase: commitment rises, and the gate sits before
   the big steps. Taller and darker = more committed. */
.sg {
  list-style: none; margin: 14px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr 44px 1fr 1fr; column-gap: 10px;
  align-items: end;
}
.sg-step {
  position: relative; overflow: hidden; color: #fff;
  padding: 20px 20px 14px; border-radius: 16px 16px 4px 4px;
  min-height: var(--h); background: var(--bg);
  box-shadow: 0 20px 44px rgba(4, 21, 55, 0.18);
  transition: transform 0.25s ease;
}
.sg-step:hover { transform: translateY(-4px); }
.sg-step--1 { --h: 268px; --bg: linear-gradient(165deg, #5B70E4, #4259D9); }
.sg-step--2 { --h: 298px; --bg: linear-gradient(165deg, #3F56D8, #2D44C6); }
.sg-step--3 { --h: 328px; --bg: linear-gradient(165deg, #2A3FBE, #172681); }
.sg-step--4 { --h: 358px; --bg: linear-gradient(165deg, #1A2A8A, #041537); }
.sg-step::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 60% at 50% 0%, rgba(255, 255, 255, 0.16), transparent 60%);
}
.sg-num {
  position: absolute; right: 16px; top: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.24);
}
.sg-step h3 { position: relative; margin: 0 0 1px; font-size: 1.35rem; color: #fff; }
.sg-sub { position: relative; display: block; margin-bottom: 12px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.72); }
.sg-get { position: relative; }
.sg-get b {
  display: block; margin-bottom: 8px; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: #4ADE9B;
}
.sg-get ul { list-style: none; margin: 0; padding: 0; }
.sg-get li {
  position: relative; padding: 0 0 8px 24px;
  font-size: 0.84rem; line-height: 1.42; color: rgba(255, 255, 255, 0.92);
}
.sg-get li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 15px; height: 15px; border-radius: 5px;
  background: #1AD67E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23041537' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* The gate: a beam of light between Prove and Build */
.sg-gate { position: relative; align-self: stretch; display: flex; justify-content: center; }
.sg-beam {
  position: absolute; top: 12px; bottom: -30px; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, #1AD67E, rgba(26, 214, 126, 0.15));
  box-shadow: 0 0 18px 3px rgba(26, 214, 126, 0.55);
}
.sg-pill {
  position: absolute; top: -6px; z-index: 1; white-space: nowrap;
  padding: 5px 12px; border-radius: 999px; background: #1AD67E; color: #041537;
  font-size: 0.64rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase;
  box-shadow: 0 0 0 5px rgba(26, 214, 126, 0.22); animation: sg-glow 2.6s ease-in-out infinite;
}
@keyframes sg-glow { 50% { box-shadow: 0 0 0 10px rgba(26, 214, 126, 0.10); } }
.sg-gl {
  position: absolute; top: 46px; left: 50%; transform: translateX(-50%); width: 124px; z-index: 1;
  padding: 6px 0; background: #fff; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--navy);
}
.sg-gl i { display: block; margin-top: 3px; font-style: normal; font-weight: 500; font-size: 0.7rem; line-height: 1.35; color: var(--muted); }

/* The way out, hanging from the gate */
.sg-exit {
  grid-column: 2 / 5; justify-self: center; width: min(360px, 100%);
  position: relative; margin-top: 34px; padding: 11px 18px; text-align: center;
  border: 1.5px dashed #9aa0b8; border-radius: 12px; background: #fff;
}
.sg-exit::before {
  content: ""; position: absolute; left: 50%; top: -32px; height: 30px; border-left: 2px dashed #1AD67E;
}
.sg-exit b { display: block; margin-bottom: 3px; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: #565b70; }
.sg-exit p { margin: 0; font-size: 0.84rem; line-height: 1.45; color: var(--muted); }
.sg ~ .flow-return { margin-top: 20px; }
.flow-band:has(.sg) { padding: 64px 0 56px; }
.flow-band:has(.sg) .lane-lede { margin-bottom: 30px; }

@media (max-width: 1080px) {
  .sg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
  .sg-step { min-height: 0; }
  .sg-gate { grid-column: 1 / -1; min-height: 78px; order: 3; }
  .sg-step--3 { order: 4; } .sg-step--4 { order: 5; }
  .sg-beam { top: 50%; bottom: auto; left: 0; right: 0; width: auto; height: 3px; transform: translateY(-50%); background: linear-gradient(90deg, rgba(26,214,126,.15), #1AD67E, rgba(26,214,126,.15)); }
  .sg-pill { top: 10px; }
  .sg-gl { display: none; }
  .sg-exit { grid-column: 1 / -1; order: 6; margin-top: 8px; }
  .sg-exit::before { display: none; }
}
@media (max-width: 620px) { .sg { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .sg-pill { animation: none; } .sg-step { transition: none; } }


/* What it could save you ---------------------------------------------------- */
.sv-band { padding: 72px 0; }
.sv-band .lane-lede { margin-bottom: 30px; }
.sv { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 22px; align-items: stretch; }
.sv-inputs {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 22px 24px 16px; box-shadow: 0 12px 34px rgba(4, 21, 55, 0.07);
}
.sv-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; margin-bottom: 18px; }
.sv-row label { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.sv-row label small { display: block; font-weight: 400; font-size: 0.74rem; color: var(--muted); }
.sv-row output { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--accent); }
.sv-row input[type="range"] {
  grid-column: 1 / -1; -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin-top: 8px;
  border-radius: 6px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--accent) var(--p, 50%), #dfe3f4 var(--p, 50%));
}
.sv-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent); box-shadow: 0 1px 4px rgba(20, 28, 70, 0.3);
}
.sv-row input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--accent);
}
.sv-row input[type="range"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.sv-out {
  position: relative; overflow: hidden; border-radius: 14px; color: #fff; padding: 24px 26px;
  background: radial-gradient(700px 360px at 90% 0%, rgba(42, 68, 212, 0.45), transparent 66%),
              linear-gradient(145deg, var(--navy-deep), var(--navy) 60%, #062057);
  box-shadow: 0 20px 50px rgba(4, 21, 55, 0.28);
}
.sv-big { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sv-num {
  display: block; font-family: var(--font-display); font-weight: 700; line-height: 1.05;
  font-size: clamp(2rem, 3.6vw, 2.9rem); color: #4ADE9B; font-variant-numeric: tabular-nums;
}
.sv-num--money { color: #fff; }
.sv-lab { display: block; margin-top: 4px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); }
.sv-fte { margin: 16px 0 20px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.84rem; color: rgba(255, 255, 255, 0.78); }
.sv-bars { display: grid; gap: 10px; }
.sv-bar { display: grid; grid-template-columns: 92px 1fr 80px; gap: 10px; align-items: center; font-size: 0.74rem; }
.sv-bn { color: rgba(255, 255, 255, 0.72); }
.sv-track { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.10); overflow: hidden; }
.sv-track i { display: block; height: 100%; border-radius: 6px; background: rgba(255, 255, 255, 0.55); transition: width 0.35s ease; }
.sv-bar--after .sv-track i { background: #1AD67E; }
.sv-bv { text-align: right; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.9); font-weight: 600; }

@media (max-width: 980px) { .sv { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .sv-big { grid-template-columns: 1fr; } .sv-bar { grid-template-columns: 78px 1fr 68px; } }
@media (prefers-reduced-motion: reduce) { .sv-track i { transition: none; } }

/* Hero: describe it, watch it build, watch it run --------------------------- */
.cx-ptext { flex: 1; min-width: 0; min-height: 4.5em; } /* three lines reserved so the card never changes height while typing */
.cx-caret {
  display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px;
  background: var(--accent); animation: hb-caret 1s steps(2) infinite;
}
@keyframes hb-caret { 50% { opacity: 0; } }
.cx-status {
  flex: none; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 3px 10px; border-radius: 999px; font-size: 0.66rem; font-weight: 700;
  background: rgba(14, 159, 99, 0.13); color: #0B7A4B;
}
.cx-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cx-status--busy { background: rgba(42, 68, 212, 0.10); color: var(--accent); }
.cx-status--busy::before { animation: rn-blink 0.9s ease-in-out infinite; }
.cx-btn--on { background: var(--accent); border-color: var(--accent); color: #fff; }
.cx-btn--ok { background: rgba(14, 159, 99, 0.13); border-color: rgba(14, 159, 99, 0.4); color: #0B7A4B; }

/* JS-driven states (only when .hb is set; otherwise the static finished state shows) */
.hb .cx-tile { transition: opacity 0.4s ease, transform 0.4s cubic-bezier(.2, 1.2, .4, 1); transform-box: fill-box; transform-origin: center; }
.hb .cx-tile.hb-off { opacity: 0; transform: scale(0.7); }
.hb .cx-ring { animation: none; opacity: 0; transition: opacity 0.2s; }
.hb .cx-ring.on { opacity: 1; }
.hb .cx-tick { animation: none; opacity: 0; transition: opacity 0.25s; }
.hb .cx-tick.on { opacity: 1; }
.hb .cx-edge { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 0.55s ease, stroke 0.3s; }
.hb .cx-edge.in { stroke-dashoffset: 0; }
.hb .cx-edge.done { stroke: #0E9F63; stroke-width: 1.7; }
.hb .cx-pulse { animation: none; opacity: 0; }
.hb .cx-pulse.go { animation: rn-run 0.55s linear forwards; }
.hb .cx-port, .hb .cx-plus, .hb .cx-elabel { opacity: 0; transition: opacity 0.5s; }
.hb .hb-ports .cx-port, .hb .hb-ports .cx-plus, .hb .hb-ports .cx-elabel { opacity: 1; }
.hb-wait { opacity: 0; transition: opacity 0.25s; }
.hb-wait.on { opacity: 1; }
.hb-wait rect { fill: rgba(199, 125, 10, 0.16); stroke: rgba(199, 125, 10, 0.5); }
.hb-wait text { font: 700 8.5px var(--font-body); fill: #A0640A; text-anchor: middle; }
.hb-wait.ok rect { fill: rgba(14, 159, 99, 0.16); stroke: rgba(14, 159, 99, 0.5); }
.hb-wait.ok text { fill: #0B7A4B; }
.hb-token { opacity: 0; transition: opacity 0.2s; pointer-events: none; filter: drop-shadow(0 2px 4px rgba(20, 28, 70, 0.35)); }
.hb-token.on { opacity: 1; }
.hb-token rect { fill: #fff; stroke: var(--accent); stroke-width: 1.5; }
.hb-token path { fill: none; stroke: var(--accent); stroke-width: 1.2; stroke-linecap: round; }
.hb-live .cx-float { opacity: 0; transition: opacity 0.4s ease; }
.hb-live .cx-float.show { opacity: 1; }

/* Hero scene: glass and glow on the dark hero, not a screenshot of the editor.
   Everything is scoped to .cx-canvas so the other canvases keep their look. */
.cx-canvas {
  background: none; box-shadow: none; border-radius: 0; overflow: visible; color: #fff;
  transform: perspective(1700px) rotateY(-5deg) rotateX(2deg); transform-origin: 30% 50%;
}
.cx-canvas .cx-bar {
  background: none; border: 0; padding: 0 2px 12px; color: rgba(255, 255, 255, 0.6);
}
.cx-canvas .cx-crumb b { color: #fff; }
.cx-canvas .cx-btn {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff;
  backdrop-filter: blur(8px);
}
.cx-canvas .cx-btn--pub { display: none; }
.cx-canvas .cx-btn--on { background: #1AD67E; border-color: #1AD67E; color: #041537; box-shadow: 0 0 18px rgba(26, 214, 126, 0.55); }
.cx-canvas .cx-btn--ok { background: rgba(26, 214, 126, 0.16); border-color: rgba(26, 214, 126, 0.5); color: #4ADE9B; }

.cx-canvas .cx-prompt {
  margin: 0; padding: 14px 16px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.cx-canvas .cx-prompt p { color: rgba(255, 255, 255, 0.94); font-size: 0.9rem; }
.cx-canvas .cx-spark { color: #4ADE9B; text-shadow: 0 0 12px rgba(74, 222, 155, 0.8); }
.cx-canvas .cx-caret { background: #4ADE9B; box-shadow: 0 0 8px #4ADE9B; }
.cx-canvas .cx-status { background: rgba(26, 214, 126, 0.16); color: #4ADE9B; }
.cx-canvas .cx-status--busy { background: rgba(143, 166, 255, 0.18); color: #B4C2FF; }

.cx-canvas .cx-board {
  margin-top: 4px; border: 0; background: radial-gradient(62% 70% at 50% 52%, rgba(42, 68, 212, 0.34), transparent 72%);
}
.cx-canvas .cx-zoom { display: none; }
.cx-canvas .cx-tile { filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35)); }
.cx-canvas .cx-box { fill: rgba(255, 255, 255, 0.09); stroke: rgba(255, 255, 255, 0.26); stroke-width: 1; }
.cx-canvas .cx-tile--blue   { color: #9DB0FF; }
.cx-canvas .cx-tile--purple { color: #C2A8FF; }
.cx-canvas .cx-tile--amber  { color: #FFC477; }
.cx-canvas .cx-tile--green  { color: #4ADE9B; }
.cx-canvas .cx-lab { fill: #fff; }
.cx-canvas .cx-sub { fill: rgba(255, 255, 255, 0.55); }
.cx-canvas .cx-edge { stroke: rgba(255, 255, 255, 0.30); }
.cx-canvas.hb .cx-edge.done { stroke: #4ADE9B; filter: drop-shadow(0 0 4px rgba(26, 214, 126, 0.9)); }
.cx-canvas .cx-pulse { stroke: #8CF5C4; filter: drop-shadow(0 0 5px #1AD67E); }
.cx-canvas .cx-ring { stroke: #4ADE9B; filter: drop-shadow(0 0 6px rgba(26, 214, 126, 0.9)); }
.cx-canvas .cx-port { fill: rgba(255, 255, 255, 0.6); }
.cx-canvas .cx-plus circle { fill: rgba(255, 255, 255, 0.10); stroke: rgba(255, 255, 255, 0.32); }
.cx-canvas .cx-plus path { stroke: rgba(255, 255, 255, 0.75); }
.cx-canvas .cx-elabel { fill: rgba(255, 255, 255, 0.55); }
.cx-canvas .cx-bolt { stroke: #9DB0FF; }
.cx-canvas .cx-tick circle { fill: #1AD67E; stroke: #0A1A44; }
.cx-canvas .cx-tick path { stroke: #041537; }
.cx-canvas .hb-token { filter: drop-shadow(0 0 7px rgba(74, 222, 155, 0.9)); }
.cx-canvas .hb-token rect { fill: #fff; stroke: #4ADE9B; }
.cx-canvas .hb-token path { stroke: #0E9F63; }
.cx-canvas .hb-wait rect { fill: rgba(255, 196, 119, 0.16); stroke: rgba(255, 196, 119, 0.6); }
.cx-canvas .hb-wait text { fill: #FFC477; }
.cx-canvas .hb-wait.ok rect { fill: rgba(26, 214, 126, 0.16); stroke: rgba(26, 214, 126, 0.6); }
.cx-canvas .hb-wait.ok text { fill: #4ADE9B; }

.cx-canvas .cx-foot {
  border: 0; justify-content: center; gap: 10px; padding: 6px 0 0;
}
.cx-canvas .cx-foot span {
  padding: 5px 12px; border-radius: 999px; font-size: 0.7rem; color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16);
}
.cx-canvas .cx-foot span::before { color: #4ADE9B; }
@media (max-width: 980px) { .cx-canvas { transform: none; } }
.page-hero--demo .cx-float--bot { left: 4px; margin-left: 0; bottom: 58px; }

/* AI Consultancy as slide 4 of the home hero ---------------------------------- */
.hero-panels .hero-demo { position: relative; }
.hero-panels .slide .hero-demo { opacity: 0; transition: opacity 0.16s ease; }
.hero-panels .slide.active .hero-demo { opacity: 1; transition: opacity 0.42s ease 0.22s; }
.hero-panels .cx-float--bot { left: 4px; margin-left: 0; bottom: 58px; }
.hero-panels .hero-demo .hero-note { margin-top: 10px; }
@media (max-width: 980px) { .hero-panels .cx-float--bot { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-panels .slide .hero-demo, .hero-panels .slide.active .hero-demo { transition: none; } }

/* Every hero scene sits on its own stacking context so its glass stage can sit behind it. */
.hero-panels .hero-demo { isolation: isolate; }

/* AI Consultancy slide: dusk landscape. The engine slide's dusk, drawn as a landscape
   (an industrial skyline for "your SAP landscape"). Bright, built from the brand
   palette, no photograph. The flow scene sits on a plum-tinted glass stage. */
.hero-panels .slide--dusk { overflow: hidden;
  background:
    radial-gradient(620px 420px at 64% 84%, rgba(255, 168, 80, 0.85) 0%, transparent 70%),
    linear-gradient(180deg, #3A2A86 0%, #7A3BA6 34%, #D2487F 66%, #FF9552 100%);
}
.hero-panels .slide--dusk > .container { position: relative; z-index: 1; }
.v-art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.v-art--land { top: auto; height: 42%; bottom: 0; }
.hero-panels .slide--dusk .cx-grad {
  background: linear-gradient(90deg, #FFE9AE, #FFFFFF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-panels .slide--dusk .hero-demo::before {
  display: block; content: ""; position: absolute; z-index: -1; inset: -22px -24px -26px;
  border-radius: 24px; background: rgba(46, 20, 78, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.26);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 26px 70px rgba(10, 8, 40, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.hero-panels .slide--dusk .cx-canvas { transform: none; }
.hero-panels .slide--dusk .cx-canvas .cx-board { background: none; }
/* On this bright background the primary button is white, so it never blends in */
.hero-panels .slide--dusk .btn { background: #fff; color: #041537; box-shadow: 0 8px 24px rgba(10, 8, 40, 0.28); }
.hero-panels .slide--dusk .btn:hover { background: #FFF1DD; }
@media (max-width: 980px) { .hero-panels .slide--dusk .hero-demo::before { inset: -14px -10px -16px; } }

/* ==========================================================================
   Home hero: four bright slides on one structure. A colour family and a piece of
   background art each, an animated scene on a tinted glass stage, a white button.
   ========================================================================== */
.hero-panels .slide--glass { overflow: hidden; }
.hero-panels .slide--glass > .container { position: relative; z-index: 1; }
.v-art--ridge { top: auto; height: 46%; bottom: 0; }
.hero-panels .slide--glass .btn { background: #fff; color: #041537; box-shadow: 0 8px 24px rgba(10, 8, 40, 0.28); }
.hero-panels .slide--glass .btn:hover { background: #EEF2FF; }
.hero-panels .slide--glass .cx-grad {
  background: linear-gradient(90deg, var(--hl-a, #fff), var(--hl-b, #fff));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-panels .slide--glass .hero-demo::before {
  display: block; content: ""; position: absolute; z-index: -1; inset: -22px -24px -26px;
  border-radius: 24px; background: var(--stage, rgba(20, 20, 80, 0.45));
  border: 1px solid rgba(255, 255, 255, 0.26);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 26px 70px rgba(10, 8, 40, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.hero-panels .slide--glass .cx-canvas { transform: none; }
.hero-panels .slide--glass .cx-canvas .cx-board { background: none; }
.hero-panels .slide--dusk { --stage: rgba(46, 20, 78, 0.48); }

/* 1 - IAM: brand blue with turbine rings */
.hero-panels .slide--iam {
  background:
    radial-gradient(900px 600px at 78% 40%, rgba(120, 150, 255, 0.55) 0%, transparent 65%),
    linear-gradient(135deg, #1F37C4 0%, #2A44D4 45%, #4666F4 100%);
  --stage: rgba(10, 22, 110, 0.44); --hl-a: #FFFFFF; --hl-b: #A6FFD2;
}
.hero-panels .slide--iam .slide-content h1 { font-size: clamp(1.9rem, 3.5vw, 2.85rem); line-height: 1.1; }
/* 2 - DAT: aurora with a glowing chart ridge */
.hero-panels .slide--dat {
  background:
    radial-gradient(760px 520px at 8% 12%, #4D63F2 0%, transparent 62%),
    radial-gradient(760px 540px at 88% 8%, #A24BE8 0%, transparent 62%),
    radial-gradient(820px 560px at 78% 100%, #11B8A8 0%, transparent 62%),
    radial-gradient(640px 460px at 4% 100%, #E8509E 0%, transparent 62%),
    #3B4FD6;
  --hl-a: #FFFFFF; --hl-b: #B9FFE0;
}
.hero-panels .slide--dat .concept-player {
  background: rgba(255, 255, 255, 0.92); border: 1px solid rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 26px 70px rgba(20, 10, 70, 0.34);
}
/* 3 - Property: emerald to deep teal with land contours */
.hero-panels .slide--prop {
  background:
    radial-gradient(780px 540px at 86% 92%, rgba(26, 214, 126, 0.70) 0%, transparent 65%),
    linear-gradient(135deg, #064E5B 0%, #0A7C73 50%, #14A877 100%);
  --stage: rgba(3, 52, 56, 0.46); --hl-a: #FFFFFF; --hl-b: #C8FFE6;
}

/* Scene cards (slides 1 and 3) -------------------------------------------- */
.sc-card { color: #fff; }
.sc-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 2px 12px; font-size: 0.76rem; color: rgba(255, 255, 255, 0.62); }
.sc-crumb i { font-style: normal; margin: 0 4px; }
.sc-crumb b { color: #fff; font-weight: 600; }
.sc-pill {
  flex: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 4px 11px; border-radius: 999px; font-size: 0.68rem; font-weight: 700;
  background: rgba(26, 214, 126, 0.18); color: #6CF0B2;
}
.sc-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sc-pill--busy { background: rgba(255, 255, 255, 0.16); color: #fff; }
.sc-pill--busy::before { animation: rn-blink 0.9s ease-in-out infinite; }
.sc-pill--warn { background: rgba(255, 196, 119, 0.20); color: #FFC477; }
.sc-foot { display: flex; justify-content: center; gap: 10px; padding-top: 10px; }
.sc-foot span {
  padding: 5px 12px; border-radius: 999px; font-size: 0.7rem; color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.22);
}
.sc-foot span::before { content: "\2713\00a0"; color: #6CF0B2; font-weight: 700; }

/* IAM: real maintenance photography blended into the slide. Each photo is tinted
   into the brand blue (luminosity blend over a blue gradient), its edges are feathered so
   it melts into the background, and a work-scope timeline runs across the bottom.
   Public-domain photographs. */
.hero-panels .slide--iam .hero-demo::before { display: none; }
.mz-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 2px 4px; position: relative; z-index: 3; }
.mz-pill { padding: 5px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; color: #fff; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.28); }
.mz-pill--live { display: inline-flex; align-items: center; gap: 6px; background: rgba(26, 214, 126, 0.20); color: #7CF5BC; border-color: rgba(26, 214, 126, 0.4); }
.mz-pill--live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: rn-blink 1.1s ease-in-out infinite; }
.mz-grid { display: grid; gap: 0; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: 178px 160px; margin: 0 -22px; }
.mz-t { position: relative; margin: 0; }
.mz-t--a { grid-area: 1 / 1 / 2 / 5; } .mz-t--b { grid-area: 1 / 5 / 2 / 7; }
.mz-t--c { grid-area: 2 / 1 / 3 / 3; } .mz-t--d { grid-area: 2 / 3 / 3 / 7; }
.mz-img {
  position: absolute; inset: 0; isolation: isolate; overflow: hidden;
  background: linear-gradient(135deg, #1B2FB5, #4F70FF);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%); mask-composite: intersect;
}
.mz-img img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.25) brightness(1.12); mix-blend-mode: luminosity; opacity: .92; transform: scale(1.04); transition: transform 8s ease-out; }
.slide.active .mz-img img { transform: scale(1.12); }
.mz-t--a img { object-position: 62% 20%; } .mz-t--b img { object-position: 42% 45%; }
.mz-t--c img { object-position: 70% 40%; } .mz-t--d img { object-position: 50% 62%; }
.mz-t figcaption { position: absolute; z-index: 2; left: 26px; right: 14px; bottom: 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.mz-kind { padding: 3px 9px; border-radius: 6px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: rgba(10, 18, 80, 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.mz-st {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; color: #fff; white-space: nowrap;
  background: rgba(10, 18, 80, 0.66); border: 1px solid rgba(255, 255, 255, 0.34); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(8px) scale(.96); animation: ph-in 12s ease-out infinite; animation-delay: calc(var(--i) * 1.5s + 0.6s);
}
.mz-st i { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; font-style: normal; font-size: 0.6rem; font-weight: 800; background: #1AD67E; color: #04251a; }
.mz-st i.ok::before { content: "\2713"; } .mz-st i.warn { background: #FFB547; color: #3a2400; } .mz-st i.warn::before { content: "!"; }
.mz-st--warn { background: rgba(70, 40, 6, 0.74); border-color: rgba(255, 196, 119, 0.6); }
@keyframes ph-in { 0% { opacity: 0; transform: translateY(8px) scale(.96); } 5%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-4px) scale(.98); } }

/* Work-scope timeline overlaid across the bottom of the mosaic */
.mz-scope { position: relative; z-index: 3; margin-top: -2px; }
.mz-stages { display: flex; gap: 4px; }
.mz-stages span { flex: 1; text-align: center; padding: 6px 2px; border-radius: 6px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.22); }
.mz-stages .done { background: rgba(26, 214, 126, 0.22); border-color: rgba(26, 214, 126, 0.5); color: #8CF5C4; }
.mz-stages .now { background: #fff; border-color: #fff; color: #1F37C4; animation: mz-now 2.4s ease-in-out infinite; }
@keyframes mz-now { 50% { box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.22); } }
.mz-line { position: relative; height: 3px; margin: 10px 0 0; border-radius: 3px; background: rgba(255, 255, 255, 0.22); overflow: hidden; }
.mz-line i { position: absolute; inset: 0 auto 0 0; width: 46%; border-radius: 3px; background: linear-gradient(90deg, #4ADE9B, #fff); box-shadow: 0 0 10px rgba(255, 255, 255, 0.7); animation: mz-run 12s ease-in-out infinite; }
@keyframes mz-run { 0% { width: 8%; } 80%, 100% { width: 62%; } }
.mz-foot { display: flex; justify-content: center; gap: 10px; padding-top: 10px; }
.mz-foot span { padding: 5px 12px; border-radius: 999px; font-size: 0.7rem; color: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.26); }
.mz-foot span::before { content: "\2713\00a0"; color: #6CF0B2; font-weight: 700; }
@media (max-width: 980px) { .mz-grid { margin: 0 -10px; } }
@media (max-width: 560px) { .mz-grid { grid-template-rows: 150px 140px; } .mz-st { font-size: 0.64rem; padding: 4px 9px; } .mz-kind { font-size: 0.56rem; } .mz-stages span { font-size: 0.5rem; } }
@media (prefers-reduced-motion: reduce) { .mz-st { animation: none; opacity: 1; transform: none; } .mz-img img, .slide.active .mz-img img { transform: none; transition: none; } .mz-pill--live i, .mz-stages .now { animation: none; } .mz-line i { animation: none; width: 46%; } }

/* Property: custody check */
.lg-prog { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.16); overflow: hidden; margin-bottom: 8px; }
.lg-prog i { display: block; height: 100%; width: 0; border-radius: 4px; background: #6CF0B2; transition: width 0.6s ease; box-shadow: 0 0 10px rgba(108, 240, 178, 0.8); }
.lg-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 128px; gap: 12px; align-items: center;
  padding: 11px 12px; border-radius: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.82rem;
  transition: background 0.3s;
}
.lg-row.flag { background: rgba(255, 196, 119, 0.16); }
.lg-id { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 0.8rem; }
.lg-item { color: rgba(255, 255, 255, 0.75); }
.lg-st { justify-self: end; padding: 3px 10px; border-radius: 999px; font-size: 0.68rem; font-weight: 700; white-space: nowrap; transition: background 0.25s, color 0.25s; }
.lg-st.q { background: rgba(255, 255, 255, 0.10); color: rgba(255, 255, 255, 0.55); }
.lg-st.busy { background: rgba(255, 255, 255, 0.22); color: #fff; animation: rn-blink 0.9s ease-in-out infinite; }
.lg-st.ok { background: rgba(26, 214, 126, 0.25); color: #7CF5BC; }
.lg-st.warn { background: rgba(255, 196, 119, 0.26); color: #FFC477; }
.lg-note {
  margin: 10px 0 0; padding: 10px 14px; border-radius: 10px; font-size: 0.78rem; line-height: 1.45; color: #FFE2B4;
  background: rgba(255, 196, 119, 0.14); border: 1px solid rgba(255, 196, 119, 0.4);
  opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s;
}
.lg-note.on { opacity: 1; transform: none; }

@media (max-width: 980px) { .hero-panels .slide--glass .hero-demo::before { inset: -14px -10px -16px; } }
@media (prefers-reduced-motion: reduce) { .iam-edge, .iam-ring, .iam-chip, .lg-prog i, .lg-note { transition: none; } .sc-pill--busy::before, .lg-st.busy { animation: none; } }

/* ---- Slide 1 revision: natural-colour photos on a white work-scope board ----------
   The blue duotone flattened every colour cue in the photographs, so they are back in
   their own colours, framed as the content of a product board (the same device as the
   DAT card on slide 2). The slide opens from cobalt to hangar-daylight sky blue behind it. */
.hero-panels .slide--iam { background:
  radial-gradient(760px 520px at 76% 46%, rgba(190, 225, 255, .70) 0%, transparent 66%),
  linear-gradient(120deg, #1F37C4 0%, #2A44D4 40%, #3D7BEF 74%, #5CB8F5 100%); }
.mz { padding: 12px; border-radius: 22px; background: rgba(255, 255, 255, .94); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 26px 70px rgba(8, 20, 110, .34); }
.mz-top { padding: 2px 4px 10px; }
.mz-pill { color: #041537; background: #EEF2FF; border-color: #D5DDFB; }
.mz-pill--live { color: #0B8A52; background: #E3FBEF; border-color: #B5EFD2; }
.mz-grid, .mz .mz-grid { gap: 6px; margin: 0; grid-template-rows: 172px 154px; }
.mz-t { border-radius: 12px; overflow: hidden; background: #0B1B4D; }
.mz-img { background: none; -webkit-mask-image: none; mask-image: none; }
.mz-img img { filter: saturate(.94) contrast(1.06) brightness(1.03); mix-blend-mode: normal; opacity: 1; transform: scale(1); transform-origin: var(--hx) var(--hy); }
.slide.active .mz-img img { transform: scale(1.06); }
.mz-t--c img { filter: saturate(.94) contrast(1.04) brightness(1.2); }
.mz-t--a { --hx: 64%; --hy: 31%; } .mz-t--a img { object-position: 50% 12%; }
.mz-t--b { --hx: 59%; --hy: 44%; } .mz-t--b img { object-position: 60% 50%; }
.mz-t--c { --hx: 58%; --hy: 52%; } .mz-t--c img { object-position: 45% 50%; }
.mz-t--d { --hx: 50%; --hy: 46%; } .mz-t--d img { object-position: 50% 40%; }
.mz-kind { background: #2A44D4; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.mz-st { background: rgba(255, 255, 255, .96); color: #041537; border: 1px solid rgba(4, 21, 55, .08); box-shadow: 0 4px 14px rgba(4, 21, 55, .28); -webkit-backdrop-filter: none; backdrop-filter: none; }
.mz-st--warn { background: #FFF4E0; border-color: #FFB547; color: #5A3600; }
.mz-t figcaption { left: 10px; right: 10px; bottom: 10px; }
.mz-t--a figcaption, .mz-t--d figcaption { top: 10px; bottom: auto; }
.mz-t--b .mz-st, .mz-t--c .mz-st { font-size: .66rem; padding: 4px 9px; }
.mz-scope { margin-top: 10px; }
.mz-stages span { color: #5B678A; background: #F1F4FB; border-color: #DDE3F3; }
.mz-stages .done { background: #E3FBEF; border-color: #9FE6C4; color: #0B8A52; }
.mz-stages .now { background: #2A44D4; border-color: #2A44D4; color: #fff; }
@keyframes mz-now { 50% { box-shadow: 0 0 0 5px rgba(42, 68, 212, .22); } }
.mz-line { background: #E3E8F6; } .mz-line i { background: linear-gradient(90deg, #1AD67E, #2A44D4); box-shadow: none; }
.mz-foot span { color: #041537; background: #F1F4FB; border-color: #DDE3F3; } .mz-foot span::before { color: #0B8A52; }
/* a pulsing ring on the key part of each photo */
.mz-t::after { content: ""; position: absolute; z-index: 1; left: var(--hx); top: var(--hy); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; border: 3px solid #2A44D4; animation: mz-ping 2.4s ease-out infinite; animation-delay: calc(var(--i) * .6s); }
.mz-t--d::after { border-color: #FFB547; }
@keyframes mz-ping { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .85); } 70%, 100% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); } }
@media (max-width: 980px) { .mz-grid, .mz .mz-grid { margin: 0; } }
@media (prefers-reduced-motion: reduce) { .mz-t::after { animation: none; } }

/* Slide 1: IAM as a product lockup, and one consistent grade across all four photos -------- */
.iam-lock { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.iam-mark { display: grid; place-items: center; min-width: 74px; height: 56px; padding: 0 12px; border-radius: 14px; background: #fff; color: #2A44D4; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: .02em; box-shadow: 0 10px 28px rgba(8, 10, 70, .35); }
.iam-name b { display: block; color: #fff; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.15; }
.iam-name i { display: block; margin-top: 3px; font-style: normal; font-size: .8rem; color: rgba(255, 255, 255, .78); }
.hero-panels .slide--iam .slide-content h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.1; margin-bottom: 14px; }
.hero-panels .slide--iam .slide-content p { margin-bottom: 18px; }
.iam-caps { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.iam-caps li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: .74rem; white-space: nowrap; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .30); }
.iam-caps i { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #1AD67E; }
.iam-caps i::before { content: ""; width: 7px; height: 4px; border-left: 2px solid #04251a; border-bottom: 2px solid #04251a; transform: translateY(-1px) rotate(-45deg); }
.iam-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.iam-link { color: #fff; font-weight: 600; font-size: .95rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .5); }
.iam-link:hover { text-decoration-color: #fff; }
/* one grade for all four photos: pull saturation down a touch, lift contrast, then a shared
   brand-blue wash and a shared floor gradient so they read as a set */
.mz-img img, .mz-t--c img { filter: saturate(.62) contrast(1.12) brightness(1.04); }
.mz-t--c img { filter: saturate(.62) contrast(1.08) brightness(1.22); }
.mz-img::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(135deg, rgba(42, 68, 212, .46) 0%, rgba(61, 123, 239, .20) 55%, rgba(92, 184, 245, .16) 100%); mix-blend-mode: soft-light; }
.mz-t::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(31, 55, 196, .10) 0%, rgba(31, 55, 196, 0) 40%, rgba(8, 20, 90, .34) 100%); }

/* Slide 1 revision: a dawn airfield illustration and a coloured, iconned stage row ------------ */
.hero-panels .slide--iam { background:
  radial-gradient(900px 420px at 74% 100%, rgba(255, 196, 120, .70) 0%, transparent 66%),
  linear-gradient(180deg, #16248C 0%, #2438C4 30%, #3569E6 58%, #6FB3F3 82%, #F6D7A0 100%); }
.v-art--air { top: auto; bottom: 0; height: 170px; }
.mz-stages { gap: 5px; }
.mz-stages span { --c: #2A44D4; position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 7px 2px 6px;
  color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); border: 1px solid color-mix(in srgb, var(--c) 28%, #fff); }
.mz-stages svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mz-stages em { font-style: normal; font-size: .58rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mz-stages .done { color: var(--c); background: color-mix(in srgb, var(--c) 16%, #fff); border-color: color-mix(in srgb, var(--c) 45%, #fff); }
.mz-stages .done b { position: absolute; top: -6px; right: -4px; width: 15px; height: 15px; border-radius: 50%; background: #1AD67E; box-shadow: 0 0 0 2px #fff; }
.mz-stages .done b::before { content: ""; position: absolute; left: 4px; top: 4px; width: 7px; height: 4px; border-left: 2px solid #04251a; border-bottom: 2px solid #04251a; transform: rotate(-45deg); }
.mz-stages .now { color: #fff; background: var(--c); border-color: var(--c); box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 55%, transparent); animation: mz-now 2.4s ease-in-out infinite; }
@keyframes mz-now { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 28%, transparent); } }
.mz-line i { background: linear-gradient(90deg, #2A44D4, #C77D0A, #7B4AE2); }
@media (max-width: 560px) { .mz-stages em { font-size: .5rem; letter-spacing: 0; } .mz-stages svg { width: 14px; height: 14px; } }

/* ---- Slide 1, simplified ------------------------------------------------------
   One calm stage row, one shared filter on all four photos, no rings, no extra pills,
   and a deeper blue behind the copy so the text reads cleanly. */
.hero-panels .slide--iam::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 18, 100, .62) 0%, rgba(8, 18, 100, .30) 46%, rgba(8, 18, 100, 0) 70%); }
.hero-panels .slide--iam .slide-content h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.08; margin-bottom: 18px; }
.hero-panels .slide--iam .slide-content p { margin-bottom: 26px; }
.hero-panels .slide--iam .cx-grad { background: none; color: #A6FFD2; -webkit-text-fill-color: #A6FFD2; }
.mz-t::after { display: none; }
.mz { padding: 10px; }
.mz-grid, .mz .mz-grid { grid-template-rows: 178px 160px; }

/* the shared filter: grey the photo, then lay one brand-blue colour wash over all four */
.mz-img img, .mz-t--c img { filter: grayscale(.9) contrast(1.18) brightness(1.06); }
.mz-t--c img { filter: grayscale(.9) contrast(1.12) brightness(1.24); }
.mz-img::after { background: linear-gradient(160deg, #1F37C4 0%, #3D7BEF 100%); mix-blend-mode: color; opacity: .62; }
.mz-t::before { background: linear-gradient(180deg, rgba(12, 28, 120, .0) 0%, rgba(12, 28, 120, 0) 45%, rgba(10, 22, 100, .46) 100%); }

/* stage row: one style. Done = green tick, now = brand blue, to come = quiet grey */
.mz-stages span, .mz-stages .done, .mz-stages .now { --c: #2A44D4; color: #5B678A; background: #F1F4FB; border: 1px solid #DDE3F3; box-shadow: none; animation: none; }
.mz-stages .done { color: #0B6B45; background: #EAFBF3; border-color: #A9E8CB; }
.mz-stages .now { color: #fff; background: #2A44D4; border-color: #2A44D4; box-shadow: 0 6px 16px rgba(42, 68, 212, .38); }
.mz-stages .done b { background: #1AD67E; }

/* ---- Large screens ----------------------------------------------------------------
   The hero no longer stretches to fill the viewport height (that left a band of empty
   colour above and below the content on tall displays); it holds a steady height, and
   the airfield keeps its drawn size and is continued edge to edge by a ground strip. */
.hero-viewport { min-height: 0; }
.hero-viewport > .hero-slider { flex: 0 0 auto; }
.hero-slider.hero-panels { min-height: 600px; }
.hero-panels .slide--iam::before {
  display: block; content: ""; position: absolute; inset: auto 0 0 0; height: 52px; pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, #FFE6A8 0 2.6px, transparent 3.2px) 0 40px / 61px 12px repeat-x,
    linear-gradient(180deg, #3C61D6 0, #3C61D6 76%, #0E1D78 76%);
}
.hero-panels .slide--dusk .v-art--land { height: 220px; }
@media (min-width: 1800px) {
  .hero-panels .slide--glass .hero-demo { transform: scale(1.1); transform-origin: 0 50%; }
  .hero-slider.hero-panels { min-height: 680px; }
}
.v-art--air { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
/* Phones: chips stay inside their tiles, the slider pill gets its own row */
@media (max-width: 560px) {
  .mz-t figcaption { left: 6px; right: 6px; }
  .mz-st { white-space: normal; max-width: 100%; font-size: .6rem; padding: 3px 8px; line-height: 1.25; }
  .mz-kind { font-size: .5rem; padding: 2px 6px; }
  .hero-panels .slide--glass > .container { padding-top: 34px; }
}

/* ==========================================================================
   Slide 1 (A): the exploded engine. A line-art turbofan in five modules that comes
   apart as material is pegged to it, and closes up again as the work scope completes.
   Glass panel over the dawn airfield; one accent blue, green ticks, one amber shortage.
   ========================================================================== */
.hero-panels .slide--iam .hero-demo::before { display: none; }
.en-panel { padding: 14px 16px 14px; border-radius: 22px; color: #041537;
  background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .75);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 26px 70px rgba(8, 20, 110, .36), inset 0 1px 0 rgba(255, 255, 255, .8); }
.en-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.en-crumb { font-size: .76rem; color: #5B678A; } .en-crumb i { font-style: normal; margin: 0 4px; } .en-crumb b { color: #041537; font-weight: 700; }
.en-pill { padding: 4px 12px; border-radius: 999px; font-size: .7rem; font-weight: 700; color: #fff; background: #2A44D4; white-space: nowrap; transition: background .3s; }
.en-pill.ok { background: #0E9F63; } .en-pill.warn { background: #D98A12; }
.en-panel .mz-stages { margin-bottom: 4px; }

.en-svg { display: block; width: 100%; height: auto; overflow: visible; margin-top: 4px; }
.en-svg .axis { stroke: #2A44D4; stroke-width: 1; stroke-dasharray: 3 5; opacity: 0; transition: opacity .6s; }
.is-exploded .en-svg .axis { opacity: .45; }
.en-svg .mod { transform: translate(var(--xa), 118px); transition: transform 1.3s cubic-bezier(.65, 0, .25, 1); }
.is-exploded .en-svg .mod { transform: translate(var(--xe), 118px); }
.en-svg .sh { fill: #EAF0FF; stroke: #2A44D4; stroke-width: 1.8; stroke-linejoin: round; transition: stroke .3s, fill .3s; }
.en-svg .sh2 { fill: #D5E1FF; stroke: #2A44D4; stroke-width: 1.4; stroke-linejoin: round; }
.en-svg .ln { fill: none; stroke: #2A44D4; stroke-width: 1.3; stroke-linecap: round; opacity: .75; }
.en-svg .bl { fill: rgba(42, 68, 212, .3); stroke: #2A44D4; stroke-width: 1; stroke-linejoin: round; }
.en-svg .glow { fill: url(#enGlow); stroke: #E08A2C; stroke-width: 1.3; stroke-linejoin: round; }
.en-svg .nz { fill: #2A44D4; }
.en-svg .mod.hot .sh { stroke: #1AD67E; fill: #EAFBF3; } .en-svg .mod.short .sh { stroke: #D98A12; fill: #FFF4E0; }
.en-svg .mod.hot .shape, .en-svg .mod.short .shape { filter: drop-shadow(0 0 7px rgba(26, 214, 126, .55)); }
.en-svg .mod.short .shape { filter: drop-shadow(0 0 7px rgba(217, 138, 18, .6)); }
.en-svg.pulse .shape { filter: drop-shadow(0 0 9px rgba(26, 214, 126, .9)); }
.en-svg .bg-ok, .en-svg .bg-warn { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; transition: opacity .25s, transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.en-svg .bg-ok circle { fill: #1AD67E; stroke: #fff; stroke-width: 2; } .en-svg .bg-warn circle { fill: #F5A524; stroke: #fff; stroke-width: 2; }
.en-svg .bg-ok path { fill: none; stroke: #04251a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.en-svg .bg-warn path { fill: none; stroke: #3a2400; stroke-width: 2.2; stroke-linecap: round; }
.en-svg .mod.hot .bg-ok { opacity: 1; transform: scale(1); } .en-svg .mod.short .bg-warn { opacity: 1; transform: scale(1); }
.en-svg .lead { stroke: #2A44D4; stroke-width: 1.5; stroke-dasharray: 100; stroke-dashoffset: 100; opacity: .9; transition: stroke-dashoffset .5s ease, stroke .3s; }
.en-svg .lead.on { stroke-dashoffset: 0; } .en-svg .lead.ok { stroke: #1AD67E; } .en-svg .lead.short { stroke: #F5A524; }

.en-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 0; }
.en-card { display: flex; flex-direction: column; gap: 3px; padding: 8px 9px 9px; border-radius: 10px; min-height: 76px;
  background: #fff; border: 1px solid #DDE3F3; box-shadow: 0 6px 16px rgba(8, 20, 110, .10);
  opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .35s, border-color .3s; }
.en-card.in { opacity: 1; transform: none; }
.en-k { font-size: .56rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5B678A; }
.en-m { font-size: .72rem; font-weight: 700; line-height: 1.2; color: #041537; }
.en-s { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; font-size: .64rem; font-weight: 700; color: #5B678A; }
.en-s i { width: 12px; height: 12px; flex: none; border-radius: 50%; background: #C9D2EC; display: inline-grid; place-items: center; }
.en-card.peg .en-s { color: #2A44D4; } .en-card.peg .en-s i { background: #2A44D4; animation: rn-blink .8s ease-in-out infinite; }
.en-card.ok { border-color: #A9E8CB; } .en-card.ok .en-s { color: #0B8A52; } .en-card.ok .en-s i { background: #1AD67E; }
.en-card.ok .en-s i::before { content: ""; width: 6px; height: 3px; border-left: 1.6px solid #04251a; border-bottom: 1.6px solid #04251a; transform: translateY(-.5px) rotate(-45deg); }
.en-card.short { border-color: #F5C97C; background: #FFFBF2; } .en-card.short .en-s { color: #A9660C; } .en-card.short .en-s i { background: #F5A524; }
.en-card.short .en-s i::before { content: "!"; font-size: 8px; font-weight: 800; color: #3a2400; }

@media (max-width: 560px) {
  .en-cards { grid-template-columns: 1fr; gap: 6px; }
  .en-card { flex-direction: row; align-items: center; min-height: 0; padding: 7px 10px; gap: 8px; }
  .en-k { min-width: 74px; } .en-m { flex: 1; } .en-s { margin-top: 0; }
  .en-svg .lead { display: none; }
}
@media (prefers-reduced-motion: reduce) { .en-svg .mod, .en-card, .en-svg .lead { transition: none; } .en-card.peg .en-s i { animation: none; } }

/* ==========================================================================
   Slide 4 (C): the airfield comes alive. The dawn airfield, drawn bigger, with a story
   in it: an aircraft taxis into the hangar, a part is pegged and picked in stores, a
   trolley carries it over, the hangar glows green, and the aircraft rolls out released.
   ========================================================================== */
.hero-panels .slide--air { background:
  radial-gradient(900px 420px at 74% 100%, rgba(255, 196, 120, .70) 0%, transparent 66%),
  linear-gradient(180deg, #16248C 0%, #2438C4 30%, #3569E6 58%, #6FB3F3 82%, #F6D7A0 100%); }
.hero-panels .slide--air::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 18, 100, .62) 0%, rgba(8, 18, 100, .30) 46%, rgba(8, 18, 100, 0) 70%); }
.hero-panels .slide--air::before { display: block; content: ""; position: absolute; inset: auto 0 0 0; height: 52px; pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, #FFE6A8 0 2.6px, transparent 3.2px) 0 40px / 61px 12px repeat-x,
    linear-gradient(180deg, #3C61D6 0, #3C61D6 76%, #0E1D78 76%); }
.hero-panels .slide--air .slide-content h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.08; margin-bottom: 18px; }
.hero-panels .slide--air .slide-content p { margin-bottom: 26px; }
.hero-panels .slide--air .cx-grad { background: none; color: #A6FFD2; -webkit-text-fill-color: #A6FFD2; }
.hero-panels .slide--air .hero-demo::before { display: none; }
.hero-panels .slide--air .hero-demo { align-self: end; }
.hero-panels .slide--air > .container { align-items: end; }
.hero-panels .slide--air .slide-content { align-self: center; padding-bottom: 60px; }
.air-scene { position: relative; width: 100%; margin-bottom: -40px; }
.air-svg { display: block; width: 100%; height: auto; overflow: visible; }
.air-sign { font: 800 9.5px var(--font-display); letter-spacing: .16em; fill: #FFE6A8; }
.air-sign--h { font-size: 11px; fill: #14258F; opacity: .65; }
.air-svg .ac { transition: transform 3s cubic-bezier(.15, .7, .25, 1); }
.air-svg .beacon { animation: air-blink 1.4s steps(1) infinite; }
@keyframes air-blink { 0%, 70% { opacity: 1; } 71%, 100% { opacity: .12; } }
.air-svg .door-ok { opacity: 0; transition: opacity .9s; } .air-svg .door-ok.on { opacity: .62; }
.air-svg .tr { opacity: 0; transition: opacity .3s; } .air-svg .tr.on { opacity: 1; }
.air-svg .tr-crate { fill: #FFD27A; stroke: #fff; stroke-width: 1.4; }
.air-svg .crate-t { transition: opacity .4s; } .air-svg .crate-t.gone { opacity: 0; }
.air-svg .crate-box { fill: #FFD27A; stroke: #fff; stroke-width: 1.4; } .air-svg .crate-tape { stroke: #B9791E; stroke-width: 1.4; fill: none; }
.air-svg .crate-ring { fill: none; stroke: #fff; stroke-width: 2; opacity: 0; transition: opacity .3s, stroke .3s; }
.air-svg .crate-t.want .crate-ring { opacity: 1; animation: air-ring 1s ease-in-out infinite; }
.air-svg .crate-t.ok .crate-ring { opacity: 1; stroke: #1AD67E; stroke-width: 3; animation: none; }
@keyframes air-ring { 50% { stroke-width: 4.5; opacity: .45; } }

.air-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 7px 13px; border-radius: 999px; font-size: .74rem; font-weight: 700; color: #041537;
  background: rgba(255, 255, 255, .94); box-shadow: 0 10px 26px rgba(8, 20, 110, .30);
  opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .3s, transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.air-chip.show { opacity: 1; transform: none; }
.air-chip i { width: 16px; height: 16px; border-radius: 50%; background: #2A44D4; flex: none; display: inline-grid; place-items: center; transition: background .3s; }
.air-chip.ok i { background: #1AD67E; }
.air-chip.ok i::before { content: ""; width: 7px; height: 4px; border-left: 2px solid #04251a; border-bottom: 2px solid #04251a; transform: translateY(-1px) rotate(-45deg); }
.air-chip em { font-style: normal; }
.air-chip--st { left: 0; top: 55%; } .air-chip--hg { left: 52%; top: 13%; }

@media (max-width: 980px) {
  .hero-panels .slide--air .slide-content { padding-bottom: 0; }
  .air-scene { margin-bottom: 0; }
  .air-chip--st { top: 52%; } .air-chip--hg { left: 38%; top: 8%; }
}
@media (max-width: 560px) { .air-chip { font-size: .62rem; padding: 5px 9px; } .air-chip--hg { left: 30%; } }
@media (prefers-reduced-motion: reduce) { .air-svg .ac, .air-svg .door-ok, .air-chip { transition: none; } .air-svg .beacon, .air-svg .crate-t.want .crate-ring { animation: none; } }

/* slide 4: bigger scene, anchored to the bottom-right of the slide */
@media (min-width: 981px) {
  .hero-panels .slide--air .hero-demo { min-height: 1px; }
  .hero-panels .slide--air .air-scene { position: absolute; right: 0; bottom: 14px; width: min(64vw, 1020px); margin: 0; }
  .hero-panels .slide--air { overflow: hidden; }
}
.air-svg .cl { animation: air-drift 70s linear infinite; }
.air-svg .cl2 { animation-duration: 95s; animation-delay: -30s; } .air-svg .cl3 { animation-duration: 55s; animation-delay: -12s; }
@keyframes air-drift { from { transform: translateX(-120px); } to { transform: translateX(160px); } }
.air-svg .ws { transform-origin: 279px 383px; animation: air-ws 3.4s ease-in-out infinite; }
@keyframes air-ws { 50% { transform: skewY(5deg) scaleX(.92); } }
@media (prefers-reduced-motion: reduce) { .air-svg .cl, .air-svg .ws { animation: none; } }

.hero-panels .slide--air > .container { position: static; }
.hero-panels .slide--air .hero-demo { transform: none !important; }
@media (min-width: 981px) { .hero-panels .slide--air .air-scene { right: 56px; width: min(62vw, 1000px); } }
.air-chip--st { left: 2%; top: 64%; }

.hero-panels .slide--air .hero-demo { position: static; }
.air-chip--st { left: 1%; top: 68%; }
.air-svg .door-ok.on { opacity: .5; }
@media (max-width: 980px) { .hero-panels .slide--air .hero-demo { position: relative; } .air-chip--st { top: 62%; } }
.air-svg .ac { transition: transform 3s cubic-bezier(.15, .7, .25, 1), opacity .7s; }

/* the 3D engine sits behind the SVG overlay (leaders, ticks, axis); the SVG engine is the fallback */
.en-stage { position: relative; margin-top: 4px; }
.en-stage .en-svg { position: relative; z-index: 1; margin-top: 0; }
.en-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.en-panel.has-3d .en-svg .shape, .en-panel.has-3d .en-svg .axis { opacity: 0 !important; filter: none !important; }

.en-gl { left: -4.29%; width: 108.57%; }

.en-gl { left: -9.3%; width: 118.6%; }

/* ---- Engine slide: route-card strip (replaces the pill rail) ---- */
.en-trav { margin-bottom: 8px; padding: 2px 2px 10px; border-bottom: 1px dashed #C9D2EC; --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace; }
.en-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 9px; font: 500 .66rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #5B678A; }
.en-meta b { color: #041537; font-weight: 700; } .en-meta u { text-decoration: none; margin-left: 8px; }
.en-meta u::before { content: "\00b7"; margin-right: 8px; }
.en-tat b { font-variant-numeric: tabular-nums; }
.en-trav .en-pill { padding: 0; margin-left: 8px; border-radius: 0; background: none; color: #2A44D4; font: 700 .66rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.en-trav .en-pill.ok { background: none; color: #0B8A52; }
.en-track { display: grid; grid-template-columns: repeat(6, 1fr); }
.en-track span { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px 0 0; text-align: left; min-width: 0; }
.en-track span::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: #D9DFF0; transition: background .4s; }
.en-track span::after { content: ""; position: absolute; left: 0; top: 0; width: 7px; height: 7px; background: #fff; border: 1px solid #8A94B2; border-radius: 1px; transition: all .3s; }
.en-track em { font: 600 .68rem/1.1 var(--font-body, Inter, sans-serif); font-style: normal; color: #8A94B2; white-space: nowrap; }
.en-track i { display: block; min-height: 20px; padding: 3px 5px; border: 1px dashed #C9D2EC; font: 500 .58rem/1.3 var(--mono); font-style: normal; letter-spacing: .04em; color: #5B678A; margin-right: 6px; white-space: nowrap; overflow: hidden; }
.en-track .done::before { background: #041537; }
.en-track .done::after { background: #041537; border-color: #041537; }
.en-track .done em { color: #041537; }
.en-track .done i { border: 1px solid #DDE3F3; color: #041537; background: #fff; }
.en-track .done i::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; background: #1AD67E; vertical-align: 0; }
.en-track .now::before { background: linear-gradient(90deg, #041537, #2A44D4); }
.en-track .now::after { width: 11px; height: 11px; top: -2px; background: #2A44D4; border-color: #2A44D4; }
.en-track .now em { color: #041537; font-weight: 700; }
.en-track .now i { border: 1px solid #2A44D4; color: #2A44D4; font-weight: 700; }
@media (max-width: 560px) { .en-meta u, .en-track i { display: none; } .en-track em { font-size: .56rem; } .en-track span { gap: 0; } .en-meta { font-size: .58rem; } }

/* ---- Execution app callout on the engine stage ---- */
.en-app { position: absolute; top: 4px; right: 4px; z-index: 3; width: min(178px, 34%); padding: 9px 11px 10px; border-radius: 12px; background: rgba(255, 255, 255, .94); border: 1px solid #DDE3F3; box-shadow: 0 12px 30px rgba(8, 18, 80, .18); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; pointer-events: none; }
.en-app.in { opacity: 1; transform: none; }
.en-app-h { display: flex; align-items: center; gap: 6px; font: 600 .56rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; color: #5B678A; margin-bottom: 7px; }
.en-app-h b { padding: 2px 5px; border-radius: 4px; background: #2A44D4; color: #fff; letter-spacing: .04em; }
.en-app-h i { margin-left: auto; font-style: normal; color: #041537; }
.en-app-t { font: 700 .78rem/1.2 var(--font-body, Inter, sans-serif); color: #041537; }
.en-app-s { margin-top: 2px; font-size: .64rem; line-height: 1.3; color: #5B678A; }
.en-app-bar { margin-top: 8px; height: 4px; border-radius: 3px; background: #E4E9F7; overflow: hidden; }
.en-app-bar u { display: block; height: 100%; width: 0; background: #2A44D4; border-radius: 3px; transition: width .6s, background .3s; }
.en-app.ok .en-app-bar u { background: #1AD67E; } .en-app.warn .en-app-bar u { background: #F5A524; }
.en-app.warn .en-app-t { color: #A8680A; } .en-app.ok .en-app-t { color: #0B8A52; }
@media (max-width: 700px) { .en-app { display: none; } }

/* ---- Give each hero slide its own colour: 1 brand blue, 2 teal, 3 plum (existing), 4 sunrise ---- */
.hero-panels .slide--dat { background:
  radial-gradient(780px 540px at 86% 92%, rgba(26, 214, 126, .65) 0%, transparent 65%),
  radial-gradient(700px 480px at 6% 4%, rgba(42, 68, 212, .55) 0%, transparent 62%),
  linear-gradient(135deg, #063E4F 0%, #0A7378 52%, #12A879 100%); --stage: rgba(3, 52, 56, .46); --hl-a: #FFFFFF; --hl-b: #C8FFE6; }
.hero-panels .slide--air { background:
  radial-gradient(900px 440px at 74% 100%, rgba(255, 190, 110, .85) 0%, transparent 66%),
  linear-gradient(180deg, #101A6B 0%, #2438C4 34%, #5B7FE0 62%, #F2B47E 88%, #FFE2B0 100%); }
.hero-panels .slide--air::after { background: linear-gradient(90deg, rgba(8, 14, 80, .6) 0%, rgba(8, 14, 80, .28) 46%, rgba(8, 14, 80, 0) 70%); }
.hero-panels .slide--air::before { background:
  radial-gradient(circle at 50% 50%, #FFE6A8 0 2.6px, transparent 3.2px) 0 40px / 61px 12px repeat-x,
  linear-gradient(180deg, #1A2FA6 0, #1A2FA6 76%, #0E1D78 76%); }
.hero-panels .slide--air .cx-grad { color: #FFD9A0; -webkit-text-fill-color: #FFD9A0; }

/* 02 DAT, livelier: cyan / lime / emerald aurora over a teal base, with a fine data-dot grid */
.hero-panels .slide--dat { background:
  radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .16) 0 1px, transparent 1.4px) 0 0 / 24px 24px,
  radial-gradient(720px 520px at 6% 6%, rgba(34, 211, 238, .80) 0%, transparent 62%),
  radial-gradient(640px 460px at 96% 4%, rgba(190, 242, 60, .55) 0%, transparent 62%),
  radial-gradient(860px 560px at 82% 104%, rgba(26, 214, 126, .85) 0%, transparent 62%),
  radial-gradient(620px 440px at 0% 100%, rgba(42, 68, 212, .60) 0%, transparent 62%),
  linear-gradient(135deg, #07566A 0%, #0B7F86 55%, #10A57A 100%); --hl-a: #FFFFFF; --hl-b: #E4FF9E; }
.hero-panels .slide--dat .cx-grad, .hero-panels .slide--dat h1 .hl { color: #E4FF9E; }

/* 02 DAT: data skyline art (bars rise when the slide shows) and a headline that matches the other slides */
.hero-panels .slide--dat .slide-content h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.08; margin-bottom: 18px; }
.hero-panels .slide--dat .cx-grad { background: none; color: #E4FF9E; -webkit-text-fill-color: #E4FF9E; }
.hero-panels .slide--dat .v-art--bars { height: 62%; }
.v-art--bars .b0, .v-art--bars .b1, .v-art--bars .b2 { transform-box: fill-box; transform-origin: 50% 100%; }
.slide--dat.active .v-art--bars .b0 { animation: dat-rise 1.1s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 28ms); }
.slide--dat.active .v-art--bars .b1 { animation: dat-rise 1.2s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(120ms + var(--i) * 34ms); }
.slide--dat.active .v-art--bars .b2 { animation: dat-rise 1.3s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(240ms + var(--i) * 46ms); }
.slide--dat.active .v-art--bars .tl { stroke-dasharray: 3000; animation: dat-draw 2.4s .5s ease-out both; }
@keyframes dat-rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes dat-draw { from { stroke-dashoffset: 3000; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .slide--dat.active .v-art--bars * { animation: none !important; } }

/* 02 DAT, not green: ocean cyan into indigo, with a violet glow and a warm amber highlight */
.hero-panels .slide--dat { background:
  radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .16) 0 1px, transparent 1.4px) 0 0 / 24px 24px,
  radial-gradient(720px 520px at 6% 6%, rgba(56, 220, 245, .75) 0%, transparent 62%),
  radial-gradient(660px 480px at 96% 4%, rgba(138, 92, 245, .70) 0%, transparent 62%),
  radial-gradient(860px 560px at 82% 104%, rgba(40, 190, 235, .70) 0%, transparent 62%),
  radial-gradient(620px 440px at 0% 100%, rgba(30, 60, 200, .55) 0%, transparent 62%),
  linear-gradient(135deg, #06335F 0%, #0A5F9E 52%, #1C8FD0 100%); --stage: rgba(4, 30, 80, .46); --hl-a: #FFFFFF; --hl-b: #FFE3A0; }
.hero-panels .slide--dat .cx-grad { color: #FFE3A0; -webkit-text-fill-color: #FFE3A0; }
/* 02 DAT: turquoise, between the blue of 01 and the green it had before */
.hero-panels .slide--dat { background:
  radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .16) 0 1px, transparent 1.4px) 0 0 / 24px 24px,
  radial-gradient(720px 520px at 6% 6%, rgba(120, 235, 245, .65) 0%, transparent 62%),
  radial-gradient(640px 460px at 96% 4%, rgba(150, 96, 240, .55) 0%, transparent 62%),
  radial-gradient(860px 560px at 82% 104%, rgba(80, 215, 225, .70) 0%, transparent 62%),
  linear-gradient(135deg, #074A5E 0%, #0B8397 52%, #26B5C6 100%); --stage: rgba(4, 50, 70, .46); }
/* 02 DAT, night-city palette to match 03's quality: midnight indigo, electric violet, glowing cyan horizon */
.hero-panels .slide--dat { background:
  radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .55) 0 1px, transparent 1.6px) 0 0 / 137px 97px,
  radial-gradient(circle at 70% 60%, rgba(255, 255, 255, .35) 0 1px, transparent 1.6px) 0 0 / 83px 71px,
  radial-gradient(900px 360px at 50% 100%, rgba(124, 240, 240, .55) 0%, transparent 70%),
  linear-gradient(180deg, #090D30 0%, #231872 34%, #5A34C8 60%, #2A86E0 84%, #6EE7F2 100%);
  --stage: rgba(10, 8, 60, .5); --hl-a: #FFFFFF; --hl-b: #8FF3FF; }
.hero-panels .slide--dat .cx-grad { color: #8FF3FF; -webkit-text-fill-color: #8FF3FF; }
.hero-panels .slide--dat .v-art--bars .b0 { fill: #4A34B0; opacity: .75; }
.hero-panels .slide--dat .v-art--bars .b1 { fill: #25207A; opacity: .9; }
.hero-panels .slide--dat .v-art--bars .b2 { fill: #0B1040; stroke: #6EE7F2; stroke-opacity: .6; stroke-width: 1.5; }
.hero-panels .slide--dat .v-art--bars .tl { stroke: #8FF3FF; filter: drop-shadow(0 0 6px rgba(143, 243, 255, .9)); }
.hero-panels .slide--dat .v-art--bars line { stroke: #8FF3FF; stroke-opacity: .12; }

/* Hide the flat SVG engine until the 3D one is ready (shown only if WebGL is unavailable) */
.en-panel.pre3d:not(.no-3d) .en-svg .shape, .en-panel.pre3d:not(.no-3d) .en-svg .axis { opacity: 0 !important; }

/* 02 DAT: dark BI canvas where the colour comes from the data (saffron, rose, periwinkle) */
.hero-panels .slide--dat { background:
  linear-gradient(90deg, rgba(13,14,17,.72) 0%, rgba(13,14,17,.35) 42%, transparent 62%),
  linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 100% 56px,
  linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 56px 100%,
  radial-gradient(900px 520px at 50% 108%, rgba(255,182,39,.38), transparent 68%),
  radial-gradient(700px 480px at 96% 0%, rgba(255,79,121,.30), transparent 65%),
  radial-gradient(620px 420px at 0% 0%, rgba(111,134,255,.18), transparent 62%),
  linear-gradient(180deg, #0D0E11 0%, #16171C 45%, #22232A 100%);
  --stage: rgba(0,0,0,.4); --hl-a: #fff; --hl-b: #FFB627; }
.hero-panels .slide--dat .v-art--dash { top: 0; height: 100%; }
.hero-panels .slide--dat .concept-player { box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.12); }
.hero-panels .slide--dat .cx-grad { background: linear-gradient(90deg, #FFB627, #FF4F79); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero-panels .slide--dat .btn { background: #FFB627; color: #16171C; border-color: #FFB627; }
.hero-panels .slide--dat .btn:hover { background: #FFC64F; }
.hero-panels .slide--dat .eyebrow { color: rgba(243,238,228,.75); }
.v-art--dash .col { transform-box: fill-box; transform-origin: 50% 100%; }
.v-art--dash .tl { filter: drop-shadow(0 0 8px rgba(255,182,39,.8)); }
.v-art--dash .dg { filter: drop-shadow(0 0 28px rgba(255,182,39,.35)); opacity: .9; }
.slide--dat.active .v-art--dash .col { animation: dat-rise 1s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 35ms); }
.slide--dat.active .v-art--dash .dg-s { animation: dg-sweep 1.4s .3s cubic-bezier(.2,.7,.2,1) both; }
.slide--dat.active .v-art--dash .dg-a { animation: dg-sweep 1.4s .3s cubic-bezier(.2,.7,.2,1) both, dg-live 6s 2s ease-in-out infinite; }
.slide--dat.active .v-art--dash .tl { stroke-dasharray: 3000; animation: dat-draw 2.2s .5s ease-out both; }
.slide--dat.active .v-art--dash .live-r { transform-box: fill-box; transform-origin: center; animation: dat-ping 2s 2.6s ease-out infinite; }
@keyframes dg-sweep { from { stroke-dasharray: 0 100; } }
@keyframes dg-live { 50% { stroke-dasharray: 43.5 100; } }
@keyframes dat-ping { to { transform: scale(3.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .slide--dat .v-art--dash * { animation: none !important; } }
@media (max-width: 980px) { .v-art--dash .tbl { display: none; } .v-art--dash .dg { opacity: .5; } }

/* 02 DAT: keep the dashboard art, but on a rich electric-indigo sky like the other slides */
.hero-panels .slide--dat { background:
  linear-gradient(90deg, rgba(20,12,100,.45) 0%, rgba(20,12,100,.18) 42%, transparent 62%),
  linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 100% 56px,
  linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 56px 100%,
  radial-gradient(900px 520px at 50% 108%, rgba(255,182,39,.45), transparent 68%),
  radial-gradient(700px 480px at 0% 100%, rgba(255,79,121,.35), transparent 65%),
  radial-gradient(640px 440px at 96% 0%, rgba(143,243,255,.28), transparent 62%),
  linear-gradient(180deg, #1B1A9E 0%, #3A2FDF 38%, #6742EE 70%, #9660F4 100%);
  --stage: rgba(20,10,110,.45); }
.hero-panels .slide--dat .concept-player { box-shadow: 0 30px 80px rgba(20,10,90,.5), 0 0 0 1px rgba(255,255,255,.18); }
.hero-panels .slide--dat .eyebrow { color: rgba(255,255,255,.8); }

/* slide 4: soft, layered clouds that fade in and out instead of looping with a pop */
.air-svg .cl { animation: air-drift 160s linear infinite; }
.air-svg .cl2 { animation-duration: 210s; animation-delay: -70s; }
.air-svg .cl3 { animation-duration: 120s; animation-delay: -40s; }
.air-svg .cl4 { animation-duration: 260s; animation-delay: -120s; }
@keyframes air-drift { 0% { transform: translateX(-50px); opacity: 0; } 12%, 88% { opacity: 1; } 100% { transform: translateX(70px); opacity: 0; } }

/* slide 4 in 3D: the canvas sits over the SVG sky and clouds; the flat SVG scene shows only if WebGL is unavailable */
.air-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.air-scene.has-3d .air-2d { display: none; }
.air-scene:not(.has-3d) .air-gl { display: none; }

/* slide 2 in 3D: the live data landscape replaces the flat columns, gauge and trend line (the ghost report table stays) */
.dat-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.slide--dat:not(.has-3d) .dat-gl { display: none; }
.slide--dat.has-3d .v-art--dash .cols, .slide--dat.has-3d .v-art--dash .tl, .slide--dat.has-3d .v-art--dash .live, .slide--dat.has-3d .v-art--dash .live-r, .slide--dat.has-3d .v-art--dash .dg, .slide--dat.has-3d .v-art--dash > line { display: none; }
.dat-gl { -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 36%, #000 58%); mask-image: linear-gradient(90deg, transparent 0, transparent 36%, #000 58%); }

/* slide 2: a smaller dashboard card, tilted and set low, so the 3D data landscape shows above and beside it */
@media (min-width: 981px) {
  .hero-panels .slide--dat .concept-player { transform: perspective(1400px) rotateY(-9deg) rotateX(3deg) translateY(-18px) scale(.74); transform-origin: right bottom; }
}

/* slide 1 (new): product overview, aircraft > engine > module > component, interactive 3D */
.hero-panels .slide--ov { background:
  radial-gradient(700px 440px at 16% 8%, rgba(122, 92, 255, .22) 0%, transparent 66%),
  radial-gradient(760px 420px at 76% 66%, rgba(255, 150, 70, .24) 0%, transparent 68%),
  radial-gradient(500px 360px at 92% 8%, rgba(255, 90, 130, .16) 0%, transparent 70%),
  linear-gradient(180deg, #0B0D14 0%, #151826 50%, #221C33 100%); }
.hero-panels .slide--ov::after { content:""; position:absolute; inset:0; z-index:0; pointer-events:none; background: linear-gradient(90deg, rgba(7,13,16,.55) 0%, rgba(7,13,16,.2) 44%, rgba(7,13,16,0) 66%); }
.hero-panels .slide--ov::before { display:none; }
.hero-panels .slide--ov .slide-content h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.08; margin-bottom: 18px; }
.hero-panels .slide--ov .cx-grad { background: none; color: #A6FFD2; -webkit-text-fill-color: #A6FFD2; }
.hero-panels .slide--ov > .container { position: static; } .hero-panels .slide--ov .hero-demo { position: static; transform: none !important; min-height: 1px; }
.ov-scene { position: relative; width: 100%; aspect-ratio: 760 / 430; }
.ov-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; touch-action: pan-y; }
.ov-scene:not(.has-3d) .ov-gl { display: none; }
@media (min-width: 981px) { .hero-panels .slide--ov { overflow: hidden; } .hero-panels .slide--ov .ov-scene { position: absolute; right: 40px; bottom: 14px; width: min(62vw, 1000px); } }
@media (max-width: 980px) { .hero-panels .slide--ov .hero-demo { position: relative; } }
.ov-tag { position: absolute; left: 0; top: 0; z-index: 3; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.95); color: #041537; font: 700 .68rem/1.2 var(--font-body, Inter, sans-serif); box-shadow: 0 6px 18px rgba(6, 16, 96, .3); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .3s, background .2s; }
.ov-tag.on { opacity: 1; } .ov-tag.hov { background: #FFB627; }
.ov-card { position: absolute; right: 0; top: -10%; z-index: 4; width: min(240px, 42%); padding: 10px 12px 11px; border-radius: 12px; background: rgba(255,255,255,.95); border: 1px solid #DDE3F3; box-shadow: 0 12px 30px rgba(6, 16, 96, .28); opacity: 0; transition: opacity .35s; pointer-events: none; color: #041537; }
.ov-card.in { opacity: 1; }
.ov-crumb { display: flex; gap: 4px; margin-bottom: 8px; font: 700 .52rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .05em; text-transform: uppercase; }
.ov-crumb b { flex: 1; padding: 4px 0 3px; text-align: center; border-top: 2px solid #D9DFF0; color: #8A94B2; font-weight: 700; }
.ov-crumb b.done { border-color: #041537; color: #041537; } .ov-crumb b.now { border-color: #2A44D4; color: #2A44D4; }
.ov-t { font: 700 .82rem/1.2 var(--font-body, Inter, sans-serif); } .ov-s { margin-top: 2px; font-size: .68rem; color: #5B678A; line-height: 1.3; }
.ov-card.ok .ov-t { color: #0B8A52; } .ov-card.warn .ov-t { color: #A8680A; }
.ov-note { margin-top: 7px; font-size: .56rem; letter-spacing: .04em; text-transform: uppercase; color: #8A94B2; }
@media (max-width: 700px) { .ov-card { width: 58%; } .ov-note { display: none; } }

.ov-ind { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 22px; }
.ov-ind span { padding: 4px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); color: #fff; font: 600 .74rem/1.2 var(--font-body, Inter, sans-serif); }
.ov-card { width: min(300px, 46%); } .ov-s { font-size: .7rem; }
.ov-tag.hov { background: #FFB627; }

@media (max-width: 700px) {
  .ov-scene { aspect-ratio: auto; }
  .ov-gl { position: relative; display: block; height: auto; aspect-ratio: 760 / 470; }
  .ov-card { position: static; width: auto; margin: 10px 4px 0; }
  .ov-tag { display: none; }
}

@media (min-width: 701px) { .ov-card { width: min(250px, 34%); } }

@media (min-width: 701px) { .ov-card { width: min(270px, 36%); } }

@media (min-width: 981px) { .hero-panels .slide--ov .ov-scene { right: 6px; bottom: 6px; width: min(64vw, 1060px); } }

.ov-card { right: 64px; top: 3%; background: rgba(12,24,28,.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(166,255,210,.22); box-shadow: 0 18px 50px rgba(0,0,0,.45); color: #fff; }
.ov-s { color: #A9BBC2; } .ov-note { color: #6F858E; } .ov-card.ok .ov-t, .ov-card.warn .ov-t { color: #fff; }
.ov-crumb b { border-top-color: rgba(255,255,255,.16); color: #6F858E; } .ov-crumb b.now { border-color: #A6FFD2; color: #A6FFD2; }
.ov-tag { background: rgba(12,24,28,.8); color: #fff; border: 1px solid rgba(166,255,210,.3); box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.ov-tag.hov { background: #FFB36B; color: #10242A; }
.ov-ind span { border-color: rgba(166,255,210,.3); background: rgba(166,255,210,.07); }
@media (min-width: 981px) { .ov-card { right: 40px; top: -6%; } }

/* slide 1: warm and violet accents instead of green */
.hero-panels .slide--ov .cx-grad { color: #FFC27A; -webkit-text-fill-color: #FFC27A; }
.ov-card { background: rgba(18,16,31,.74); border-color: rgba(255,190,120,.28); }
.ov-crumb b.now { border-color: #FFC27A; color: #FFC27A; }
.ov-tag { background: rgba(18,16,31,.82); border-color: rgba(255,190,120,.35); }
.ov-tag.hov { background: #FFC27A; color: #1B1430; }
.ov-ind span { border-color: rgba(255,190,120,.35); background: rgba(255,190,120,.08); }

/* slide 1: bright studio look for the first thing customers see */
.hero-panels .slide--ov { background:
  radial-gradient(720px 460px at 80% 34%, rgba(255, 190, 140, .55) 0%, transparent 68%),
  radial-gradient(620px 420px at 6% 96%, rgba(140, 160, 255, .30) 0%, transparent 70%),
  radial-gradient(520px 340px at 96% 4%, rgba(255, 150, 190, .30) 0%, transparent 70%),
  linear-gradient(180deg, #FAF8FF 0%, #EEF2FF 52%, #FFE9DA 100%); }
.hero-panels .slide--ov::after { display: none; }
.hero-panels .slide--ov .slide-content h1 { color: #041537; }
.hero-panels .slide--ov .slide-content p { color: #3A4668; }
.hero-panels .slide--ov .eyebrow { color: #5B678A; }
.hero-panels .slide--ov .cx-grad { background: linear-gradient(90deg, #2A44D4, #7B4CF0 60%, #E5487A); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero-panels .slide--ov .btn { background: #041537; color: #fff; box-shadow: 0 10px 26px rgba(4, 21, 55, .28); }
.hero-panels .slide--ov .btn:hover { background: #2A44D4; }
.ov-ind span { border-color: rgba(4,21,55,.22); background: rgba(255,255,255,.7); color: #041537; }
.ov-card { background: rgba(255,255,255,.92); border: 1px solid #DDE3F3; box-shadow: 0 14px 36px rgba(40, 40, 110, .2); color: #041537; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ov-s { color: #4A5678; } .ov-note { color: #8A94B2; }
.ov-crumb b { border-top-color: #D9DFF0; color: #8A94B2; } .ov-crumb b.now { border-color: #2A44D4; color: #2A44D4; }
.ov-tag { background: #fff; color: #041537; border: 1px solid #DDE3F3; box-shadow: 0 6px 18px rgba(40,40,110,.2); }
.ov-tag.hov { background: #FFC27A; color: #041537; }
.hero-slider:has(.slide--ov.active) .slider-nav { background: rgba(4,21,55,.82); }
@media (max-width: 980px) { .hero-slider:has(.slide--ov.active) .slider-nav { background: rgba(4,21,55,.82); } }
.hero-panels .slide--ov .hero-demo::before, .hero-panels .slide--ov .hero-demo::after { display: none !important; }

/* slide 1: solar gold stage, navy and cobalt stack */
.hero-panels .slide--ov { background:
  radial-gradient(900px 560px at 72% 60%, rgba(255,246,220,.80) 0%, transparent 62%),
  radial-gradient(700px 480px at 100% 0%, rgba(255,154,61,.35) 0%, transparent 70%),
  radial-gradient(640px 420px at 0% 100%, rgba(255,176,46,.40) 0%, transparent 70%),
  linear-gradient(115deg, #FFE7B0 0%, #FFD98A 48%, #FFC25E 100%); }
.hero-panels .slide--ov .slide-content p { color:#2A3350; } .hero-panels .slide--ov .eyebrow { color:#4A3F2A; }
.ov-ind span { background:rgba(255,255,255,.55); border-color:rgba(4,21,55,.18); color:#041537; }
.ov-card { background:rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.95); box-shadow:0 1px 0 #fff inset,0 20px 48px rgba(120,70,0,.22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding: 14px 16px; border-radius: 16px; color: #041537; }
.ov-t { font-size: .92rem; } .ov-s { font-size: .72rem; line-height: 1.45; color: #3A4668; } .ov-note { color: #8A7A5A; }
.ov-crumb b { border-top-color: rgba(4,21,55,.15); color: #8A7A5A; } .ov-crumb b.now { border-color: #2A44D4; color: #2A44D4; }
.ov-tag { padding: 6px 12px 6px 10px; font-size: .74rem; font-weight: 600; background:rgba(255,255,255,.9); color: #041537; box-shadow:0 8px 22px rgba(120,70,0,.22); border: 1px solid rgba(255,255,255,.9); }
.ov-tag.c0::before, .ov-tag.c1::before, .ov-tag.c2::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; background: #3DD6FF; }
.ov-tag.c1::before { background:#1AD67E; } .ov-tag.c2::before { background: #FFC53D; }
.ov-tag.hov { background: #2A44D4; color: #fff; border-color: #2A44D4; }
@media (min-width: 981px) { .hero-panels .slide--ov .ov-scene { right: 60px; bottom: 0; width: min(62vw, 1020px); } .ov-card { right: 70px; top: -40px; width: min(236px, 30%); } }
.hero-panels .slide--ov .hero-demo::before, .hero-panels .slide--ov .hero-demo::after { display: none !important; }
.hero-slider:has(.slide--ov.active) .slider-nav { background: rgba(4,21,55,.82); }

/* slide 1: bright sky-to-periwinkle stage (no yellow, no white) */
.hero-panels .slide--ov { background:
  radial-gradient(900px 560px at 72% 58%, rgba(255,255,255,.55) 0%, transparent 62%),
  radial-gradient(700px 480px at 100% 0%, rgba(170,140,255,.55) 0%, transparent 70%),
  radial-gradient(640px 420px at 0% 100%, rgba(90,200,255,.55) 0%, transparent 70%),
  linear-gradient(115deg, #CFE6FF 0%, #A9CDFF 48%, #B7B2FF 100%); }
.hero-panels .slide--ov .slide-content p { color:#1E2A55; } .hero-panels .slide--ov .eyebrow { color:#2F3F7A; }
.ov-card { box-shadow:0 1px 0 #fff inset,0 20px 48px rgba(30,50,150,.22); } .ov-tag { box-shadow:0 8px 22px rgba(30,50,150,.22); }
.ov-note { color: #6A78A8; } .ov-crumb b { color: #6A78A8; }

.ov-tag[data-ph]::before { content:""; display:inline-block; width:7px; height:7px; border-radius:50%; margin-right:6px; background:#3DD6FF; }
.ov-tag[data-ph="1"]::before { background:#FFC53D; } .ov-tag[data-ph="2"]::before { background:#1AD67E; }

.ov-ind span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 9px; font-weight: 700; }
.ov-ind svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--c, #2A44D4); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; padding: 3px; box-sizing: content-box; border-radius: 50%; background: color-mix(in srgb, var(--c, #2A44D4) 14%, #fff); margin: -3px 0 -3px -2px; }
.ov-ind { gap: 5px; } .ov-ind span { gap: 5px; padding: 4px 10px 4px 6px; font-size: .7rem; } .ov-ind svg { width: 14px; height: 14px; padding: 3px; }

/* slide 1 backdrop: soft colour orbs, flight paths and floating maintenance icon tiles */
.ov-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-panels .slide--ov .slide-content { position: relative; z-index: 2; } .hero-panels .slide--ov .ov-scene { z-index: 1; }
.ov-pulse path { stroke-dasharray: 46 954; stroke-dashoffset: 1000; animation: ov-pulse 15s linear infinite; }
@keyframes ov-pulse { to { stroke-dashoffset: 0; } }
.ov-flow { animation: ov-drift 16s ease-in-out infinite alternate; }
@keyframes ov-drift { to { transform: translate3d(0, -6px, 0); } }
@media (prefers-reduced-motion: reduce) { .ov-pulse path, .ov-flow { animation: none; } .ov-pulse path { stroke-dashoffset: 620; } }
@media (max-width: 980px) { .ov-bg { opacity: .7; } }

@media (min-width: 981px) { .hero-panels .slide--ov .ov-scene { aspect-ratio: 760 / 545; right: 40px; width: min(64vw, 1060px); } }

/* slide 2 (engine): clean white panel, numbered module markers, tidier part cards */
.en-panel { background: linear-gradient(180deg, #FFFFFF 0%, #F1F5FF 100%); border: 1px solid #fff; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 28px 70px rgba(6, 18, 100, .38), inset 0 1px 0 #fff; }
.en-svg .bg-ok circle, .en-svg .bg-warn circle { stroke: #fff; stroke-width: 2.4; }
.en-svg .bg-ok circle { fill: #1AB56B; } .en-svg .bg-warn circle { fill: #E8A400; }
.en-svg .bg-ok text, .en-svg .bg-warn text { fill: #fff; font: 800 10px Inter, sans-serif; text-anchor: middle; }
.en-cards { counter-reset: enc; gap: 10px; }
.en-card { counter-increment: enc; position: relative; gap: 4px; padding: 10px 11px 11px 14px; min-height: 86px; border: 1px solid #E1E7F7; border-left: 4px solid #C9D2EC; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(30, 50, 140, .06); }
.en-k { display: flex; align-items: center; gap: 7px; font-size: .62rem; letter-spacing: .07em; color: #5B678A; }
.en-k::before { content: counter(enc); display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #041537; color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: 0; }
.en-m { font-size: .8rem; font-weight: 700; line-height: 1.25; color: #041537; }
.en-s { margin-top: auto; align-self: flex-start; gap: 6px; padding: 3px 9px 3px 7px; border-radius: 999px; background: #EEF2FC; font-size: .66rem; font-style: normal; }
.en-s em { font-style: normal; }
.en-s i, .en-card.ok .en-s i, .en-card.short .en-s i, .en-card.peg .en-s i { width: 7px; height: 7px; background: #A9B4D6; }
.en-card.ok .en-s i::before, .en-card.short .en-s i::before { content: none; }
.en-card.ok { border-color: #CDEFDD; border-left-color: #1AB56B; } .en-card.ok .en-s { background: #E2F8EC; color: #0B7A48; } .en-card.ok .en-s i { background: #1AB56B; }
.en-card.short { border-color: #F6DDA8; border-left-color: #E8A400; background: #FFFDF6; } .en-card.short .en-s { background: #FFF0CC; color: #9A5F00; } .en-card.short .en-s i { background: #E8A400; }
.en-card.peg { border-left-color: #2A44D4; } .en-card.peg .en-s { background: #E4EAFF; color: #2A44D4; } .en-card.peg .en-s i { background: #2A44D4; }
.en-card { padding: 8px 9px 9px 11px; min-height: 0; gap: 5px; }
.en-k { font-size: .54rem; letter-spacing: .05em; white-space: nowrap; gap: 6px; }
.en-k::before { flex: none; width: 16px; height: 16px; font-size: .58rem; }
.en-m { font-size: .7rem; min-height: 2.5em; }
.en-s { font-size: .62rem; padding: 3px 8px 3px 6px; white-space: nowrap; margin-top: 0; }
.en-s em { white-space: nowrap; }
/* engine cards: no numbering; module name as a tinted label, status as a pill with a fill bar */
.en-k::before { content: none; }
.en-card { counter-increment: none; border-left-width: 1px; border-top: 3px solid #C9D2EC; padding: 9px 10px 10px; gap: 6px; border-radius: 12px; }
.en-card.ok { border-left-color: #CDEFDD; border-top-color: #1AB56B; } .en-card.short { border-left-color: #F6DDA8; border-top-color: #E8A400; } .en-card.peg { border-left-color: #E1E7F7; border-top-color: #2A44D4; }
.en-k { align-self: flex-start; padding: 2px 8px; border-radius: 6px; background: #EEF2FC; color: #2A3A7A; font-size: .58rem; letter-spacing: .06em; }
.en-card.ok .en-k { background: #E2F8EC; color: #0B7A48; } .en-card.short .en-k { background: #FFF0CC; color: #9A5F00; } .en-card.peg .en-k { background: #E4EAFF; color: #2A44D4; }
.en-m { font-size: .74rem; min-height: 2.4em; }
.en-s { background: none; padding: 0; gap: 6px; font-size: .66rem; }
.en-s i, .en-card.ok .en-s i, .en-card.short .en-s i, .en-card.peg .en-s i { width: 8px; height: 8px; }
.en-card { min-height: 108px; border-top-width: 4px; } .en-s { margin-top: auto; }
.en-card.ok { border-top-color: #1AB56B !important; } .en-card.short { border-top-color: #E8A400 !important; } .en-card.peg { border-top-color: #2A44D4 !important; }

/* hero + logo strip fit one screen; strip always above the hero so hover works; inactive slides never catch the mouse */
.hero-slider.hero-panels { min-height: clamp(500px, calc(100svh - 72px - 172px), 660px); }
@media (max-width: 980px) { .hero-slider.hero-panels { min-height: 0; } }
.trust-strip { position: relative; z-index: 6; }
.hero-slider .slide:not(.active) { pointer-events: none; }
.trust-strip .marquee-track img { filter: grayscale(1); opacity: .6; }
.trust-strip .marquee-track img:hover { filter: none !important; opacity: 1 !important; }

/* slide 4 (AI flow): smaller flow box */
@media (min-width: 981px) { .hero-panels .slide--dusk .hero-demo { transform: scale(.78); transform-origin: 60% 50%; } }
.hero-slider.hero-panels { min-height: clamp(440px, calc(100svh - 72px - 172px), 660px); }
 .trust-strip .marquee-track img { transition: filter .2s, opacity .2s; }

/* solution cards: bright artwork, light scrim only under the text */
.solcard-shot { background: linear-gradient(135deg, #2A44D4, #7B4CF0); }
.solcard-shot img { filter: none; transform: none; }
.solcard:hover .solcard-shot img { transform: scale(1.03); }
.solcard-shot::after { background: linear-gradient(to top, rgba(8, 14, 70, .86) 0%, rgba(8, 14, 70, .55) 26%, rgba(8, 14, 70, 0) 52%); }
.solcard-shot--eng { background: linear-gradient(135deg, #1E5BE8 0%, #4F7CFF 55%, #8FB4FF 100%); }
.solcard-shot--eng img { object-fit: contain; object-position: center 22%; height: 78%; }
.solcard-shot::after { background: linear-gradient(to top, rgba(8, 14, 70, .8) 0%, rgba(8, 14, 70, .38) 24%, rgba(8, 14, 70, 0) 44%); }
.solcard-shot--eng img { width: 128%; max-width: none; height: auto; margin-left: -10%; margin-top: 7%; object-fit: initial; }
.solcard-shot--eng img { margin-top: 0; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%); position: relative; top: 4%; }

/* solution cards: real photographs, one bright graded family */
.solcard-shot, .solcard-shot--eng, .solcard-shot--mro { background: #0B1C4A; }
.solcard-shot img, .solcard-shot--eng img { width: 100%; height: 100%; max-width: none; margin: 0; top: 0; position: static; object-fit: cover; object-position: 50% 30%; -webkit-mask-image: none; mask-image: none; }
.solcard:nth-child(1) .solcard-shot img { filter: brightness(1) contrast(1.06) saturate(1.15); }
.solcard:nth-child(2) .solcard-shot img { filter: brightness(1.06) contrast(1.04) saturate(.92); }
.solcard:nth-child(3) .solcard-shot img { filter: brightness(1.22) contrast(.94) saturate(.95); }
.solcard-shot::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(135deg, #2A44D4, #6A4BE0); mix-blend-mode: soft-light; opacity: .38; }
.solcard:nth-child(1) .solcard-shot::before { opacity: .3; }
.solcard-shot::after { background: linear-gradient(to top, rgba(4,21,55,.94) 0%, rgba(4,21,55,.8) 22%, rgba(4,21,55,0) 48%); }

/* Druits Platform showcase (replaces .pf-*) */
.ai-lite.pfx { position: relative; padding: 112px 0 96px; background: #FFFFFF; overflow: hidden; isolation: isolate; }
.ai-lite.pfx::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(720px 420px at 72% 46%, rgba(42, 68, 212, .10), transparent 70%),
    linear-gradient(rgba(4, 21, 55, .045) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(4, 21, 55, .045) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 65% 50%, #000 20%, transparent 78%); mask-image: radial-gradient(ellipse 75% 70% at 65% 50%, #000 20%, transparent 78%); }

.pfx-head { max-width: 720px; margin-bottom: 56px; }
.pfx-eyebrow { display: inline-block; margin-bottom: 16px; font: 600 .8125rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #2A44D4; }
.pfx-head h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 600; color: #041537; text-wrap: balance; }
.pfx-head p { margin-top: 18px; font-size: 1.125rem; line-height: 1.55; color: #4A5678; max-width: 58ch; }

.pfx-stage { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 56px; align-items: start; }

/* tabs */
.pfx-tabs { display: flex; flex-direction: column; }
.pfx-tab { position: relative; display: block; width: 100%; padding: 18px 0 18px 24px; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.pfx-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: rgba(4, 21, 55, .10); }
.pfx-bar i { display: block; width: 100%; height: 100%; background: #2A44D4; transform: scaleY(0); transform-origin: 0 0; }
.pfx-tab.is-on .pfx-bar i { transform: none; }
.pfx.is-live:not(.is-held) .pfx-tab.is-on .pfx-bar i { animation: pfx-fill 7s linear forwards; }
.pfx-stage:hover .pfx-bar i, .pfx-stage:focus-within .pfx-bar i { animation-play-state: paused !important; }
.pfx-name { display: block; font: 600 1.375rem/1.2 var(--font-display); letter-spacing: -.02em; color: #8A93AE; transition: color .25s; }
.pfx-tab:hover .pfx-name { color: #4A5678; }
.pfx-tab.is-on .pfx-name { color: #041537; }
.pfx-say { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.2, .7, .2, 1); }
.pfx-say > span { overflow: hidden; font-size: .9375rem; line-height: 1.55; color: #4A5678; }
.pfx-tab.is-on .pfx-say { grid-template-rows: 1fr; }
.pfx-tab.is-on .pfx-say > span { padding-top: 8px; }
.pfx-tab:focus-visible { outline: 2px solid #2A44D4; outline-offset: 4px; border-radius: 4px; }
.pfx-cta { align-self: flex-start; margin: 28px 0 0 24px; font: 600 .9375rem/1 var(--font-body); color: #2A44D4; }
.pfx-cta span { display: inline-block; transition: transform .2s; }
.pfx-cta:hover span { transform: translateX(4px); }

/* panels: stacked in one cell so the height never jumps */
.pfx-panels { display: grid; min-width: 0; }
.pfx-panel { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .35s, transform .45s cubic-bezier(.2, .7, .2, 1), visibility 0s .35s; }
.pfx-panel.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

/* product window */
.pfx-win { display: flex; height: 452px; border-radius: 14px; overflow: hidden; background: #F2F3F9; border: 1px solid rgba(4, 21, 55, .10); font: 400 12px/1.4 var(--font-body); color: #041537; text-align: left;
  box-shadow: 0 1px 2px rgba(4, 21, 55, .06), 0 24px 48px -16px rgba(4, 21, 55, .18), 0 64px 120px -48px rgba(42, 68, 212, .35); }
.pfx-ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pfx-rail { flex: 0 0 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #7A84A3; border-right: 1px solid rgba(4, 21, 55, .06); }
.pfx-rail .pfx-ic { box-sizing: content-box; padding: 8px; border-radius: 9px; }
.pfx-rail .is-on { background: #fff; color: #2A44D4; box-shadow: 0 1px 2px rgba(4, 21, 55, .10); }
.pfx-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pfx-top { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; white-space: nowrap; }
.pfx-crumb { color: #6B7799; } .pfx-crumb em { font-style: normal; margin: 0 4px; opacity: .6; } .pfx-crumb b { color: #041537; font-weight: 600; }
.pfx-note { color: #8A93AE; font-size: 11px; margin-right: auto; }
.pfx-pill { display: inline-flex; align-items: center; gap: 5px; margin-right: auto; padding: 2px 8px; border-radius: 999px; background: #fff; border: 1px solid rgba(4, 21, 55, .10); font-size: 11px; color: #4A5678; }
.pfx-pill i { width: 6px; height: 6px; border-radius: 50%; background: #12A150; }
.pfx-pill--env { margin: 0 0 0 auto; }
.pfx-btn { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 8px; background: #fff; border: 1px solid rgba(4, 21, 55, .10); font-weight: 600; font-size: 11.5px; color: #2A44D4; box-shadow: 0 1px 1px rgba(4, 21, 55, .04); }
.pfx-btn .pfx-ic { width: 11px; height: 11px; }
.pfx-btn--pri { background: #2A44D4; border-color: #2A44D4; color: #fff; }
.pfx-sub { display: flex; gap: 4px; padding: 0 14px 10px; color: #6B7799; font-weight: 500; white-space: nowrap; overflow: hidden; }
.pfx-sub--mid { justify-content: center; }
.pfx-sub span { padding: 4px 10px; border-radius: 7px; }
.pfx-sub .is-on { background: rgba(4, 21, 55, .06); color: #041537; font-weight: 600; }
.pfx-logs { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; background: #fff; border-top: 1px solid rgba(4, 21, 55, .07); color: #6B7799; font-size: 11px; white-space: nowrap; }
.pfx-logs b { color: #041537; } .pfx-dot { width: 6px; height: 6px; border-radius: 50%; background: #12A150; } .pfx-right { margin-left: auto; color: #A3AAC0; }

/* 1 canvas */
.pfx-canvas { flex: 1; min-height: 0; background: #E9EBF7 radial-gradient(rgba(4, 21, 55, .13) 1px, transparent 1.2px) 0 0 / 16px 16px; border-top: 1px solid rgba(4, 21, 55, .06); }
.pfx-canvas svg { display: block; width: 100%; height: 100%; font-family: var(--font-body); }
.pfx-links path { fill: none; stroke: #8E96B3; stroke-width: 1.25; stroke-dasharray: 1; stroke-dashoffset: 0; }
.pfx-tags rect { fill: #fff; stroke: rgba(4, 21, 55, .12); stroke-width: .75; } .pfx-tags text { font-size: 7.5px; fill: #6B7799; text-anchor: middle; }
.pfx-node > rect { fill: #fff; stroke: rgba(4, 21, 55, .08); filter: drop-shadow(0 1px 1px rgba(4, 21, 55, .06)) drop-shadow(0 6px 10px rgba(4, 21, 55, .08)); }
.pfx-node text { font-size: 10.5px; font-weight: 600; fill: #041537; text-anchor: middle; } .pfx-node text.s { font-size: 9px; font-weight: 400; fill: #7A84A3; }
.pfx-node text.sap { font-size: 12px; font-weight: 800; letter-spacing: .02em; fill: #0A6ED1; }
.pfx-node .p { fill: #fff; stroke: #5D6788; stroke-width: 1.25; }
.pfx-node .ok circle { fill: #12A150; stroke: #E9EBF7; stroke-width: 2; } .pfx-node .ok path { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pfx-node .ok { transform-box: fill-box; transform-origin: center; }
.pfx-panel.is-on .pfx-links path { animation: pfx-draw .5s ease-out both; }
.pfx-panel.is-on .pfx-links path:nth-child(2) { animation-delay: .35s; } .pfx-panel.is-on .pfx-links path:nth-child(3) { animation-delay: .7s; }
.pfx-panel.is-on .pfx-links path:nth-child(4), .pfx-panel.is-on .pfx-links path:nth-child(5) { animation-delay: 1.05s; } .pfx-panel.is-on .pfx-links path:nth-child(6) { animation-delay: 1.4s; }
.pfx-panel.is-on .pfx-node .ok { animation: pfx-pop .35s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(.3s + var(--i) * .35s); }

/* 2 agent */
.pfx-agent { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.05fr 1fr; gap: 12px; padding: 0 14px 14px; }
.pfx-job, .pfx-chat { background: #fff; border: 1px solid rgba(4, 21, 55, .08); border-radius: 10px; padding: 14px 16px; min-width: 0; }
.pfx-job h4 { font: 600 10.5px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: #7A84A3; margin: 0 0 6px; }
.pfx-job p { font-size: 12.5px; line-height: 1.5; color: #041537; margin: 0 0 16px; }
.pfx-job dl div { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-top: 1px solid rgba(4, 21, 55, .07); }
.pfx-job dt { color: #041537; } .pfx-job dd { color: #0E7C41; font-weight: 600; white-space: nowrap; } .pfx-job dd.h { color: #2A44D4; } .pfx-job dd.o { color: #8A93AE; }
.pfx-chat { display: flex; flex-direction: column; gap: 10px; }
.pfx-chat-h { display: flex; justify-content: space-between; font-weight: 600; padding-bottom: 10px; border-bottom: 1px solid rgba(4, 21, 55, .07); } .pfx-chat-h span { color: #0E7C41; }
.pfx-chat p { max-width: 88%; margin: 0; padding: 8px 11px; border-radius: 12px; font-size: 12px; line-height: 1.45; color: #041537; }
.pfx-chat .u { align-self: flex-end; background: #2A44D4; color: #fff; border-bottom-right-radius: 4px; }
.pfx-chat .a { background: #F2F3F9; border-bottom-left-radius: 4px; }
.pfx-chat .e { display: flex; align-items: center; gap: 6px; padding: 0; font-size: 11px; color: #2A44D4; font-weight: 600; } .pfx-chat .e .pfx-ic { width: 13px; height: 13px; }
.pfx-input { margin-top: auto; padding: 8px 11px; border-radius: 9px; border: 1px solid rgba(4, 21, 55, .12); color: #A3AAC0; }

/* 3 app */
.pfx-app { flex: 1; min-height: 0; padding: 0 14px; overflow: hidden; }
.pfx-acts { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; white-space: nowrap; } .pfx-acts .is-on { background: #EEF1FE; border-color: rgba(42, 68, 212, .25); }
.pfx-show { margin-left: auto; color: #6B7799; } .pfx-show b { margin-left: 4px; padding: 4px 9px; border-radius: 7px; background: #fff; border: 1px solid rgba(4, 21, 55, .10); color: #041537; font-weight: 500; }
.pfx-app table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px rgba(4, 21, 55, .08); white-space: nowrap; }
.pfx-app th { padding: 10px 12px; text-align: left; font-weight: 600; font-size: 11px; color: #6B7799; border-bottom: 1px solid rgba(4, 21, 55, .08); }
.pfx-app td { padding: 11px 12px; border-bottom: 1px solid rgba(4, 21, 55, .06); font-variant-numeric: tabular-nums; }
.pfx-app td:first-child { font-weight: 600; } .pfx-app .n { text-align: right; } .pfx-app tr:last-child td { border-bottom: 0; }
.pfx-app tr.is-sel td { background: #F5F7FF; } .pfx-app tr.is-sel td:first-child { box-shadow: inset 2px 0 #2A44D4; }
.st { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: #F2F3F9; color: #4A5678; }
.st--h { background: #041537; color: #fff; } .st--r { background: #EEF1FE; color: #2A44D4; }

/* proof row + fine print */
.pfx-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 24px 0 0; padding: 0; }
.pfx-facts li { position: relative; padding-left: 16px; font-size: .875rem; font-weight: 500; color: #041537; }
.pfx-facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 2px; background: #2A44D4; }
.pfx-fine { margin-top: 48px; font-size: .8125rem; color: #7A84A3; }

@keyframes pfx-fill { from { transform: scale(0); } to { transform: none; } }
@keyframes pfx-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pfx-pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .ai-lite.pfx { padding: 72px 0 64px; }
  .pfx-head { margin-bottom: 32px; }
  .pfx-stage { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pfx-tabs { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 8px; }
  .pfx-tab { position: static; padding: 0; }
  .pfx-bar { position: relative; display: block; width: 100%; height: 2px; margin-bottom: 12px; }
  .pfx-bar i { transform: scaleX(0); }
  .pfx-name { font-size: 1.0625rem; }
  .pfx-tabs { position: relative; padding-bottom: 5.6em; }
  .pfx-say { position: absolute; left: 0; right: 0; bottom: 0; height: 4.9em; display: block; opacity: 0; transition: opacity .3s; pointer-events: none; }
  .pfx-tab.is-on .pfx-say { opacity: 1; }
  .pfx-cta { display: none; }
  .pfx-chat { display: none; }
  .pfx-note, .pfx-right { display: none; }
  .pfx-crumb { margin-right: auto; }
  .pfx-pill { margin: 0; }
  .pfx-facts { gap: 8px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .pfx *, .pfx *::before { animation: none !important; transition: none !important; }
}
.pfx-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 24px; }
.pfx-facts li { white-space: normal; }
@media (max-width: 980px) { .pfx-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   pfy — richer Agents (pfx-p2) and App builder (pfx-p3) panel bodies.
   Additive to the .pfx-* block. Append after it in css/style.css.
   ========================================================================== */

/* shared atoms */
.pfy-card { background: #fff; border-radius: 10px; min-width: 0;
  box-shadow: 0 0 0 1px rgba(4, 21, 55, .07), 0 1px 2px rgba(4, 21, 55, .05), 0 10px 24px -14px rgba(4, 21, 55, .22); }
.pfy-muted { color: #7A84A3; font-weight: 400; }
.pfy-h { display: flex; align-items: baseline; gap: 6px; margin: 0 0 8px; font: 600 10.5px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: #7A84A3; }
.pfy-h span { margin-left: auto; font-weight: 400; letter-spacing: 0; text-transform: none; color: #A3AAC0; }
.pfy-tick { flex: none; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: #12A150; color: #fff; box-shadow: 0 0 0 2px #fff; }
.pfy-tick .pfx-ic { width: 9px; height: 9px; stroke-width: 3; }
.pfy-av { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #E9EBF7; color: #4A5678; font: 600 9px/1 var(--font-body); letter-spacing: .01em; box-shadow: inset 0 0 0 1px rgba(4, 21, 55, .06); }
.pfy-av--ai { border-radius: 8px; background: linear-gradient(135deg, #2A44D4, #5B3CF0); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 2px 6px -1px rgba(42, 68, 212, .45); }
.pfy-av--ai .pfx-ic { width: 13px; height: 13px; }
.pfy-av--fl { background: #041537; color: #fff; box-shadow: 0 0 0 2px #fff; }
.pfx-win kbd { display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 4px; background: rgba(4, 21, 55, .05); box-shadow: inset 0 0 0 1px rgba(4, 21, 55, .10); font: 500 9.5px/1 var(--font-body); color: #7A84A3; }
.pfx-btn kbd { margin-right: -4px; }
.pfx-btn--pri kbd { background: rgba(255, 255, 255, .18); box-shadow: none; color: #fff; }
.pfx-btn--pri { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 1px 2px rgba(42, 68, 212, .35); }
.pfy-seg { display: inline-flex; padding: 2px; border-radius: 8px; background: rgba(4, 21, 55, .06); }
.pfy-seg b { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 6px; font-weight: 500; font-size: 11.5px; color: #6B7799; white-space: nowrap; }
.pfy-seg .is-on { background: #fff; color: #041537; font-weight: 600; box-shadow: 0 0 0 1px rgba(4, 21, 55, .06), 0 1px 2px rgba(4, 21, 55, .10); }
.pfy-seg u { text-decoration: none; font-weight: 500; color: #A3AAC0; font-variant-numeric: tabular-nums; }
.pfy-seg i { width: 6px; height: 6px; border-radius: 50%; background: #2A44D4; box-shadow: 0 0 0 3px rgba(42, 68, 212, .15); }
.pfy-st { display: inline-flex; align-items: center; gap: 5px; height: 18px; padding: 0 7px; border-radius: 999px; font-size: 10.5px; font-weight: 600; white-space: nowrap; background: #F2F3F9; color: #4A5678; }
.pfy-st::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pfy-st--h { background: #041537; color: #fff; } .pfy-st--h::before { background: #8FA0FF; }
.pfy-st--r { background: #EEF1FE; color: #2A44D4; }
.pfy-st--ok { background: none; box-shadow: inset 0 0 0 1px rgba(4, 21, 55, .10); } .pfy-st--ok::before { background: #12A150; }

/* ---- 2 Agents ---------------------------------------------------------- */
.pfy-agent { flex: 1; min-height: 0; display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 12px; padding: 0 14px 14px; }

.pfy-side { padding: 12px; overflow: hidden; }
.pfy-id { position: relative; display: flex; gap: 10px; margin-bottom: 14px; padding: 12px; border-radius: 8px; overflow: hidden;
  background: linear-gradient(135deg, rgba(42, 68, 212, .09), rgba(91, 60, 240, .05) 55%, rgba(91, 60, 240, 0)), #F6F7FD;
  box-shadow: inset 0 0 0 1px rgba(42, 68, 212, .12), inset 0 1px 0 #fff; }
.pfy-id .pfy-av { width: 28px; height: 28px; }
.pfy-id .pfy-av .pfx-ic { width: 15px; height: 15px; }
.pfy-id-t { min-width: 0; }
.pfy-id-t b { display: block; font-weight: 600; font-size: 12.5px; line-height: 1.3; }
.pfy-id-t span { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.45; color: #4A5678; }
.pfy-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 14px; }
.pfy-chip { height: 20px; padding: 0 7px; border-radius: 6px; background: #F6F7FD; box-shadow: inset 0 0 0 1px rgba(4, 21, 55, .08); font-size: 11px; line-height: 20px; color: #2B3757; white-space: nowrap; }
.pfy-guard { list-style: none; margin: 0; padding: 0; }
.pfy-guard li { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 30px; border-top: 1px solid rgba(4, 21, 55, .07); white-space: nowrap; }
.pfy-tog { flex: none; position: relative; width: 24px; height: 14px; border-radius: 999px; background: #D5D9E8; box-shadow: inset 0 1px 1px rgba(4, 21, 55, .10); }
.pfy-tog::after { content: ""; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(4, 21, 55, .30); }
.pfy-tog.is-on { background: #2A44D4; } .pfy-tog.is-on::after { left: 12px; }
.pfy-need { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px 0 5px; border-radius: 6px; background: #EEF1FE; font-style: normal; font-size: 10.5px; font-weight: 600; color: #2A44D4; }
.pfy-need .pfx-ic { width: 12px; height: 12px; }

.pfy-conv { display: flex; flex-direction: column; overflow: hidden; }
.pfy-conv-h { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid rgba(4, 21, 55, .07); white-space: nowrap; }
.pfy-conv-h b { font-weight: 600; }
.pfy-pass { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 11px; font-weight: 500; color: #4A5678; }
.pfy-thread { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 12px 14px 0;
  background: radial-gradient(420px 160px at 100% 0, rgba(42, 68, 212, .05), transparent 70%); }
.pfy-msg { display: flex; align-items: flex-start; gap: 8px; }
.pfy-msg--u { justify-content: flex-end; align-items: center; }
.pfy-msg--u p { margin: 0; padding: 6px 11px; border-radius: 12px 12px 4px 12px; background: #2A44D4; color: #fff; font-size: 12px; line-height: 1.4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 2px 6px -2px rgba(42, 68, 212, .5); }
.pfy-reply { flex: 1; min-width: 0; }
.pfy-trace { position: relative; list-style: none; margin: 0; padding: 4px 10px; border-radius: 8px; background: #F6F7FD; box-shadow: inset 0 0 0 1px rgba(4, 21, 55, .06); }
.pfy-trace::before { content: ""; position: absolute; left: 16.5px; top: 18px; bottom: 18px; width: 1px; background: rgba(4, 21, 55, .14); }
.pfy-trace li { position: relative; display: flex; align-items: center; gap: 9px; height: 26px; color: #4A5678; white-space: nowrap; }
.pfy-trace li span { overflow: hidden; text-overflow: ellipsis; }
.pfy-trace b { font-weight: 600; color: #041537; font-variant-numeric: tabular-nums; }
.pfy-trace .pfy-tick { box-shadow: 0 0 0 2px #F6F7FD; }
.pfy-trace .is-hand .pfy-tick { width: 16px; height: 16px; margin: 0 -1px; background: #2A44D4; }
.pfy-trace .is-hand .pfy-tick .pfx-ic { width: 10px; height: 10px; stroke-width: 2.2; }
.pfy-tool { flex: none; margin-left: auto; height: 18px; padding: 0 6px; border-radius: 5px; background: #fff; box-shadow: 0 0 0 1px rgba(4, 21, 55, .09), 0 1px 1px rgba(4, 21, 55, .04); font-style: normal; font-size: 10.5px; line-height: 18px; font-weight: 500; color: #4A5678; }
.pfy-tool--sap { font-weight: 800; letter-spacing: .02em; color: #0A6ED1; }
.pfy-ans { position: relative; margin-top: 8px; }
.pfy-ans p { margin: 0; font-size: 12px; line-height: 1.5; color: #041537; }
.pfy-typing { position: absolute; left: 0; top: 3px; display: flex; gap: 3px; opacity: 0; }
.pfy-typing i { width: 5px; height: 5px; border-radius: 50%; background: #8A93AE; }
.pfy-ask { display: flex; align-items: center; gap: 8px; height: 32px; margin: 10px 14px 12px; padding: 0 8px 0 11px; border-radius: 9px; color: #A3AAC0;
  box-shadow: 0 0 0 1px rgba(4, 21, 55, .12), 0 1px 2px rgba(4, 21, 55, .05); }
.pfy-ask kbd { margin-left: auto; }

.pfy-hand { display: flex; align-items: center; gap: 7px; margin-top: 10px; padding: 6px 8px 6px 6px; border-radius: 9px; white-space: nowrap;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, rgba(42, 68, 212, .5), rgba(91, 60, 240, .5) 45%, rgba(4, 21, 55, .10)) border-box; border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(4, 21, 55, .05), 0 8px 16px -12px rgba(42, 68, 212, .5); }
.pfy-hand b { font-weight: 600; } .pfy-hand .pfy-muted { font-size: 11px; overflow: hidden; text-overflow: ellipsis; } .pfy-hand .pfy-need { margin-left: auto; padding: 0 7px; }
.pfy-hand .pfy-av { width: 20px; height: 20px; font-size: 8px; box-shadow: none; }
.pfx-panel.is-on .pfy-hand { animation: pfy-in .4s cubic-bezier(.2, .7, .2, 1) 2.05s both; }

/* run-in: steps tick off, then the answer lands */
.pfx-panel.is-on .pfy-trace li { animation: pfy-in .35s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.25s + var(--i) * .32s); }
.pfx-panel.is-on .pfy-typing { animation: pfy-wait 1.75s linear both; }
.pfx-panel.is-on .pfy-typing i { animation: pfy-dot .9s ease-in-out infinite; }
.pfx-panel.is-on .pfy-typing i:nth-child(2) { animation-delay: .15s; } .pfx-panel.is-on .pfy-typing i:nth-child(3) { animation-delay: .3s; }
.pfx-panel.is-on .pfy-ans p { animation: pfy-in .4s cubic-bezier(.2, .7, .2, 1) 1.75s both; }
@keyframes pfy-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes pfy-wait { 0%, 70% { opacity: 0; } 75%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pfy-dot { 0%, 100% { transform: none; opacity: .5; } 40% { transform: translateY(-2px); opacity: 1; } }

/* ---- 3 App builder ----------------------------------------------------- */
.pfy-env { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.pfy-env-l { font-size: 11px; color: #8A93AE; }
.pfy-app { flex: 1; min-height: 0; display: flex; padding: 0 14px 14px; }
.pfy-inbox { flex: 1; display: grid; grid-template-columns: 236px minmax(0, 1fr); overflow: hidden; }

.pfy-list { display: flex; flex-direction: column; min-width: 0; background: #FAFBFE; border-right: 1px solid rgba(4, 21, 55, .07); }
.pfy-list-h { padding: 10px 10px 8px; }
.pfy-list ul { flex: 1; min-height: 0; list-style: none; margin: 0; padding: 0 6px; overflow: hidden; }
.pfy-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 8px; padding: 8px 8px; border-radius: 8px; white-space: nowrap; }
.pfy-list li + li { margin-top: 2px; }
.pfy-list li > b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.pfy-list li > .pfy-muted { font-size: 11px; font-variant-numeric: tabular-nums; }
.pfy-list li > .pfy-st { justify-self: end; }
.pfy-amt { font-variant-numeric: tabular-nums; font-weight: 500; color: #2B3757; }
.pfy-list .is-sel { background: #fff; box-shadow: 0 0 0 1px rgba(42, 68, 212, .22), 0 1px 2px rgba(4, 21, 55, .05), 0 6px 14px -8px rgba(42, 68, 212, .45); }
.pfy-list-f { display: flex; justify-content: space-between; padding: 8px 14px 9px; border-top: 1px solid rgba(4, 21, 55, .07); font-size: 10.5px; color: #7A84A3; }
.pfy-list-f span { color: #A3AAC0; }

.pfy-rec { display: flex; flex-direction: column; min-width: 0; padding: 14px 16px; }
.pfy-rec-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; white-space: nowrap; }
.pfy-rec-h > div:first-child b { display: block; font: 600 15px/1.25 var(--font-display); letter-spacing: -.01em; }
.pfy-rec-h > div:first-child span { display: block; margin-top: 2px; font-size: 11px; font-variant-numeric: tabular-nums; }
.pfy-total { display: flex; align-items: center; gap: 10px; }
.pfy-total b { font: 600 15px/1.25 var(--font-display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pfy-total small { font: 500 10.5px/1 var(--font-body); color: #7A84A3; letter-spacing: .02em; }

.pfy-steps { display: flex; align-items: center; list-style: none; margin: 12px 0; padding: 8px 12px; border-radius: 8px; background: #F6F7FD; box-shadow: inset 0 0 0 1px rgba(4, 21, 55, .06); }
.pfy-steps li { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; color: #8A93AE; white-space: nowrap; }
.pfy-steps li + li { flex: 1; }
.pfy-steps li + li::before { content: ""; flex: 1; min-width: 12px; height: 1px; margin: 0 4px; background: rgba(4, 21, 55, .16); }
.pfy-steps .is-done { color: #041537; }
.pfy-steps .is-done + li::before { background: #12A150; opacity: .55; }
.pfy-steps .pfy-tick { box-shadow: none; }
.pfy-steps li > i:not(.pfy-tick) { flex: none; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #C2C8DA; }
.pfy-steps .is-now { color: #2A44D4; font-weight: 600; }
.pfy-steps .is-now > i:not(.pfy-tick) { background: radial-gradient(circle, #2A44D4 0 3px, #fff 3.5px); box-shadow: inset 0 0 0 1.5px #2A44D4, 0 0 0 3px rgba(42, 68, 212, .16); }

.pfy-rec-b { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 152px; gap: 20px; }
.pfy-rec-l { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pfy-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin: 0; }
.pfy-fields div { padding: 7px 0 8px; border-top: 1px solid rgba(4, 21, 55, .07); min-width: 0; }
.pfy-fields div:nth-child(-n+2) { border-top: 0; padding-top: 0; }
.pfy-fields dt { font-size: 10.5px; color: #7A84A3; }
.pfy-fields dd { margin: 2px 0 0; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pfy-over { display: inline-block; padding: 0 5px; border-radius: 4px; background: #041537; color: #fff; font-weight: 600; font-size: 11px; }
.pfy-appr { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 9px 10px; border-radius: 10px; white-space: nowrap;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, rgba(42, 68, 212, .55), rgba(91, 60, 240, .55) 45%, rgba(4, 21, 55, .10)) border-box; border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(4, 21, 55, .05), 0 10px 20px -12px rgba(42, 68, 212, .45); }
.pfy-appr-t { min-width: 0; margin-right: auto; }
.pfy-appr-t b { display: block; font-weight: 600; line-height: 1.3; }
.pfy-appr-t span { display: block; font-size: 11px; color: #7A84A3; overflow: hidden; text-overflow: ellipsis; }
.pfy-appr .pfx-btn:not(.pfx-btn--pri) { color: #041537; }

.pfy-rec-r { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pfy-doc { border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(4, 21, 55, .09), 0 1px 2px rgba(4, 21, 55, .05), 0 8px 16px -10px rgba(4, 21, 55, .25); }
.pfy-doc svg { display: block; width: 100%; height: 112px; }
.pfy-doc-f { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 8px; border-top: 1px solid rgba(4, 21, 55, .07); background: #FAFBFE; font-size: 10.5px; white-space: nowrap; }
.pfy-doc-f .pfx-ic { width: 11px; height: 11px; color: #2A44D4; }
.pfy-doc-f b { font-weight: 600; } .pfy-doc-f span { margin-left: auto; color: #A3AAC0; }
.pfy-act { position: relative; list-style: none; margin: 0; padding: 8px 0 0; border-top: 1px solid rgba(4, 21, 55, .07); }
.pfy-act::before { content: ""; position: absolute; left: 3px; top: 18px; bottom: 10px; width: 1px; background: rgba(4, 21, 55, .12); }
.pfy-act li { position: relative; display: flex; align-items: center; gap: 8px; height: 20px; font-size: 10.5px; color: #6B7799; white-space: nowrap; }
.pfy-act li span { overflow: hidden; text-overflow: ellipsis; }
.pfy-act b { font-weight: 600; color: #041537; }
.pfy-act i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px #A3AAC0; }
.pfy-act li:first-child i { background: #2A44D4; box-shadow: 0 0 0 3px rgba(42, 68, 212, .16); }

/* ---- small screens: window body is 400px tall, rail hidden -------------- */
@media (min-width: 561px) and (max-width: 980px) {
  .pfx-win { height: 400px; }
  .pfx-rail { display: none; }
  .pfx-canvas svg { width: 760px; max-width: none; }
  .pfx-canvas, .pfx-app { overflow-x: auto; }
  .pfx-agent { grid-template-columns: 1fr; }
  .pfy-agent { grid-template-columns: minmax(0, 1fr); }
  .pfy-side { display: none; }
  .pfy-thread { gap: 8px; padding-top: 10px; }
  .pfy-trace li { height: 24px; }
  .pfy-conv-h .pfy-muted { display: none; }
  .pfy-env-l, .pfy-env + .pfx-btn { display: none; }
  .pfy-app { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; padding-bottom: 12px; }
  .pfy-inbox { flex: 1 0 700px; grid-template-columns: 208px minmax(0, 1fr); }
  .pfy-rec { padding: 12px 14px; }
  .pfy-steps { margin: 10px 0; }
  .pfy-act, .pfy-list-f, .pfy-hand { display: none; }
  .pfy-list li { padding: 6px 8px; }
  .pfy-list ul { padding-bottom: 6px; }
  .pfy-doc svg { height: 84px; }
}
@media (max-width: 420px) {
  .pfy-tool { display: none; }
  .pfy-tool--sap { display: block; }
}

.we-are { background: #EFF1FB; }

/* Druits Platform: fit one screen on desktop */
@media (min-width: 981px) {
  .ai-lite.pfx { padding: 48px 0 40px; }
  .pfx-head { max-width: none; margin-bottom: 26px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 48px; align-items: end; }
  .pfx-eyebrow { grid-column: 1 / -1; margin-bottom: 12px; }
  .pfx-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
  .pfx-head p { margin: 0; font-size: 1rem; max-width: 46ch; }
  .pfx-stage { gap: 40px; }
  .pfx-tab { padding: 14px 0 14px 24px; }
  .pfx-facts { margin-top: 16px; }
}
@media (min-width: 981px) and (max-height: 860px) { .pfx-win { height: 410px; } }

/* We are Druits */
.we-are.wa { text-align: left; background: linear-gradient(180deg, #EFF1FB 0%, #E7EBFF 100%); padding: 84px 0; position: relative; overflow: hidden; }
.we-are.wa::before { content: ""; position: absolute; right: -120px; top: -140px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(106, 76, 240, .18), transparent 68%); pointer-events: none; }
.wa-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.wa-eyebrow { display: inline-block; margin-bottom: 14px; font: 700 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #2A44D4; }
.we-are.wa h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 20px; color: #041537; text-wrap: balance; }
.we-are.wa .cx-grad { background: linear-gradient(90deg, #2A44D4, #7B4CF0 60%, #E5487A); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.we-are.wa .lede { margin: 0; max-width: 52ch; font-size: 1.06rem; line-height: 1.65; color: #3A4668; }
.wa-cta { display: flex; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.wa-note { font-size: .86rem; font-weight: 700; color: #2A44D4; padding-left: 20px; border-left: 2px solid #C4CEFA; }
.wa-cards { display: grid; gap: 14px; }
.wa-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid #DCE3F7; border-radius: 16px; padding: 18px 20px; box-shadow: 0 10px 28px rgba(30, 50, 140, .08); transition: transform .3s, box-shadow .3s; }
.wa-card:hover { transform: translateX(-4px); box-shadow: 0 18px 40px rgba(30, 50, 140, .16); }
.wa-ic { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, #2A44D4, #6A4CF0); }
.wa-ic svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.wa-card h3 { font-size: 1.02rem; margin: 2px 0 4px; color: #041537; } .wa-card p { margin: 0; font-size: .9rem; line-height: 1.5; color: #4A5678; }
.wa-cert { width: min(100%, 360px); height: auto; margin: 6px auto 0; opacity: .9; }
@media (max-width: 980px) { .wa-grid { grid-template-columns: 1fr; gap: 36px; } .we-are.wa { padding: 60px 0; } }

/* Platform tabs as cards (desktop) */
@media (min-width: 981px) {
  .pfx-tabs { gap: 10px; }
  .pfx-tab { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(4,21,55,.08); background: rgba(255,255,255,.55); overflow: hidden; transition: background .3s, box-shadow .3s, border-color .3s, transform .3s; }
  .pfx-tab:hover { background: #fff; border-color: rgba(42,68,212,.25); }
  .pfx-tab.is-on { background: #fff; border-color: rgba(42,68,212,.35); box-shadow: 0 18px 40px -16px rgba(42,68,212,.38), 0 2px 6px rgba(4,21,55,.06); transform: translateX(6px); }
  .pfx-ico { grid-row: 1; grid-column: 1; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #EEF1FE; color: #2A44D4; transition: background .3s, color .3s; }
  .pfx-ico .pfx-ic { width: 20px; height: 20px; }
  .pfx-tab.is-on .pfx-ico { background: linear-gradient(135deg, #2A44D4, #6A4BE0); color: #fff; }
  .pfx-name { grid-row: 1; grid-column: 2; color: #041537; font-size: 1.2rem; }
  .pfx-tab:not(.is-on) .pfx-name { color: #3A4668; }
  .pfx-say { grid-column: 2; }
  .pfx-bar { top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 3px; background: transparent; }
  .pfx-bar i { transform: scaleX(0); background: linear-gradient(90deg, #2A44D4, #7B4CF0); }
  .pfx-cta { margin-left: 4px; }
}
@keyframes pfx-fill { from { transform: scaleX(0); } to { transform: none; } }

/* Platform head: heading and intro stacked on the left, no right-hand paragraph */
@media (min-width: 981px) {
  .pfx-head { display: block; margin-bottom: 22px; }
  .pfx-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
  .pfx-head p { margin: 10px 0 0; max-width: 62ch; font-size: .98rem; }
}

/* Platform tab icons: one theme colour each (blue, violet, rose) */
@media (min-width: 981px) {
  .pfx-tab:nth-of-type(1) { --c1: #2A44D4; --c2: #4F7BFF; --tint: #E6EBFF; }
  .pfx-tab:nth-of-type(2) { --c1: #6A3FE0; --c2: #A06BFF; --tint: #EFE8FF; }
  .pfx-tab:nth-of-type(3) { --c1: #E5487A; --c2: #FF8A5C; --tint: #FFE8EF; }
  .pfx-ico { background: var(--tint); color: var(--c1); }
  .pfx-tab.is-on .pfx-ico { background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; box-shadow: 0 8px 18px -6px var(--c1); }
  .pfx-tab.is-on { border-color: var(--c1); }
  .pfx-bar i { background: linear-gradient(90deg, var(--c1), var(--c2)); }
}

/* Platform screens shown in a tablet: bezel, glare, coloured glow, floating status chips */
@media (min-width: 981px) {
  .pfx-panels { position: relative; isolation: isolate; padding: 14px 18px 14px 0; }
  .pfx-panels::before { content: ""; position: absolute; z-index: -1; right: -40px; top: -10px; width: 78%; height: 105%; border-radius: 50%; filter: blur(46px); opacity: .55;
    background: radial-gradient(circle at 30% 30%, #7FA2FF, transparent 60%), radial-gradient(circle at 75% 70%, #C58BFF, transparent 62%), radial-gradient(circle at 50% 90%, #FF9DB8, transparent 55%); }
  .pfx-win { position: relative; box-sizing: border-box; height: 440px; border: 9px solid #0B1230; border-radius: 28px; background: #F2F3F9;
    box-shadow: 0 0 0 1.5px #3A4470, 0 0 0 3px #0B1230, 0 40px 70px -24px rgba(11, 18, 48, .55), 0 70px 120px -50px rgba(42, 68, 212, .55); }
  .pfx-win::before { content: ""; position: absolute; z-index: 3; left: 50%; top: -5.5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #2B3566; box-shadow: inset 0 0 0 1px #4A5690; }
  .pfx-win::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: 19px; background: linear-gradient(115deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 28%); }
  .pfx-panel::after { position: absolute; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 14px; background: rgba(255,255,255,.94); border: 1px solid rgba(4, 21, 55, .08);
    font: 600 12.5px/1 var(--font-body); color: #041537; box-shadow: 0 18px 36px -12px rgba(4, 21, 55, .35); animation: pfx-float 5s ease-in-out infinite; }
  .pfx-panel:nth-child(1)::after { content: "\2713  6 of 6 steps passed"; right: -2px; bottom: 48px; color: #0E7C41; }
  .pfx-panel:nth-child(2)::after { content: "\2726  Handed to Finance lead"; right: -2px; bottom: 48px; color: #6A3FE0; animation-delay: -1.6s; }
  .pfx-panel:nth-child(3)::after { content: "\25B2  Packaged for production"; right: -2px; bottom: 48px; color: #E5487A; animation-delay: -3s; }
  .pfx-panels:has(.pfx-panel:nth-child(2).is-on)::before { opacity: .6; }
}
@keyframes pfx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (prefers-reduced-motion: reduce) { .pfx-panel::after { animation: none !important; } }
@media (min-width: 981px) and (max-height: 860px) { .pfx-win { height: 400px; } }
@media (min-width: 981px) {
  .ai-lite.pfx { padding: 34px 0 26px; }
  .pfx-panels { padding-bottom: 6px; }
  .pfx-win { height: 462px; }
  .pfx-panel:nth-child(n)::after { right: -12px; bottom: auto; top: 110px; }
}
@media (min-width: 981px) and (max-height: 860px) { .pfx-win { height: 436px; } }
@media (min-width: 981px) { .pfx-panel:nth-child(n)::after { right: auto; top: auto; left: -22px; bottom: 34px; } }
@media (min-width: 981px) { .pfx-panel:nth-child(n)::after { left: auto; bottom: auto; top: -8px; right: 36px; } }

/* About Druits: right-hand cards share one width, one height and one edge */
.wa-cards { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; gap: 14px; }
.wa-card { align-items: center; min-height: 104px; margin: 0; }
.wa-card > div { min-width: 0; }
.wa-card:hover { transform: none; box-shadow: 0 18px 40px rgba(30, 50, 140, .16); }
.wa-cert { box-sizing: border-box; display: block; width: 100%; height: auto; max-height: 76px; object-fit: contain; margin: 0; padding: 14px 20px; background: #fff; border: 1px solid #DCE3F7; border-radius: 16px; box-shadow: 0 10px 28px rgba(30, 50, 140, .08); opacity: 1; }

/* About Druits: left column spans the same top-to-bottom as the card stack */
@media (min-width: 981px) {
  .wa-grid { align-items: stretch; }
  .wa-copy { display: flex; flex-direction: column; justify-content: space-between; }
  .wa-copy .wa-eyebrow { margin-bottom: 0; }
  .wa-copy .wa-cta { margin-top: 0; }
  .wa-copy h2 { margin: 18px 0 18px; }
  .wa-copy .lede { margin-bottom: auto; }
  .wa-copy .wa-top { display: block; }
}
@media (min-width: 981px) {
  .wa-copy h2 { margin: 14px 0 16px; }
  .wa-copy .lede { margin: 0; }
  .wa-copy .wa-cta { margin-top: 24px; }
  .wa-cards { align-content: stretch; grid-template-rows: repeat(3, 1fr) auto; }
  .wa-card { min-height: 0; }
}
.wa-eyebrow-row { position: relative; margin-bottom: 14px; }
.wa-eyebrow-row .wa-eyebrow { margin: 0; }
@media (min-width: 981px) { .wa-copy h2 { margin: 0 0 16px; } }
@media (min-width: 981px) { .wa-copy { justify-content: flex-start; } .wa-copy .wa-cta { margin-top: auto; } .wa-copy .lede { margin-top: 4px; } }

/* Tablet and phone hero: slide dots run along the top as a row so they never sit on the copy or the demo cards */
@media (max-width: 980px) {
  .hero-slider.hero-panels .slider-nav { top: 12px; bottom: auto; left: 50%; right: auto; transform: translateX(-50%); flex-direction: row; padding: 5px 6px; }
  .hero-slider.hero-panels .slider-nav button { padding: 7px 9px; }
  .hero-panels .slide { padding-top: max(76px, clamp(2rem, 6vh, 4rem)); }
  .hero-panels .slide--air .air-scene { bottom: 40px; }
}
/* DAT slide on phones: keep the 3D bars below the copy instead of behind it */
@media (max-width: 700px) {
  .dat-gl { -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent 52%, #000 76%); mask-image: linear-gradient(180deg, transparent 0, transparent 52%, #000 76%); }
}
@media (max-width: 980px) {
  .hero-panels .slide--air .air-scene { position: relative; right: auto; bottom: auto; width: 100%; max-width: 680px; margin: 0 auto; }
  .hero-panels .slide--air { padding-bottom: 56px; }
}

/* tablet engine: pull the 3D engine in a touch so the fan is not cut by the card edge */
@media (min-width: 561px) and (max-width: 980px) { .en-gl { transform: scale(.94); transform-origin: 54% 58%; } }
/* phone solution cards: stronger scrim so the small label reads over the photo */
@media (max-width: 700px) { .solcard-shot::after { background: linear-gradient(to top, rgba(8, 14, 70, .94) 0%, rgba(8, 14, 70, .72) 34%, rgba(8, 14, 70, 0) 66%); } .solplate .solcard-meta { text-shadow: 0 1px 6px rgba(8, 14, 70, .8); } }
/* platform screens get the tablet frame on tablet and phone too */
@media (max-width: 980px) {
  .pfx-win { border: 6px solid #0B1230; border-radius: 22px; box-shadow: 0 0 0 1.5px #3A4470, 0 24px 44px -20px rgba(11, 18, 48, .5); }
  .pfx-panels { position: relative; isolation: isolate; }
  .pfx-panels::before { content: ""; position: absolute; z-index: -1; inset: 8% -4% -6%; border-radius: 50%; filter: blur(38px); opacity: .5; background: radial-gradient(circle at 25% 30%, #7FA2FF, transparent 60%), radial-gradient(circle at 75% 70%, #C58BFF, transparent 62%); }
}

/* Phones: draw the product window at its full desktop layout and scale it to fit, so nothing is cropped or scrolls sideways */
@media (max-width: 560px) {
  .pfx-win { width: 720px; height: 440px; zoom: var(--pz, .47); border-width: 8px; border-radius: 26px; }
  .pfx-panels { padding: 0; }
  .pfx-canvas svg { width: 100%; max-width: none; }
}
.solplate .solcard-num { color: #5CF0A8; text-shadow: 0 1px 6px rgba(8, 14, 70, .9); }
@media (min-width: 561px) and (max-width: 980px) { .pfx-canvas svg { width: 100%; } .pfx-canvas, .pfx-app { overflow: hidden; } }

/* MRO page: live 3D scenes in place of the photos */
.mro-3d { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(4, 21, 55, .16); background: linear-gradient(135deg, #CFE1FF, #B9C3FF); }
.mro-3d .mro-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.mro-3d.has-3d .mro-gl { display: block; }
.mro-3d img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }
.mro-3d.has-3d img { visibility: hidden; }
.carousel .mro-3d { height: auto; }
@media (max-width: 700px) { .mro-3d { aspect-ratio: 1 / 1; } .carousel .mro-3d img { height: 100%; } }

/* MRO 3D slots: no frame, no border, no shadow, no panel behind the scene */
.mro-3d, .mro-3d.has-3d { background: none !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important; overflow: visible; }
.mro-3d img { border-radius: 0; box-shadow: none; }
/* MRO scenes: give the picture more width so detail and labels are larger and sharper */
@media (min-width: 901px) {
  .split:has(> .mro-3d) { grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: 48px; }
  .split:has(> .mro-3d:first-child) { grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr); }
}

/* MRO scenes: never flash the old photo while the 3D loads. The photo only appears if WebGL is unavailable (.no-3d, set after a grace period) or scripts are off. */
.mro-3d img { visibility: hidden; }
.mro-3d.no-3d img { visibility: visible; }
.mro-3d.no-3d { background: linear-gradient(135deg, #CFE1FF, #B9C3FF) !important; }

/* ==========================================================================
   CAREER PAGE (/career/) — illustrated banner, frameless SVG art, icon chips.
   Scoped to .career-* / .page-hero--art.career-hero; touches no other page.
   ========================================================================== */
.page-hero--art.career-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .10) 0 1px, transparent 1.4px) 0 0 / 26px 26px,
    radial-gradient(680px 460px at 92% 0%, rgba(25, 183, 232, .38) 0%, transparent 62%),
    radial-gradient(760px 520px at 70% 110%, rgba(123, 76, 240, .75) 0%, transparent 64%),
    linear-gradient(120deg, #0B1560 0%, #2230B8 46%, #5B3FE0 100%);
}
.page-hero--art.career-hero::before { display: none; }
.career-hero .career-hero-copy { position: relative; z-index: 2; max-width: 500px; }
.career-hero .career-hero-art {
  position: absolute; z-index: 1; right: 0; top: 50%;
  width: min(56%, 660px); transform: translateY(-50%);
  pointer-events: none;
}
.career-hero .career-hero-art img { display: block; width: 100%; height: auto; }
.career-hero .btn { background: #fff; color: #2A44D4; box-shadow: 0 10px 28px rgba(5, 10, 60, .28); }
.career-hero .btn:hover { background: #EEF2FF; }

/* frameless illustrations (override the global photo radius + shadow) */
.art-img.career-art img { display: block; width: 100%; height: auto; border-radius: 0; box-shadow: none; }
.career-split ul li::before { background: #1AB56B; }
.career-split p a { color: #2A44D4; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 901px) {
  .split.career-split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; }
  .split.career-split.reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
}

/* "Why join Druits" cards: white glass, coloured icon chip per card */
.career-why .feature {
  background: #fff; border: 1px solid #E3E8F6; border-radius: 16px;
  box-shadow: 0 14px 36px rgba(27, 42, 122, .08);
}
.career-ico {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 18px; border-radius: 15px; color: #fff;
}
.career-ico--blue   { background: linear-gradient(135deg, #4C6BFF, #2A44D4); box-shadow: 0 10px 22px rgba(42, 68, 212, .30); }
.career-ico--violet { background: linear-gradient(135deg, #9B74FF, #7B4CF0); box-shadow: 0 10px 22px rgba(123, 76, 240, .30); }
.career-ico--green  { background: linear-gradient(135deg, #3FD08A, #1AB56B); box-shadow: 0 10px 22px rgba(26, 181, 107, .30); }
.career-ico--sky    { background: linear-gradient(135deg, #4FD2F7, #19B7E8); box-shadow: 0 10px 22px rgba(25, 183, 232, .30); }
@media (min-width: 1041px) { .feature-grid.career-why { grid-template-columns: repeat(4, 1fr); gap: 22px; } }

@media (max-width: 900px) {
  .page-hero--art.career-hero { padding: 56px 0 36px; }
  .career-hero .career-hero-copy { max-width: none; }
  .career-hero .career-hero-art { position: static; transform: none; width: 100%; max-width: 560px; margin: 26px auto 0; }
}

/* ==========================================================================
   ABOUT PAGE (/about-us/) — illustrated banner + frameless SVG art.
   Scoped to .about-* / .page-hero--art.about-hero; touches no other page.
   ========================================================================== */
.page-hero--art.about-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .10) 0 1px, transparent 1.4px) 0 0 / 26px 26px,
    radial-gradient(640px 440px at 96% 0%, rgba(25, 183, 232, .34) 0%, transparent 62%),
    radial-gradient(780px 520px at 72% 112%, rgba(123, 76, 240, .78) 0%, transparent 64%),
    linear-gradient(118deg, #0A1250 0%, #1F2CB4 46%, #5A3DE2 100%);
}
.page-hero--art.about-hero::before { display: none; }
.about-hero .about-hero-copy { position: relative; z-index: 2; max-width: 520px; }
.about-hero .about-hero-copy h1 { text-wrap: balance; }
.about-hero .about-hero-copy p { max-width: 480px; }
.about-hero .about-hero-art {
  position: absolute; z-index: 1; right: -8px; top: 50%;
  width: min(52%, 600px); transform: translateY(-50%);
  pointer-events: none;
}
.about-hero .about-hero-art img { display: block; width: 100%; height: auto; }
.about-hero .btn { background: #fff; color: #2A44D4; box-shadow: 0 10px 28px rgba(5, 10, 60, .28); }
.about-hero .btn:hover { background: #EEF2FF; }

/* frameless illustrations (override the global photo radius + shadow) */
.art-img.about-art img { display: block; width: 100%; height: auto; border-radius: 0; box-shadow: none; }
.about-split .about-eyebrow { color: #2A44D4; margin-bottom: 12px; }
.about-split .about-values { margin: 20px 0 0; }
.about-split .about-values li strong { color: #041537; }
.about-split .about-values li::before { background: #1AB56B; }
@media (min-width: 961px) {
  .split.about-split { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; }
  .split.about-split.reverse { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
}
@media (max-width: 960px) {
  .page-hero--art.about-hero { padding: 56px 0 32px; }
  .about-hero .about-hero-copy, .about-hero .about-hero-copy p { max-width: none; }
  .about-hero .about-hero-art { position: static; transform: none; width: 100%; max-width: 560px; margin: 22px auto 0; }
  .art-img.about-art { max-width: 560px; margin: 0 auto; }
}

/* ==========================================================================
   SAP services page (/sap/): illustrated banner + frameless SVG art
   Scoped to .page-hero--art.sap-hero and .split-media.art-img.sap-art; touches no other page.
   ========================================================================== */
.page-hero--art.sap-hero {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 10, 64, .55) 0%, rgba(8, 10, 64, .2) 44%, transparent 64%),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 100%,
    radial-gradient(640px 440px at 98% 0%, rgba(143, 243, 255, .26), transparent 62%),
    radial-gradient(760px 520px at 62% 118%, rgba(123, 76, 240, .6), transparent 66%),
    linear-gradient(100deg, #0B0F52 0%, #1B1A9E 38%, #3A2FDF 72%, #6742EE 100%);
}
.page-hero--art.sap-hero::before { display: none; }
.page-hero--art.sap-hero .page-hero-art {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  width: min(44%, 580px); height: auto; pointer-events: none; user-select: none;
}
.page-hero--art.sap-hero h1 { max-width: 58%; }
.page-hero--art.sap-hero p { max-width: min(620px, 53%); }
.split-media.art-img.sap-art img { display: block; width: 100%; height: auto; border-radius: 0; box-shadow: none; background: none; }
@media (min-width: 961px) {
  .split:has(> .art-img.sap-art) { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: 52px; }
}
@media (max-width: 1100px) {
  .page-hero--art.sap-hero h1, .page-hero--art.sap-hero p { max-width: 620px; }
  .page-hero--art.sap-hero .page-hero-art { right: 10px; top: auto; bottom: -152px; transform: none; width: 270px; }
}
@media (max-width: 960px) {
  .split-media.art-img.sap-art { max-width: 540px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) {
  .page-hero--art.sap-hero .page-hero-art { width: 232px; bottom: -150px; right: 6px; }
}

/* About: real-people photography */
.page-hero--art.about-hero.about-hero--photo { background-size: cover; background-position: center 30%; }
.page-hero--art.about-hero.about-hero--photo::before { display: block; background: linear-gradient(90deg, rgba(6, 14, 70, .9) 0%, rgba(10, 24, 110, .62) 46%, rgba(10, 24, 110, .08) 100%); }
.about-hero--photo .about-hero-copy { position: relative; z-index: 2; max-width: 520px; }
/* About/Career photo banners: keep the headline compact so it stays off the faces */
.about-hero--photo h1, .career-hero--photo h1 { max-width: 560px; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; }
.about-hero--photo p, .career-hero--photo p { max-width: 460px; }
.about-hero--photo, .career-hero--photo { padding: 96px 0; }
.about-hero--photo { background-position: center 22%; }
@media (max-width: 900px) { .about-hero--photo h1, .career-hero--photo h1, .about-hero--photo p, .career-hero--photo p { max-width: none; } .about-hero--photo, .career-hero--photo { padding: 64px 0 56px; } .page-hero--art.about-hero.about-hero--photo::before, .page-hero--art.career-hero.career-hero--photo::before { background: linear-gradient(180deg, rgba(6,14,70,.88), rgba(10,24,110,.6)); } }


/* =====================================================================
   Co-Innovation Services page (/co-innovation-services/) only.
   Banner art (.coin-hero), frameless SVG illustration in a split
   (.split-media.coin-art) and the Services / Objectives glass cards (.coin-*).
   ===================================================================== */
.page-hero.coin-hero {
  padding: 60px 0; overflow: hidden;
  background-image:
    radial-gradient(760px 460px at 80% 46%, rgba(143, 243, 255, .20), transparent 66%),
    radial-gradient(520px 320px at 4% 100%, rgba(25, 183, 232, .16), transparent 70%),
    linear-gradient(112deg, #0A0E3A 0%, #171A8C 38%, #4031D6 70%, #7B4CF0 100%);
}
.page-hero.coin-hero::before { display: none; }
.page-hero.coin-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.3px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at 74% 50%, #000 0%, transparent 68%);
  mask-image: radial-gradient(ellipse at 74% 50%, #000 0%, transparent 68%);
}
.page-hero.coin-hero .container {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: 40px; align-items: center; min-height: 380px;
}
.coin-hero .coin-hero-copy p { max-width: 540px; }
.coin-hero .coin-hero-art { display: block; margin: -14px 0; }
.coin-hero .coin-hero-art img { display: block; width: 100%; height: auto; max-height: 408px; object-fit: contain; }
@media (max-width: 1000px) {
  .page-hero.coin-hero { padding: 48px 0; }
  .page-hero.coin-hero .container { gap: 24px; }
  .coin-hero .coin-hero-art { margin: 0; }
}
@media (max-width: 720px) {
  .page-hero.coin-hero {
    padding: 28px 0 4px;
    background-image:
      radial-gradient(420px 300px at 60% 82%, rgba(143, 243, 255, .20), transparent 68%),
      linear-gradient(168deg, #0A0E3A 0%, #171A8C 42%, #4031D6 74%, #7B4CF0 100%);
  }
  .page-hero.coin-hero::after { -webkit-mask-image: radial-gradient(ellipse at 50% 82%, #000 0%, transparent 60%); mask-image: radial-gradient(ellipse at 50% 82%, #000 0%, transparent 60%); }
  .page-hero.coin-hero .container { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .coin-hero h1 { margin-bottom: 14px; }
  .coin-hero .coin-hero-copy p { margin-bottom: 18px; }
  .coin-hero .coin-hero-art { margin: -4px -8px 0; }
}

/* frameless illustration in a split: no card, radius or shadow around the picture */
.split-media.coin-art { max-width: 640px; margin: 0 auto; width: 100%; }
.split-media.coin-art img { display: block; width: 100%; height: auto; border-radius: 0; box-shadow: none; background: none; }
@media (min-width: 961px) {
  .split:has(> .split-media.coin-art) { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 48px; }
}

/* Services & Objectives: two tinted glass cards with icon chips */
.coin-so { background: linear-gradient(180deg, #F4F5FD 0%, #EAF0FF 100%); }
.coin-cards { align-items: stretch; gap: 28px; }
.coin-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 36px 36px 22px; border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 30px 60px -34px rgba(42, 68, 212, .42), inset 0 1px 0 #fff;
}
.coin-card::before {
  content: ""; position: absolute; z-index: -1; width: 300px; height: 300px; right: -90px; top: -120px;
  border-radius: 50%; filter: blur(64px); opacity: .2;
}
.coin-card::after {
  content: ""; position: absolute; left: 36px; right: 36px; top: 0; height: 4px; border-radius: 0 0 4px 4px;
}
.coin-card--services { background: linear-gradient(158deg, #E2F3FF 0%, #F3F7FF 46%, #FFFFFF 100%); }
.coin-card--services::before { background: radial-gradient(circle, #19B7E8, #2A44D4 70%); }
.coin-card--services::after { background: linear-gradient(90deg, #19B7E8, #2A44D4); }
.coin-card--objectives { background: linear-gradient(158deg, #EEE7FF 0%, #F6F4FF 46%, #FFFFFF 100%); }
.coin-card--objectives::before { background: radial-gradient(circle, #14B8A6, #7B4CF0 70%); }
.coin-card--objectives::after { background: linear-gradient(90deg, #7B4CF0, #14B8A6); }
.coin-card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.coin-card-head h3 { margin: 0; font-size: 1.5rem; }
.coin-chip {
  flex: none; width: 54px; height: 54px; border-radius: 17px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 26px -12px rgba(42, 68, 212, .7), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.coin-card--services .coin-chip { background: linear-gradient(140deg, #19B7E8, #2A44D4); }
.coin-card--objectives .coin-chip { background: linear-gradient(140deg, #9B7BFF, #7B4CF0); box-shadow: 0 14px 26px -12px rgba(123, 76, 240, .7), inset 0 1px 0 rgba(255, 255, 255, .45); }
.coin-card p { color: var(--muted); }
.coin-card ul li { color: #2B3350; }
.coin-card ul li::before { background: #1AB56B; }
@media (max-width: 720px) {
  .coin-card { padding: 28px 22px 14px; border-radius: 20px; }
  .coin-card::after { left: 22px; right: 22px; }
}
/* Photo banners: single cover image (earlier illustrated-banner rules tiled it) */
.page-hero--art.career-hero.career-hero--photo, .page-hero--art.about-hero.about-hero--photo { background-repeat: no-repeat !important; background-size: cover !important; background-position: center 28% !important; }
.page-hero--art.career-hero.career-hero--photo::before, .page-hero--art.about-hero.about-hero--photo::before { display: block !important; content: "" !important; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(6, 14, 70, .92) 0%, rgba(10, 24, 110, .7) 42%, rgba(10, 24, 110, .1) 100%) !important; }
@media (max-width: 900px) { .page-hero--art.career-hero.career-hero--photo::before, .page-hero--art.about-hero.about-hero--photo::before { background: linear-gradient(180deg, rgba(6, 14, 70, .9), rgba(10, 24, 110, .72)) !important; } }
/* Why join Druits: restrained line icons (no glossy gradient chips) */
.career-why .feature { border-top: 3px solid #2A44D4; border-radius: 12px; box-shadow: 0 10px 30px rgba(27, 42, 122, .07); }
.career-why .career-ico, .career-why .career-ico--blue, .career-why .career-ico--violet, .career-why .career-ico--green, .career-why .career-ico--sky { width: 46px; height: 46px; border-radius: 50%; background: #EEF1FE; color: #1E3199; box-shadow: none; border: 1px solid #D5DCF7; margin-bottom: 16px; }

/* ==========================================================================
   Analytical Reporting (DAT) — product dashboard art (assets/img/art/dat-*.svg)
   Scoped to .split-media.dat-art (five wrappers on /analytical-reporting/ only).
   The SVGs ARE the floating app window (own rounded panel + soft shadow on a
   transparent ground), so the generic photo frame and the carousel's fixed
   380px cover-crop are switched off here; nothing else is touched.
   ========================================================================== */
.split-media.dat-art { width: 100%; max-width: 640px; margin: 0 auto; }
.split-media.dat-art img,
.carousel .split-media.dat-art img {
  display: block; width: 100%; height: auto; max-height: none;
  aspect-ratio: 800 / 708;
  object-fit: contain; border-radius: 0; box-shadow: none; background: none;
}
@media (min-width: 961px) {
  .split:has(> .split-media.dat-art:first-child) { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 48px; }
  .split:has(> .split-media.dat-art:last-child) { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 48px; }
}

/* Property Management hero: DoD materiel-management photo, copy kept left of the subject */
.page-hero.pm-hero { background-size: cover; background-position: 70% 38%; padding: 96px 0; }
.page-hero.pm-hero::before { background: linear-gradient(90deg, rgba(5, 14, 66, .94) 0%, rgba(8, 22, 100, .78) 48%, rgba(8, 22, 100, .12) 100%); }
.pm-hero h1 { max-width: 560px; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; }
.pm-hero p { max-width: 540px; }
@media (max-width: 900px) { .page-hero.pm-hero { padding: 64px 0 56px; } .page-hero.pm-hero::before { background: linear-gradient(180deg, rgba(5, 14, 66, .92), rgba(8, 22, 100, .76)); } .pm-hero h1, .pm-hero p { max-width: none; } }
.page-hero.pm-hero { background-position: 70% 18%; }
/* Property Management hero: defence aerospace photo (KC-46A tankers at sunrise) */
.page-hero.pm-hero { background-position: 50% 52%; }
.page-hero.pm-hero::before { background: linear-gradient(90deg, rgba(5, 14, 66, .85) 0%, rgba(8, 22, 100, .55) 42%, rgba(8, 22, 100, 0) 75%); }
@media (min-width: 901px) { .page-hero.pm-hero { background-size: 135% auto; background-position: 100% 50%; } }
@media (min-width: 901px) { .page-hero.pm-hero { background-size: 185% auto; background-position: 96% 52%; } }
@media (min-width: 901px) { .page-hero.pm-hero { background-color: #0A1A6B; background-size: auto 104%; background-position: 100% 60%; } .page-hero.pm-hero::before { background: linear-gradient(90deg, #0A1A6B 0%, #0A1A6B 30%, rgba(8, 22, 100, .72) 46%, rgba(8, 22, 100, 0) 72%); } }

/* ==========================================================================
   GENERIC LARGE-SCREEN SCALING (one system, replaces per-page fixes)
   - content width and type grow with the viewport above 1440px
   - hero fills the screen height (minus header and logo strip) instead of a fixed cap
   - photo banners are always full-bleed `cover` images with a text overlay
   ========================================================================== */
:root { --container: clamp(1200px, 78vw, 1800px); }
html { font-size: clamp(16px, calc(16px + (100vw - 1440px) * .0042), 22px); }
@media (max-width: 1240px) { :root { --container: 1200px; } html { font-size: 16px; } }

.hero-slider.hero-panels { min-height: clamp(520px, calc(100svh - var(--header-h) - 172px), 1200px) !important; }
@media (max-width: 980px) { .hero-slider.hero-panels { min-height: 0 !important; } }
@media (min-width: 1800px) { .hero-panels .slide--glass .hero-demo { transform: none; } }

.page-hero { padding-top: clamp(96px, 13vh, 220px); padding-bottom: clamp(96px, 13vh, 220px); }
.page-hero.pm-hero, .page-hero--art.career-hero.career-hero--photo, .page-hero--art.about-hero.about-hero--photo {
  background-size: cover !important; background-position: 85% 55% !important; background-repeat: no-repeat !important; background-color: #0A1A6B;
}
.page-hero.pm-hero::before { background: linear-gradient(90deg, rgba(5, 14, 66, .94) 0%, rgba(8, 22, 100, .78) 40%, rgba(8, 22, 100, .25) 70%, rgba(8, 22, 100, 0) 100%) !important; }
@media (max-width: 900px) { .page-hero { padding-top: 64px; padding-bottom: 56px; } }
.page-hero.pm-hero::before { background: linear-gradient(90deg, rgba(5,14,66,.92) 0%, rgba(8,22,100,.7) 34%, rgba(8,22,100,.12) 58%, rgba(8,22,100,0) 100%) !important; }
/* big screens: the hero scene scales with the available hero height instead of a fixed pixel cap */
@media (min-width: 1500px) { .hero-panels .slide--ov .ov-scene { width: min(60vw, calc((100svh - var(--header-h) - 172px) * 1.36)); right: 3vw; } }

/* MRO page hero: the living-airfield hero reused from the home page */
.hero-slider.hero-panels.mro-air-hero { min-height: clamp(520px, calc(100svh - var(--header-h)), 1000px) !important; }
.mro-air-hero .slide { padding-top: clamp(2rem, 6vh, 4rem); }
@media (max-width: 980px) { .hero-slider.hero-panels.mro-air-hero { min-height: 0 !important; } }

/* =====================================================================
   Co-Innovation Services v3 (/co-innovation-services/ only), prefix .coinx-*
   Hero: navy band with violet glow + live HTML "Co-innovation board" demo
   (pure CSS loop, rests in its final state with reduced motion).
   Also: frameless Opportunity picture (.coinx-art) and crisp
   Services / Objectives cards (.coinx-card). Supersedes the .coin-* block.
   ===================================================================== */
.page-hero.coinx-hero {
  padding: 60px 0; overflow: hidden;
  background-image:
    radial-gradient(880px 520px at 79% 46%, rgba(123, 76, 240, .46), transparent 66%),
    radial-gradient(420px 260px at 99% 4%, rgba(25, 183, 232, .16), transparent 70%),
    radial-gradient(520px 320px at 6% 100%, rgba(25, 183, 232, .11), transparent 70%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #170B52 100%);
}
.page-hero.coinx-hero::before { display: none; }
.page-hero.coinx-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1.3px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at 72% 50%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 72% 50%, #000 0%, transparent 70%);
}
.coinx-hero .coinx-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.coinx-hero h1 { max-width: none; margin-bottom: 16px; }
.coinx-hero .coinx-copy p { max-width: 540px; margin-bottom: 24px; }
.coinx-grad { background: linear-gradient(90deg, #B79CFF 0%, #7FD8FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.coinx-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.coinx-facts b {
  font-size: .78rem; font-weight: 600; color: rgba(255, 255, 255, .92);
  padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06);
}
/* --- live board --- */
.coinx-board {
  --cx-v: #9B7BFF; --cx-s: #4CC9F5; --cx-g: #1AB56B;
  position: relative; padding: 16px 18px 14px; border-radius: 18px; color: #fff;
  background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 30px 70px -30px rgba(3, 6, 40, .9), inset 0 1px 0 rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .8125rem; line-height: 1.35;
}
.coinx-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; margin-bottom: 14px; }
.coinx-crumb { color: rgba(255, 255, 255, .6); font-weight: 500; white-space: nowrap; }
.coinx-crumb i { font-style: normal; margin: 0 5px; opacity: .6; }
.coinx-crumb b { color: #fff; font-weight: 600; }
.coinx-chips { display: flex; gap: 6px; }
.coinx-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; white-space: nowrap;
  font-size: .75rem; font-weight: 600; color: #fff; border: 1px solid transparent;
  animation: coinx-chip 14s linear infinite both;
}
.coinx-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.coinx-chip--a { background: rgba(76, 201, 245, .2); border-color: rgba(76, 201, 245, .6); color: #A5E6FF; --cx-on: 24%; animation-name: coinx-chip-a; }
.coinx-chip--b { background: rgba(155, 123, 255, .24); border-color: rgba(155, 123, 255, .7); color: #D3C5FF; animation-name: coinx-chip-b; }
.coinx-chip--c { background: rgba(26, 181, 107, .24); border-color: rgba(46, 204, 130, .75); color: #8FF0C0; animation-name: coinx-chip-c; }

.coinx-dock { display: grid; grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr); align-items: stretch; }
.coinx-req, .coinx-sol { position: relative; border-radius: 12px; padding: 12px 14px 13px; display: flex; flex-direction: column; gap: 4px; }
.coinx-req { background: rgba(8, 12, 60, .55); border: 1px dashed rgba(255, 255, 255, .38); }
.coinx-sol {
  background: linear-gradient(150deg, rgba(123, 76, 240, .62), rgba(42, 68, 212, .5));
  border: 1px solid rgba(190, 170, 255, .85);
  box-shadow: 0 14px 30px -16px rgba(123, 76, 240, .9), inset 0 1px 0 rgba(255, 255, 255, .22);
  animation: coinx-sol 14s cubic-bezier(.2, .8, .2, 1) infinite both;
}
.coinx-dock small { font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.coinx-sol small { color: #D9CEFF; }
.coinx-dock strong { font-family: var(--font-display, inherit); font-size: .9375rem; font-weight: 600; color: #fff; line-height: 1.25; }
.coinx-dock em { font-style: normal; font-size: .75rem; color: rgba(255, 255, 255, .72); }
.coinx-link { position: relative; align-self: center; height: 22px; margin: 0 7px; }
.coinx-link::before { content: ""; position: absolute; left: 0; right: 7px; top: 10px; height: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, .3), var(--cx-v)); }
.coinx-link::after { content: ""; position: absolute; right: 0; top: 5px; width: 10px; height: 10px; border-top: 2px solid var(--cx-v); border-right: 2px solid var(--cx-v); transform: rotate(45deg); transform-origin: center; margin-top: 0; }
.coinx-link i { position: absolute; top: 6px; left: calc(100% - 14px); width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(155, 123, 255, .45), 0 0 14px 2px rgba(127, 216, 255, .9); opacity: 0; animation: coinx-pulse 14s ease-in-out infinite both; }
.coinx-cert {
  position: absolute; right: 10px; top: -13px; display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px 4px 5px; border-radius: 999px; background: #fff; color: #041537;
  font-size: .75rem; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 18px -8px rgba(3, 6, 40, .8);
  animation: coinx-pop-cert 14s cubic-bezier(.3, 1.4, .5, 1) infinite both;
}
.coinx-tick { flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #1AB56B; }
.coinx-tick svg { display: block; width: 11px; height: 11px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.coinx-sprints { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); }
.coinx-sprint { border-radius: 12px; padding: 10px 12px 0; background: rgba(8, 12, 60, .5); border: 1px solid rgba(255, 255, 255, .14); overflow: hidden; }
.coinx-sh { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.coinx-sh b { font-size: .875rem; font-weight: 600; color: #fff; white-space: nowrap; }
.coinx-sprint small { display: block; font-size: .75rem; color: rgba(255, 255, 255, .68); }
.coinx-sprint .coinx-tick { animation: coinx-pop-1 14s cubic-bezier(.3, 1.4, .5, 1) infinite both; }
.coinx-sprint--2 .coinx-tick { animation-name: coinx-pop-2; }
.coinx-sprint--3 .coinx-tick { animation-name: coinx-pop-3; }
.coinx-val { height: 64px; margin-top: 8px; display: flex; align-items: flex-end; }
.coinx-val i { display: block; width: 100%; border-radius: 7px 7px 0 0; transform-origin: 50% 100%; animation: coinx-grow-1 14s cubic-bezier(.3, .9, .3, 1) infinite both; }
.coinx-sprint--1 .coinx-val i { height: 36%; background: linear-gradient(180deg, #5BD3FA, #19A6DA); }
.coinx-sprint--2 .coinx-val i { height: 66%; background: linear-gradient(180deg, #A98BFF, #7B4CF0); animation-name: coinx-grow-2; }
.coinx-sprint--3 .coinx-val i { height: 100%; background: linear-gradient(180deg, #3DD68F, #17A862); animation-name: coinx-grow-3; }
.coinx-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: .75rem; color: rgba(255, 255, 255, .6); }

@keyframes coinx-pulse { 0%, 6% { left: -2px; opacity: 0; } 9% { left: -2px; opacity: 1; } 19% { left: calc(100% - 14px); opacity: 1; } 22%, 100% { left: calc(100% - 14px); opacity: 0; } }
@keyframes coinx-sol { 0%, 17% { opacity: .3; transform: translateX(14px) scale(.97); } 23%, 95% { opacity: 1; transform: none; } 100% { opacity: .3; transform: translateX(14px) scale(.97); } }
@keyframes coinx-chip-a { 0%, 23% { opacity: .32; filter: grayscale(1); } 26%, 95% { opacity: 1; filter: none; } 100% { opacity: .32; filter: grayscale(1); } }
@keyframes coinx-chip-b { 0%, 50% { opacity: .32; filter: grayscale(1); } 53%, 95% { opacity: 1; filter: none; } 100% { opacity: .32; filter: grayscale(1); } }
@keyframes coinx-chip-c { 0%, 66% { opacity: .32; filter: grayscale(1); } 69%, 95% { opacity: 1; filter: none; } 100% { opacity: .32; filter: grayscale(1); } }
@keyframes coinx-grow-1 { 0%, 24% { transform: scaleY(0); } 35%, 95% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes coinx-grow-2 { 0%, 38% { transform: scaleY(0); } 49%, 95% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes coinx-grow-3 { 0%, 52% { transform: scaleY(0); } 63%, 95% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes coinx-pop-1 { 0%, 35% { transform: scale(0); } 38%, 95% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes coinx-pop-2 { 0%, 49% { transform: scale(0); } 52%, 95% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes coinx-pop-3 { 0%, 63% { transform: scale(0); } 66%, 95% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes coinx-pop-cert { 0%, 71% { transform: scale(0); } 75%, 95% { transform: scale(1); } 100% { transform: scale(0); } }
@media (prefers-reduced-motion: reduce) {
  .coinx-board *, .coinx-board *::before, .coinx-board *::after { animation: none !important; }
}
@media (max-width: 1000px) {
  .page-hero.coinx-hero { padding: 48px 0; }
  .coinx-hero .coinx-wrap { grid-template-columns: 1fr; gap: 32px; }
  .coinx-hero .coinx-demo { max-width: 640px; }
}
@media (max-width: 720px) {
  .page-hero.coinx-hero { padding: 36px 0 32px; }
  .coinx-hero .coinx-wrap { gap: 26px; }
  .coinx-facts { margin-top: 20px; }
  .coinx-board { padding: 14px 12px 12px; border-radius: 16px; }
  .coinx-dock { grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); }
  .coinx-link { margin: 0 4px; }
  .coinx-req, .coinx-sol { padding: 11px 10px 12px; }
  .coinx-dock strong { font-size: .875rem; }
  .coinx-sprints { gap: 7px; }
  .coinx-sprint { padding: 9px 9px 0; }
  .coinx-val { height: 52px; }
  .coinx-foot span:last-child { display: none; }
}
/* --- Opportunity picture: frameless, no card / radius / shadow around it --- */
.split-media.coinx-art { max-width: 640px; margin: 0 auto; width: 100%; }
.split-media.coinx-art img { display: block; width: 100%; height: auto; border-radius: 0; box-shadow: none; background: none; }
@media (min-width: 961px) { .split:has(> .split-media.coinx-art) { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 48px; } }
@media (max-width: 560px) { .split-media.coinx-art { max-width: 400px; } }

/* --- Services & Objectives: crisp cards (1px border, tight shadow, colour header) --- */
.alt-bg.coinx-so { background: #F3F5FC; }
.split.coinx-cards { align-items: stretch; gap: 28px; }
.coinx-card {
  position: relative; overflow: hidden; background: #fff; border-radius: 16px;
  border: 1px solid #CBD3E8; box-shadow: 0 3px 0 rgba(11, 42, 107, .07), 0 14px 28px -20px rgba(11, 42, 107, .35);
  display: flex; flex-direction: column;
}
.coinx-card-head { display: flex; align-items: center; gap: 16px; padding: 22px 30px; color: #fff; }
.coinx-card--services .coinx-card-head { background: linear-gradient(100deg, #2A44D4 0%, #1F8FE0 100%); }
.coinx-card--objectives .coinx-card-head { background: linear-gradient(100deg, #5B36DB 0%, #7B4CF0 55%, #14A89A 130%); }
.coinx-card-head h3 { margin: 0; font-size: 1.5rem; color: #fff; }
.coinx-card-head .coinx-ico { flex: none; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: #fff; }
.coinx-card--services .coinx-ico { color: #2A44D4; }
.coinx-card--objectives .coinx-ico { color: #6A3FE6; }
.coinx-card-head .coinx-count { margin-left: auto; font-size: .8125rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .14); white-space: nowrap; }
.coinx-card-body { padding: 24px 30px 14px; flex: 1; }
.split .coinx-card-body > p { color: #3A4668; margin-bottom: 4px; }
.split .coinx-card ul { margin: 14px 0 0; }
.split .coinx-card ul li { color: #041537; margin: 0; padding: 12px 0 12px 34px; border-top: 1px solid #E3E8F4; }
.split .coinx-card ul li::before { top: 14px; background-color: #1AB56B; }
@media (max-width: 720px) {
  .coinx-card-head { padding: 18px 20px; gap: 12px; }
  .coinx-card-head h3 { font-size: 1.3rem; }
  .coinx-card-body { padding: 20px 20px 10px; }
}
/* coinx tuning: badge sits on the module's lower edge; roomier board on desktop */
.coinx-sol .coinx-cert { top: auto; bottom: -13px; right: 12px; }
@media (min-width: 721px) {
  .coinx-board { padding: 18px 20px 16px; }
  .coinx-req, .coinx-sol { padding: 15px 16px 18px; gap: 5px; }
  .coinx-dock strong { font-size: 1rem; }
  .coinx-dock em { font-size: .8125rem; }
  .coinx-sprints { margin-top: 20px; padding-top: 16px; }
  .coinx-val { height: 92px; }
}
@media (max-width: 720px) { .coinx-sprints { margin-top: 20px; } .coinx-val { height: 44px; } }

/* ==========================================================================
   SAP services page (/sap/) v2: live HTML roadmap hero (.sapx-*) + rebuilt split art.
   Hero follows the AI Consultancy hero's build (navy, glow, glass demo) with its own
   sky/cobalt identity. Scoped to .sapx-* ; touches no other page.
   ========================================================================== */
.page-hero.sapx-hero {
  overflow: hidden;
  background-image:
    radial-gradient(46% 62% at 74% 40%, rgba(25, 183, 232, .30), transparent 70%),
    radial-gradient(52% 70% at 100% 100%, rgba(42, 68, 212, .62), transparent 72%),
    radial-gradient(30% 42% at 4% 104%, rgba(245, 165, 36, .11), transparent 72%),
    linear-gradient(135deg, #030D24 0%, #041537 52%, #062463 100%);
}
.page-hero.sapx-hero::before { display: none; }
.page-hero.sapx-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 3rem 3rem;
  -webkit-mask-image: radial-gradient(ellipse 58% 80% at 74% 46%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 58% 80% at 74% 46%, #000 0%, transparent 72%);
}
.sapx-hero > .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 44px; align-items: center; }
.sapx-hero .sapx-copy { min-width: 0; }
.sapx-hero .sapx-copy .eyebrow { color: #7FD8FF; }
.sapx-hero .sapx-copy h1 { max-width: none; }
.sapx-hero .sapx-copy p { max-width: 34rem; margin-bottom: 24px; }
.sapx-grad { background: linear-gradient(90deg, #8FB4FF 0%, #38D0FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sapx-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sapx-connects { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; font-size: .74rem; }
.sapx-connects span { color: rgba(255, 255, 255, .6); margin-right: 4px; letter-spacing: .04em; }
.sapx-connects b { font-weight: 600; color: rgba(255, 255, 255, .92); padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); }

.sapx-demo { position: relative; min-width: 0; }
.sapx-card { color: #fff; transform: perspective(1700px) rotateY(-5deg) rotateX(2deg); transform-origin: 30% 50%; }
.sapx-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 2px .8rem; font-size: .78rem; color: rgba(255, 255, 255, .62); }
.sapx-crumb i { font-style: normal; margin: 0 .3em; }
.sapx-crumb b { color: #fff; font-weight: 600; }
.sapx-status { flex: none; display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .75rem; border-radius: 999px; font-size: .72rem; font-weight: 700; white-space: nowrap; background: rgba(25, 183, 232, .17); color: #86DCFF; transition: background .3s, color .3s; }
.sapx-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: sapx-blink 1s ease-in-out infinite; }
.sapx-status.is-live { background: #1AB56B; color: #fff; box-shadow: 0 0 18px rgba(26, 181, 107, .55); }
.sapx-status.is-live::before { animation: none; }

.sapx-panel {
  padding: 1.15rem 1.25rem 1.3rem; border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.sapx-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sapx-title { font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; letter-spacing: -.01em; }
.sapx-pct { flex: none; font-size: .8rem; font-weight: 700; color: #86DCFF; font-variant-numeric: tabular-nums; }
.sapx-track { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 2.9rem; }
.sapx-rail { position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: calc(1.2rem - 2px); height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .17); }
.sapx-fill { display: block; width: 100%; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #4C6BFF 0%, #19B7E8 55%, #1AB56B 100%); background-size: 100% 100%; box-shadow: 0 0 12px rgba(25, 183, 232, .75); transition: width .9s cubic-bezier(.4, 0, .2, 1); }
.sapx-ph { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; min-width: 0; }
.sapx-disc { position: relative; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #0A1F52; border: 2px solid rgba(255, 255, 255, .32); transition: background .35s, border-color .35s, box-shadow .35s; }
.sapx-disc i { font-style: normal; font-size: .84rem; font-weight: 700; color: rgba(255, 255, 255, .78); transition: opacity .2s; }
.sapx-disc svg { position: absolute; width: 1.2rem; height: 1.2rem; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.3); transition: opacity .25s, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.sapx-ph b { font-size: .84rem; font-weight: 600; color: rgba(255, 255, 255, .72); transition: color .3s; white-space: nowrap; }
.sapx-ph small { font-size: .72rem; color: rgba(255, 255, 255, .58); white-space: nowrap; }
.sapx-ph.is-active .sapx-disc { border-color: #4DCBF7; box-shadow: 0 0 0 4px rgba(25, 183, 232, .22), 0 0 20px rgba(25, 183, 232, .85); animation: sapx-pulse 1.3s ease-in-out infinite; }
.sapx-ph.is-active .sapx-disc i { color: #fff; }
.sapx-ph.is-active b, .sapx-ph.is-done b { color: #fff; }
.sapx-ph.is-done .sapx-disc { background: #1AB56B; border-color: #1AB56B; box-shadow: 0 0 0 4px rgba(26, 181, 107, .22); }
.sapx-ph.is-done .sapx-disc i { opacity: 0; }
.sapx-ph.is-done .sapx-disc svg { opacity: 1; transform: none; }
.sapx-flag { position: absolute; left: 50%; bottom: calc(100% - .1rem); width: 1.9rem; height: 1.9rem; margin-left: -.3rem; transform: scale(0) rotate(-18deg); transform-origin: 16% 100%; transition: transform .5s cubic-bezier(.3, 1.7, .5, 1); filter: drop-shadow(0 0 8px rgba(245, 165, 36, .7)); }
.sapx-flag svg { display: block; width: 100%; height: 100%; }
.sapx-pole { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.sapx-pennant { fill: #F5A524; }
.sapx-ph.is-done .sapx-flag { transform: none; }
.sapx-ph small.sapx-hyper { padding: .12rem .55rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); transition: background .3s, color .3s, border-color .3s; }
.sapx-ph.is-done small.sapx-hyper { background: rgba(245, 165, 36, .18); border-color: rgba(245, 165, 36, .6); color: #FFC766; font-weight: 700; }

.sapx-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: .75rem; }
.sapx-tile { display: flex; flex-direction: column; gap: .7rem; min-width: 0; padding: .85rem .9rem; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .17); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.sapx-tile-top { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.sapx-ico { flex: none; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 9px; background: rgba(25, 183, 232, .18); color: #7FD8FF; }
.sapx-ico--green { background: rgba(26, 181, 107, .2); color: #5BE3A4; }
.sapx-ico--blue { background: rgba(110, 135, 255, .22); color: #A9B9FF; }
.sapx-ico svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sapx-tile strong { display: block; font-size: .88rem; font-weight: 600; line-height: 1.25; white-space: nowrap; }
.sapx-tile em { display: block; font-style: normal; font-size: .72rem; line-height: 1.3; color: rgba(255, 255, 255, .62); white-space: nowrap; }
.sapx-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; padding: .26rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 700; white-space: nowrap; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .78); }
.sapx-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sapx-chip.is-on { background: rgba(25, 183, 232, .18); color: #86DCFF; }
.sapx-chip.is-ok { background: rgba(26, 181, 107, .2); color: #5BE3A4; }
.sapx-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; padding-top: .9rem; }
.sapx-foot span { padding: .3rem .8rem; border-radius: 999px; font-size: .72rem; color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .17); }
@keyframes sapx-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(25, 183, 232, .22), 0 0 20px rgba(25, 183, 232, .85); } 50% { box-shadow: 0 0 0 7px rgba(25, 183, 232, .10), 0 0 26px rgba(25, 183, 232, .55); } }
@keyframes sapx-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (max-width: 980px) {
  .sapx-hero > .container { grid-template-columns: 1fr; gap: 34px; }
  .sapx-card { transform: none; }
}
@media (max-width: 560px) {
  .sapx-panel { padding: 1rem .6rem 1.05rem; }
  .sapx-head { padding: 0 .4rem; }
  .sapx-title { font-size: .95rem; }
  .sapx-crumb i, .sapx-crumb b { display: none; }
  .sapx-track { margin-top: 2.6rem; }
  .sapx-disc { width: 2.1rem; height: 2.1rem; }
  .sapx-rail { top: calc(1.05rem - 2px); }
  .sapx-ph b { font-size: .72rem; }
  .sapx-ph small { display: none; }
  .sapx-tiles { grid-template-columns: 1fr; gap: .55rem; }
  .sapx-tile { flex-direction: row; align-items: center; justify-content: space-between; padding: .7rem .8rem; }
  .sapx-chip { align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .sapx-fill, .sapx-disc, .sapx-disc svg, .sapx-flag, .sapx-status, .sapx-ph b { transition: none; }
  .sapx-ph.is-active .sapx-disc, .sapx-status::before { animation: none; }
}
/* split art: three rebuilt frameless pictures (sap-roadmap / sap-tickets / sap-abap) */
.split-media.art-img.sap-art img { display: block; width: 100%; height: auto; border-radius: 0; box-shadow: none; background: none; }
@media (min-width: 721px) { .coinx-board .coinx-val { height: 78px; } }
@media (max-width: 560px) {
  .sapx-title { font-size: .84rem; white-space: nowrap; }
  .sapx-pct { font-size: .72rem; }
}

/* /sap/ hero: flat, square-on card (no 3D tilt), equal-height tiles, everything on one grid */
.sapx-card { transform: none !important; }
.sapx-tiles { align-items: stretch; }
.sapx-tile { height: 100%; justify-content: space-between; }
.sapx-demo { max-width: 640px; margin-left: auto; }
.sapx-foot { justify-content: flex-start; padding-left: 2px; }

/* Career "Why join": bold coloured icon tiles (brand hues), white glyphs, soft glow ring */
.career-why .feature { border-top: 0 !important; padding-top: 28px; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.career-why .feature::after { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: var(--cw, #2A44D4); opacity: .08; pointer-events: none; }
.career-why .feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(27, 42, 122, .14); }
.career-why .career-ico { width: 58px !important; height: 58px !important; border-radius: 16px !important; border: 0 !important; margin-bottom: 20px !important; color: #fff !important;
  background: linear-gradient(135deg, var(--cw1, #4C6BFF), var(--cw, #2A44D4)) !important; box-shadow: 0 12px 26px var(--cws, rgba(42,68,212,.32)), inset 0 1px 0 rgba(255,255,255,.35) !important; }
.career-why .career-ico svg { width: 28px; height: 28px; stroke-width: 1.8; filter: drop-shadow(0 1px 1px rgba(0,0,0,.18)); }
.career-why .feature:nth-child(1) { --cw1: #4FD2F7; --cw: #19B7E8; --cws: rgba(25,183,232,.34); }
.career-why .feature:nth-child(2) { --cw1: #4C6BFF; --cw: #2A44D4; --cws: rgba(42,68,212,.34); }
.career-why .feature:nth-child(3) { --cw1: #3FD08A; --cw: #1AB56B; --cws: rgba(26,181,107,.34); }
.career-why .feature:nth-child(4) { --cw1: #9B74FF; --cw: #7B4CF0; --cws: rgba(123,76,240,.34); }

/* Hero scenes: no 3D tilt anywhere (crooked edges read as a bug) */
.cx-canvas { transform: none !important; }

/* /ai/ "What it makes": picture and copy share the same top and bottom edges on every tab */
.ai-cap { align-items: stretch; min-height: 340px; }
.ai-cap > .mock { display: flex; flex-direction: column; height: 100%; }
.ai-cap > .mock .mock-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.ai-cap > .mock .mock-dash .mock-charts { flex: 1; min-height: 0; }
.ai-cap > .mock .mock-dash .mock-chart { height: auto; min-height: 110px; }
.ai-cap > .mock .mock-ledger .led-row { flex: 1; }
.ai-cap-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.ai-cap-copy .solpoints { margin-bottom: 24px; }
.ai-cap > .mock .led-row { display: grid; grid-template-columns: 8.5rem 1fr auto; align-items: center; gap: 12px; }
.ai-cap > .mock .led-row > span:nth-child(2) { text-align: left; }

/* === /ai/ v3 START (aiv-*): live signal-field hero, product-grade tool scenes and artefact shots. Scoped to /ai/ only. === */
.aiv-hero, .aiv-shot { --ai-ink: #0B1B3F; --ai-mut: #5A6685; --ai-line: #E1E6F2; --ai-hair: #EDF0F7; --ai-soft: #F5F7FC; --ai-acc: #2A44D4; --ai-sky: #19B7E8; --ai-vio: #7B4CF0; --ai-grn: #1AB56B; --ai-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; }

/* ---- hero surface */
.page-hero.aiv-hero { padding: 4rem 0 4.25rem; overflow: hidden; isolation: isolate; background-color: #0B1670;
  background-image:
    radial-gradient(70% 26% at 62% 40%, rgba(120, 205, 255, .30), transparent 72%),
    radial-gradient(52% 78% at 84% 8%, rgba(70, 160, 255, .55), transparent 66%),
    radial-gradient(46% 70% at 100% 100%, rgba(150, 90, 255, .80), transparent 70%),
    radial-gradient(42% 64% at 0% 100%, rgba(25, 183, 232, .34), transparent 70%),
    linear-gradient(118deg, #08125C 0%, #1223A0 38%, #2A36D4 70%, #5E38E6 100%); }
.aiv-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.aiv-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
.aiv-bg canvas.on { opacity: 1; }
/* keeps the copy readable over the live scene; the base ::before photo scrim is repurposed */
.page-hero.aiv-hero::before { z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(6, 13, 76, .46) 0%, rgba(6, 13, 76, .28) 30%, rgba(6, 13, 76, 0) 54%); }
.aiv-hero > .container { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.aiv-hero .hero-copy, .aiv-hero .hero-demo { min-width: 0; }
.aiv-hero .eyebrow { color: #9FE3FF; margin-bottom: 1.125rem; }
.aiv-hero h1 { max-width: none; margin-bottom: 1.25rem; font-size: clamp(2.3rem, 4.2vw, 3.35rem); line-height: 1.06; }
.aiv-grad { display: block; background: linear-gradient(90deg, #8FDCFF 0%, #B9C4FF 55%, #D2B8FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.aiv-hero .hero-copy > p { text-shadow: 0 1px .875rem rgba(6, 13, 76, .7); max-width: 31rem; margin-bottom: 1.75rem; font-size: 1.05rem; line-height: 1.6; color: rgba(255, 255, 255, .86); }
.aiv-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.aiv-hero .btn:not(.btn--ghost) { background: #fff; color: #0B1B6B; }
.aiv-hero .btn:not(.btn--ghost):hover { background: #EAF0FF; }
.aiv-points { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 2.25rem 0 0; padding: 1.125rem 0 0; border-top: 1px solid rgba(255, 255, 255, .22); max-width: 31rem; }
.aiv-points li { padding: 0 .875rem; border-left: 1px solid rgba(255, 255, 255, .22); }
.aiv-points li:first-child { padding-left: 0; border-left: 0; }
.aiv-points b { display: block; font-family: var(--font-display); font-size: .8125rem; letter-spacing: .1em; color: #fff; }
.aiv-points span { display: block; margin-top: .1875rem; font-size: .8125rem; line-height: 1.35; color: rgba(255, 255, 255, .74); }

/* ---- product window */
.aiv-hero .hero-demo { position: relative; }
.aiv-hero .hero-demo::before { content: ""; position: absolute; inset: 6% -3% -4% 3%; z-index: -1; border-radius: 2.5rem; background: linear-gradient(120deg, rgba(60, 190, 255, .55), rgba(150, 100, 255, .6)); filter: blur(2.875rem); opacity: .7; pointer-events: none; }
.aiv-card { display: flex; flex-direction: column; background: #fff; color: var(--ai-ink); border-radius: .625rem; overflow: hidden; font-family: var(--font-body); font-size: .8125rem; line-height: 1.4; text-align: left;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 2.75rem 5rem -1.5rem rgba(3, 6, 60, .65), 0 .875rem 1.875rem rgba(3, 6, 60, .28); }
.aiv-hero .aiv-card p { max-width: none; margin: 0; font-size: inherit; color: inherit; }
.aiv-card ul, .aiv-card ol { list-style: none; margin: 0; padding: 0; }
.aiv-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--ai-soft); border-bottom: 1px solid var(--ai-line); }
.aiv-tabs button { position: relative; display: block; padding: .6875rem 1rem .75rem; border: 0; border-left: 1px solid var(--ai-line); border-radius: 0; background: none; text-align: left; cursor: pointer; font-family: var(--font-body); color: var(--ai-mut); min-width: 0; transition: background .2s; }
.aiv-tabs button:first-child { border-left: 0; }
.aiv-tabs button:hover { background: #EEF1FA; }
.aiv-tabs button:focus-visible { outline: 2px solid var(--ai-acc); outline-offset: -2px; }
.aiv-tabs b { display: block; font-family: var(--font-display); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; color: #3A4767; }
.aiv-tabs span { display: block; margin-top: 2px; font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aiv-tabs i { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ai-acc); transform: scaleX(0); transform-origin: left center; }
.aiv-tabs button.on { background: #fff; }
.aiv-tabs button.on b { color: var(--ai-acc); }
.aiv-tabs button.on span { color: var(--ai-ink); }
.aiv-tabs button.on i { animation: aiv-prog 10s linear both; }
@keyframes aiv-prog { to { transform: scaleX(1); } }

.aiv-stage { display: grid; padding: 1rem; }
.aiv-scene { grid-area: 1 / 1; display: flex; flex-direction: column; gap: .625rem; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; }
.aiv-scene.on { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.aiv-scene .aiv-a { opacity: 0; }
.aiv-scene.on .aiv-a { animation: aiv-in .45s cubic-bezier(.2, .7, .2, 1) var(--d, 0s) both; }
@keyframes aiv-in { from { opacity: 0; transform: translateY(.375rem); } to { opacity: 1; transform: none; } }
@keyframes aiv-fade { from { opacity: 0; } to { opacity: 1; } }

.aiv-tick { flex: none; display: inline-block; width: 1rem; height: 1rem; border-radius: 50%; background: #1AB56B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.4 8.3l2.4 2.4 4.8-5.2' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1rem 1rem no-repeat; vertical-align: -.1875rem; }
.aiv-dot { flex: none; display: inline-block; width: .5rem; height: .5rem; margin-right: .4375rem; border-radius: 50%; background: #2A44D4; }
.aiv-dot--off { background: #B4BCD2; }
.aiv-dot--warn { background: #D23B47; }

/* prompt */
.aiv-ask { display: flex; align-items: center; gap: .625rem; min-height: 2.75rem; padding: .3125rem .375rem .3125rem .875rem; border: 1px solid #C6CFEE; border-radius: .5rem; background: #fff; box-shadow: 0 0 0 .1875rem rgba(42, 68, 212, .09); }
.aiv-ask svg { flex: none; width: .9375rem; height: .9375rem; fill: var(--ai-vio); }
.aiv-hero .aiv-ask p { flex: 1; min-width: 0; font-size: .875rem; color: var(--ai-ink); }
.aiv-ask p span { display: inline-block; max-width: 0; overflow: hidden; white-space: nowrap; vertical-align: bottom; border-right: 1.5px solid transparent; }
.aiv-scene.on .aiv-ask p span { animation: aiv-type 1.5s steps(42) .3s both, aiv-caret 1.9s step-end 0s both; }
@keyframes aiv-type { from { max-width: 0; } to { max-width: 100%; } }
@keyframes aiv-caret { 0% { border-right-color: #2A44D4; } 100% { border-right-color: transparent; } }
.aiv-ask em { flex: none; display: grid; place-items: center; height: 2rem; padding: 0 .875rem; border-radius: .375rem; background: var(--ai-acc); color: #fff; font: 600 .8125rem var(--font-display); font-style: normal; }

.aiv-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 1.25rem; }
.aiv-head b { font-family: var(--font-display); font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; }
.aiv-src { display: inline-flex; align-items: center; gap: .4375rem; font-size: .75rem; color: var(--ai-mut); white-space: nowrap; }
.aiv-src i { width: .4375rem; height: .4375rem; border-radius: 50%; background: var(--ai-grn); box-shadow: 0 0 0 .1875rem rgba(26, 181, 107, .16); }

/* KPI tiles (hero + artefact shots) */
.aiv-kpis, .aiv-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.aiv-kpis > div, .aiv-sum > div { min-width: 0; padding: .5625rem .6875rem .5rem; border: 1px solid var(--ai-line); border-radius: .375rem; background: #fff; }
.aiv-kpis small, .aiv-sum small { display: block; font-size: .75rem; color: var(--ai-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aiv-kpis b, .aiv-sum b { display: block; margin-top: 1px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--ai-ink); white-space: nowrap; }
.aiv-kpis b u { margin-left: .25rem; font-family: var(--font-body); font-size: .75rem; font-weight: 500; letter-spacing: 0; text-decoration: none; color: var(--ai-mut); }
.aiv-kpis em { display: block; font-size: .75rem; font-style: normal; color: var(--ai-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aiv-kpis em.good { color: #0B8A52; font-weight: 500; }

/* charts */
.aiv-charts { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .74fr); gap: .5rem; }
.aiv-ch { min-width: 0; display: flex; flex-direction: column; padding: .625rem .6875rem .5rem; border: 1px solid var(--ai-line); border-radius: .375rem; background: #fff; }
.aiv-ch h5 { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: 0 0 .625rem; font: 600 .75rem/1.3 var(--font-body); letter-spacing: 0; color: var(--ai-ink); white-space: nowrap; }
.aiv-leg { display: inline-flex; align-items: center; font-weight: 400; color: var(--ai-mut); }
.aiv-leg i { width: .5rem; height: .5rem; margin: 0 .3125rem 0 .625rem; border-radius: 2px; background: var(--ai-acc); }
.aiv-leg i.c2 { background: #A9B8EE; }
.aiv-leg i.t { width: .75rem; height: 0; border-radius: 0; background: none; border-top: 1.5px dashed #1AB56B; }
.aiv-plot { flex: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: minmax(6.5rem, 1fr) auto; column-gap: .4375rem; row-gap: .3125rem; }
.aiv-y { display: flex; flex-direction: column; justify-content: space-between; margin: -.375rem 0; text-align: right; font-size: .75rem; line-height: .75rem; color: var(--ai-mut); font-variant-numeric: tabular-nums; }
.aiv-area { position: relative; min-width: 0; border-bottom: 1px solid #C3CBDF; background: linear-gradient(to bottom, var(--ai-hair) 1px, transparent 1px) 0 0 / 100% 50%; }
.aiv-x { grid-column: 2; display: flex; font-size: .75rem; line-height: .875rem; color: var(--ai-mut); font-variant-numeric: tabular-nums; }
.aiv-x span { flex: 1; min-width: 0; text-align: center; }
.aiv-bars, .aiv-stack { display: flex; align-items: flex-end; gap: .625rem; padding: 0 .375rem; }
.aiv-bars + .aiv-x, .aiv-stack + .aiv-x { gap: .625rem; padding: 0 .375rem; }
.aiv-bars i { flex: 1; height: var(--h); border-radius: 2px 2px 0 0; background: var(--ai-acc); transform-origin: center bottom; }
.aiv-scene.on .aiv-bars i { animation: aiv-grow .65s cubic-bezier(.2, .8, .2, 1) var(--d, 0s) both; }
@keyframes aiv-grow { from { transform: scaleY(0); } to { transform: none; } }
.aiv-stack i { flex: 1; height: calc((var(--a) + var(--b)) * 1%); border-radius: 2px 2px 0 0; background: linear-gradient(to top, var(--ai-acc) calc(var(--a) / (var(--a) + var(--b)) * 100%), #A9B8EE 0); }
.aiv-area svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.aiv-area .ln { fill: none; stroke: var(--ai-acc); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.aiv-area .fill { fill: rgba(42, 68, 212, .09); stroke: none; }
.aiv-area .tgt { fill: none; stroke: #1AB56B; stroke-width: 1.5; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.aiv-scene.on .aiv-area svg { animation: aiv-wipe 1s cubic-bezier(.4, 0, .2, 1) 3.7s both; }
@keyframes aiv-wipe { from { clip-path: inset(-.375rem 100% -.375rem -.375rem); } to { clip-path: inset(-.375rem -.375rem -.375rem -.375rem); } }
.aiv-x.pts { justify-content: space-between; }
.aiv-x.pts span { flex: 0 0 0; display: flex; justify-content: center; overflow: visible; }
.aiv-pt { position: absolute; right: -.2812rem; top: calc(59% - .2812rem); width: .5625rem; height: .5625rem; border-radius: 50%; background: #fff; border: 2px solid var(--ai-acc); opacity: 0; }
.aiv-scene.on .aiv-pt { animation: aiv-fade .3s 4.6s both; }
.aiv-ch--donut { align-items: stretch; }
.aiv-donut { position: relative; width: 4.875rem; height: 4.875rem; margin: 2px auto 0; }
.aiv-donut svg { width: 100%; height: 100%; display: block; }
.aiv-donut circle { fill: none; stroke-width: 5.5; }
.aiv-donut .bg { stroke: var(--ai-hair); }
.aiv-donut .s1 { stroke: var(--ai-acc); } .aiv-donut .s2 { stroke: var(--ai-sky); } .aiv-donut .s3 { stroke: var(--ai-vio); }
.aiv-donut b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 1rem; font-weight: 700; }
.aiv-scene.on .aiv-donut .s1 { animation: aiv-fade .35s 3.8s both; } .aiv-scene.on .aiv-donut .s2 { animation: aiv-fade .35s 4s both; } .aiv-scene.on .aiv-donut .s3 { animation: aiv-fade .35s 4.2s both; }
.aiv-ch--donut ul { margin-top: auto; padding-top: .5rem; }
.aiv-ch--donut li { display: flex; align-items: center; gap: .4375rem; font-size: .75rem; line-height: 1.1875rem; color: var(--ai-mut); }
.aiv-ch--donut li::before { content: ""; width: .5rem; height: .5rem; border-radius: 2px; background: var(--ai-acc); }
.aiv-ch--donut li.s2::before { background: var(--ai-sky); } .aiv-ch--donut li.s3::before { background: var(--ai-vio); }
.aiv-ch--donut li b { margin-left: auto; font-weight: 600; color: var(--ai-ink); font-variant-numeric: tabular-nums; }

/* status line */
.aiv-status { position: relative; height: 1.5rem; font-size: .8125rem; }
.aiv-status > span { position: absolute; inset: 0; display: flex; align-items: center; gap: .5rem; opacity: 0; white-space: nowrap; }
.aiv-status .aiv-st { color: var(--ai-mut); }
.aiv-status .aiv-st::before { content: ""; width: .75rem; height: .75rem; border-radius: 50%; border: 2px solid #D5DBEE; border-top-color: var(--ai-acc); animation: aiv-spin .7s linear infinite; }
@keyframes aiv-spin { to { transform: rotate(360deg); } }
.aiv-scene.on .aiv-status .aiv-st { animation: aiv-blip var(--l, 1s) linear var(--d, 0s) both; }
@keyframes aiv-blip { 0% { opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; } }
.aiv-status .fin { font-weight: 600; color: var(--ai-ink); }
.aiv-status .fin u { margin-left: auto; font-weight: 400; text-decoration: none; color: var(--ai-mut); overflow: hidden; text-overflow: ellipsis; }
.aiv-scene.on .aiv-status .fin { animation: aiv-in .45s var(--d, 0s) both; }

/* MRO: read, normalise, task list, approve */
.aiv-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: center; height: 1.625rem; }
.aiv-card .aiv-steps li { display: flex; align-items: center; gap: .5rem; min-width: 0; font-weight: 600; color: var(--ai-mut); white-space: nowrap; }
.aiv-steps li::after { content: ""; flex: 1; height: 1px; margin: 0 .625rem 0 .25rem; background: #CDD4E6; }
.aiv-steps li:last-child::after { display: none; }
.aiv-steps i { flex: none; display: grid; place-items: center; width: 1.375rem; height: 1.375rem; border-radius: 50%; border: 1.5px solid #C3CBDF; background: #fff; font-size: .75rem; font-style: normal; font-weight: 600; color: var(--ai-mut); }
.aiv-scene.on .aiv-steps li { animation: aiv-step .3s var(--d, 0s) both; }
.aiv-scene.on .aiv-steps li i { animation: aiv-stepi .3s var(--d, 0s) both; }
.aiv-scene.on .aiv-steps li:last-child i { animation-name: aiv-stepw; }
@keyframes aiv-step { to { color: #0B1B3F; } }
@keyframes aiv-stepi { to { background: #2A44D4; border-color: #2A44D4; color: #fff; } }
@keyframes aiv-stepw { to { background: #EEF2FF; border-color: #2A44D4; color: #2A44D4; } }
.aiv-mro-grid { flex: 1; display: grid; grid-template-columns: minmax(0, .64fr) minmax(0, 1fr); gap: .625rem; }
.aiv-doc { position: relative; overflow: hidden; padding: .75rem .8125rem .625rem; border: 1px solid var(--ai-line); border-radius: .375rem; background: #FBFCFE; font-size: .75rem; line-height: 1.6; color: #36435F; }
.aiv-doc-h { padding-bottom: .5rem; margin-bottom: .5625rem; border-bottom: 1.5px solid var(--ai-ink); line-height: 1.35; }
.aiv-doc-h b { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ai-ink); }
.aiv-doc-h span { color: var(--ai-mut); }
.aiv-doc h6 { margin: 0 0 .4375rem; font: 600 .8125rem/1.35 var(--font-body); letter-spacing: 0; color: var(--ai-ink); }
.aiv-hero .aiv-doc p { margin-bottom: .4375rem; }
.aiv-doc mark { margin: 0 -2px; padding: 1px 2px; border-radius: 2px; background: transparent; color: inherit; box-shadow: inset 0 -1.5px 0 transparent; }
.aiv-scene.on .aiv-doc mark { animation: aiv-mark .35s var(--d, 0s) both; }
@keyframes aiv-mark { to { background: rgba(42, 68, 212, .13); color: #0B1B3F; box-shadow: inset 0 -1.5px 0 #2A44D4; } }
.aiv-scan { position: absolute; left: 0; right: 0; top: -2.5rem; height: 2.5rem; background: linear-gradient(to bottom, rgba(25, 183, 232, 0), rgba(25, 183, 232, .16)); border-bottom: 1.5px solid var(--ai-sky); opacity: 0; pointer-events: none; }
.aiv-scene.on .aiv-scan { animation: aiv-scan 1.8s cubic-bezier(.4, 0, .6, 1) .5s both; }
@keyframes aiv-scan { 0% { top: -2.5rem; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.aiv-mro-right { display: flex; flex-direction: column; gap: .625rem; min-width: 0; }
.aiv-tbl { border: 1px solid var(--ai-line); border-radius: .375rem; overflow: hidden; background: #fff; }
.aiv-tasks { flex: 1; display: flex; flex-direction: column; }
.aiv-tasks ul { flex: 1; display: grid; grid-auto-rows: minmax(1.75rem, 1fr); }
.aiv-tbl-h { display: flex; align-items: center; justify-content: space-between; height: 1.75rem; padding: 0 .6875rem; background: var(--ai-soft); border-bottom: 1px solid var(--ai-line); font-size: .75rem; }
.aiv-tbl-h b { font-weight: 600; } .aiv-tbl-h span { color: var(--ai-mut); }
.aiv-norm dl > div { display: grid; grid-template-columns: 5.75rem minmax(0, 1fr); gap: .5rem; align-items: center; height: 1.5625rem; padding: 0 .6875rem; border-top: 1px solid var(--ai-hair); font-size: .75rem; }
.aiv-norm dl > div:first-child { border-top: 0; }
.aiv-norm dt { color: var(--ai-mut); } .aiv-norm dd { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aiv-tasks li { display: grid; grid-template-columns: 2.125rem minmax(0, 1fr) auto; gap: .5rem; align-items: center; padding: 0 .6875rem; border-top: 1px solid var(--ai-hair); font-size: .75rem; }
.aiv-tasks li:first-child { border-top: 0; }
.aiv-card code, .aiv-shot code { font: 500 .75rem var(--ai-mono); color: var(--ai-mut); }
.aiv-tasks li > span { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aiv-tasks li em { display: inline-flex; align-items: center; gap: .375rem; font-style: normal; color: var(--ai-mut); }

/* MCP: assistant, tool-call trace, answer */
.aiv-user { align-self: flex-end; max-width: 88%; padding: .5625rem .8125rem; border-radius: .5rem .5rem 2px .5rem; background: var(--ai-acc); color: #fff; }
.aiv-trace { border-radius: .375rem; overflow: hidden; background: #071A45; color: #fff; }
.aiv-trace-h { display: flex; align-items: center; justify-content: space-between; height: 1.625rem; padding: 0 .75rem; font-size: .75rem; color: rgba(255, 255, 255, .62); border-bottom: 1px solid rgba(255, 255, 255, .09); }
.aiv-trace-h b { font-weight: 600; color: rgba(255, 255, 255, .9); }
.aiv-call { display: grid; grid-template-columns: 1rem auto minmax(0, 1fr) auto; gap: .625rem; align-items: center; height: 1.875rem; padding: 0 .75rem; border-top: 1px solid rgba(255, 255, 255, .07); font: 500 .75rem var(--ai-mono); }
.aiv-trace-h + .aiv-call { border-top: 0; }
.aiv-card .aiv-call code { font-weight: 600; color: #9EC5FF; }
.aiv-call .arg { color: rgba(255, 255, 255, .62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aiv-call .res { color: #8FE3BC; white-space: nowrap; }
.aiv-wait { position: relative; width: 1rem; height: 1rem; }
.aiv-wait::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .22); border-top-color: #5CCBF5; animation: aiv-spin .7s linear infinite; }
.aiv-wait .aiv-tick { position: absolute; inset: 0; opacity: 0; }
.aiv-scene.on .aiv-wait .aiv-tick { animation: aiv-pop .3s var(--d, 0s) both; }
@keyframes aiv-pop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
.aiv-ans { flex: 1; padding: .6875rem .75rem .1875rem; border: 1px solid var(--ai-line); border-radius: .375rem; }
.aiv-hero .aiv-ans p { margin-bottom: .4375rem; line-height: 1.5; }
.aiv-ans table, .aiv-ch--tbl table { width: 100%; border-collapse: collapse; font-size: .75rem; }
.aiv-ans th, .aiv-ch--tbl th { height: 1.625rem; text-align: left; font-weight: 600; color: var(--ai-mut); border-bottom: 1px solid var(--ai-line); white-space: nowrap; }
.aiv-ans td, .aiv-ch--tbl td { height: 1.6875rem; border-top: 1px solid var(--ai-hair); white-space: nowrap; font-variant-numeric: tabular-nums; }
.aiv-ans tbody tr:first-child td, .aiv-ch--tbl tbody tr:first-child td { border-top: 0; }
.aiv-ans td:first-child { font-weight: 500; }

.aiv-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .5625rem 1rem; background: var(--ai-soft); border-top: 1px solid var(--ai-line); font-size: .75rem; color: var(--ai-mut); }
.aiv-foot span:first-child { padding: 1px .5rem; border: 1px solid #CDD4E6; border-radius: .1875rem; font-weight: 600; color: #3A4767; white-space: nowrap; }

.aiv-card.still .aiv-scene *, .aiv-card.still .aiv-scene *::before, .aiv-card.still .aiv-tabs i { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
.aiv-card.still .aiv-scan { display: none; }
.aiv-card.paused *, .aiv-card.paused *::before { animation-play-state: paused !important; }

/* ---- "What it makes": artefact shots */
.ai-cap > .aiv-shot { display: flex; flex-direction: column; height: 100%; min-height: 26.25rem; margin: 0; min-width: 0; background: #fff; color: var(--ai-ink); border: 1px solid #DCE1EF; border-radius: .625rem; overflow: hidden; font-family: var(--font-body); font-size: .8125rem; line-height: 1.4; box-shadow: 0 2rem 3.75rem -1.75rem rgba(4, 21, 55, .32), 0 .5rem 1.25rem rgba(4, 21, 55, .06); }
.aiv-shot-bar { display: flex; align-items: center; gap: .625rem; height: 2.75rem; padding: 0 1rem; background: #041537; color: #fff; white-space: nowrap; }
.aiv-logo { flex: none; width: 1.125rem; height: 1.125rem; border-radius: .25rem; background: linear-gradient(135deg, #4C6BFF, #19B7E8); box-shadow: inset 0 0 0 .3125rem rgba(255, 255, 255, 0), inset 0 0 0 1px rgba(255, 255, 255, .25); }
.aiv-shot-bar b { font-family: var(--font-display); font-size: .8125rem; font-weight: 600; }
.aiv-shot-bar span { color: rgba(255, 255, 255, .7); overflow: hidden; text-overflow: ellipsis; }
.aiv-shot-bar span::before { content: "/"; margin-right: .625rem; color: rgba(255, 255, 255, .35); }
.aiv-shot-bar em { margin-left: auto; padding: 1px .5rem; border: 1px solid rgba(255, 255, 255, .32); border-radius: .1875rem; font-size: .75rem; font-style: normal; font-weight: 500; color: rgba(255, 255, 255, .85); }
.aiv-shot-body { flex: 1; display: flex; flex-direction: column; gap: .75rem; padding: 1rem; }
.aiv-filters { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.aiv-filters > span { display: inline-flex; align-items: center; gap: .4375rem; height: 2rem; padding: 0 1.875rem 0 .6875rem; border: 1px solid #CDD4E6; border-radius: .375rem; font-weight: 500; white-space: nowrap; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%235A6685' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right .5625rem center / .75rem no-repeat; }
.aiv-filters small { font-size: .75rem; font-weight: 400; color: var(--ai-mut); }
.aiv-filters u { display: inline-flex; align-items: center; gap: .4375rem; margin-left: auto; font-size: .75rem; text-decoration: none; color: var(--ai-mut); white-space: nowrap; }
.aiv-filters u i { width: .4375rem; height: .4375rem; border-radius: 50%; background: var(--ai-grn); box-shadow: 0 0 0 .1875rem rgba(26, 181, 107, .16); }
.aiv-shot-row { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .5rem; }
.aiv-meter { display: inline-block; width: 2.5rem; height: .25rem; margin-right: .5rem; border-radius: 2px; background: #E6EAF5; vertical-align: .1875rem; overflow: hidden; }
.aiv-meter i { display: block; height: 100%; background: var(--ai-acc); }
.aiv-ch--tbl td:last-child, .aiv-ch--tbl th:last-child { text-align: right; }
.aiv-ch--tbl td:first-child { font-weight: 500; }
.aiv-ch--tbl table { margin-top: -.25rem; }
.aiv-ch--tbl td { height: 1.9375rem; }

.aiv-pipe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--ai-line); border-radius: .375rem; overflow: hidden; }
.aiv-pipe > div { min-width: 0; padding: .625rem .75rem; border-left: 1px solid var(--ai-line); }
.aiv-pipe > div:first-child { border-left: 0; }
.aiv-pipe > div.on { background: #F3F6FF; box-shadow: inset 0 -2px 0 var(--ai-acc); }
.aiv-pipe small { display: block; font-size: .75rem; color: var(--ai-mut); }
.aiv-pipe b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aiv-pipe span { display: block; font-size: .75rem; color: var(--ai-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aiv-grid { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--ai-line); border-radius: .375rem; overflow: hidden; }
.aiv-grid th { height: 1.875rem; padding: 0 .625rem; background: var(--ai-soft); text-align: left; font-size: .75rem; font-weight: 600; color: var(--ai-mut); white-space: nowrap; }
.aiv-grid--led th, .aiv-grid--led td { padding: 0 .5625rem; }
.aiv-grid td { height: 2.1875rem; padding: 0 .625rem; border-top: 1px solid var(--ai-hair); white-space: nowrap; }
.aiv-grid thead + tbody tr:first-child td { border-top-color: var(--ai-line); }
.aiv-grid .r { text-align: right; font-variant-numeric: tabular-nums; }
.aiv-grid td:nth-child(2) { font-weight: 500; }
.aiv-grid td .aiv-tick { margin-right: .4375rem; }
.aiv-grid td .aiv-dot { margin: 0 .6875rem 0 .25rem; }
.aiv-grid tr.sel td { background: #F5F7FF; }
.aiv-grid tr.sel td:first-child { box-shadow: inset 2px 0 0 var(--ai-acc); }
.aiv-grid tr.flag td { background: #FFF8F8; }
.aiv-grid tr.flag td:first-child { box-shadow: inset 2px 0 0 #D23B47; }
.aiv-grid tr.flag td b { font-weight: 600; color: #B92A36; }
.aiv-grid tr.flag td:last-child { font-weight: 600; color: #B92A36; }
.aiv-approve { display: flex; align-items: center; gap: .875rem; margin-top: auto; }
.aiv-approve > span:first-child { font-size: .75rem; color: var(--ai-mut); min-width: 0; }
.aiv-approve b { display: block; font-size: .8125rem; font-weight: 600; color: var(--ai-ink); }
.aiv-who { margin-left: auto; font-size: .75rem; color: var(--ai-mut); white-space: nowrap; }
.aiv-approve em, .aiv-exc em { flex: none; display: grid; place-items: center; height: 2.125rem; padding: 0 .875rem; border-radius: .375rem; font: 600 .8125rem var(--font-display); font-style: normal; white-space: nowrap; }
.aiv-approve em { background: var(--ai-acc); color: #fff; }
.aiv-sum .warn b { color: #B92A36; }
.aiv-exc { display: flex; align-items: center; gap: .75rem; margin-top: auto; padding: .6875rem .75rem; border: 1px solid #EDC9CC; border-radius: .375rem; background: #FFFAFA; }
.aiv-exc > i { flex: none; width: 1.125rem; height: 1.125rem; border-radius: 50%; background: #D23B47 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 4.6v5.2M9 12.9v.2' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 1.125rem no-repeat; }
.aiv-exc p { margin: 0; min-width: 0; font-size: .8125rem; color: var(--ai-mut); line-height: 1.45; }
.aiv-exc p b { display: block; font-weight: 600; color: var(--ai-ink); }
.aiv-exc em { margin-left: auto; border: 1px solid #C6CFEE; background: #fff; color: var(--ai-acc); }

.aiv-compose { display: none; }
/* ---- responsive */
@media (max-width: 1100px) { .aiv-hero > .container { gap: 2.25rem; } .aiv-tabs span { display: none; } .aiv-tabs button { padding: .8125rem 1rem; } }
@media (max-width: 980px) {
  .page-hero.aiv-hero { padding: 3.25rem 0 3.5rem; }
  .aiv-hero > .container { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .page-hero.aiv-hero::before { background: linear-gradient(180deg, rgba(5, 11, 62, .72) 0%, rgba(5, 11, 62, .42) 42%, rgba(5, 11, 62, 0) 70%); }
  .aiv-hero .hero-copy > p, .aiv-points { max-width: 38rem; }
  .aiv-tabs span { display: block; }
}
@media (max-width: 640px) {
  .aiv-tabs span { display: none; }
  .aiv-tabs button { padding: .8125rem .875rem; text-align: center; }
  .aiv-stage { padding: .75rem; }
  .aiv-ask { padding: .5rem .5rem .5rem .75rem; align-items: flex-start; }
  .aiv-ask svg { margin-top: .1875rem; }
  .aiv-ask em { display: none; }
  .aiv-ask p span { display: inline; max-width: none; white-space: normal; border: 0; opacity: 0; }
  .aiv-scene.on .aiv-ask p span { animation: aiv-fade .8s .3s both; }
  .aiv-kpis, .aiv-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aiv-charts { grid-template-columns: minmax(0, 1fr); }
  .aiv-ch--donut { display: none; }
  .aiv-plot { grid-template-rows: minmax(5.25rem, 1fr) auto; }
  .aiv-src { display: none; }
  .aiv-mcp .aiv-src { display: inline-flex; }
  .aiv-mro-grid { grid-template-columns: minmax(0, 1fr); }
  .aiv-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); height: auto; font-size: .75rem; }
  .aiv-card .aiv-steps li { flex-direction: column; gap: .25rem; }
  .aiv-steps li::after { display: none; }
  .aiv-mcp .aiv-ans { flex: none; }
  .aiv-compose { display: flex; align-items: center; justify-content: space-between; margin-top: auto; height: 2.625rem; padding: 0 .5rem 0 .8125rem; border: 1px solid #C6CFEE; border-radius: .5rem; color: var(--ai-mut); }
  .aiv-compose i { width: 1.75rem; height: 1.75rem; border-radius: .375rem; background: var(--ai-acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 19V9.5M9.8 13.4L14 9.2l4.2 4.2' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1.75rem no-repeat; }
  .aiv-user { max-width: 100%; }
  .aiv-call { grid-template-columns: 1rem minmax(0, 1fr) auto; height: auto; padding: .5rem .75rem; row-gap: .1875rem; }
  .aiv-call .arg { grid-column: 2 / -1; grid-row: 2; }
  .aiv-ans .x, .aiv-grid .x { display: none; }
  .aiv-status .fin u { display: none; }
  .aiv-foot span:last-child { display: none; }
  .aiv-shot-body { padding: .75rem; }
  .aiv-shot-bar { padding: 0 .75rem; } .aiv-shot-bar span { display: none; }
  .aiv-shot-row { grid-template-columns: minmax(0, 1fr); }
  .aiv-filters u { display: none; }
  .aiv-pipe { grid-template-columns: minmax(0, 1fr); }
  .aiv-pipe > div { border-left: 0; border-top: 1px solid var(--ai-line); } .aiv-pipe > div:first-child { border-top: 0; }
  .aiv-who { display: none; } .aiv-approve em, .aiv-exc em { margin-left: auto; }
  .aiv-exc { flex-wrap: wrap; } .aiv-exc p { flex: 1 1 70%; }
  .aiv-grid td, .aiv-grid th { padding: 0 .5rem; }
  .aiv-grid .r { display: none; }
  .aiv-grid td:nth-child(2) { white-space: normal; padding-top: .4375rem; padding-bottom: .4375rem; line-height: 1.3; }
  .aiv-points li { padding: 0 .625rem; }
}
@media (prefers-reduced-motion: reduce) { .aiv-bg canvas { transition: none; } }
/* === /ai/ v3 END === */

/* === hero family v2: /contact/, /career/, /about-us/ ===
   One look for the three "company" heroes: deep navy, layered glow, hairline details.
   /contact/ carries a live map of the British Isles (js/contact-map.js) with the office marked;
   /career/ and /about-us/ blend their real photograph into the navy on the right, with a quiet
   live layer (js/hero-fx.js). Scoped to .ctx-* and .hx-*; touches no other page. */
.page-hero.ctx-hero, .page-hero.hx-hero { --hx-pad: clamp(5rem, 12vh, 9.5rem); --hx-tint: 25, 183, 232; --hx-eyebrow: #7FD8FF; padding: var(--hx-pad) 0; overflow: hidden; isolation: isolate; background-color: #041537; }
.ctx-hero .eyebrow, .hx-hero .eyebrow { color: var(--hx-eyebrow); margin-bottom: 1.125rem; }
.ctx-hero h1, .hx-hero h1 { max-width: none; margin-bottom: 1.25rem; font-size: clamp(2.3rem, 4.2vw, 3.35rem); line-height: 1.06; text-wrap: balance; }
.ctx-hero .ctx-copy > p, .hx-hero .hx-copy > p { max-width: 30rem; margin-bottom: 1.75rem; font-size: 1.05rem; line-height: 1.6; color: rgba(255, 255, 255, .86); }
.ctx-hero .btn, .hx-hero .btn { background: #fff; color: #0B1B6B; box-shadow: 0 .625rem 1.75rem rgba(2, 8, 40, .35); }
.ctx-hero .btn:hover, .hx-hero .btn:hover { background: #EAF0FF; }

/* --- /contact/ --- */
.page-hero.ctx-hero { background-image:
  radial-gradient(42% 64% at 73% 48%, rgba(25, 183, 232, .22), transparent 70%),
  radial-gradient(50% 80% at 100% 100%, rgba(123, 76, 240, .38), transparent 72%),
  radial-gradient(40% 60% at 0% 100%, rgba(42, 68, 212, .36), transparent 72%),
  radial-gradient(38% 50% at 10% 0%, rgba(42, 68, 212, .24), transparent 70%),
  linear-gradient(135deg, #030D24 0%, #041537 52%, #0A1F5C 100%); }
.page-hero.ctx-hero::before { display: none; }
.ctx-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ctx-map-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .9s ease; }
.ctx-map-canvas.on { opacity: 1; }
.ctx-hero > .container { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 3rem; align-items: center; }
.ctx-copy { min-width: 0; }
.ctx-grad { background: linear-gradient(90deg, #8FB4FF, #38D0FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ctx-map { align-self: stretch; min-width: 0; min-height: 21rem; margin: calc(var(--hx-pad) * -1) 0; }
.ctx-details { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); max-width: 35rem; margin-top: 2.5rem; padding-top: 1.375rem; border-top: 1px solid rgba(255, 255, 255, .22); }
.ctx-details > div { min-width: 0; padding: 0 0 0 1.5rem; border-left: 1px solid rgba(255, 255, 255, .22); }
.ctx-details > div:first-child { padding: 0 1.5rem 0 0; border-left: 0; }
.ctx-details dt { margin-bottom: .625rem; font-family: var(--font-display); font-size: .6875rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #7FD8FF; }
.ctx-mail { display: inline-block; font-family: var(--font-display); font-size: 1.1875rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .38); transition: border-color .2s, color .2s; }
.ctx-mail:hover { color: #BFEBFF; border-bottom-color: #38D0FF; }
.ctx-details address { font-style: normal; font-size: .9375rem; line-height: 1.55; color: rgba(255, 255, 255, .84); }
.ctx-details address b { font-family: var(--font-display); font-weight: 600; color: #fff; }
.ctx-links { display: flex; flex-wrap: wrap; gap: .375rem 1.25rem; margin-top: .875rem; }
.ctx-links a, .ctx-links button { padding: 0; border: 0; background: none; cursor: pointer; font: 600 .8125rem/1.4 var(--font-body); color: #9FE3FF; text-decoration: none; border-bottom: 1px solid rgba(159, 227, 255, .35); transition: color .2s, border-color .2s; }
.ctx-links a:hover, .ctx-links button:hover { color: #fff; border-bottom-color: #fff; }
.ctx-links button.ok { color: #5BE3A4; border-bottom-color: rgba(91, 227, 164, .5); }
.ctx-links a:focus-visible, .ctx-links button:focus-visible, .ctx-mail:focus-visible { outline: 2px solid #38D0FF; outline-offset: 3px; }

/* --- /career/ and /about-us/: real photograph blended into the navy --- */
.page-hero.hx-hero { display: flex; align-items: center; min-height: clamp(30rem, 64vh, 46rem); }
.page-hero.hx-hero--career { --hx-tint: 25, 183, 232; --hx-eyebrow: #7FD8FF; background-image:
  radial-gradient(34% 80% at 47% 50%, rgba(25, 183, 232, .26), transparent 70%),
  radial-gradient(40% 62% at 0% 100%, rgba(16, 150, 205, .36), transparent 72%),
  radial-gradient(36% 50% at 8% 0%, rgba(42, 68, 212, .30), transparent 70%),
  linear-gradient(135deg, #030D24 0%, #041537 55%, #06255E 100%); }
.page-hero.hx-hero--about { --hx-tint: 123, 76, 240; --hx-eyebrow: #B9A6FF; background-image:
  radial-gradient(34% 80% at 47% 50%, rgba(123, 76, 240, .34), transparent 70%),
  radial-gradient(40% 62% at 0% 100%, rgba(94, 56, 230, .40), transparent 72%),
  radial-gradient(36% 50% at 8% 0%, rgba(42, 68, 212, .34), transparent 70%),
  linear-gradient(135deg, #030D24 0%, #041537 55%, #12125C 100%); }
/* fine grid on the copy side (the base ::before wash is replaced by it) */
.page-hero.hx-hero::before { z-index: 1; pointer-events: none; background: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px); background-size: 3rem 3rem; -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 28%, transparent 64%); mask-image: linear-gradient(90deg, #000 0%, #000 28%, transparent 64%); }
.hx-media { position: absolute; top: 0; bottom: 0; right: 0; left: calc(50% - 7rem); z-index: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .14) 10%, rgba(0, 0, 0, .6) 27%, #000 46%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .14) 10%, rgba(0, 0, 0, .6) 27%, #000 46%); }
.hx-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--hx-pos, 50% 50%); }
.hx-hero--career .hx-media { --hx-pos: 78% 62%; }
.hx-hero--about .hx-media { --hx-pos: 100% 22%; }
.hx-hero--about .hx-media { -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 9%, rgba(0, 0, 0, .5) 16%, rgba(0, 0, 0, .9) 24%, #000 32%); mask-image: linear-gradient(90deg, transparent 0%, transparent 9%, rgba(0, 0, 0, .5) 16%, rgba(0, 0, 0, .9) 24%, #000 32%); }
.hx-hero--about .hx-media::before { background:
  radial-gradient(60% 70% at 100% 100%, rgba(var(--hx-tint), .24), transparent 70%),
  linear-gradient(0deg, rgba(4, 21, 55, .5) 0%, rgba(4, 21, 55, 0) 36%),
  linear-gradient(180deg, rgba(4, 21, 55, .34) 0%, rgba(4, 21, 55, 0) 20%),
  linear-gradient(90deg, rgba(10, 16, 80, .38) 0%, rgba(10, 16, 80, .08) 40%, rgba(10, 16, 80, 0) 70%); }
.hx-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  radial-gradient(60% 70% at 100% 100%, rgba(var(--hx-tint), .26), transparent 70%),
  linear-gradient(0deg, rgba(4, 21, 55, .5) 0%, rgba(4, 21, 55, 0) 36%),
  linear-gradient(180deg, rgba(4, 21, 55, .34) 0%, rgba(4, 21, 55, 0) 20%),
  linear-gradient(90deg, rgba(4, 21, 55, .55) 0%, rgba(4, 21, 55, .12) 52%, rgba(4, 21, 55, 0) 80%); }
.hx-media::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 30%; z-index: 2; background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .13) 50%, transparent 100%); transform: translateX(-140%) skewX(-12deg); animation: hx-sweep 12s cubic-bezier(.45, 0, .2, 1) 1.4s infinite; }
@keyframes hx-sweep { 0% { transform: translateX(-140%) skewX(-12deg); } 34%, 100% { transform: translateX(470%) skewX(-12deg); } }
.hx-fx { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.hx-fx.on { opacity: 1; }
.hx-hero > .container { position: relative; z-index: 2; width: 100%; }
.hx-copy { max-width: 33rem; }
.hx-facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 33rem; margin: 2.5rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid rgba(255, 255, 255, .22); }
.hx-facts li { min-width: 0; padding: 0 1rem; border-left: 1px solid rgba(255, 255, 255, .22); }
.hx-facts li:first-child { padding-left: 0; border-left: 0; }
.hx-facts b { display: block; font-family: var(--font-display); font-size: .9375rem; font-weight: 600; letter-spacing: -.005em; line-height: 1.3; color: #fff; }
.hx-facts span { display: block; margin-top: .25rem; font-size: .8125rem; line-height: 1.4; color: rgba(255, 255, 255, .72); }

@media (max-width: 1100px) { .ctx-hero > .container { gap: 2rem; } }
@media (max-width: 900px) {
  .page-hero.ctx-hero { padding: 3.5rem 0 1.5rem; }
  .ctx-hero > .container { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .ctx-details { max-width: 38rem; }
  .ctx-map { margin: 0; min-height: 0; height: clamp(22rem, 86vw, 30rem); }
  .page-hero.ctx-hero { background-image: radial-gradient(90% 40% at 50% 74%, rgba(25, 183, 232, .20), transparent 72%), radial-gradient(80% 40% at 100% 100%, rgba(123, 76, 240, .36), transparent 72%), radial-gradient(70% 36% at 0% 0%, rgba(42, 68, 212, .30), transparent 72%), linear-gradient(160deg, #030D24 0%, #041537 52%, #0A1F5C 100%); }
}
@media (max-width: 1100px) {
  .page-hero.hx-hero { display: block; min-height: 0; padding: 0 0 3.5rem; }
  .hx-media { position: relative; left: auto; height: clamp(15rem, 62vw, 27rem); margin-bottom: -1.5rem; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 48%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 48%, transparent 100%); }
  .hx-hero--career .hx-media { --hx-pos: 72% 70%; }
  .hx-hero--about .hx-media { --hx-pos: 50% 26%; }
  .hx-media::before { background: radial-gradient(70% 60% at 100% 0%, rgba(var(--hx-tint), .22), transparent 70%), linear-gradient(0deg, rgba(4, 21, 55, .6) 0%, rgba(4, 21, 55, 0) 50%); }
  .page-hero.hx-hero::before { -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 62%, #000 100%); mask-image: linear-gradient(180deg, transparent 30%, #000 62%, #000 100%); }
  .hx-copy, .hx-facts, .hx-hero .hx-copy > p { max-width: 38rem; }
  .page-hero.hx-hero--career { background-image: radial-gradient(90% 34% at 50% 34%, rgba(25, 183, 232, .24), transparent 72%), radial-gradient(70% 40% at 0% 100%, rgba(16, 150, 205, .34), transparent 72%), linear-gradient(160deg, #030D24 0%, #041537 55%, #06255E 100%); }
  .page-hero.hx-hero--about { background-image: radial-gradient(90% 34% at 50% 34%, rgba(123, 76, 240, .30), transparent 72%), radial-gradient(70% 40% at 0% 100%, rgba(94, 56, 230, .38), transparent 72%), linear-gradient(160deg, #030D24 0%, #041537 55%, #12125C 100%); }
  .hx-hero--about .hx-media { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 48%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 48%, transparent 100%); }
  .hx-hero--about .hx-media::before { background: radial-gradient(70% 60% at 100% 0%, rgba(var(--hx-tint), .22), transparent 70%), linear-gradient(0deg, rgba(4, 21, 55, .6) 0%, rgba(4, 21, 55, 0) 50%); }
}
@media (max-width: 520px) {
  .ctx-details { grid-template-columns: minmax(0, 1fr); }
  .ctx-details > div, .ctx-details > div:first-child { padding: 0; border-left: 0; }
  .ctx-details > div + div { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .22); }
  .hx-facts { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
  .hx-facts li, .hx-facts li:first-child { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: .75rem; align-items: baseline; padding: .75rem 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .hx-facts li:last-child { border-bottom: 0; padding-bottom: 0; }
  .hx-facts span { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .hx-media::after { animation: none; opacity: 0; } .ctx-map-canvas, .hx-fx { transition: none; } }
/* === hero family v2 END === */

/* === property mgmt START */
/* Property Management page only (.pm-hero, .pm-art). Hero: one F-22 at dusk (assets/img/pm-hero-f22.jpg),
   always a single full-bleed cover image, never tiled. Split pictures: frameless SVG product panels. */
section.page-hero.pm-hero {
  background-color: #0A1A6B !important; background-repeat: no-repeat !important;
  background-size: cover !important; background-position: 100% 51% !important;
}
section.page-hero.pm-hero::before {
  background: linear-gradient(90deg, rgba(5,14,66,.96) 0%, rgba(7,19,88,.9) 30%, rgba(8,22,100,.58) 48%, rgba(8,22,100,.16) 66%, rgba(8,22,100,.08) 100%) !important;
}
@media (min-width: 901px) {
  section.page-hero.pm-hero { display: flex; align-items: center; min-height: min(38vw, calc(100svh - var(--header-h))); }
  section.page-hero.pm-hero > .container { width: 100%; }
}
@media (min-width: 601px) and (max-width: 900px) {
  section.page-hero.pm-hero { background-position: 88% 51% !important; }
  section.page-hero.pm-hero::before { background: linear-gradient(90deg, rgba(5,14,66,.96) 0%, rgba(7,19,88,.9) 42%, rgba(8,22,100,.5) 66%, rgba(8,22,100,.14) 100%) !important; }
  .pm-hero h1, .pm-hero p { max-width: 520px; }
}
@media (max-width: 600px) {
  section.page-hero.pm-hero {
    padding-top: 44px; padding-bottom: 176px;
    background-size: 150% auto !important; background-position: 86% 100% !important;
  }
  section.page-hero.pm-hero::before {
    background: linear-gradient(180deg, #0A1A6B 0, #0A1A6B calc(100% - 96vw), rgba(10,26,107,.82) calc(100% - 74vw), rgba(10,26,107,.38) calc(100% - 46vw), rgba(10,26,107,.12) 100%) !important;
  }
}
.split-media.art-img.pm-art img { display: block; width: 100%; height: auto; border-radius: 0; box-shadow: none; background: none; }
@media (min-width: 961px) { .split:has(> .art-img.pm-art) { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: 52px; } }
@media (max-width: 960px) { .split-media.art-img.pm-art { max-width: 540px; margin: 0 auto; width: 100%; } }
/* === property mgmt END */

/* === property mgmt START */
/* (part 2, same scope: final hero overlay + phone framing; supersedes the same rules in the block above) */
section.page-hero.pm-hero::before { background: linear-gradient(90deg, rgba(5,14,66,.97) 0%, rgba(7,19,88,.96) 34%, rgba(8,22,100,.6) 49%, rgba(8,22,100,.16) 66%, rgba(8,22,100,.08) 100%) !important; }
@media (min-width: 601px) and (max-width: 900px) {
  section.page-hero.pm-hero::before { background: linear-gradient(90deg, rgba(5,14,66,.97) 0%, rgba(7,19,88,.95) 44%, rgba(8,22,100,.5) 66%, rgba(8,22,100,.14) 100%) !important; }
}
@media (max-width: 600px) {
  section.page-hero.pm-hero { padding-bottom: 224px; background-position: 100% 100% !important; }
  section.page-hero.pm-hero::before { background: linear-gradient(180deg, #0A1A6B 0, #0A1A6B calc(100% - 96vw), rgba(10,26,107,.82) calc(100% - 74vw), rgba(10,26,107,.38) calc(100% - 46vw), rgba(10,26,107,.12) 100%) !important; }
}
/* === property mgmt END */

/* === home hero one-screen START */
/* Home hero only (the MRO page reuses .hero-panels with .mro-air-hero and is excluded).
   Up to 980px wide the header + hero are exactly one screen: the hero is 100svh minus
   the header, the copy takes its natural height and the scene/art is fitted into what
   is left (container-query units), so nothing is clipped and nothing pushes the fold. */
@media (max-width: 980px) {
  .hero-slider.hero-panels:not(.mro-air-hero) {
    height: calc(100vh - 72px) !important;
    height: max(470px, calc(100svh - var(--header-h, 72px))) !important;
    min-height: 0 !important;
  }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide {
    box-sizing: border-box; height: 100%; min-height: 0; overflow: hidden;
    display: flex; align-items: stretch; padding: 70px 0 18px !important;
  }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide:not(.active) { display: none; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide > .container {
    display: flex !important; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: clamp(12px, 2.2svh, 24px);
    width: 100%; height: 100%; min-height: 0; padding-top: 0 !important; padding-bottom: 0 !important;
  }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide-content { flex: 0 0 auto; min-width: 0; max-width: 680px; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide-content .eyebrow {
    display: block; margin: 0 0 8px; font-size: min(.6875rem, 2.75vw); line-height: 1.35; letter-spacing: .06em;
  }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide-content h1,
  .hero-slider.hero-panels:not(.mro-air-hero) .slide-content h2 {
    font-size: clamp(1.5rem, min(4.1svh, 8.4vw), 2.75rem) !important; line-height: 1.1 !important;
    margin: 0 0 clamp(8px, 1.4svh, 16px) !important;
  }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide-content p {
    font-size: clamp(.875rem, min(2.05svh, 4.3vw), 1.125rem) !important; line-height: 1.5;
    margin: 0 0 clamp(12px, 2svh, 24px) !important; max-width: 60ch;
  }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide-content .btn { margin: 0; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--ov .ov-ind { margin: 0 0 clamp(12px, 2svh, 22px); }

  /* The art box: whatever height is left. It is a size container, so the scene inside
     can be fitted to it by width AND height. */
  .hero-slider.hero-panels:not(.mro-air-hero) .hero-demo,
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .concept-player { flex: 1 1 0; width: 100%; min-width: 0; min-height: 0 !important; margin: 0; }
  .hero-slider.hero-panels:not(.mro-air-hero) .hero-demo {
    position: relative; container-type: size; display: flex; align-items: center; justify-content: center;
    transform: none !important;
  }
  .hero-slider.hero-panels:not(.mro-air-hero) .hero-demo::before,
  .hero-slider.hero-panels:not(.mro-air-hero) .hero-demo::after { display: none !important; }

  /* The two free-standing 3D scenes may use the page gutter as well */
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--ov .hero-demo,
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--air .hero-demo { align-self: flex-start; margin: 0 -16px; width: calc(100% + 32px); }

  /* 01 overview (3D) */
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--ov .ov-scene {
    position: relative; flex: none; margin: 0; aspect-ratio: 760 / 470;
    width: 100%; width: min(100cqw, calc(100cqh * 760 / 470));
  }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--ov .ov-gl { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }

  /* 05 airfield (3D) */
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--air { padding-bottom: 18px !important; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--air .air-scene {
    position: relative; inset: auto; flex: none; margin: 0; max-width: none;
    width: 100%; width: min(100cqw, calc(100cqh * 760 / 430));
  }

  /* 04 engine: work-order rail + 3D engine in one card */
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--iam { --hm-en: 104px; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--iam .en-panel {
    flex: none; box-sizing: border-box; margin: 0;
    width: 100%; width: min(100cqw, calc((100cqh - var(--hm-en)) * 560 / 236 + 34px));
  }

  /* 02 AI consultancy: the flow on its own glass card */
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk { --hm-cx: 176px; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk .cx-canvas {
    flex: none; box-sizing: border-box; width: 100%; max-height: 100%; overflow: hidden;
    display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 12px; border-radius: 20px;
    background: rgba(46, 20, 78, .5); border: 1px solid rgba(255, 255, 255, .26);
    -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
    box-shadow: 0 20px 50px rgba(10, 8, 40, .28), inset 0 1px 0 rgba(255, 255, 255, .22);
  }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk .cx-bar { flex: none; padding: 0 2px; min-height: 20px; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk .cx-btns,
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk .cx-status,
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk .cx-foot,
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk .cx-float { display: none !important; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk .cx-prompt { flex: none; padding: 10px 12px; border-radius: 14px; box-shadow: none; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk .cx-prompt p {
    font-size: .875rem !important; line-height: 1.45; height: 5.8em; margin: 0 !important; max-width: none;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden;
  }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk .cx-board { flex: none; margin: 0; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk .cx-svg {
    margin: 0 auto; width: 100%; width: min(100%, calc((100cqh - var(--hm-cx)) * 600 / 285));
  }

  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk .cx-lab { font-size: 14.5px; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk .cx-sub,
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk .cx-elabel { display: none; }

  /* 03 analytics: prompt + KPI tiles + one chart, all inside the art box */
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .concept-player {
    container-type: size; box-sizing: border-box; width: 100%; max-width: none; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-start; padding: 0; transform: none !important;
    background: none !important; border: 0 !important; border-radius: 0; box-shadow: none !important;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .concept-prompt {
    flex: none; box-sizing: border-box; min-height: 0; height: 60px; padding: 9px 12px; font-size: .875rem; line-height: 1.5; overflow: hidden;
    background: #fff; border: 1px solid #E1E7F7; border-radius: 12px; box-shadow: 0 10px 28px rgba(8, 12, 80, .28);
  }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .concept-status { display: none; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .concept-stage { flex: 0 0 auto; min-height: 0; display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .kpi-row { flex: none; margin: 0; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .kpi-tile { display: flex; flex-direction: column; justify-content: center; padding: 9px 9px; min-width: 0; border-radius: 12px; box-shadow: 0 10px 28px rgba(8, 12, 80, .28); }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .kpi-tile .kpi-label { font-size: .5625rem; line-height: 1.3; min-height: 2.6em; letter-spacing: .03em; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .kpi-tile .kpi-value { font-size: 1.125rem; line-height: 1.2; margin-top: 2px; white-space: nowrap; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .kpi-tile .kpi-trend { font-size: .59rem; line-height: 1.3; white-space: nowrap; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .chart-grid { flex: none; margin: 0; display: block; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .chart-card { padding: 10px 10px 6px; border-radius: 12px; box-shadow: 0 10px 28px rgba(8, 12, 80, .28); }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .chart-card + .chart-card { display: none; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .chart-card h3 { font-size: .75rem; line-height: 1.3; margin: 0 0 4px; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .concept-stage .chart-card .chart { height: 96px; height: max(104px, calc(100cqh - 206px)); }

  /* Art too short for every part: drop the secondary parts, never clip. */
  @container (max-height: 310px) {
    .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .chart-grid { height: 0; overflow: hidden; visibility: hidden; }
    .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .concept-stage { gap: 0; }
  }
  @container (max-height: 150px) {
    .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .concept-prompt { display: none; }
    .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .concept-stage { margin-top: 0; }
  }
  @container (max-height: 330px) {
    .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk .cx-prompt { padding: 7px 10px; border-radius: 12px; }
    .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk .cx-prompt p { font-size: .75rem !important; line-height: 1.35; height: auto; -webkit-line-clamp: 2; }
    .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk .cx-svg { --hm-cx: 60px; }
  }
  @container (max-height: 210px) {
    .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk .cx-bar { display: none; }
    .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk .cx-svg { --hm-cx: 30px; }
    .hero-slider.hero-panels:not(.mro-air-hero) .slide--iam .en-trav { display: none; }
    .hero-slider.hero-panels:not(.mro-air-hero) .slide--iam .en-panel { --hm-en: 34px; }
  }
}

/* Phones: the five part cards under the engine do not fit beside the copy; the rail and
   the engine tell the story. */
@media (max-width: 560px) {
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--iam .en-cards { display: none; }
}
@media (min-width: 561px) and (max-width: 980px) {
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--iam { --hm-en: 236px; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .kpi-tile .kpi-label { font-size: .6875rem; min-height: 0; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .kpi-tile .kpi-value { font-size: 1.5rem; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .kpi-tile .kpi-trend { font-size: .75rem; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .kpi-row { flex: none; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk .cx-prompt p { height: auto; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk { --hm-cx: 150px; }
}

/* Short phones (iPhone SE, or any phone with the browser bars showing): less copy
   chrome so the scene keeps a useful size. */
@media (max-width: 980px) and (max-height: 780px) {
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--ov .ov-ind,
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--air .air-chip { display: none; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide { padding: 64px 0 14px !important; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide-content .btn { padding-top: 12px; padding-bottom: 12px; }
}
@media (max-width: 980px) and (max-height: 640px) {
  .hero-slider.hero-panels:not(.mro-air-hero) .slide-content p {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  }
}

/* Phone on its side: copy left, scene right. May scroll a little, never breaks. */
@media (max-width: 980px) and (orientation: landscape) and (max-height: 520px) {
  .hero-slider.hero-panels:not(.mro-air-hero) { height: max(300px, calc(100svh - var(--header-h, 72px))) !important; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide { padding: 52px 0 12px !important; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slider-nav { top: 6px; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide > .container { flex-direction: row; align-items: center; gap: 28px; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide-content { flex: 0 0 46%; max-width: 46%; }
  .hero-slider.hero-panels:not(.mro-air-hero) .hero-demo,
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .concept-player { align-self: stretch; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--ov .hero-demo,
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--air .hero-demo { align-self: stretch; margin: 0; width: auto; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--iam .en-cards,
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--iam .en-app,
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--iam .en-trav { display: none; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--iam,
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--iam .en-panel { --hm-en: 34px; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .concept-player { justify-content: center; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .kpi-tile .kpi-label { font-size: .5625rem; min-height: 2.6em; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .kpi-tile .kpi-value { font-size: 1.125rem; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .kpi-tile .kpi-trend { font-size: .59rem; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk { --hm-cx: 176px; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk .cx-prompt p { height: 5.8em; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide-content h1,
  .hero-slider.hero-panels:not(.mro-air-hero) .slide-content h2 { font-size: clamp(1.25rem, 6.6svh, 1.75rem) !important; margin-bottom: 8px !important; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide-content p { font-size: .875rem !important; margin-bottom: 12px !important; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide-content .btn { padding-top: 10px; padding-bottom: 10px; }
}
/* All widths: balanced headline lines (no orphaned "off," on its own line). */
.hero-slider.hero-panels:not(.mro-air-hero) .slide-content h1,
.hero-slider.hero-panels:not(.mro-air-hero) .slide-content h2 { text-wrap: balance; }

/* Desktop: the analytics card sits flat on the grid (no perspective tilt), and on
   narrower laptops / tablets in landscape the airfield stays clear of the copy. */
@media (min-width: 981px) {
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .concept-player { transform: scale(.86); transform-origin: 100% 50%; }
}
@media (min-width: 1800px) {
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dat .concept-player { transform: none; }
}
@media (min-width: 981px) and (max-width: 1279px) {
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--air .air-scene { width: min(52vw, 640px); right: 40px; }
}
/* === home hero one-screen END */

/* === header SAP certified badge START */
.header-inner { gap: 16px; }
.header-inner .main-nav { margin-left: auto; }
.header-sap { height: 26px; width: auto; flex: none; margin-left: 18px; opacity: .92; }
@media (max-width: 1180px) and (min-width: 721px) { .header-sap { display: none; } }
@media (max-width: 720px) { .header-sap { height: 18px; margin-left: auto; } .menu-toggle { margin-left: 4px; } }
/* === header SAP certified badge END */
/* header badge: smaller */
.header-sap { height: 18px; margin-left: 14px; }
@media (max-width: 720px) { .header-sap { height: 13px; } }
/* === page heroes one-screen START */
/* Every inner-page hero (/mro/, /analytical-reporting/, /ai/, /ai-consultancy/, /sap/,
   /co-innovation-services/, /about-us/, /career/, /contact/) fits the first screen.
   Phones (portrait): header + hero = exactly one small-viewport height; the copy keeps its
   natural height and the visual takes whatever is left (container queries trim it by the
   space it really has, so it never clips). Wider screens: the hero fills the viewport.
   Scoped to these pages' own hero classes; the home hero is not touched. */

/* ---------- phones, portrait ---------- */
@media (max-width: 760px) and (min-height: 500px) {
  .page-hero.page-hero--demo, .page-hero.aiv-hero, .page-hero.sapx-hero, .page-hero.coinx-hero, .page-hero.hx-hero, .page-hero.ctx-hero {
    box-sizing: border-box !important; height: calc(100vh - 72px) !important; height: calc(100svh - var(--header-h, 72px)) !important;
    min-height: 0 !important; max-height: none !important; padding: 1.125rem 0 1rem !important;
    display: flex !important; flex-direction: column !important; align-items: stretch !important; overflow: hidden !important; }
  .page-hero--demo > .container, .aiv-hero > .container, .sapx-hero > .container, .coinx-hero > .container, .hx-hero > .container, .ctx-hero > .container {
    flex: 1 1 auto; min-height: 0; width: 100%; display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: .875rem !important; }
  .page-hero--demo .hero-copy, .aiv-hero .hero-copy, .sapx-hero .sapx-copy, .coinx-hero .coinx-copy, .hx-hero .hx-copy, .ctx-hero .ctx-copy { flex: none; min-width: 0; max-width: none !important; }

  /* copy: eyebrow, h1, one short paragraph, CTA(s) */
  .page-hero--demo .eyebrow, .aiv-hero .eyebrow, .sapx-hero .eyebrow, .coinx-hero .eyebrow, .hx-hero .eyebrow, .ctx-hero .eyebrow {
    display: block; margin: 0 0 .5rem !important; font-size: .6875rem !important; line-height: 1.35 !important; letter-spacing: .14em !important; }
  .page-hero--demo h1, .aiv-hero h1, .sapx-hero h1, .coinx-hero h1, .hx-hero h1, .ctx-hero h1 {
    margin: 0 0 .5rem !important; font-size: clamp(1.625rem, 7.4vw, 2.125rem) !important; line-height: 1.08 !important; max-width: none !important; }
  .page-hero--demo .hero-copy > p, .aiv-hero .hero-copy > p, .sapx-hero .sapx-copy > p, .coinx-hero .coinx-copy > p, .hx-hero .hx-copy > p, .ctx-hero .ctx-copy > p {
    margin: 0 0 .875rem !important; max-width: none !important; font-size: .9375rem !important; line-height: 1.45 !important; }
  .page-hero--demo .hp-more, .aiv-hero .hp-more, .sapx-hero .hp-more, .coinx-hero .hp-more, .hx-hero .hp-more, .ctx-hero .hp-more { display: none; }
  .page-hero--demo .hero-copy .btn, .aiv-hero .hero-copy .btn, .sapx-hero .sapx-copy .btn, .coinx-hero .coinx-copy .btn, .hx-hero .hx-copy .btn, .ctx-hero .ctx-copy .btn {
    padding: .6875rem 1.125rem !important; font-size: .9375rem !important; min-height: 0 !important; }
  .page-hero--demo .cx-actions, .aiv-hero .aiv-actions, .sapx-hero .sapx-actions { flex-wrap: nowrap !important; gap: .625rem !important; }
  .page-hero--demo .cx-connects, .sapx-hero .sapx-connects, .coinx-hero .coinx-facts, .aiv-hero .aiv-points { display: none !important; }

  /* the visual takes the rest; it is a size container so its content can trim to the room it has */
  .page-hero--demo .hero-demo, .aiv-hero .hero-demo, .sapx-hero .sapx-demo, .coinx-hero .coinx-demo {
    flex: 1 1 0 !important; min-height: 0 !important; min-width: 0; width: auto; max-width: none !important; margin: 0 !important;
    display: flex !important; flex-direction: column !important; justify-content: center; container: hpdemo / size; transform: none !important; }
}

/* short phones (iPhone SE class, or a tall phone with the browser bars showing) */
@media (max-width: 760px) and (min-height: 500px) and (max-height: 700px) {
  .page-hero.page-hero--demo, .page-hero.aiv-hero, .page-hero.sapx-hero, .page-hero.coinx-hero, .page-hero.hx-hero, .page-hero.ctx-hero { padding: .875rem 0 .75rem !important; }
  .page-hero--demo > .container, .aiv-hero > .container, .sapx-hero > .container, .coinx-hero > .container, .hx-hero > .container, .ctx-hero > .container { gap: .75rem !important; }
  .page-hero--demo h1, .aiv-hero h1, .sapx-hero h1, .coinx-hero h1, .hx-hero h1, .ctx-hero h1 { font-size: clamp(1.5rem, 6.8vw, 1.875rem) !important; margin-bottom: .375rem !important; }
  .page-hero--demo .hero-copy > p, .aiv-hero .hero-copy > p, .sapx-hero .sapx-copy > p, .coinx-hero .coinx-copy > p, .hx-hero .hx-copy > p, .ctx-hero .ctx-copy > p { font-size: .875rem !important; line-height: 1.4 !important; margin-bottom: .75rem !important; }
  .page-hero--demo .hero-copy .btn, .aiv-hero .hero-copy .btn, .sapx-hero .sapx-copy .btn, .coinx-hero .coinx-copy .btn, .hx-hero .hx-copy .btn, .ctx-hero .ctx-copy .btn { padding: .5625rem 1rem !important; font-size: .875rem !important; }
}

/* ---------- phones: the visuals ---------- */
@media (max-width: 760px) and (min-height: 500px) {
  /* /sap/ roadmap card */
  .sapx-hero .sapx-card { display: flex; flex-direction: column; min-height: 0; }
  .sapx-hero .sapx-bar { padding: 0 2px .5rem; font-size: .75rem; }
  .sapx-hero .sapx-panel { padding: .75rem .5rem .875rem; border-radius: .75rem; }
  .sapx-hero .sapx-head { padding: 0 .375rem; }
  .sapx-hero .sapx-track { margin-top: 2.375rem; }
  .sapx-hero .sapx-tiles { grid-template-columns: minmax(0, 1fr); gap: .4375rem; margin-top: .5rem; }
  .sapx-hero .sapx-tile { flex-direction: row; align-items: center; justify-content: space-between; height: auto; padding: .5rem .75rem; border-radius: .75rem; }
  .sapx-hero .sapx-foot { padding-top: .625rem; gap: .4375rem; }
  @container hpdemo (max-height: 25.5rem) { .sapx-hero .sapx-foot { display: none; } }
  @container hpdemo (max-height: 23rem) {
    .sapx-hero .sapx-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .375rem; }
    .sapx-hero .sapx-tile { flex-direction: column; align-items: flex-start; gap: .375rem; padding: .5rem .5625rem; }
    .sapx-hero .sapx-ico, .sapx-hero .sapx-tile em { display: none; }
    .sapx-hero .sapx-tile strong { font-size: .8125rem; }
    .sapx-hero .sapx-chip { align-self: flex-start; padding: .1875rem .5rem; font-size: .6875rem; }
  }
  @container hpdemo (max-height: 16.5rem) { .sapx-hero .sapx-tiles { display: none; } }
  @container hpdemo (max-height: 11.5rem) { .sapx-hero .sapx-bar { display: none; } .sapx-hero .sapx-track { margin-top: 2.125rem; } }

  /* /co-innovation-services/ board */
  .coinx-hero .coinx-board { display: flex; flex-direction: column; min-height: 0; max-height: 100%; padding: .75rem .75rem .625rem; border-radius: .875rem; }
  .coinx-hero .coinx-bar { flex: none; flex-wrap: nowrap; margin-bottom: .875rem; }
  .coinx-hero .coinx-crumb { display: none; }
  .coinx-hero .coinx-chip { padding: .1875rem .5rem; font-size: .6875rem; gap: .3125rem; }
  .coinx-hero .coinx-dock { flex: none; }
  .coinx-hero .coinx-req, .coinx-hero .coinx-sol { padding: .5625rem .625rem .625rem; gap: .1875rem; }
  .coinx-hero .coinx-dock small { font-size: .625rem; letter-spacing: .06em; }
  .coinx-hero .coinx-cert { top: -.6875rem; right: .5rem; padding: .1875rem .5625rem .1875rem .25rem; font-size: .6875rem; }
  .coinx-hero .coinx-cert .coinx-tick { width: 1rem; height: 1rem; }
  .coinx-hero .coinx-sprints { flex: 1 1 auto; min-height: 0; margin-top: .625rem; padding-top: .625rem; grid-template-rows: minmax(0, 1fr); }
  .coinx-hero .coinx-sprint { display: flex; flex-direction: column; min-height: 0; padding: .5rem .5625rem 0; border-radius: .625rem; }
  .coinx-hero .coinx-sh, .coinx-hero .coinx-sprint small { flex: none; }
  .coinx-hero .coinx-val { flex: 1 1 auto; height: 5.5rem; min-height: 1.5rem; margin-top: .375rem; }
  .coinx-hero .coinx-foot { flex: none; margin-top: .5rem; }
  @container hpdemo (max-height: 21rem) { .coinx-hero .coinx-foot { display: none; } }
  @container hpdemo (max-height: 17rem) { .coinx-hero .coinx-dock em { display: none; } .coinx-hero .coinx-bar { margin-bottom: .75rem; } }
  @container hpdemo (max-height: 13.5rem) { .coinx-hero .coinx-sprint small { display: none; } .coinx-hero .coinx-val { min-height: 1rem; } }

  /* /analytical-reporting/ DAT concept player */
  .page-hero--demo .hero-demo-note { display: none !important; }
  .page-hero--demo .concept-player { flex: 1 1 0; min-height: 0 !important; display: flex; flex-direction: column; padding: .625rem !important; }
  .page-hero--demo .concept-prompt { flex: none; min-height: 3.375rem; padding: .5rem .625rem; font-size: .8125rem; line-height: 1.4; }
  .page-hero--demo .concept-status { flex: none; height: 1rem; margin: .25rem 2px 0; font-size: .6875rem; line-height: 1rem; }
  .page-hero--demo .concept-stage { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
  .page-hero--demo .concept-stage .kpi-row { flex: none; gap: .375rem; margin-bottom: .4375rem; }
  .page-hero--demo .kpi-tile { padding: .4375rem .5rem; min-width: 0; }
  .page-hero--demo .kpi-tile .kpi-label { font-size: .5625rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .page-hero--demo .kpi-tile .kpi-value { font-size: 1rem; white-space: nowrap; }
  .page-hero--demo .kpi-tile .kpi-trend { font-size: .5625rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .page-hero--demo .concept-stage .chart-grid { flex: 1 1 0; min-height: 0; grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(0, 1fr); gap: .4375rem; }
  .page-hero--demo .chart-card { display: flex; flex-direction: column; min-height: 0; padding: .5rem .5rem .25rem; }
  .page-hero--demo .chart-card h3 { flex: none; margin-bottom: 0; font-size: .75rem; }
  .page-hero--demo .concept-stage .chart-card .chart { flex: 1 1 0; min-height: 0; height: auto !important; }
  @container hpdemo (max-height: 31rem) { .page-hero--demo .chart-card:nth-child(n+2) { display: none; } }
  @container hpdemo (max-height: 20rem) { .page-hero--demo .kpi-tile .kpi-trend { display: none; } }
  @container hpdemo (max-height: 14.5rem) { .page-hero--demo .concept-stage .kpi-row { display: none; } }

  /* /ai-consultancy/ flow canvas */
  .page-hero--demo .cx-actions .btn { padding-left: .875rem !important; padding-right: .875rem !important; font-size: .875rem !important; white-space: nowrap; }
  .page-hero--demo .cx-canvas { position: relative; display: flex; flex-direction: column; min-height: 0; max-height: 100%; }
  .page-hero--demo .cx-canvas .cx-bar { flex: none; min-height: 1.5rem; padding: 0 2px .5rem; }
  .page-hero--demo .cx-canvas .cx-crumb { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .page-hero--demo .cx-canvas .cx-prompt { flex: none; padding: .5625rem .75rem; border-radius: .75rem; gap: .5rem; }
  .page-hero--demo .cx-canvas .cx-prompt p { font-size: .8125rem; line-height: 1.4; }
  .page-hero--demo .cx-canvas .cx-ptext { min-height: 4.2em; }
  .page-hero--demo .cx-canvas .cx-status { display: none; }
  .page-hero--demo .cx-canvas .cx-board { flex: 0 1 auto; min-height: 0; margin: .25rem -.5rem 0; aspect-ratio: 600 / 222; overflow: hidden; }
  .page-hero--demo .cx-canvas .cx-svg { width: 100%; height: auto; margin-top: -9.6%; }
  .page-hero--demo .cx-canvas .cx-lab { font-size: 14.5px; }
  .page-hero--demo .cx-canvas .cx-sub { display: none; }
  .page-hero--demo .cx-canvas .cx-elabel { font-size: 10px; }
  .page-hero--demo .cx-canvas .cx-foot { flex: none; flex-wrap: nowrap; justify-content: center; gap: .375rem; padding: .5rem 0 0; }
  .page-hero--demo .cx-canvas .cx-foot span { padding: .25rem .5625rem; font-size: .6875rem; white-space: nowrap; }
  .page-hero--demo .cx-float { display: none !important; }
  @container hpdemo (max-height: 20.5rem) { .page-hero--demo .cx-canvas .cx-foot { display: none; } }
  @container hpdemo (min-height: 14.5rem) and (max-height: 18rem) { .page-hero--demo .cx-canvas .cx-bar { display: none; } .page-hero--demo .cx-canvas .cx-ptext { min-height: 0; } }
  @container hpdemo (max-height: 14.5rem) { .page-hero--demo .cx-canvas .cx-prompt { display: none; } }
}

@media (max-width: 760px) and (min-height: 500px) {
  /* /ai/ product window: the same three live scenes, trimmed to the room available */
  .page-hero.aiv-hero::before { background: linear-gradient(180deg, rgba(5, 11, 62, .74) 0%, rgba(5, 11, 62, .5) 34%, rgba(5, 11, 62, 0) 62%) !important; }
  .aiv-hero .hero-demo { justify-content: flex-start !important; }
  .aiv-hero .hero-demo::before { display: none; }
  .aiv-hero .aiv-card { flex: 1 1 0; min-height: 0; max-height: 33rem; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 1rem 2rem -.75rem rgba(3, 6, 60, .6); }
  .aiv-hero .aiv-tabs { flex: none; }
  .aiv-hero .aiv-tabs button { padding: .5625rem .5rem; }
  .aiv-hero .aiv-stage { flex: 1 1 0; min-height: 0; padding: .625rem; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
  .aiv-hero .aiv-scene { min-height: 0; gap: .5rem; }
  .aiv-hero .aiv-scene > * { flex: none; }
  .aiv-hero .aiv-foot, .aiv-hero .aiv-compose { display: none; }
  .aiv-hero .aiv-status { height: 1.25rem; font-size: .75rem; }
  /* DAT */
  .aiv-hero .aiv-ask { min-height: 0; padding: .4375rem .5rem .4375rem .625rem; }
  .aiv-hero .aiv-ask p { font-size: .8125rem; line-height: 1.35; }
  .aiv-hero .aiv-head b { font-size: .875rem; }
  .aiv-hero .aiv-kpis { gap: .375rem; }
  .aiv-hero .aiv-kpis > div { padding: .375rem .5625rem; }
  .aiv-hero .aiv-kpis b { font-size: 1.0625rem; }
  .aiv-hero .aiv-scene > .aiv-charts { flex: 1 1 0; min-height: 0; gap: .375rem; grid-auto-rows: minmax(0, 1fr); }
  .aiv-hero .aiv-ch { min-height: 0; padding: .5rem .5625rem .375rem; }
  .aiv-hero .aiv-ch h5 { flex: none; margin-bottom: .5rem; }
  .aiv-hero .aiv-plot { min-height: 0; grid-template-rows: minmax(2.5rem, 1fr) auto; }
  @container hpdemo (max-height: 34rem) { .aiv-hero .aiv-charts > .aiv-ch:nth-child(2) { display: none; } }
  @container hpdemo (max-height: 25.5rem) { .aiv-hero .aiv-kpis em, .aiv-hero .aiv-dat .aiv-head { display: none; } }
  @container hpdemo (max-height: 20.5rem) { .aiv-hero .aiv-kpis > div:nth-child(n+3) { display: none; } }
  @container hpdemo (max-height: 18.5rem) { .aiv-hero .aiv-dat .aiv-status { display: none; } }
  @container hpdemo (max-height: 17rem) { .aiv-hero .aiv-kpis { display: none; } }
  /* MRO */
  .aiv-hero .aiv-steps { grid-template-columns: repeat(4, auto); justify-content: space-between; height: 1.375rem; font-size: .6875rem; }
  .aiv-hero .aiv-card .aiv-steps li { flex-direction: row; gap: .3125rem; }
  .aiv-hero .aiv-steps i { width: 1.125rem; height: 1.125rem; font-size: .625rem; }
  .aiv-hero .aiv-scene > .aiv-mro-grid { flex: 1 1 0; min-height: 0; gap: .5rem; grid-template-rows: auto minmax(0, 1fr); }
  .aiv-hero .aiv-doc { padding: .5rem .625rem .375rem; line-height: 1.5; }
  .aiv-hero .aiv-doc-h { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; padding-bottom: .3125rem; margin-bottom: .375rem; }
  .aiv-hero .aiv-doc h6 { margin-bottom: .25rem; }
  .aiv-hero .aiv-doc p { margin-bottom: .25rem; }
  .aiv-hero .aiv-mro-right { min-height: 0; gap: .5rem; }
  .aiv-hero .aiv-norm { display: none; }
  .aiv-hero .aiv-tasks { flex: 1 1 0; min-height: 0; }
  .aiv-hero .aiv-tasks ul { min-height: 0; grid-auto-rows: minmax(1.5rem, 1fr); }
  .aiv-hero .aiv-tbl-h { flex: none; height: 1.625rem; }
  .aiv-hero .aiv-tasks li { grid-template-columns: 2.125rem minmax(0, 1fr) 1rem; }
  .aiv-hero .aiv-tasks li em { font-size: 0; gap: 0; }
  @container hpdemo (max-height: 32rem) { .aiv-hero .aiv-doc .aiv-doc-x { display: none; } }
  @container hpdemo (max-height: 28.5rem) { .aiv-hero .aiv-doc p:not(.aiv-doc-x) ~ p { display: none; } }
  @container hpdemo (max-height: 24.5rem) { .aiv-hero .aiv-doc p { display: none; } .aiv-hero .aiv-doc h6 { margin-bottom: .125rem; } .aiv-hero .aiv-scan { display: none; } }
  @container hpdemo (max-height: 21rem) { .aiv-hero .aiv-mro .aiv-status { display: none; } }
  @container hpdemo (max-height: 19.5rem) { .aiv-hero .aiv-doc { display: none; } .aiv-hero .aiv-scene > .aiv-mro-grid { grid-template-rows: minmax(0, 1fr); } }
  /* MCP */
  .aiv-hero .aiv-user { padding: .4375rem .6875rem; line-height: 1.35; }
  .aiv-hero .aiv-call { grid-template-columns: 1rem minmax(0, 1fr) auto; height: 1.625rem; padding: 0 .625rem; }
  .aiv-hero .aiv-call .arg { display: none; }
  .aiv-hero .aiv-trace-h { height: 1.5rem; padding: 0 .625rem; }
  .aiv-hero .aiv-scene > .aiv-ans { flex: 1 1 auto; min-height: 0; padding: .5rem .625rem .125rem; }
  .aiv-hero .aiv-ans p { line-height: 1.4; margin-bottom: .25rem; }
  .aiv-hero .aiv-ans th { height: 1.375rem; } .aiv-hero .aiv-ans td { height: 1.5rem; }
  @container hpdemo (max-height: 30.5rem) { .aiv-hero .aiv-ans table { display: none; } .aiv-hero .aiv-ans { padding-bottom: .375rem; } }
  @container hpdemo (max-height: 25rem) { .aiv-hero .aiv-mcp .aiv-head { display: none; } }
  @container hpdemo (max-height: 23.5rem) { .aiv-hero .aiv-trace-h { display: none; } }
  @container hpdemo (max-height: 22rem) { .aiv-hero .aiv-mcp .aiv-status { display: none; } }
  @container hpdemo (max-height: 20rem) { .aiv-hero .aiv-ans-more { display: none; } }
}

@media (max-width: 760px) and (min-height: 500px) {
  /* /about-us/ and /career/: photograph on top (never taller than keeps every face in frame), copy below */
  .page-hero.hx-hero { padding-top: 0 !important; }
  .hx-hero .hx-media { flex: 1000 1 0; min-height: 7.5rem; height: auto !important; margin-bottom: -1.25rem !important; }
  .hx-hero--about .hx-media { max-height: 78vw; --hx-pos: 56% 24%; }
  .hx-hero--career .hx-media { max-height: 96vw; --hx-pos: 64% 78%; }
  .hx-hero > .container { flex: 1 0 auto !important; justify-content: center; }
  .hx-hero .hx-facts { display: none; }
  /* /contact/: copy, the two details as label/value rows, then the live map */
  .ctx-hero .ctx-details { display: grid; grid-template-columns: minmax(0, 1fr); max-width: none; margin-top: .875rem; padding-top: .75rem; }
  .ctx-hero .ctx-details > div, .ctx-hero .ctx-details > div:first-child { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); align-items: baseline; padding: 0; border: 0; margin: 0; }
  .ctx-hero .ctx-details > div + div { margin-top: .5rem; padding-top: .625rem; border-top: 1px solid rgba(255, 255, 255, .16); }
  .ctx-hero .ctx-details dt { margin: 0; font-size: .625rem; letter-spacing: .14em; }
  .ctx-hero .ctx-details dd { margin: 0; min-width: 0; }
  .ctx-hero .ctx-mail { font-size: 1rem; }
  .ctx-hero .ctx-details address { font-size: .8125rem; line-height: 1.45; }
  .ctx-hero .ctx-links { margin-top: .4375rem; }
  .ctx-hero .ctx-map { flex: 1 1 0; min-height: 6rem; height: auto !important; margin: 0 !important; }
}
@media (max-width: 760px) and (min-height: 500px) and (max-height: 620px) {
  .ctx-hero .ctx-links { display: none; }
  .ctx-hero .ctx-details { margin-top: .75rem; padding-top: .625rem; }
}
/* tall phones: there is room, so the full paragraph and the chips come back */
@media (max-width: 760px) and (min-height: 800px) {
  .page-hero--demo:has(.cx-canvas) .hp-more, .coinx-hero .hp-more, .mro-air-hero .hp-more { display: inline; }
  .page-hero--demo .cx-connects, .sapx-hero .sapx-connects, .coinx-hero .coinx-facts { display: flex !important; margin-top: .875rem !important; gap: .375rem !important; }
}
@media (max-width: 760px) and (min-height: 760px) {
  .hx-hero .hp-more { display: inline; }
  .hx-hero .hx-facts { display: grid; margin-top: 1.125rem; }
  .hx-hero .hx-facts li, .hx-hero .hx-facts li:first-child { padding: .5rem 0; }
  .hx-hero .hx-facts li:last-child { padding-bottom: 0; }
}

/* ---------- /mro/ (shares the home slider classes, so everything is scoped to .mro-air-hero) ---------- */
@media (max-width: 760px) and (min-height: 500px) {
  .hero-slider.hero-panels.mro-air-hero { height: calc(100vh - 72px) !important; height: calc(100svh - var(--header-h, 72px)) !important; min-height: 0 !important; }
  .mro-air-hero .slide { box-sizing: border-box; height: 100%; min-height: 0 !important; padding: 3.5rem 0 1rem !important; flex-direction: column !important; align-items: stretch !important; justify-content: flex-start !important; }
  .mro-air-hero .slide.slide--air { padding-bottom: 2.75rem !important; }
  .mro-air-hero .slide > .container { flex: 1 1 auto; min-height: 0; width: 100%; display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: .875rem !important; padding-top: 0 !important; padding-bottom: 0 !important; }
  .mro-air-hero .slide-content { flex: none; align-self: stretch !important; }
  .mro-air-hero .slide-content .eyebrow { display: block; margin: 0 0 .5rem !important; font-size: .6875rem !important; line-height: 1.35 !important; letter-spacing: .14em !important; }
  .mro-air-hero .slide-content h1 { margin: 0 0 .5rem !important; font-size: clamp(1.625rem, 7.4vw, 2.125rem) !important; line-height: 1.08 !important; }
  .mro-air-hero .slide-content p { margin: 0 0 .875rem !important; font-size: .9375rem !important; line-height: 1.45 !important; }
  .mro-air-hero .hp-more { display: none; }
  .mro-air-hero .slide-content .btn { padding: .6875rem 1.125rem !important; font-size: .9375rem !important; }
  .mro-air-hero .hero-demo { flex: 1 1 0 !important; align-self: stretch !important; width: 100% !important; max-width: none !important; margin: 0 !important; position: relative !important; inset: auto !important; min-height: 0 !important; height: auto !important; display: flex !important; flex-direction: column; justify-content: center; align-items: center; container: hpdemo / size; transform: none !important; }
  .mro-air-hero .slide--air .air-scene { width: min(100%, 176cqh) !important; max-width: none !important; margin: 0 !important; }
  .mro-air-hero .en-panel { box-sizing: border-box; width: min(100%, calc((100cqh - 5.75rem) * 2.2)); padding: .625rem .75rem .5rem; border-radius: 1rem; }
  .mro-air-hero .en-cards { display: none !important; }
}
@media (max-width: 760px) and (min-height: 500px) and (max-height: 700px) {
  .mro-air-hero .slide { padding: 3.25rem 0 .75rem !important; }
  .mro-air-hero .slide.slide--air { padding-bottom: 2.25rem !important; }
  .mro-air-hero .slide-content h1 { font-size: clamp(1.5rem, 6.8vw, 1.875rem) !important; margin-bottom: .375rem !important; }
  .mro-air-hero .slide-content p { font-size: .875rem !important; line-height: 1.4 !important; margin-bottom: .75rem !important; }
  .mro-air-hero .slide-content .btn { padding: .5625rem 1rem !important; font-size: .875rem !important; }
}

/* ---------- tablets, laptops and large screens: the hero fills the viewport, content centred ---------- */
@media (min-width: 761px) {
  .page-hero.page-hero--demo, .page-hero.aiv-hero, .page-hero.sapx-hero, .page-hero.coinx-hero, .page-hero.hx-hero, .page-hero.ctx-hero {
    box-sizing: border-box; display: flex !important; flex-direction: column; justify-content: center;
    min-height: calc(100vh - 72px) !important; min-height: calc(100svh - var(--header-h, 72px)) !important;
    padding-top: clamp(1.5rem, 4.5vh, 4rem) !important; padding-bottom: clamp(1.5rem, 4.5vh, 4rem) !important; }
  .page-hero--demo > .container, .aiv-hero > .container, .sapx-hero > .container, .coinx-hero > .container, .hx-hero > .container, .ctx-hero > .container { width: 100%; }
  .hero-slider.hero-panels.mro-air-hero { min-height: calc(100vh - 72px) !important; min-height: calc(100svh - var(--header-h, 72px)) !important; }
}

/* /about-us/ and /career/, stacked (tablet and small laptop): photograph fills what the copy leaves */
@media (min-width: 761px) and (max-width: 1100px) {
  .page-hero.hx-hero { padding-top: 0 !important; justify-content: flex-start; align-items: stretch !important; }
  .hx-hero .hx-media { flex: 1000 1 0; min-height: 13rem; height: auto !important; margin-bottom: -1.5rem; }
  .hx-hero--about .hx-media { max-height: 78vw; --hx-pos: 54% 25%; }
  .hx-hero--career .hx-media { max-height: 66vw; --hx-pos: 60% 72%; }
  .hx-hero > .container { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; }
}
@media (min-width: 761px) and (max-width: 1100px) and (max-height: 900px) {
  .hx-hero .hx-facts { margin-top: 1.5rem; }
  .hx-hero h1 { margin-bottom: .875rem; }
  .hx-hero .hx-copy > p { margin-bottom: 1.25rem; max-width: 44rem; }
  .hx-hero .hx-copy, .hx-hero .hx-facts { max-width: 46rem; }
}
/* side by side: the copy never runs under the photograph, and on /about-us/ the picture is framed so
   all five people stay in view at every width (it is a soft-edged band while the hero is taller than
   the frame allows, and full height once the screen is wide enough) */
@media (min-width: 1101px) {
  .page-hero.hx-hero { flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; }
  .hx-hero .hx-copy { max-width: min(33rem, 39vw); }
  .hx-hero--about .hx-media { left: 42%; top: 50%; bottom: auto; height: min(100%, 44vw); transform: translateY(-50%); --hx-pos: 52% 26%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 6%, #000 12%), linear-gradient(180deg, transparent 0%, #000 13%, #000 85%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 6%, #000 12%), linear-gradient(180deg, transparent 0%, #000 13%, #000 85%, transparent 100%);
    -webkit-mask-composite: source-in; mask-composite: intersect; }
}
/* /contact/: the map column runs the full height of the hero */
@media (min-width: 761px) {
  .page-hero.ctx-hero { --hx-pad: clamp(1.5rem, 4.5vh, 4rem); }
  .ctx-hero > .container { flex: 1 1 auto; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .ctx-hero > .container { grid-template-rows: auto minmax(20rem, 1fr); align-items: start; gap: 1.5rem; }
  .ctx-hero .ctx-map { height: auto; align-self: stretch; }
}

/* stacked tablets: the cards use the full column like the other pages, and the DAT charts stay inside the screen */
@media (min-width: 761px) and (max-width: 980px) {
  .sapx-hero .sapx-demo, .coinx-hero .coinx-demo { max-width: none; margin-left: 0; }
  .page-hero--demo .concept-stage .chart-card .chart { height: clamp(120px, 13.5vh, 180px); }
}
/* /mro/ on tablets: copy and scene centred in the full-height hero */
@media (min-width: 761px) and (max-width: 980px) {
  .mro-air-hero .slide { box-sizing: border-box; min-height: calc(100vh - 72px); min-height: calc(100svh - var(--header-h, 72px)); flex-direction: column !important; align-items: stretch !important; padding-top: 4rem !important; }
  .mro-air-hero .slide > .container { flex: 1 1 auto; width: 100%; display: flex !important; flex-direction: column; justify-content: center; gap: 2.25rem; }
  .mro-air-hero .slide > .container > * { align-self: stretch !important; }
  .mro-air-hero .slide--air .air-scene { margin: 0 auto !important; }
}
/* ---------- tall, wide screens: type and art grow so the full-height hero is not mostly empty ----------
   (zoom keeps every block on its grid column and re-renders text and SVG at full resolution;
   the DAT charts are drawn as SVG in the hero for the same reason) */
@media (min-width: 1280px) and (min-height: 800px) {
  .page-hero--demo .hero-copy, .aiv-hero .hero-copy, .sapx-hero .sapx-copy, .coinx-hero .coinx-copy, .hx-hero .hx-copy, .ctx-hero .ctx-copy { zoom: 1.08; }
  .page-hero--demo .hero-demo, .sapx-hero .sapx-demo, .coinx-hero .coinx-demo { zoom: 1.1; }
  .aiv-hero .hero-demo { zoom: 1.05; }
  .mro-air-hero .slide-content, .mro-air-hero .en-panel { zoom: 1.04; }
}
@media (min-width: 1600px) and (min-height: 920px) {
  .page-hero--demo .hero-copy, .aiv-hero .hero-copy, .sapx-hero .sapx-copy, .coinx-hero .coinx-copy, .hx-hero .hx-copy, .ctx-hero .ctx-copy { zoom: 1.18; }
  .page-hero--demo .hero-demo, .sapx-hero .sapx-demo, .coinx-hero .coinx-demo { zoom: 1.22; }
  .aiv-hero .hero-demo { zoom: 1.12; }
  .mro-air-hero .slide-content, .mro-air-hero .en-panel { zoom: 1.1; }
  .mro-air-hero .slide--air .air-scene { width: min(60vw, 1150px) !important; }
}
@media (min-width: 2200px) and (min-height: 1150px) {
  .page-hero--demo .hero-copy, .aiv-hero .hero-copy, .sapx-hero .sapx-copy, .coinx-hero .coinx-copy, .hx-hero .hx-copy, .ctx-hero .ctx-copy { zoom: 1.3; }
  .page-hero--demo .hero-demo, .sapx-hero .sapx-demo, .coinx-hero .coinx-demo { zoom: 1.45; }
  .aiv-hero .hero-demo { zoom: 1.25; }
  .mro-air-hero .slide-content, .mro-air-hero .en-panel { zoom: 1.2; }
  .mro-air-hero .slide--air .air-scene { width: min(56vw, 1320px) !important; }
}
/* === page heroes one-screen END */

/* === leadership team START */
/* Hero: the shared .hx-hero anatomy (/about-us/, /career/) with its own photo and tint. */
.page-hero.hx-hero--team { --hx-tint: 76, 107, 255; --hx-eyebrow: #9DB8FF; background-image:
  radial-gradient(34% 80% at 47% 50%, rgba(60, 92, 255, .34), transparent 70%),
  radial-gradient(40% 62% at 0% 100%, rgba(123, 76, 240, .34), transparent 72%),
  radial-gradient(36% 50% at 8% 0%, rgba(25, 183, 232, .22), transparent 70%),
  linear-gradient(135deg, #030D24 0%, #041537 55%, #0B1C6E 100%); }
.hx-hero--team .hx-media { --hx-pos: 50% 40%; }
.tm-grad { background: linear-gradient(90deg, #8FB4FF, #38D0FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* facts strip as stats: big numerals */
.hx-hero--team .hx-facts b { font-size: 1.875rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.hx-hero--team .hx-facts span { margin-top: .4rem; }
@media (max-width: 1100px) {
  .hx-hero--team .hx-media { --hx-pos: 50% 40%; }
  .page-hero.hx-hero--team { background-image: radial-gradient(90% 34% at 50% 34%, rgba(60, 92, 255, .28), transparent 72%), radial-gradient(70% 40% at 0% 100%, rgba(123, 76, 240, .34), transparent 72%), linear-gradient(160deg, #030D24 0%, #041537 55%, #0B1C6E 100%); }
}
@media (min-width: 761px) and (max-width: 1100px) { .hx-hero--team .hx-media { max-height: 56vw; } }
@media (max-width: 760px) and (min-height: 500px) { .hx-hero--team .hx-media { max-height: 74vw; --hx-pos: 54% 50%; } }
@media (min-width: 1101px) {
  .hx-hero--team .hx-media { left: 45%; top: 50%; bottom: auto; height: min(100%, 46vw); transform: translateY(-50%); --hx-pos: 100% 45%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 9%, rgba(0, 0, 0, .55) 17%, #000 25%), linear-gradient(180deg, transparent 0%, #000 13%, #000 85%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, transparent 9%, rgba(0, 0, 0, .55) 17%, #000 25%), linear-gradient(180deg, transparent 0%, #000 13%, #000 85%, transparent 100%);
    -webkit-mask-composite: source-in; mask-composite: intersect; }
}
@media (max-width: 520px) {
  .hx-hero--team .hx-facts li, .hx-hero--team .hx-facts li:first-child { grid-template-columns: 4.75rem minmax(0, 1fr); align-items: center; }
  .hx-hero--team .hx-facts b { font-size: 1.5rem; }
  .hx-hero--team .hx-facts span { margin-top: 0; }
}
/* The five people: light section directly under the hero */
.tm-section { padding: 72px 0 88px; background: var(--light, #F4F5FD); scroll-margin-top: 72px; }
.tm-intro { max-width: 46rem; margin: 0 auto 40px; text-align: center; }
.tm-intro h2 { margin: 6px 0 14px; font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.1; letter-spacing: -.02em; }
.tm-intro p { margin: 0; font-size: 1.05rem; line-height: 1.65; color: var(--muted, #4A5272); }
.tm-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.tm-card { box-sizing: border-box; width: calc((100% - 80px) / 5); padding: 30px 14px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 1px solid var(--border, #E3E7F3); border-radius: 16px; box-shadow: 0 10px 30px rgba(27,42,122,.07); transition: transform .25s, box-shadow .25s; }
.tm-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(27,42,122,.13); }
.tm-photo { position: relative; width: 140px; height: 140px; margin: 0 auto 20px; padding: 4px; box-sizing: border-box; border-radius: 50%; background: linear-gradient(135deg, #2A44D4, #7B4CF0 55%, #19B7E8); }
.tm-photo img { display: block; width: 100%; height: 100%; box-sizing: border-box; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 3px solid #fff; background: #EEF1FE; }
.tm-card h3 { margin: 0 0 6px; font-size: 1.15rem; letter-spacing: -.01em; }
.tm-role { margin: 0; font-size: .9rem; line-height: 1.4; font-weight: 600; color: var(--accent); }
.tm-desc { margin: 10px 0 0; font-size: .875rem; line-height: 1.5; color: var(--muted, #5A6280); }
/* LinkedIn: compact icon badge on the corner of the portrait, every screen size */
.tm-in { position: absolute; right: 2px; bottom: 2px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #0A66C2; border: 3px solid #fff; box-sizing: border-box; box-shadow: 0 4px 12px rgba(10,30,90,.28); transition: background .2s, transform .2s; }
.tm-in svg { width: 15px; height: 15px; fill: #fff; }
.tm-in::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; }
.tm-in:hover, .tm-in:focus-visible { background: #004182; transform: scale(1.08); }
@media (max-width: 1100px) { .tm-photo { width: 120px; height: 120px; } .tm-grid { gap: 14px; } .tm-card { width: calc((100% - 56px) / 5); padding: 26px 10px 24px; } }
@media (max-width: 940px) { .tm-grid { gap: 18px; } .tm-card { width: calc((100% - 36px) / 3); } .tm-photo { width: 140px; height: 140px; } }
@media (max-width: 720px) {
  .tm-section { padding: 44px 0 56px; }
  .tm-intro { margin-bottom: 26px; } .tm-intro p { font-size: .95rem; }
  .tm-grid { gap: 12px; }
  .tm-card { width: calc(50% - 6px); padding: 22px 8px 18px; }
  .tm-photo { width: 108px; height: 108px; margin-bottom: 12px; padding: 3px; }
  .tm-card h3 { font-size: 1rem; margin-bottom: 4px; }
  .tm-role { font-size: .8rem; }
  .tm-desc { font-size: .78rem; margin-top: 6px; }
  .tm-in { width: 32px; height: 32px; border-width: 2px; right: 0; bottom: 0; }
  .tm-in svg { width: 14px; height: 14px; }
}
/* === leadership team END */

/* === leadership team part 2 START */
.tm-eyebrow { color: var(--accent); }
.tm-values { padding: 88px 0; background: #fff; text-align: center; }
.tm-values h2 { margin: 6px auto 44px; max-width: 30ch; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.15; letter-spacing: -.02em; }
.tm-values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: left; }
.tm-value { padding: 28px 26px 30px; border: 1px solid var(--border, #E3E7F3); border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(27,42,122,.06); }
.tm-vico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #4C6BFF, #2A44D4); box-shadow: 0 10px 22px rgba(42,68,212,.28); }
.tm-vico--b { background: linear-gradient(135deg, #4FD2F7, #19B7E8); box-shadow: 0 10px 22px rgba(25,183,232,.3); }
.tm-vico--c { background: linear-gradient(135deg, #3FD08A, #1AB56B); box-shadow: 0 10px 22px rgba(26,181,107,.3); }
.tm-vico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tm-value h3 { margin: 0 0 8px; font-size: 1.2rem; }
.tm-value p { margin: 0; color: var(--muted, #5A6280); line-height: 1.55; }
.tm-cta { padding: 0 0 96px; background: #fff; }
.tm-cta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tm-cta-card { padding: 40px 36px; border-radius: 18px; color: #fff; background: radial-gradient(60% 90% at 100% 0%, rgba(25,183,232,.28), transparent 70%), linear-gradient(135deg, #041537 0%, #0A1F5C 100%); }
.tm-cta-card--alt { background: radial-gradient(60% 90% at 100% 0%, rgba(123,76,240,.38), transparent 70%), linear-gradient(135deg, #0A1F5C 0%, #1B2A9A 100%); }
.tm-cta-card h2 { margin: 0 0 10px; font-size: 1.7rem; color: #fff; }
.tm-cta-card p { margin: 0 0 24px; max-width: 34rem; color: rgba(255,255,255,.82); line-height: 1.6; }
.tm-cta-card .btn:not(.btn--ghost) { background: #fff; color: #1B1FB8; }
@media (max-width: 900px) { .tm-values-grid, .tm-cta-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .tm-values { padding: 56px 0; } .tm-cta { padding: 0 0 64px; } .tm-cta-card { padding: 30px 24px; } }
/* === leadership team part 2 END */
/* === page heroes one-screen (addendum) START */
/* /sap/ on narrow phones: roadmap title and "% complete" share one line inside the panel */
@media (max-width: 760px) and (min-height: 500px) {
  .sapx-hero .sapx-head { gap: .5rem; }
  .sapx-hero .sapx-title { min-width: 0; font-size: .78rem; overflow: hidden; text-overflow: ellipsis; }
  .sapx-hero .sapx-pct { font-size: .6875rem; }
}
/* === page heroes one-screen (addendum) END */
/* === page heroes one-screen (addendum 2) START */
@media (max-width: 400px) and (min-height: 500px) {
  .sapx-hero .sapx-head { padding: 0 .125rem; gap: .375rem; }
  .sapx-hero .sapx-title { font-size: .75rem; letter-spacing: -.015em; }
}
/* === page heroes one-screen (addendum 2) END */

/* Company dropdown now sits near the right edge: open it leftwards so it never overflows */
.main-nav > ul > li.has-dropdown:nth-last-child(2) > .dropdown { left: auto; right: 0; transform: none; }

/* === hero buttons aligned START: same size, left edge and spacing on every hero, phones */
@media (max-width: 640px) {
  .hero-slider .slide-content .btn, .hero .slide-content .btn, .mro-air-hero .slide-content .btn, .page-hero--demo .hero-copy .btn, .aiv-hero .hero-copy .btn,
  .sapx-hero .sapx-copy .btn, .coinx-hero .coinx-copy .btn, .hx-hero .hx-copy .btn, .ctx-hero .btn, .career-hero .btn, .about-hero .btn, .tm-hero .btn {
    box-sizing: border-box !important; min-height: 3rem !important; padding: 0 1.25rem !important; font-size: 1rem !important; line-height: 1 !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: .5rem !important; margin: 0 !important; border-radius: .75rem !important;
  }
  .hero-actions { gap: .75rem !important; align-items: center !important; justify-content: flex-start !important; margin-top: 1.25rem !important; }
}
/* === hero buttons aligned END */

/* === hero CTA below picture START: phones, centred under the visual */
@media (max-width: 640px) {
  :is(.hero-slider .slide .container, .sapx-hero > .container, .coinx-hero > .container, .aiv-hero > .container, .page-hero--demo > .container):has(> :is(.hero-demo, .sapx-demo, .coinx-demo)) {
    display: flex !important; flex-direction: column !important;
  }
  :is(.slide-content, .sapx-copy, .coinx-copy, .hero-copy):has(~ :is(.hero-demo, .sapx-demo, .coinx-demo)) { display: contents !important; }
  :is(.slide-content, .sapx-copy, .coinx-copy, .hero-copy) > :is(.btn, .sapx-actions, .cx-actions, .aiv-actions, .hero-actions) { order: 3; align-self: center; justify-content: center !important; margin-top: 1rem !important; }
  .container > :is(.hero-demo, .sapx-demo, .coinx-demo) { order: 2; }
}
/* === hero CTA below picture END */
@media (max-width: 640px) {
  :is(.hero-slider .slide .container, .sapx-hero > .container, .coinx-hero > .container, .aiv-hero > .container, .page-hero--demo > .container):has(> :is(.hero-demo, .sapx-demo, .coinx-demo)) { gap: 0 !important; padding-bottom: .75rem !important; }
  .container > :is(.hero-demo, .sapx-demo, .coinx-demo) { margin-top: .75rem !important; }
  :is(.slide-content, .sapx-copy, .coinx-copy, .hero-copy) > :is(.sapx-actions, .cx-actions, .aiv-actions, .hero-actions) { flex-wrap: nowrap !important; width: auto !important; max-width: 100% !important; padding: 0 1rem !important; box-sizing: border-box !important; }
  :is(.cx-actions, .aiv-actions) .btn { padding: 0 1rem !important; white-space: nowrap; }
}
/* === hero CTA below picture END2 */
@media (max-width: 640px) {
  .pm-hero .container > .btn, .ctx-hero .btn:not(.btn--ghost), .career-hero .btn, .about-hero .btn, .tm-hero .btn { display: flex !important; width: fit-content !important; margin-left: auto !important; margin-right: auto !important; }
}
/* === hero CTA below picture END3 */
@media (max-width: 640px) { .hx-hero .hx-copy > .btn { display: flex !important; width: fit-content !important; margin-left: auto !important; margin-right: auto !important; } }

/* === leadership LinkedIn compact on phones START: now handled in the 'leadership team' block (.tm-in is an icon badge on the photo corner at every size) */
/* === leadership LinkedIn compact on phones END */

/* === hero buttons one colour START: white with navy text on every dark hero (navy on the light home slide) */
:is(.hero-slider .slide, .sapx-hero, .coinx-hero, .aiv-hero, .page-hero--demo, .ctx-hero, .hx-hero, .pm-hero, .tm-hero, .career-hero, .about-hero) .btn:not(.btn--ghost) {
  background: #fff !important; color: #0B1B6B !important; border-color: transparent !important; box-shadow: 0 .625rem 1.75rem rgba(2, 8, 40, .35) !important;
}
:is(.hero-slider .slide, .sapx-hero, .coinx-hero, .aiv-hero, .page-hero--demo, .ctx-hero, .hx-hero, .pm-hero, .tm-hero, .career-hero, .about-hero) .btn:not(.btn--ghost):hover { background: #EAF0FF !important; }
.hero-slider .slide--ov .btn:not(.btn--ghost) { background: #041537 !important; color: #fff !important; }
.hero-slider .slide--ov .btn:not(.btn--ghost):hover { background: #0B2460 !important; }
@media (max-width: 640px) {
  :is(.hero-slider .slide .container):has(> .concept-player) { display: flex !important; flex-direction: column !important; gap: 0 !important; padding-bottom: .75rem !important; }
  .slide-content:has(~ .concept-player) { display: contents !important; }
  .container > .concept-player { order: 2; margin-top: .75rem !important; }
}
/* === hero buttons one colour END */

/* === hero buttons brand blue START: the site's own primary blue on every hero */
:is(.hero-slider .slide, .sapx-hero, .coinx-hero, .aiv-hero, .page-hero--demo, .ctx-hero, .hx-hero, .pm-hero, .tm-hero, .career-hero, .about-hero) .btn:not(.btn--ghost),
.hero-slider .slide--ov .btn:not(.btn--ghost) {
  background: linear-gradient(135deg, #3C5CFF, #2A44D4) !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, .38) !important; box-shadow: 0 .625rem 1.75rem rgba(8, 16, 90, .45) !important;
}
:is(.hero-slider .slide, .sapx-hero, .coinx-hero, .aiv-hero, .page-hero--demo, .ctx-hero, .hx-hero, .pm-hero, .tm-hero, .career-hero, .about-hero) .btn:not(.btn--ghost):hover,
.hero-slider .slide--ov .btn:not(.btn--ghost):hover { background: linear-gradient(135deg, #5472FF, #3350E6) !important; }
@media (max-width: 640px) {
  .hero-slider.hero-panels .slide .container:has(> :is(.hero-demo, .concept-player)) { padding-bottom: 3.75rem !important; }
  .hero-slider.hero-panels .slide > .container { padding-bottom: 3.75rem !important; }
}
/* === hero buttons brand blue END */

/* === centred CTAs on phones START */
@media (max-width: 720px) {
  .wa-cta { flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 14px; }
  .wa-note { padding-left: 0; border-left: 0; text-align: center; }
  form button.btn[type="submit"], form .btn[type="submit"] { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; text-align: center; }
}
/* === centred CTAs on phones END */

/* === ai page: flow + roadmap sections START */
.fx-eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #2A44D4; margin-bottom: 10px; }
.fx-grad { background: linear-gradient(90deg, #2A44D4, #8B3FE0 60%, #E0509C); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.flow-band.fx { background: radial-gradient(900px 420px at 85% -10%, rgba(139, 92, 246, .12), transparent 60%), radial-gradient(800px 400px at 0% 110%, rgba(42, 68, 212, .10), transparent 60%), #F7F8FF; }
/* --- 'Nothing commits without a person': approval panel (.nx-*) --- */
.flow-band.fx.nx-band { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 520px at 88% 0%, rgba(139, 92, 246, .42), transparent 62%), radial-gradient(760px 460px at 4% 100%, rgba(34, 197, 235, .22), transparent 60%), linear-gradient(135deg, #0B1B6B 0%, #1B2FA8 52%, #2A44D4 100%); }
.nx-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.nx-band .container { position: relative; }
.nx { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); grid-template-areas: "head panel" "rail panel"; grid-template-rows: auto 1fr; column-gap: clamp(32px, 4.5vw, 72px); row-gap: 28px; align-items: start; }
.nx-head { grid-area: head; }
.nx-rail { grid-area: rail; }
.nx-panel { grid-area: panel; }
.nx-band .fx-eyebrow { color: #9FE8FF; }
.nx-band h2 { color: #fff; margin: 0; }
.nx-band .fx-grad { background: linear-gradient(90deg, #8DE6FF, #C3B1FF 70%); -webkit-background-clip: text; background-clip: text; }
.nx-band .lane-lede { color: rgba(255, 255, 255, .8); margin: 14px 0 0; }

.nx-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.nx-step { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 16px; padding: 0 0 22px; }
.nx-step::before { content: ""; position: absolute; left: 16px; top: 36px; bottom: 2px; width: 2px; border-radius: 2px; background: rgba(255, 255, 255, .18); transition: background .5s ease; }
.nx-step:last-child { padding-bottom: 0; } .nx-step:last-child::before { display: none; }
.nx-step.is-done::before { background: linear-gradient(180deg, #2FC48D, rgba(47, 196, 141, .35)); }
.nx-mark { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff; transition: background .35s ease, border-color .35s ease, box-shadow .35s ease; }
.nx-mark i { font: 700 .82rem/1 var(--font-display); font-style: normal; }
.nx-mark svg { display: none; width: 16px; height: 16px; }
.nx-step.is-on .nx-mark { background: #fff; color: #2A44D4; border-color: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .16); }
.nx-step.is-done .nx-mark { background: #17A06A; border-color: #17A06A; color: #fff; box-shadow: none; }
.nx-step.is-done .nx-mark i { display: none; } .nx-step.is-done .nx-mark svg { display: block; }
.nx-step h3 { margin: 5px 0 5px; font-size: 1.08rem; color: #fff; letter-spacing: -.01em; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.nx-step p { margin: 0; font-size: .92rem; line-height: 1.55; color: rgba(255, 255, 255, .74); transition: color .35s ease; }
.nx-anim .nx-step:not(.is-on):not(.is-done) h3, .nx-anim .nx-step:not(.is-on):not(.is-done) p { color: rgba(255, 255, 255, .55); }
.nx-hil { padding: 3px 9px; border-radius: 999px; font: 700 .68rem/1.3 var(--font-body, inherit); letter-spacing: .03em; color: #0B5E3E; background: #BDF0D9; }
.nx-return { display: flex; align-items: center; gap: 12px; margin: 26px 0 0; padding: 12px 16px 12px 12px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-size: .9rem; font-weight: 500; line-height: 1.45; transition: background .5s ease, border-color .5s ease, opacity .5s ease; }
.nx-loop { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #17A06A; color: #fff; }
.nx-loop svg { width: 18px; height: 18px; }
.nx-anim:not(.nx-posted) .nx-return { opacity: .55; } .nx-anim:not(.nx-posted) .nx-loop { background: rgba(255, 255, 255, .2); }

.nx-panel { position: relative; margin: 0; background: #fff; color: #0B1B4B; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 40px 80px -24px rgba(4, 12, 60, .55), 0 12px 28px rgba(4, 12, 60, .22); overflow: hidden; }
.nx-bar { display: flex; align-items: center; gap: 12px; padding: 14px 20px; background: linear-gradient(180deg, #F6F8FF, #EFF2FE); border-bottom: 1px solid #E2E7FA; }
.nx-bar-title { display: inline-flex; align-items: center; gap: 8px; font: 700 .92rem/1 var(--font-display); color: #0B1B4B; }
.nx-bar-title svg { width: 18px; height: 18px; color: #7B4DE0; }
.nx-chip { display: inline-grid; } .nx-chip > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 5px 11px; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; transition: opacity .35s ease; }
.nx-chip-wait { color: #5B3CC4; background: #EDE6FC; } .nx-chip-wait i { width: 7px; height: 7px; border-radius: 50%; background: #8B5CF6; }
.nx-chip-ok { color: #0E7A50; background: #DDF5EA; } .nx-chip-ok svg { width: 12px; height: 12px; }
.nx-chip-wait, .nx-approved .nx-chip-ok { opacity: 1; } .nx-chip-ok, .nx-approved .nx-chip-wait { opacity: 0; }
.nx-sample { margin-left: auto; padding: 4px 10px; border-radius: 6px; border: 1px dashed #B9C3EE; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5A6699; white-space: nowrap; }
.nx-body { padding: 20px; display: grid; gap: 14px; }
.nx-kicker { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6B77A8; }
.nx-ask { display: flex; gap: 12px; align-items: flex-start; }
.nx-av { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 700 .74rem/1 var(--font-display); color: #fff; background: linear-gradient(135deg, #2A44D4, #7B4DE0); }
.nx-ask p { margin: 0; padding: 10px 14px; border-radius: 4px 14px 14px 14px; background: #F1F4FF; font-size: .9rem; line-height: 1.5; color: #1D2A5E; }
.nx-ask b { font-size: .78rem; color: #2A44D4; }
.nx-draft { border: 1px solid #DDE3F8; border-radius: 14px; overflow: hidden; background: #fff; }
.nx-draft-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 16px; padding: 14px 16px 12px; background: linear-gradient(90deg, rgba(42, 68, 212, .07), rgba(139, 92, 246, .07) 60%, rgba(34, 197, 235, .07)); border-bottom: 1px solid #E6EAF9; }
.nx-draft-head strong { display: block; margin-top: 4px; font: 700 1.05rem/1.2 var(--font-display); color: #0B1B4B; }
.nx-for { font-size: .78rem; color: #4A5272; } .nx-for b { color: #0B1B4B; }
.nx-rows { list-style: none; margin: 0; padding: 0; }
.nx-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto 3.4em; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid #EEF1FB; font-size: .88rem; }
.nx-t { color: #1D2A5E; font-weight: 500; }
.nx-src { padding: 3px 9px; border-radius: 999px; font-size: .68rem; font-weight: 700; white-space: nowrap; }
.nx-src--b { color: #2A44D4; background: #E6ECFF; } .nx-src--v { color: #6E4CC4; background: #EDE6FC; } .nx-src--c { color: #0C7FA6; background: #DDF4FB; }
.nx-h { text-align: right; font-variant-numeric: tabular-nums; color: #4A5272; font-weight: 600; }
.nx-total { display: flex; justify-content: space-between; padding: 10px 16px; font-size: .82rem; color: #4A5272; background: #FAFBFF; }
.nx-total b { color: #0B1B4B; font-variant-numeric: tabular-nums; }
.nx-auth { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; background: #F1FBF6; border: 1px solid #BFE8D4; }
.nx-shield { flex: none; width: 22px; height: 22px; color: #17A06A; }
.nx-auth p { margin: 0; flex: 1; min-width: 0; font-size: .84rem; line-height: 1.45; color: #2B4A3D; } .nx-auth b { display: block; color: #0B1B4B; font-size: .8rem; }
.nx-pass { flex: none; padding: 4px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700; color: #fff; background: #17A06A; }
.nx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.nx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 18px; border-radius: 10px; font-size: .88rem; font-weight: 700; border: 1px solid transparent; cursor: default; user-select: none; transition: background .3s ease, color .3s ease, border-color .3s ease, opacity .3s ease, box-shadow .3s ease, transform .15s ease; }
.nx-btn--approve { position: relative; color: #fff; background: #2A44D4; box-shadow: 0 8px 18px rgba(42, 68, 212, .32); }
.nx-btn--approve svg { width: 14px; height: 14px; }
.nx-lbl-done { display: none; }
.nx-approved .nx-btn--approve { background: #17A06A; box-shadow: 0 8px 18px rgba(23, 160, 106, .3); }
.nx-approved .nx-lbl-do { display: none; } .nx-approved .nx-lbl-done { display: inline; }
.nx-btn--ghost { color: #2A44D4; background: #fff; border-color: #C9D2F5; }
.nx-btn--reject { color: #6E4CC4; border-color: #D9CCF7; }
.nx-approved .nx-btn--ghost { opacity: .45; }
.nx-hint { margin-left: auto; font-size: .78rem; font-weight: 600; color: #6B5BB5; }
.nx-hint-ok { display: none; color: #0E7A50; } .nx-approved .nx-hint-ok { display: inline; } .nx-approved .nx-hint-wait { display: none; }
.nx-press .nx-btn--approve { transform: scale(.96); }
.nx-press .nx-btn--approve::after { content: ""; position: absolute; inset: -5px; border-radius: 14px; border: 2px solid rgba(42, 68, 212, .55); animation: nx-ring .6s ease-out forwards; }
@keyframes nx-ring { from { opacity: 1; transform: scale(.94); } to { opacity: 0; transform: scale(1.1); } }
.nx-audit { position: relative; padding-top: 14px; border-top: 1px solid #E6EAF9; }
.nx-audit ol { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; }
.nx-audit li { display: grid; grid-template-columns: 3em 18px minmax(0, 1fr); align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; font-size: .84rem; color: #33406F; }
.nx-audit time { font-variant-numeric: tabular-nums; font-size: .76rem; font-weight: 600; color: #7682B0; }
.nx-dot { justify-self: center; width: 9px; height: 9px; border-radius: 50%; } .nx-dot--v { background: #8B5CF6; } .nx-dot--b { background: #2A44D4; }
.nx-tick { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #17A06A; color: #fff; } .nx-tick svg { width: 11px; height: 11px; }
.nx-posted-row { background: #EAF8F1; color: #0B5E3E !important; font-weight: 600; }
.nx-replay { position: absolute; right: 0; top: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; border: 1px solid #D5DCF7; background: #fff; color: #2A44D4; font: 600 .74rem/1 inherit; cursor: pointer; }
.nx-replay[hidden] { display: none; } .nx-replay svg { width: 13px; height: 13px; }
.nx-replay:hover { background: #F1F4FF; } .nx-replay:focus-visible { outline: 2px solid #2A44D4; outline-offset: 2px; }

/* animated sequence: only when js/ai-approval.js has added .nx-anim (never under reduced motion) */
.nx-anim [data-at] { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.nx-anim [data-at].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .nx *, .nx *::before, .nx *::after { transition: none !important; animation: none !important; } }

@media (max-width: 1020px) {
  .nx { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "panel" "rail"; row-gap: 30px; }
  .nx-panel { max-width: 720px; width: 100%; }
}
@media (max-width: 560px) {
  .nx-bar { padding: 12px 14px; gap: 8px; flex-wrap: wrap; } .nx-bar-title { font-size: .86rem; gap: 6px; } .nx-chip > span { padding: 4px 9px; font-size: .7rem; } .nx-body { padding: 14px; gap: 12px; }
  .nx-sample { font-size: .6rem; padding: 3px 7px; letter-spacing: .06em; }
  .nx-rows li { grid-template-columns: minmax(0, 1fr) 3.2em; gap: 4px 10px; padding: 9px 12px; }
  .nx-rows .nx-t { grid-column: 1; grid-row: 1; } .nx-rows .nx-src { grid-column: 1; grid-row: 2; justify-self: start; } .nx-rows .nx-h { grid-column: 2; grid-row: 1 / span 2; }
  .nx-draft-head, .nx-total { padding-left: 12px; padding-right: 12px; }
  .nx-auth { align-items: flex-start; flex-wrap: wrap; gap: 8px 12px; } .nx-auth p { flex: 1 1 calc(100% - 40px); } .nx-pass { margin-left: 34px; }
  .nx-btn { flex: 1 1 auto; padding: 0 12px; } .nx-hint { flex: 1 0 100%; margin-left: 0; }
}

.board-band.bx { background: #fff; }
.bx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 36px; align-items: start; }
.bx-col { background: #fff; border: 1px solid #E2E7FA; border-radius: 18px; padding: 8px 22px 12px; box-shadow: 0 14px 34px rgba(27, 42, 122, .07); border-top: 4px solid #C4CEFA; }
.bx-col--live { border-top-color: #17A06A; background: linear-gradient(180deg, #F2FCF7, #fff 40%); }
.bx-col--dev { border-top-color: #2A44D4; background: linear-gradient(180deg, #F2F5FF, #fff 40%); }
.bx-col--design { border-top-color: #A58BEA; background: linear-gradient(180deg, #F7F3FF, #fff 40%); }
.bx-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 12px; }
.bx-head h3 { margin: 0; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.bx-col--live h3 { color: #0E7A50; } .bx-col--dev h3 { color: #2A44D4; } .bx-col--design h3 { color: #6E4CC4; }
.bx-count { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: #fff; background: #17A06A; }
.bx-col--dev .bx-count { background: #2A44D4; } .bx-col--design .bx-count { background: #8B6AE0; }
.bx-col ul { list-style: none; margin: 0; padding: 0; }
.bx-col li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid #ECEFFB; }
.bx-st { width: 22px; height: 22px; flex: none; }
.bx-col li b { flex: 1; font-weight: 600; font-size: .98rem; color: #0B1B4B; }
.bx-tag { padding: 4px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .04em; }
.bx-tag--iam { color: #2A44D4; background: #E6ECFF; } .bx-tag--dat { color: #0C7FA6; background: #DDF4FB; } .bx-tag--pm { color: #6E4CC4; background: #EDE6FC; }
@media (max-width: 980px) { .bx-grid { grid-template-columns: 1fr; } }
/* === ai page: flow + roadmap sections END */

/* === ai live-today section + centred DAT/MRO buttons START */
.lv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
.lv-card { padding: 22px 20px; border-radius: 18px; border: 1px solid #CDEBDD; background: linear-gradient(180deg, #F2FCF7, #fff 60%); box-shadow: 0 14px 34px rgba(23, 160, 106, .10); }
.lv-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.lv-top .bx-st { width: 28px; height: 28px; }
.lv-card h3 { margin: 0 0 8px; font-size: 1.12rem; letter-spacing: -.01em; }
.lv-card p { margin: 0; color: #4A5272; font-size: .92rem; line-height: 1.55; }
.lv-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 28px; padding: 18px 22px; border-radius: 16px; background: #F4F6FF; border: 1px solid #DDE3FA; }
.lv-cta p { margin: 0; font-weight: 500; color: #33406F; }
@media (max-width: 980px) { .lv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .lv-grid { grid-template-columns: 1fr; gap: 14px; }
  .lv-cta { flex-direction: column; text-align: center; justify-content: center; }
  .ai-cap-copy > .btn { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }
}
/* === ai live-today section + centred DAT/MRO buttons END */

/* === leadership values with real photos START */
.tm-value--photo { padding: 0 !important; overflow: hidden; }
.tm-vimg { aspect-ratio: 16 / 10; overflow: hidden; background: #E9EDFB; }
.tm-vimg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tm-vbody { padding: 22px 24px 26px; border-top: 3px solid #2A44D4; }
.tm-value--photo:nth-child(2) .tm-vbody { border-top-color: #19B7E8; }
.tm-value--photo:nth-child(3) .tm-vbody { border-top-color: #17A06A; }
.tm-value--photo h3 { margin: 0 0 8px; }
/* === leadership values with real photos END */

/* === ONE button style site-wide START: every primary .btn is the brand blue gradient, every ghost is a white outline */
.btn:not(.btn--ghost) {
  background: linear-gradient(135deg, #3C5CFF, #2A44D4) !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, .38) !important;
  box-shadow: 0 .5rem 1.375rem rgba(42, 68, 212, .32) !important;
}
.btn:not(.btn--ghost):hover, .btn:not(.btn--ghost):focus-visible { background: linear-gradient(135deg, #5472FF, #3350E6) !important; color: #fff !important; }
@media (max-width: 720px) {
  .tm-cta-card { text-align: center; }
  .tm-cta-card .btn { display: inline-flex; margin-left: auto; margin-right: auto; }
  .cta-card .btn, .solutions-lite .btn { margin-left: auto; margin-right: auto; }
}
/* === ONE button style site-wide END */
.btn { border-radius: .625rem !important; }
/* === ONE button style radius END */

/* === pm lifecycle wheel START (/sap-property-management/ only, prefix .pw-; JS in js/pm-wheel.js)
   Desktop (>=960px): heading + ring + card fit one screen; the ring is sized from the viewport height. */
.pw { position: relative; overflow: hidden; color: #fff; padding: clamp(24px, 4.2vh, 64px) 0; background: radial-gradient(900px 520px at 88% 0%, rgba(139, 92, 246, .42), transparent 62%), radial-gradient(760px 460px at 4% 100%, rgba(34, 197, 235, .22), transparent 60%), linear-gradient(135deg, #0B1B6B 0%, #1B2FA8 52%, #2A44D4 100%); }
.pw::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.pw .container { position: relative; }
.pw-head { max-width: 62rem; margin: 0 auto; text-align: center; }
.pw-head .fx-eyebrow { color: #9FE8FF; margin-bottom: 6px; }
.pw-head h2 { color: #fff; margin: 0; font-size: clamp(1.6rem, 4.4vh, 2.5rem); text-wrap: balance; }
.pw-grad { display: inline-block; background: linear-gradient(90deg, #8DE6FF, #C3B1FF 70%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.pw-head p { color: rgba(255, 255, 255, .82); margin: 8px 0 0; font-size: 1rem; }

.pw-stage { --pw-ring: clamp(21rem, calc(100vh - var(--header-h) - 14.8rem), 46rem); display: grid; grid-template-columns: minmax(0, min(var(--pw-ring), 54%)) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; margin-top: clamp(10px, 2vh, 28px); }
.pw-wheel { position: relative; width: 100%; margin: 0 auto; }
.pw-wheel::before { content: ""; position: absolute; left: 50%; top: 48%; width: 86%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(95, 216, 255, .20), rgba(123, 77, 224, .14) 55%, transparent 72%); pointer-events: none; }
.pw-return { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; margin: 2px auto 0; font-size: .72rem; line-height: 1.3; color: rgba(255, 255, 255, .74); }
.pw-return svg { flex: none; width: 13px; height: 13px; color: #7FE3FF; }
.pw-return b { color: #fff; font-weight: 700; }
.pw-svg { position: relative; display: block; width: 100%; height: auto; overflow: visible; -webkit-tap-highlight-color: transparent; }

.pw-track { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.pw-ret { fill: none; stroke: #7FE3FF; stroke-width: 2; stroke-linecap: round; }
.pw-ret-head { fill: none; stroke: #7FE3FF; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pw-flow { transform-origin: 340px 340px; animation: pw-orbit 26s linear infinite; }
.pw-flow-tail { fill: none; stroke: rgba(127, 227, 255, .5); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1 5; }
@keyframes pw-orbit { to { transform: rotate(360deg); } }

.pw-seg { cursor: pointer; outline: none; }
.pw-seg-move { transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.pw-seg-shape { fill: rgba(255, 255, 255, .075); stroke: rgba(255, 255, 255, .22); stroke-width: 1.25; transition: fill .3s ease, stroke .3s ease, filter .3s ease; }
.pw-seg:hover .pw-seg-shape { fill: rgba(255, 255, 255, .15); stroke: rgba(255, 255, 255, .45); }
.pw-seg text { font-family: var(--font-display); text-anchor: middle; pointer-events: none; }
.pw-n { font-size: 11px; font-weight: 700; letter-spacing: .12em; fill: #8DE6FF; transition: fill .3s ease; }
.pw-ico { fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s ease; }
.pw-lab { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; fill: rgba(255, 255, 255, .92); transition: fill .3s ease; }
.pw-seg.is-active .pw-seg-move { transform: translate(var(--dx), var(--dy)); }
.pw-seg.is-active .pw-seg-shape { fill: url(#pw-g-act); stroke: #fff; filter: drop-shadow(0 10px 22px rgba(4, 12, 70, .45)) drop-shadow(0 0 18px rgba(127, 227, 255, .45)); }
.pw-seg.is-active .pw-n { fill: #7B4DE0; }
.pw-seg.is-active .pw-ico { stroke: #2A44D4; }
.pw-seg.is-active .pw-lab { fill: #0B1B6B; }
.pw-seg:focus-visible .pw-seg-shape { stroke: #7FE3FF; stroke-width: 3.5; }

/* hub: live stage readout */
.pw-hub-disc { fill: url(#pw-g-hub); stroke: rgba(255, 255, 255, .28); stroke-width: 1.25; filter: drop-shadow(0 14px 30px rgba(3, 10, 60, .5)); }
.pw-prog-track { fill: none; stroke: rgba(255, 255, 255, .13); stroke-width: 4; }
.pw-prog { fill: none; stroke: url(#pw-g-acc); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; opacity: 0; }
.pw.is-auto .pw-prog { opacity: 1; animation: pw-prog 6.4s linear forwards; }
.pw.is-auto.is-hover .pw-prog, .pw.is-auto.is-focus .pw-prog, .pw.is-offscreen .pw-prog, .pw.is-offscreen .pw-flow, .pw.is-offscreen .pw-hub-glow, .pw.is-hidden .pw-prog, .pw.is-offscreen .pw-sc, .pw.is-hidden .pw-sc, .pw.is-offscreen .pw-sc *, .pw.is-hidden .pw-sc *, .pw.is-offscreen .pw-sap, .pw.is-hidden .pw-sap { animation-play-state: paused; }
@keyframes pw-prog { to { stroke-dashoffset: 0; } }
.pw-hub-glow { transform-origin: 340px 340px; animation: pw-pulse 3.6s ease-in-out infinite; }
@keyframes pw-pulse { 0%, 100% { transform: scale(.88); opacity: .6; } 50% { transform: scale(1.12); opacity: 1; } }
.pw-hub text { font-family: var(--font-display); text-anchor: middle; }
.pw-hub-k { font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; fill: #9FE8FF; }
.pw-hub-st { opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .5s cubic-bezier(.2, .8, .2, 1); }
.pw-hub-st.is-active { opacity: 1; transform: none; }
.pw-hub-n1 { font-size: 92px; font-weight: 700; letter-spacing: -.04em; fill: #fff; font-variant-numeric: tabular-nums; }
.pw-hub-n2 { font-size: 19px; font-weight: 600; fill: rgba(255, 255, 255, .6); letter-spacing: .02em; }
.pw-hub-name { font-size: 19px; font-weight: 700; fill: #fff; }
.pw-hub-s { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; fill: rgba(159, 232, 255, .82); }

.pw-side { min-width: 0; width: 100%; max-width: 35rem; justify-self: center; }
.pw-card { position: relative; display: flex; flex-direction: column; background: #fff; color: var(--ink); border-radius: 1.1rem; border: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 2rem 4rem rgba(3, 10, 60, .42), 0 .25rem .75rem rgba(3, 10, 60, .18); padding: clamp(16px, 1.5vw, 24px); }
.pw-card::before { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, #19B7E8, #2A44D4 45%, #7B4DE0); }
/* stage mini-scenes (illustration strip at the top of the card). Base markup is the final frame;
   keyframes only describe the start state, so no-animation (reduced motion) rests on the final frame. */
.pw:not(.is-js) .pw-scene { display: none; }
.pw-scene { --pw-sh: clamp(92px, 15.5vh, 150px); position: relative; margin: 0 -6px .7rem; padding: 6px 5px 3px; border-radius: .8rem; border: 1px solid #E1E6FA; background: radial-gradient(120% 140% at 100% 0%, rgba(123, 77, 224, .09), transparent 60%), linear-gradient(135deg, #F4F6FF, #EEF8FD); }
.pw-scene-art { display: grid; justify-items: center; overflow: hidden; }
.pw-sc { grid-area: 1 / 1; display: none; width: auto; max-width: 100%; height: var(--pw-sh); overflow: visible; }
.pw-sc.is-active { display: block; }
.pw-scene-tag { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1px 10px; margin: 2px 3px 0; font-size: .58rem; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: #7E85A3; }
.pw-scene-keys { display: inline-flex; gap: 12px; }
.pw-scene-key { display: inline-flex; align-items: center; gap: 5px; color: #2337B8; font-weight: 700; }
.pw-scene-key--std { color: #4B5163; }
.pw-scene-key--std i { background: #fff !important; box-shadow: inset 0 0 0 1px #AEB7DE !important; }
.pw-scene-key i { flex: none; width: 14px; height: 9px; border-radius: 2px; background: #DCE3FF; box-shadow: inset 2.5px 0 0 #2A44D4; }
.pw-sc text { font-family: var(--font-body); }
.pw-sc .s-tag { font-size: 7.6px; font-weight: 700; letter-spacing: .03em; fill: #2B3252; }
.pw-sc .s-tagw { font-size: 6.9px; font-weight: 700; letter-spacing: .02em; fill: #fff; }
.pw-sc .s-tab { font-size: 7.6px; font-weight: 700; fill: #2B3252; }
.pw-sc .s-cap { fill: #5A6182; font-weight: 600; }
.pw-sc .s-t { font-size: 8.8px; font-weight: 700; fill: #0A1552; font-family: var(--font-display); }
.pw-sc .s-l { font-size: 7.6px; font-weight: 500; fill: #656C8A; }
.pw-sc .s-lb { fill: #3A4FCB; }
.pw-sc .s-v { font-size: 8px; font-weight: 600; fill: #1B2240; }
.pw-sc .s-b { fill: #2A44D4; font-weight: 700; }
.pw-sc .s-c { font-size: 7.7px; font-weight: 600; fill: #3B4263; }
.pw-sc .s-w { fill: #fff; } .pw-sc .s-g { fill: #0F7A50; } .pw-sc .s-cy, .pw-sc text.c-cy { fill: #0A6485; } .pw-sc text.c-on { fill: #2337B8; }
.pw-sc .s-st { font-size: 8px; font-weight: 800; letter-spacing: .1em; fill: #0F7A50; }
.pw-sc .c-win { fill: #fff; stroke: #C3CAE6; stroke-width: 1; filter: drop-shadow(0 3px 7px rgba(20, 30, 90, .12)); }
.pw-sc .c-card { fill: #fff; stroke: #D5DAEC; stroke-width: 1; filter: drop-shadow(0 2px 4px rgba(20, 30, 90, .08)); }
.pw-sc .c-ping { fill: none; stroke: #5FD8FF; stroke-width: 2; }
.pw-sc .c-gap { fill: none; stroke: #B9C1E6; stroke-width: 1; stroke-dasharray: 3 2.5; }
.pw-sc .c-fill { fill: #EAEEFF; }
.pw-sc .c-backh { fill: none; stroke: #2A44D4; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.pw-sc rect.c-chip { fill: #fff; stroke: #C5CCE8; stroke-width: 1; }
.pw-sc rect.c-on { fill: #EEF1FF; stroke: #2A44D4; } .pw-sc rect.c-cy { fill: #E7F7FD; stroke: #19B7E8; } .pw-sc rect.c-vi { fill: #F4EFFF; stroke: #7B4DE0; } .pw-sc text.c-vi { fill: #5330B8; }
.pw-sc .c-flag { fill: #EFE8FF; stroke: #7B4DE0; stroke-width: 1.5; }
.pw-sc .c-link { fill: none; stroke: #2A44D4; stroke-width: 1.4; stroke-dasharray: 1 2; }
.pw-sc .c-wire { fill: none; stroke: #C5CCE8; stroke-width: 1.4; stroke-linecap: round; }
.pw-sc .c-item { fill: #EEF1FF; stroke: #B9C1E6; stroke-width: 1; }
.pw-sc .c-item--on { fill: #DCE3FF; stroke: #2A44D4; stroke-width: 1.3; }
.pw-sc .c-lane { fill: rgba(255, 255, 255, .7); stroke: #D5DAEC; stroke-width: 1; }
.pw-sc .c-ok { fill: none; stroke: #17A06A; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pw-sc .c-scan { fill: #19B7E8; filter: drop-shadow(0 0 4px rgba(25, 183, 232, .9)); }
.pw-sc .c-pulse { fill: none; stroke: #19B7E8; stroke-width: 1.6; }
.pw-sc .c-gear { fill: none; stroke: #2A44D4; stroke-width: 1.4; }
.pw-sc .a-out, .pw-sc .a-ping, .pw-sc .a-blip, .pw-sc .a-sweep { opacity: 0; }
.pw-sc .a-pop, .pw-sc .a-ping { transform-box: fill-box; transform-origin: center; }
.pw-sc.is-play .a-in { animation: pw-a-in .5s cubic-bezier(.2, .8, .2, 1) var(--d, 0s) both; }
.pw-sc.is-play .a-fade { animation: pw-a-fade .4s ease var(--d, 0s) both; }
.pw-sc.is-play .a-pop { animation: pw-a-pop .45s cubic-bezier(.3, 1.4, .5, 1) var(--d, 0s) both; }
.pw-sc.is-play .a-out { animation: pw-a-out .3s ease var(--d, 0s) both; }
.pw-sc.is-play .a-lit { animation: pw-a-lit .5s ease var(--d, 0s) both; }
.pw-sc.is-play .a-draw { animation: pw-a-draw var(--t, .6s) ease-in-out var(--d, 0s) both; }
.pw-sc.is-play .a-ping { animation: pw-a-ping .9s ease-out var(--d, 0s) both; }
.pw-sc.is-play .a-mv { animation: pw-a-mv var(--t, .8s) cubic-bezier(.5, 0, .2, 1) var(--d, 0s) both; }
.pw-sc.is-play .a-blip { animation: pw-a-blip var(--t, .5s) ease var(--d, 0s) both; }
.pw-sc.is-play .a-sweep { animation: pw-a-sweep var(--t, 1.5s) linear var(--d, 0s) both; }
/* phones pan the view between the SAP window and what sits outside it */
@keyframes pw-pan { 0%, 38% { transform: translateX(var(--pw-pan, 0px)); } 49%, 100% { transform: translateX(0); } }
@keyframes pw-pan-out { 0%, 30% { transform: translateX(0); } 41%, 100% { transform: translateX(var(--pw-pan, 0px)); } }
@keyframes pw-pan-inout { 0%, 28% { transform: translateX(var(--pw-pan, 0px)); } 37%, 70% { transform: translateX(0); } 79%, 100% { transform: translateX(var(--pw-pan, 0px)); } }
@keyframes pw-a-in { from { opacity: 0; transform: translateY(5px); } }
@keyframes pw-a-fade { from { opacity: 0; } }
@keyframes pw-a-pop { from { opacity: 0; transform: scale(.4); } }
@keyframes pw-a-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes pw-a-lit { from { opacity: .3; } }
@keyframes pw-a-draw { from { stroke-dashoffset: 1.01; } }
@keyframes pw-a-ping { 0% { opacity: 0; transform: scale(1); } 30% { opacity: .9; } 100% { opacity: 0; transform: scale(1.07); } }
@keyframes pw-a-mv { from { transform: translate(var(--fx, 0), var(--fy, 0)); } }
@keyframes pw-a-blip { 0% { opacity: 0; } 20%, 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pw-a-sweep { 0% { opacity: 0; transform: translateX(0); } 8%, 92% { opacity: 1; } 100% { opacity: 0; transform: translateX(var(--tx, 100px)); } }
/* the green support line is the scene's caption: it lands as the scene finishes */
.pw-panel.is-play .pw-sap { animation: pw-sap-in .6s cubic-bezier(.2, .8, .2, 1) 4.7s both; }
@keyframes pw-sap-in { from { opacity: .35; box-shadow: 0 0 0 0 rgba(23, 160, 106, 0); } 60% { opacity: 1; box-shadow: 0 0 0 5px rgba(23, 160, 106, .18); } to { box-shadow: 0 0 0 0 rgba(23, 160, 106, 0); } }
.pw-panel { display: flex; flex-direction: column; justify-content: space-between; gap: .6rem; min-width: 0; }
.pw-panel + .pw-panel { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.pw.is-js .pw-panels { display: grid; }
.pw.is-js .pw-panel { grid-area: 1 / 1; margin: 0; padding: 0; border: 0; visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .35s; }
.pw.is-js .pw-panel.is-active { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.pw-panel-head { display: flex; align-items: center; gap: 12px; }
.pw-num { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: .75rem; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: .02em; color: #fff; background: linear-gradient(135deg, #2A44D4, #7B4DE0); box-shadow: 0 .4rem .9rem rgba(74, 70, 216, .3); }
.pw-step { margin: 0; font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: #7B4DE0; line-height: 1.3; }
.pw-panel h3 { margin: 0; font-size: 1.3rem; line-height: 1.15; color: #0A1552; }
.pw-k { margin: 0 0 3px; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6A7190; line-height: 1.3; }
.pw-block p:not(.pw-k), .pw-sap p:not(.pw-k) { margin: 0; color: #1B2240; font-size: .9rem; line-height: 1.45; }
.pw-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.pw-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.pw-chip { display: inline-flex; align-items: center; padding: .2rem .45rem; border-radius: .42rem; font-size: .72rem; font-weight: 600; line-height: 1.25; white-space: nowrap; }
.pw-chip--ref { background: #EEF1FF; color: #2337B8; border: 1px solid #D5DCFB; font-variant-numeric: tabular-nums; }
.pw-chip--sys { background: #E7F7FD; color: #0A6485; border: 1px solid #C4E9F6; }
.pw-risk { padding-left: .75rem; border-left: 3px solid #C9BBF3; }
.pw-sap { display: flex; align-items: flex-start; gap: 10px; padding: .5rem .75rem; border-radius: .7rem; background: #EEFAF4; border: 1px solid #C9EBDB; }
.pw-sap .pw-k { color: #0F7A50; }
.pw-tick { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.pw-ctrl { display: none; order: 3; align-items: center; gap: 8px; margin-top: .8rem; padding-top: .7rem; border-top: 1px solid var(--border); }
.pw.is-js .pw-ctrl { display: flex; }
.pw-btn { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; padding: 0; border-radius: 50%; border: 1px solid #D5DCFB; background: #fff; color: #2A44D4; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.pw-btn:hover { background: #EEF1FF; border-color: #2A44D4; }
.pw-btn:focus-visible { outline: 2px solid #2A44D4; outline-offset: 2px; }
.pw-btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pw-btn--play { margin-left: auto; }
.pw-i-play { display: none; fill: currentColor !important; stroke-width: 1.5 !important; }
.pw:not(.is-auto) .pw-i-play { display: block; } .pw:not(.is-auto) .pw-i-pause { display: none; }
.pw.is-reduced .pw-btn--play { display: none; }
.pw-count { min-width: 3rem; text-align: center; font-size: .82rem; font-weight: 600; color: #6A7190; font-variant-numeric: tabular-nums; }
.pw-count b { color: #0A1552; }
.pw-note { margin: 12px 4px 0; font-size: .72rem; line-height: 1.45; color: rgba(255, 255, 255, .7); }

/* short desktop screens: drop the footnote so heading + ring + card stay on one screen */
@media (min-width: 960px) and (max-height: 960px) { .pw-note { display: none; } }
@media (min-width: 960px) {
  .pw.is-js .pw-ctrl { order: 0; height: 0; margin: 0; padding: 0; border: 0; justify-content: flex-end; align-items: flex-start; position: relative; z-index: 2; }
  .pw.is-js .pw-ctrl .pw-btn { margin: 3px 0 0; } .pw.is-js .pw-ctrl .pw-btn--play { margin-left: 0; }
  .pw.is-js .pw-count { display: none; }
  .pw.is-js .pw-panel-head { padding-right: 8.2rem; min-height: 2.6rem; }
}
@media (min-width: 960px) and (max-height: 800px) {
  .pw { padding: 20px 0 22px; }
  .pw-head p { display: none; }
  .pw-stage { --pw-ring: clamp(21rem, calc(100vh - var(--header-h) - 11rem), 46rem); margin-top: 12px; }
  .pw-scene { --pw-sh: clamp(92px, calc(58.3vh - 308px), 150px); }
}
@media (min-width: 960px) and (max-height: 720px) { .pw { padding: 16px 0 18px; } }
@media (min-width: 960px) and (max-height: 704px) { .pw-scene { display: none; } }
@media (min-width: 960px) and (max-width: 1100px) { .pw-stage { grid-template-columns: minmax(0, min(var(--pw-ring), 44%)) minmax(0, 1fr); gap: 20px; } }
@media (min-width: 960px) { .pw-return { width: max-content; max-width: none; left: 50%; transform: translateX(-50%); white-space: nowrap; } }
@media (max-width: 959px) {
  .pw { padding: 28px 0 32px; }
  .pw-head h2 { font-size: clamp(1.55rem, 5.4vw, 2.1rem); }
  .pw-stage { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 10px; }
  .pw-wheel { width: min(100%, 34rem, max(17rem, 31vh)); }
  .pw-side { width: 100%; max-width: 46rem; margin: 0 auto; }
  .pw-scene { --pw-sh: clamp(100px, 15vh, 170px); }
  .pw-note { text-align: center; }
}
@media (max-width: 560px) {
  .pw { padding: 28px 0 32px; }
  .pw-head p { font-size: .92rem; margin-top: 6px; }
  .pw-grad { display: block; }
  .pw-return { font-size: .68rem; align-items: flex-start; }
  .pw-lab { display: none; }
  .pw-glyph { transform: translateY(13px) scale(1.3); }
  .pw-n { font-size: 13px; letter-spacing: .06em; }
  .pw-hub-k { font-size: 15.5px; letter-spacing: .12em; }
  .pw-hub-name { font-size: 22px; }
  .pw-hub-s { font-size: 16.5px; letter-spacing: 0; text-transform: none; }
  .pw-chip { white-space: normal; }
  /* phones: keep the illustration at reading size and pan the view SAP record -> add-on -> back */
  .pw-scene { --pw-sh: 126px; }
  .pw-sc { justify-self: start; max-width: none; }
  .pw-sc.is-play { animation: pw-pan 6s cubic-bezier(.5, 0, .2, 1) both; }
  .pw-sc--out.is-play { animation-name: pw-pan-out; }
  .pw-sc--inout.is-play { animation-name: pw-pan-inout; }
  .pw.is-reduced .pw-scene-art { overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .pw-flow, .pw-hub-glow, .pw.is-auto .pw-prog { animation: none; }
  .pw-seg-move, .pw.is-js .pw-panel, .pw-seg-shape, .pw-hub-st { transition: none; }
  .pw-sc, .pw-sc *, .pw-panel .pw-sap { animation: none !important; }
}
/* --- v3: flow-only card (no header row / buttons), taller scene strip, coloured ring --- */
.pw { --pw-c: #7FA2FF; --pw-cd: #2A44D4; }
.pw-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.pw-card { padding: clamp(14px, 1.3vw, 20px); }
.pw-card::before { background: linear-gradient(90deg, var(--pw-c), var(--pw-cd)); transition: background .4s ease; }
.pw-scene { --pw-sh: clamp(104px, 20vh, 190px); margin-bottom: .6rem; }
.pw-panel { gap: .5rem; }
.pw-k { margin-bottom: 2px; }
.pw-block p:not(.pw-k), .pw-sap p:not(.pw-k) { font-size: .88rem; line-height: 1.4; }
.pw-meta { flex-wrap: nowrap; gap: 6px 18px; }
.pw-meta > div { min-width: 0; }
.pw-sap { padding: .45rem .7rem; }
@media (min-width: 561px) { .pw-sc { width: 100%; height: auto; max-height: var(--pw-sh); } }
@media (max-width: 560px) { .pw-scene { --pw-sh: 132px; } .pw-meta { flex-wrap: wrap; } }
/* ring colour: a hue sweep blue -> indigo -> violet -> cyan -> teal -> green (--c on dark, --cd on white) */
.pw-seg { --c: #7FA2FF; --cd: #2A44D4; }
.pw-n { fill: var(--c); }
.pw-seg.is-active .pw-seg-shape { stroke: var(--c); stroke-width: 2; filter: drop-shadow(0 10px 22px rgba(4, 12, 70, .45)) drop-shadow(0 0 14px var(--c)); }
.pw-seg.is-active .pw-n, .pw-seg.is-active .pw-ico { fill: var(--cd); }
.pw-seg.is-active .pw-ico { fill: none; stroke: var(--cd); }
@supports (color: color-mix(in srgb, red, blue)) {
  .pw-seg-shape { fill: color-mix(in srgb, var(--c) 30%, rgba(255, 255, 255, .04)); stroke: color-mix(in srgb, var(--c) 72%, transparent); filter: drop-shadow(0 0 5px color-mix(in srgb, var(--c) 28%, transparent)); }
  .pw-seg:hover .pw-seg-shape { fill: color-mix(in srgb, var(--c) 40%, rgba(255, 255, 255, .06)); stroke: var(--c); }
  .pw-seg:not(.is-active) .pw-ico { stroke: color-mix(in srgb, var(--c) 38%, #fff); }
  .pw-scene { border-color: color-mix(in srgb, var(--pw-c) 45%, #E1E6FA); transition: border-color .4s ease; }
}
.pw-seg.is-active .pw-seg-shape { fill: url(#pw-g-act); }
.pw-seg:focus-visible .pw-seg-shape { stroke: #fff; stroke-width: 3.5; }
.pw-prog { stroke: var(--pw-c); transition: stroke .4s ease; }
.pw-flow-tail { stroke: var(--pw-c); opacity: .6; transition: stroke .4s ease; }
.pw-flow circle:last-of-type { fill: #fff; filter: drop-shadow(0 0 4px var(--pw-c)) drop-shadow(0 0 8px var(--pw-c)); }
/* === pm lifecycle wheel END */

/* === pm wheel hub: title only (no counter, no icon) */
.pw-hub-k { font-size: 42px !important; font-weight: 700 !important; letter-spacing: -.02em !important; text-transform: none !important; fill: #fff !important; }
.pw-hub-s { font-size: 12.5px; letter-spacing: .1em; }
@media (max-width: 720px) { .pw-hub-k { font-size: 44px !important; } .pw-hub-s { font-size: 15px !important; letter-spacing: .02em !important; } }

/* === pm hero fills the screen at every size */
section.page-hero.pm-hero { display: flex !important; align-items: center !important; min-height: calc(100svh - var(--header-h)) !important; }
section.page-hero.pm-hero > .container { width: 100%; }
@media (max-width: 600px) { section.page-hero.pm-hero { align-items: flex-start !important; } }
/* === pm hero fills the screen END */

/* === pm wheel: stage title back in the card */
.pw-ttl { display: flex; align-items: center; gap: .75rem; margin: 0 0 .15rem; }
.pw-ttl .pw-num { width: 2.3rem; height: 2.3rem; font-size: .95rem; background: linear-gradient(135deg, var(--pw-c, #2A44D4), var(--pw-cd, #7B4DE0)); transition: background .4s ease; }
.pw-ttl .pw-st { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6B5FD0; }
.pw-ttl h3 { margin: 0; font-size: 1.3rem; line-height: 1.1; letter-spacing: -.01em; color: #0B1B4B; }

/* === pm wheel card v4: title row first, illustration second, calm single-label hierarchy START */
.pw:not(.is-js) .pw-ttls { display: none; }
.pw:not(.is-js) .pw-sr { position: static !important; width: auto; height: auto; margin: 0; clip: auto; clip-path: none; white-space: normal; }
.pw-card { padding: clamp(18px, 1.7vw, 26px); }
.pw-ttls { display: grid; margin: 0 0 14px; }
.pw-ttl { grid-area: 1 / 1; display: flex; align-items: center; gap: 12px; margin: 0; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
.pw-ttl.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.pw-ttl .pw-num { width: 2.5rem; height: 2.5rem; font-size: 1rem; border-radius: .7rem; box-shadow: none; }
.pw-ttl .pw-st, .pw-k, .pw-scene-tag { font-size: .75rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: #7D84A0; line-height: 1.35; }
.pw-ttl-name { margin: 1px 0 0; font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; line-height: 1.15; letter-spacing: -.015em; color: #0B1B4B; }
/* illustration: one clean rounded panel, one tiny caption row */
.pw-scene { margin: 0 0 16px; padding: 0; border: 0; background: none; }
.pw-scene-art { margin: 6px; border-radius: .6rem; background: #F3F5FE; box-shadow: 0 0 0 6px #F3F5FE; }
.pw-scene-tag { margin: 8px 2px 0; font-size: .7rem; color: #9399B3; }
.pw-scene-key, .pw-scene-key--std { color: inherit; font-weight: 500; }
.pw-scene-keys { gap: 14px; }
/* content */
.pw-panel { gap: 14px; justify-content: flex-start; }
.pw-k { margin: 0 0 4px; }
.pw-block p:not(.pw-k), .pw-sap p:not(.pw-k) { font-size: .95rem; line-height: 1.5; color: #1B2240; }
.pw-block:not(.pw-risk) > .pw-k { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pw-meta { flex-direction: column; flex-wrap: nowrap; gap: 8px; }
.pw-meta > div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); align-items: baseline; column-gap: 8px; min-width: 0; }
.pw-meta .pw-k { margin: 0; white-space: nowrap; }
.pw-chip { padding: .22rem .55rem; border-radius: .4rem; font-size: .78rem; font-weight: 600; }
.pw-chip--ref { background: #EEF1FF; border-color: transparent; }
.pw-chip--sys { background: #E7F7FD; border-color: transparent; }
.pw-risk { padding: 0; border: 0; }
.pw-sap { margin-top: 2px; padding: 12px 14px; gap: 12px; border-radius: .75rem; border-color: transparent; background: #ECF9F2; }
.pw-sap .pw-k { color: #0F7A50; font-weight: 600; margin-bottom: 2px; }
.pw.is-js .pw-panel .pw-sap { margin-top: auto; }
@media (min-width: 960px) { .pw-scene { --pw-sh: clamp(92px, 20vh, 190px); } }
@media (min-width: 960px) and (max-height: 800px) {
  .pw-card { padding: 16px 18px; }
  .pw-ttls { margin-bottom: 10px; }
  .pw-ttl .pw-num { width: 2.25rem; height: 2.25rem; font-size: .95rem; }
  .pw-ttl-name { font-size: 1.25rem; }
  .pw-scene { --pw-sh: clamp(92px, calc(100vh - 588px), 170px); margin-bottom: 12px; }
  .pw-panel { gap: 10px; }
  .pw-block p:not(.pw-k), .pw-sap p:not(.pw-k) { font-size: .9rem; line-height: 1.45; }
  .pw-sap { padding: 9px 12px; }
}
@media (max-width: 560px) { .pw-card { padding: 18px 16px; } .pw-ttl-name { font-size: 1.3rem; } .pw-scene { --pw-sh: 132px; } }
/* === pm wheel card v4 END */

/* === pm wheel phone one-screen START: on phones the whole section (heading + ring with names + card) fits one screen */
.pw-lab--m { display: none; }
@media (max-width: 560px) {
  .pw { padding: 10px 0 12px; }
  .pw-head .fx-eyebrow, .pw-head p, .pw-return, .pw-note, .pw-scene-keys { display: none; }
  .pw-head h2 { font-size: min(4.2vw, 1.15rem); white-space: nowrap; }
  .pw-grad { display: inline; }
  .pw-stage { gap: 8px; margin-top: 6px; }
  .pw-wheel { width: clamp(190px, calc(100vh - var(--header-h) - var(--pw-mx, 500px)), 100%); }
  .pw-n { display: none; }
  .pw-glyph { transform: translateY(-7px) scale(.92); }
  .pw-lab.pw-lab--m { display: block; font-size: var(--pw-lf, 20px); font-weight: 700; letter-spacing: -.01em; text-transform: none; }
  .pw-hub-s { display: none; }
  .pw-card { padding: 10px 12px 12px; border-radius: .9rem; }
  .pw-ttls { margin-bottom: 7px; }
  .pw-ttl { gap: 9px; }
  .pw-ttl .pw-num { width: 1.9rem; height: 1.9rem; font-size: .82rem; border-radius: .55rem; }
  .pw-ttl > div { flex: 1; display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: baseline; gap: 8px; min-width: 0; }
  .pw-ttl-name { margin: 0; font-size: 1.12rem; }
  .pw-ttl .pw-st { font-size: .7rem; white-space: nowrap; }
  .pw-scene { --pw-sh: 113px; margin-bottom: 8px; position: relative; }
  .pw-scene-art { margin: 0; box-shadow: none; }
  .pw-scene-tag { position: absolute; right: 6px; bottom: 2px; margin: 0; font-size: .56rem; }
  .pw-panel { gap: 7px; }
  .pw-block p:not(.pw-k), .pw-sap p:not(.pw-k) { font-size: .82rem; line-height: 1.38; }
  .pw-meta { flex-direction: row; flex-wrap: wrap; gap: 5px; }
  .pw-meta > div, .pw-meta .pw-chips { display: contents; }
  .pw-meta .pw-k { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pw-chip { padding: .14rem .42rem; font-size: .7rem; white-space: nowrap; }
  .pw-k { margin-bottom: 1px; font-size: .68rem; }
  .pw-sap { padding: 8px 10px; gap: 8px; margin-top: 0; }
  .pw-tick { width: 17px; height: 17px; }
}
@media (max-width: 560px) and (max-height: 780px) {
  .pw-scene { --pw-sh: 100px; }
  .pw-risk p:not(.pw-k) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pw-sap .pw-k { display: none; }
  .pw-wheel { width: clamp(205px, calc(100vh - var(--header-h) - var(--pw-mx, 500px)), 100%); }
}
@media (min-width: 410px) and (max-width: 560px) { .pw { --pw-mx: 470px; } }
@media (min-width: 380px) and (max-width: 409px) and (min-height: 830px) { .pw { --pw-mx: 486px; } }
/* === pm wheel phone one-screen END */

/* === phones 561-640: demo panels span the full width like the narrower phones */
@media (max-width: 640px) {
  .hero-slider .slide .container > .hero-demo, .hero-slider .slide .container > .concept-player { width: 100% !important; max-width: none !important; align-self: stretch !important; position: relative !important; inset: auto !important; margin-left: 0 !important; margin-right: 0 !important; transform: none !important; }
  .hero-slider .slide .container > .hero-demo > * { max-width: 100%; }
}
@media (min-width: 561px) and (max-width: 720px) {
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--iam { --hm-en: 104px; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk { --hm-cx: 176px; }
}
@media (min-width: 561px) and (max-width: 720px) { .hero-slider.hero-panels:not(.mro-air-hero) .slide--iam .en-cards { display: none; } }
@media (min-width: 561px) and (max-width: 720px) {
  .hero-slider.hero-panels:not(.mro-air-hero) .en-meta u { display: none; }
  .hero-slider.hero-panels:not(.mro-air-hero) .en-meta { font-size: .58rem; white-space: nowrap; letter-spacing: .02em; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--iam { --hm-en: 112px; }
}
@media (min-width: 470px) and (max-width: 720px) {
  .hero-slider.hero-panels:not(.mro-air-hero) .slide-content > p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .hero-slider.hero-panels:not(.mro-air-hero) .slide--iam .en-panel { padding: 10px 12px 10px; }
}

/* === home slide 2: keep the AI prompt visible on short phone screens (compact, two lines) */
@media (max-width: 980px) {
  @container (max-height: 330px) {
    .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk .cx-prompt { padding: 6px 10px !important; gap: 8px !important; }
    .hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk .cx-prompt p { display: block !important; height: 2.7em !important; min-height: 0 !important; overflow: hidden !important; font-size: .75rem !important; line-height: 1.35 !important; }
  }
}

/* === home slide 2: accent colour on the heading like the other heroes, and the flow a little higher in its card */
.hero-panels .slide--dusk .slide-content h2 .cx-grad { background: none !important; color: #8FF3FF !important; -webkit-text-fill-color: #8FF3FF !important; }
.hero-slider.hero-panels:not(.mro-air-hero) .slide--dusk .cx-svg { margin-top: -9% !important; }

/* Anchor jumps to a form (hero "Send a message" button) leave room for the sticky header so the first field stays visible */
form[data-mailto] { scroll-margin-top: 104px; }
#apply { scroll-margin-top: 72px; }

/* Form sent: the fields are replaced by the confirmation, in the same spot */
.form-grid.is-sent > :not(.form-status) { display: none; }
.form-status.is-ok { margin: 0; padding: 28px 26px; border: 1px solid #BFE5D2; border-radius: 16px; background: #F1FAF5; color: #0E6B45; font-size: 1.15rem; font-weight: 600; line-height: 1.5; }

/* Form sent: the fields are replaced by the confirmation, in the same spot and at the same height */
.form-grid.is-sent { align-content: center; }
.form-grid.is-sent > :not(.form-status) { display: none; }
.form-status.is-ok { margin: 0; padding: 28px 26px; border: 1px solid #BFE5D2; border-radius: 16px; background: #F1FAF5; color: #0E6B45; font-size: 1.15rem; font-weight: 600; line-height: 1.5; }

/* ==========================================================================
   Analytical Tool page: text sections sized so each fits one screen on
   laptops and desktops (header 72px). The dashboard pictures keep their
   original size and two-column layout (.split-media.dat-art, max 640px);
   only on short laptop screens does the height limit the picture.
   ========================================================================== */
/* Overview section: the seven points as a quiet two-column list with small
   line icons (replaces the green-tick checklist). */
.dat-fit .dat-points { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 18px 0 22px; padding: 16px 0 0; border-top: 1px solid var(--border); }
.dat-fit .dat-points li { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 0; font-size: .9rem; line-height: 1.4; color: #2b3147; }
.dat-fit .dat-points li::before { content: none; display: none; }
.dat-fit .dat-points svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dat-fit .dat-points .dat-points-wide { grid-column: 1 / -1; }
@media (max-width: 520px) { .dat-fit .dat-points { grid-template-columns: minmax(0, 1fr); } }

@media (min-width: 961px) and (min-height: 560px) {
  .dat-fit { padding: 28px 0; min-height: calc(100vh - 72px); display: flex; align-items: center; }
  .dat-fit > .container { width: 100%; }
  .dat-fit .split, .dat-fit .carousel .split { align-items: center; }
  .dat-fit h2 { font-size: clamp(1.6rem, 2.3vw, 2.1rem); line-height: 1.12; margin: 0 0 12px; }
  .dat-fit p { font-size: .95rem; line-height: 1.5; margin: 0 0 10px; }
  .dat-fit ul { margin: 0 0 16px; font-size: .93rem; line-height: 1.42; }
  .dat-fit li { margin-bottom: 7px; }
  .dat-fit:not(.dat-fit--carousel) p { font-size: .92rem; line-height: 1.5; margin-bottom: 9px; }
  .dat-fit .dat-points { margin: 14px 0 18px; padding-top: 14px; gap: 10px 22px; }
  .dat-fit .dat-points li { margin: 0; font-size: .86rem; line-height: 1.38; }
  .dat-fit .btn { padding-top: 12px; padding-bottom: 12px; }
  .dat-fit .carousel-controls { margin-top: 8px; }
}
/* Short laptop screens: let the height limit the picture so the section still
   fits one screen. Taller screens keep the full-size picture. */
@media (min-width: 961px) and (min-height: 560px) and (max-height: 800px) {
  .dat-fit { padding: 18px 0; }
  .dat-fit .split-media.dat-art img,
  .dat-fit .carousel .split-media.dat-art img { width: auto; max-width: 100%; max-height: calc(100vh - 72px - 44px); margin: 0 auto; }
  .dat-fit .carousel .split-media.dat-art img { max-height: calc(100vh - 72px - 112px); }
  .dat-fit:not(.dat-fit--carousel) p { font-size: .88rem; line-height: 1.45; }
  .dat-fit .dat-points { margin: 12px 0 14px; padding-top: 12px; gap: 8px 20px; }
  .dat-fit .dat-points li { font-size: .83rem; }
  .dat-fit h2 { font-size: 1.6rem; }
}

/* DAT percentage band */
/* analytical-reporting .roi-band: delivery effort as a share of traditional
   delivery (traditional = 100%). Light surface, one hero figure, plain HTML
   bars. Every bar carries its number as visible text; the bar itself is
   decoration (aria-hidden). Key colours #C2321C (traditional) / #0E9F63 (DAT). */
.roi-band { background: var(--light); color: var(--ink); padding: 56px 0; }
.roi-top { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.roi-lead h2 { font-size: clamp(1.6rem, 2.3vw, 2.1rem); font-weight: 600; line-height: 1.14; margin: 0 0 10px; }
.roi-lead > p { font-size: .95rem; line-height: 1.5; margin: 0; }
.roi-hero { margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--border); }
.roi-hero-value { font-family: var(--font-display); font-size: clamp(3rem, 5vw, 4.2rem); font-weight: 500; line-height: 1; letter-spacing: -0.03em; color: #0E9F63; }
.roi-hero-value span { font-size: .36em; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); margin-left: 6px; }
.roi-lead .roi-hero-label { margin-top: 10px; font-size: .95rem; line-height: 1.5; color: var(--muted); }
.roi-lead .roi-hero-meta { margin-top: 10px; font-size: .86rem; line-height: 1.5; color: var(--muted); }

.roi-chart { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px 16px; }
.roi-chart figcaption { font-size: .8rem; color: var(--muted); margin-bottom: 12px; }
.roi-case { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 4px 16px; align-items: center; padding: 10px 0; border-top: 1px solid var(--border); }
.roi-case h3 { font-family: var(--font-body); font-size: .88rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; color: var(--ink); }
.roi-case h3 span { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }
.roi-bars { list-style: none; margin: 0; padding: 0; }
.roi-bars li { display: grid; grid-template-columns: 82px minmax(0, 1fr) 104px; gap: 10px; align-items: center; font-size: .8rem; line-height: 1.5; color: var(--muted); }
.roi-bar-track { display: block; height: 9px; border-radius: 5px; background: #EEF0F8; overflow: hidden; }
.roi-bar { display: block; height: 100%; min-width: 4px; border-radius: 5px; }
.roi-bar--trad { background: #C2321C; }
.roi-bar--dat { background: #0E9F63; }
.roi-w-100 { width: 100%; }
.roi-w-3 { width: 3%; }
.roi-w-2 { width: 2%; }
.roi-w-1 { width: 1%; }
.roi-bar-val { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.roi-bar-val em { font-style: normal; color: var(--muted); }

.roi-why-title { font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: 0; color: var(--muted); margin: 26px 0 10px; }
.roi-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 28px; }
.roi-why div { font-size: .84rem; line-height: 1.5; color: var(--muted); }
.roi-why strong { display: block; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.roi-note { font-size: .74rem; line-height: 1.5; color: #6b7183; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--border); }

@media (min-width: 961px) and (min-height: 560px) {
  .roi-band { padding: 24px 0; min-height: calc(100vh - 72px); display: flex; align-items: center; }
  .roi-band > .container { width: 100%; }
}
@media (min-width: 961px) and (min-height: 560px) and (max-height: 800px) {
  .roi-band { padding: 12px 0; }
  .roi-case { padding: 8px 0; }
  .roi-why-title { margin-top: 20px; }
  .roi-note { margin-top: 14px; padding-top: 10px; }
}
@media (max-width: 1100px) {
  .roi-top { gap: 32px; }
  .roi-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .roi-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 600px) {
  .roi-band { padding: 44px 0; }
  .roi-chart { padding: 16px 14px 10px; }
  .roi-case { grid-template-columns: minmax(0, 1fr); padding: 12px 0; }
  .roi-case h3 span { display: inline; margin-left: 6px; }
  .roi-bars li { grid-template-columns: 78px minmax(0, 1fr) 98px; gap: 8px; }
  .roi-why { grid-template-columns: minmax(0, 1fr); }
}

/* Carousel slides: same line-icon list as the overview, one column */
.dat-fit .dat-points.dat-points--list { grid-template-columns: minmax(0, 1fr); gap: 11px; margin: 6px 0 20px; padding-top: 0; border-top: 0; }
.dat-fit .dat-points.dat-points--list li { font-size: .9rem; line-height: 1.42; }

/* Icon lists (MRO carousel): small line icons instead of green ticks, same style as the Analytical Tool page */
.split ul.icon-points { display: grid; gap: 11px; margin: 6px 0 22px; }
.split ul.icon-points--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 24px; }
.split ul.icon-points li { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 0; font-size: .92rem; line-height: 1.42; color: #2b3147; }
.split ul.icon-points li::before { content: none; display: none; }
.split ul.icon-points svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 560px) { .split ul.icon-points--cols { grid-template-columns: minmax(0, 1fr); } }

/* Icon lists with row dividers (Co-Innovation Services / Objectives cards) */
.split .coinx-card ul.icon-points { gap: 0; margin: 14px 0 0; }
.split .coinx-card ul.icon-points li { padding: 12px 0; gap: 12px; border-top: 1px solid #E3E8F4; font-size: .95rem; color: #041537; }
.split .coinx-card ul.icon-points svg { margin-top: 2px; }

/* Home hero: progress rail instead of plain numbers. Each number has a thin line that fills while its
   slide plays. Scoped to .slider-nav--rail. */
.slider-nav--rail { gap: 2px; padding: 10px 6px; background: rgba(255,255,255,.14); }
.slider-nav--rail button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; width: 36px; padding: 8px 0 7px; border-radius: 12px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; color: rgba(255,255,255,.55); background: none; transition: color .25s; }
.slider-nav--rail button:hover { color: #fff; }
.slider-nav--rail button.active { color: #fff; background: none; }
.slider-nav--rail .sn-bar { display: block; width: 18px; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(255,255,255,.26); transition: background .25s; }
.slider-nav--rail .sn-bar i { display: block; width: 100%; height: 100%; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.slider-nav--rail button.active .sn-bar { background: rgba(255,255,255,.38); }
.slider-nav--rail button.active .sn-bar i { animation: sn-fill var(--dur, 6000ms) linear forwards; }
@keyframes sn-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slider-nav--rail button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 980px) {
  .slider-nav--rail { padding: 6px 10px; gap: 2px; }
  .slider-nav--rail button { flex-direction: row; width: auto; padding: 8px 8px; gap: 6px; }
    .slider-nav--rail button:not(.active) .sn-bar { width: 8px; }
  .slider-nav--rail button.active .sn-bar { width: 26px; }
}
@media (prefers-reduced-motion: reduce) { .slider-nav--rail button.active .sn-bar i { animation: none; transform: scaleX(1); } }


/* Tabs instead of carousels (/analytical-reporting/, /mro/): light underline tabs, a bar slides under the selected one */
.split-tabs { width: 100%; }
.split-tabs .tabs-bar { position: relative; display: flex; gap: 34px; justify-content: center; flex-wrap: nowrap; margin: 0 auto 30px; padding: 0; border-bottom: 1px solid #DCE2F3; max-width: max-content; }
.split-tabs .tab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 2px 14px; border: 0; background: none; color: #7B86A8; font: 600 .93rem/1 var(--font-display, inherit); cursor: pointer; white-space: nowrap; transition: color .2s; }
.split-tabs .tab svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.split-tabs .tab:hover { color: #2B3A6B; }
.split-tabs .tab[aria-selected="true"] { color: #1E3199; }
.split-tabs .tab:focus-visible { outline: 2px solid #2A44D4; outline-offset: 4px; border-radius: 4px; }
.split-tabs .tab-ink { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, #3B5BFF, #2A44D4); transition: transform .3s cubic-bezier(.4, 0, .2, 1), width .3s cubic-bezier(.4, 0, .2, 1); }
.split-tabs .tabpanels { display: grid; }
.split-tabs .tabpanel { grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
.split-tabs .tabpanel.is-active { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .25s ease; }
@media (max-width: 720px) { .split-tabs .tabs-bar { justify-content: flex-start; overflow-x: auto; max-width: 100%; gap: 24px; } .split-tabs .tab { flex: 0 0 auto; } }
@media (prefers-reduced-motion: reduce) { .split-tabs .tabpanel, .split-tabs .tab-ink { transition: none; transform: none; } }
@media (min-width: 961px) and (max-height: 760px) { .split-tabs .tabs-bar { margin-bottom: 16px; } .split-tabs .tab { padding-top: 8px; padding-bottom: 10px; } }

/* DAT hero background */
/* Analytical Tool page hero (#ai-dat): a rich violet sky with teal, saffron and rose light, and a live 3D data
   landscape drawn by js/dat-hero-bg.js on .dat-bg-gl. The flat SVG (.dat-bg-2d) shows when WebGL is unavailable.
   Everything is scoped to #ai-dat; layout, heights and the phone rules of the hero are not changed. */
.page-hero.page-hero--demo#ai-dat {
  overflow: hidden;
  background-color: #2A1690;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(60rem 34rem at 62% 112%, rgba(255,182,39,.42), transparent 68%),
    radial-gradient(44rem 30rem at -4% 104%, rgba(255,79,121,.30), transparent 66%),
    radial-gradient(42rem 28rem at 100% -6%, rgba(63,214,230,.34), transparent 64%),
    linear-gradient(168deg, #170A52 0%, #2B1AA6 30%, #4F2FD6 58%, #7A45EA 82%, #9B5CF2 100%);
  background-size: 100% 3.5rem, 3.5rem 100%, auto, auto, auto, auto;
}
#ai-dat .dat-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; contain: strict; }
#ai-dat .dat-bg-gl, #ai-dat .dat-bg-2d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#ai-dat .dat-bg-gl { opacity: 0; transition: opacity .9s ease; }
#ai-dat.has-3d .dat-bg-gl { opacity: 1; }
#ai-dat.has-3d .dat-bg-2d { display: none; }
#ai-dat:not(.has-3d) .dat-bg-gl { display: none; }
#ai-dat .dat-bg-2d { opacity: .92; }
/* the landscape stays quiet behind the copy and comes up to full strength towards the demo card */
#ai-dat .dat-bg-gl, #ai-dat .dat-bg-2d {
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.5) 0, rgba(0,0,0,.66) 30%, #000 56%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.5) 0, rgba(0,0,0,.66) 30%, #000 56%);
}
/* scrim: keeps the heading and paragraph crisp on the left, and grounds the bottom edge */
#ai-dat .dat-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(16,7,62,.62) 0%, rgba(16,7,62,.38) 34%, rgba(16,7,62,0) 60%),
    linear-gradient(0deg, rgba(20,8,70,.34) 0%, rgba(20,8,70,0) 22%);
}
#ai-dat .concept-player { box-shadow: 0 1.875rem 5rem rgba(20,10,90,.5), 0 0 0 1px rgba(255,255,255,.18); }
#ai-dat .eyebrow { color: rgba(255,255,255,.82); }
#ai-dat .hero-copy h1, #ai-dat .hero-copy p { text-shadow: 0 1px 1.125rem rgba(14,6,56,.45); }
#ai-dat .hero-copy p { color: rgba(255,255,255,.92); }
#ai-dat .hero-demo-note { color: rgba(255,255,255,.92); text-shadow: 0 1px .5rem rgba(14,6,56,.8); }
#ai-dat .hero-demo-note a { color: #9CF5D0; }
/* flat fallback: columns rise once and the trend lines draw in */
#ai-dat .dat-bg-2d rect { transform-box: fill-box; transform-origin: 50% 100%; animation: datbg-rise 1.2s cubic-bezier(.2,.7,.2,1) both; }
#ai-dat .dat-bg-2d .r1 rect { animation-delay: .12s; }
#ai-dat .dat-bg-2d .r2 rect { animation-delay: .24s; }
#ai-dat .dat-bg-2d .tl { stroke-dasharray: 3200; animation: datbg-draw 2.4s .5s ease-out both; filter: drop-shadow(0 0 6px rgba(127,240,255,.8)); }
#ai-dat .dat-bg-2d .tl2 { filter: drop-shadow(0 0 6px rgba(255,182,39,.8)); }
@keyframes datbg-rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes datbg-draw { from { stroke-dashoffset: 3200; } to { stroke-dashoffset: 0; } }
@media (max-width: 760px) {
  #ai-dat .dat-bg-gl, #ai-dat .dat-bg-2d { -webkit-mask-image: none; mask-image: none; }
  #ai-dat .dat-bg::after { background: linear-gradient(180deg, rgba(16,7,62,.6) 0%, rgba(16,7,62,.34) 30%, rgba(16,7,62,0) 52%); }
}
@media (prefers-reduced-motion: reduce) {
  #ai-dat .dat-bg-gl { transition: none; }
  #ai-dat .dat-bg-2d rect, #ai-dat .dat-bg-2d .tl { animation: none; }
}

/* DAT: 'Where the saving comes from' as four visual cards (own one-screen section) */
.roi-why-sec { padding: 56px 0; background: #fff; }
.roi-why-sec .section-head { margin-bottom: 28px; }
.roi-why-sec .section-head h2 { font-size: clamp(1.6rem, 2.3vw, 2.1rem); font-weight: 600; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.why-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px 18px 22px; box-shadow: 0 10px 28px rgba(27, 42, 122, .06); }
.why-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; color: var(--ink); margin: 18px 0 6px; }
.why-card p { font-size: .88rem; line-height: 1.55; color: var(--muted); margin: 0; }
.why-vis { display: flex; align-items: center; justify-content: center; height: 150px; box-sizing: border-box; padding: 16px; border-radius: 10px; background: #F4F6FE; }
.why-vis--chips { flex-wrap: wrap; gap: 8px; align-content: center; }
.why-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 500; }
.why-chip--off { background: #fff; border: 1px solid #DDE3F3; color: #8791B0; text-decoration: line-through; text-decoration-color: #B8C0DA; }
.why-chip--on { background: #E4F6EC; border: 1px solid #A8DFC2; color: #0B7A4C; font-weight: 600; }
.why-chip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.why-vis--stats { gap: 22px; }
.why-vis--stats > div { text-align: center; }
.why-vis--stats b { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 500; line-height: 1; letter-spacing: -.02em; color: #2A44D4; }
.why-vis--stats span { display: block; margin-top: 6px; max-width: 110px; font-size: .74rem; line-height: 1.3; color: #5C678A; }
.why-vis--toggle { gap: 12px; }
.why-state { font-size: .82rem; font-weight: 500; color: #8791B0; }
.why-state--on { font-weight: 600; color: #0B7A4C; }
.why-switch { position: relative; width: 46px; height: 26px; border-radius: 999px; background: #0E9F63; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); }
.why-switch i { position: absolute; top: 3px; left: 23px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(4, 21, 55, .3); }
.why-vis--rows { flex-direction: column; align-items: stretch; justify-content: center; gap: 9px; }
.why-vis--rows > div { display: grid; grid-template-columns: 34px minmax(0, 1fr) 40px; align-items: center; gap: 10px; font-size: .78rem; color: #5C678A; }
.why-vis--rows i { display: block; height: 8px; width: 38%; border-radius: 4px; background: #0E9F63; }
.why-vis--rows em { font-style: normal; font-weight: 500; color: #0B7A4C; }
@media (min-width: 981px) and (min-height: 560px) { .roi-why-sec { min-height: calc(100vh - 72px); display: flex; align-items: center; padding: 24px 0; } .roi-why-sec > .container { width: 100%; } }
@media (max-width: 1100px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .roi-why-sec { padding: 44px 0; } .why-grid { grid-template-columns: minmax(0, 1fr); } }
