/* Scoped to #uix-page for embedding inside the site template. */
/* =====================================================================
   EvolveCorteX — UI/UX Services
   Design tokens · base · components · sections · responsive · motion
   All content is visible without JS. Animation start states are applied
   by js/animations.js only after GSAP initialises successfully.
   ===================================================================== */
/* ---------- 1. Tokens ---------- */
#uix-page { --blue: #074BBA;
  --blue-600: #063f9c;
  --blue-50: #EAF1FC;
  --red: #EC3024;
  --bg: #F8F9FC;
  --ink: #111827;
  --muted: #667085;
  --border: #E5E7EB;
  --dark: #101827;
  --white: #FFFFFF;

  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;

  --fs-hero: clamp(2.4rem, min(1.2rem + 4.2vw, 9.2vh), 5.4rem);
  --fs-h2: clamp(1.95rem, min(1.2rem + 2.4vw, 6.4vh), 3.6rem);
  --fs-h3: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem);
  --fs-lead: clamp(1.06rem, 1rem + .3vw, 1.2rem);
  --fs-body: clamp(1rem, .96rem + .15vw, 1.08rem);
  --fs-label: .75rem;

  --shell: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(60px, 2.5rem + 5vh, 140px);

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;

  --shadow-1: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow-2: 0 18px 40px -16px rgba(16, 24, 40, .22), 0 4px 10px -4px rgba(16, 24, 40, .08);
  --shadow-3: 0 40px 80px -30px rgba(7, 32, 80, .35), 0 10px 24px -10px rgba(16, 24, 40, .14);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --uix-header-h: 76px; }
/* ---------- 2. Base ---------- */
#uix-page *, #uix-page *::before, #uix-page *::after { box-sizing: border-box; }
#uix-page { margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased; }
@supports (overflow: clip) {
  #uix-page { overflow-x: clip; }
}
#uix-page img, #uix-page svg { max-width: 100%; display: block; }
#uix-page img { height: auto; }
#uix-page a { color: inherit; }
#uix-page h1, #uix-page h2, #uix-page h3, #uix-page h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.08; color: inherit; }
#uix-page p { margin: 0; }
#uix-page ul, #uix-page ol { margin: 0; padding: 0; list-style: none; }
#uix-page figure { margin: 0; }
#uix-page :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
#uix-page .section--dark :focus-visible, #uix-page .final-cta :focus-visible { outline-color: #8DB4F5; }
#uix-page .shell { width: 100%; max-width: calc(var(--shell) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
#uix-page .section { padding-block: var(--section-y); position: relative; }
#uix-page .section--tint { background: var(--bg); }
#uix-page .section--dark { background: var(--dark); color: var(--white); }
#uix-page .accent-serif { font-family: var(--font-serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; }
#uix-page .section-title .accent-serif, #uix-page .hero-title .accent-serif { color: var(--blue); }
#uix-page .section--dark .section-title .accent-serif { color: #8DB4F5; }
#uix-page .eyebrow { display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px; }
#uix-page .eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
#uix-page .eyebrow-dot { display: none; }
#uix-page .eyebrow--light { color: #8DB4F5; }
#uix-page .section-head { margin-bottom: clamp(48px, 6vw, 88px); }
#uix-page .section-head--center { text-align: center; max-width: 860px; margin-inline: auto; }
#uix-page .section-head--center .eyebrow { justify-content: center; }
#uix-page .section-title { font-size: var(--fs-h2); }
#uix-page .section-intro { color: var(--muted); font-size: var(--fs-lead); margin-top: 22px; max-width: 60ch; margin-inline: auto; }
#uix-page .illustrative-note { font-size: .82rem; color: var(--muted); font-style: italic; }
/* Text reveal wrappers (created by JS) */
#uix-page .tr-mask { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .14em 0; margin: 0 -.08em -.14em 0; }
#uix-page .tr-word { display: inline-block; }
#uix-page .hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
#uix-page .hero-title .line-inner { display: inline-block; }
/* ---------- 3. Buttons & links ---------- */
#uix-page .btn-ecx { --btn-bg: var(--blue); --btn-fg: var(--white); --btn-bd: var(--blue);
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  font: 600 1rem/1 var(--font-sans);
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
  border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out), transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
#uix-page .btn-ecx:hover { transform: translateY(-2px); }
#uix-page .btn-ecx .btn-arrow { transition: transform .3s var(--ease-out); flex: none; }
#uix-page .btn-ecx:hover .btn-arrow { transform: translateX(4px); }
#uix-page .btn-ecx:hover .btn-arrow--down { transform: translateY(3px); }
#uix-page .btn-ecx--primary:hover { --btn-bg: var(--blue-600); --btn-bd: var(--blue-600); box-shadow: 0 12px 24px -12px rgba(7, 75, 186, .7); }
#uix-page .btn-ecx--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: #CBD2DC; }
#uix-page .btn-ecx--ghost:hover { --btn-bd: var(--ink); --btn-bg: var(--ink); --btn-fg: var(--white); }
#uix-page .btn-ecx--light { --btn-bg: var(--white); --btn-fg: var(--blue); --btn-bd: var(--white); }
#uix-page .btn-ecx--light:hover { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: var(--ink); }
#uix-page .btn-ecx--sm { min-height: 42px; padding: 10px 20px; font-size: .92rem; }
#uix-page .link-arrow { display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--blue); text-decoration: none; position: relative; padding-block: 4px; }
#uix-page .link-arrow::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: currentColor; transform: scaleX(.3); transform-origin: left; transition: transform .35s var(--ease-out); }
#uix-page .link-arrow span { transition: transform .3s var(--ease-out); }
#uix-page .link-arrow:hover { color: var(--red); }
#uix-page .link-arrow:hover::after { transform: scaleX(1); }
#uix-page .link-arrow:hover span { transform: translateX(5px); }
#uix-page .link-arrow--light { color: var(--white); }
#uix-page .link-arrow--light:hover { color: var(--white); opacity: .85; }
/* ---------- 4. Scroll progress ---------- */
#uix-page .scroll-progress { position: fixed; inset: var(--uix-header-h, 0px) 0 auto 0; height: 3px; z-index: 1001; pointer-events: none; }
#uix-page .scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--red)); transform: scaleX(0); transform-origin: left; }
html:not(.uix-enhanced) #uix-page .scroll-progress { display: none; }
/* ---------- 5. Header ---------- */
/* ---------- 6. Hero ---------- */
#uix-page .hero { position: relative; overflow: hidden;
  padding-top: clamp(40px, 6vw, 90px); padding-bottom: clamp(64px, 8vw, 120px);
  background:
    radial-gradient(60% 60% at 82% 30%, rgba(7, 75, 186, .08), transparent 70%),
    var(--bg); }
#uix-page .hero-bg { position: absolute; inset: 0; color: rgba(7, 75, 186, .12); pointer-events: none; }
#uix-page .hero-bg-svg { width: 100%; height: 100%; }
#uix-page .hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
#uix-page .hero-title { font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; }
#uix-page .hero-title .accent-serif { color: var(--red); font-weight: 500; letter-spacing: -.02em; position: relative; white-space: nowrap; }
#uix-page .hero-title .accent-serif::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: .04em; height: .08em;
  background: var(--blue); border-radius: 2px; transform-origin: left; transform: scaleX(var(--accent-line, 1));
  display: none; /* TEMP: underline hidden — delete this line to bring it back */ }
#uix-page .hero-lead { margin-top: 26px; font-size: var(--fs-lead); color: var(--muted); max-width: 46ch; }
#uix-page .hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
#uix-page .hero-services { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 22px; border-top: 1px solid var(--border); max-width: 520px; }
#uix-page .hero-services a { font-size: .9rem; font-weight: 500; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
#uix-page .hero-services a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); transition: background-color .2s; }
#uix-page .hero-services a:hover { color: var(--ink); }
#uix-page .hero-services a:hover::before { background: var(--red); }
/* Hero composition */
#uix-page .hero-visual { position: relative; }
#uix-page .hero-visual-inner { position: relative; aspect-ratio: 600 / 520; width: 100%; }
#uix-page .mock { position: absolute; background: var(--white); border-radius: var(--radius-m); box-shadow: var(--shadow-3); overflow: hidden; will-change: transform; }
#uix-page .mock-tag { position: absolute; top: 10px; left: 12px; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
#uix-page .mock-desktop { left: 4%; top: 8%; width: 80%; aspect-ratio: 16 / 10.5; border: 1px solid rgba(16, 24, 40, .06); }
#uix-page .mock-chrome { height: 7.5%; min-height: 18px; display: flex; align-items: center; gap: 5px; padding: 0 3%; background: #F2F4F7; border-bottom: 1px solid var(--border); }
#uix-page .mock-chrome i { width: 7px; height: 7px; border-radius: 50%; background: #D0D5DD; }
#uix-page .mock-chrome i:first-child { background: #F97066; }
#uix-page .mock-url { margin-left: 4%; font-size: 9px; color: var(--muted); background: var(--white); border-radius: 4px; padding: 1px 8px; }
#uix-page .mock-desktop-body { display: grid; grid-template-columns: 17% 1fr; height: 92.5%; }
#uix-page .md-side { background: var(--dark); padding: 12% 14%; display: flex; flex-direction: column; gap: 9%; }
#uix-page .md-logo { width: 46%; aspect-ratio: 1; border-radius: 6px; background: var(--blue); margin-bottom: 12%; }
#uix-page .md-nav { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .18); }
#uix-page .md-nav.is-active { background: rgba(255, 255, 255, .85); width: 80%; }
#uix-page .md-main { padding: 5% 5.5%; display: grid; grid-template-rows: auto auto 1fr auto; gap: 6%; min-height: 0; }
#uix-page .md-head { display: flex; justify-content: space-between; align-items: center; }
#uix-page .md-h { width: 36%; height: 11px; border-radius: 6px; background: var(--ink); }
#uix-page .md-pill { width: 18%; height: 18px; border-radius: 999px; background: var(--blue); }
#uix-page .md-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6%; }
#uix-page .md-kpi { border: 1px solid var(--border); border-radius: 8px; padding: 9% 10%; display: grid; gap: 6px; }
#uix-page .k-l { width: 60%; height: 5px; background: #D0D5DD; border-radius: 3px; }
#uix-page .k-v { width: 45%; height: 10px; background: var(--ink); border-radius: 3px; }
#uix-page .k-bar { height: 4px; border-radius: 3px; background: var(--blue-50); position: relative; overflow: hidden; }
#uix-page .k-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--blue); border-radius: inherit; }
#uix-page .k-bar--red::after { background: var(--red); }
#uix-page .md-chart { border: 1px solid var(--border); border-radius: 8px; padding: 4%; min-height: 0; }
#uix-page .md-chart svg { width: 100%; height: 100%; }
#uix-page .md-chart-area { fill: rgba(7, 75, 186, .1); }
#uix-page .md-chart-line { fill: none; stroke: var(--blue); stroke-width: 2.5; }
#uix-page .md-rows { display: grid; gap: 6px; }
#uix-page .md-rows span { height: 6px; border-radius: 3px; background: #EEF0F4; }
#uix-page .md-rows span:nth-child(2) { width: 82%; }
#uix-page .md-rows span:nth-child(3) { width: 64%; }
#uix-page .mock-mobile { right: 2%; top: 30%; width: 25%; aspect-ratio: 9 / 18.5; border-radius: 22px; border: 5px solid var(--dark); padding: 14% 8% 8%; display: flex; flex-direction: column; gap: 6%; transform: rotate(4deg); }
#uix-page .mm-notch { position: absolute; top: 4px; left: 50%; width: 34%; height: 10px; background: var(--dark); border-radius: 0 0 8px 8px; transform: translateX(-50%); }
#uix-page .mm-hero { background: var(--blue); border-radius: 10px; padding: 14% 10%; display: grid; gap: 6px; }
#uix-page .mm-hero span { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .85); }
#uix-page .mm-hero span:last-child { width: 60%; background: rgba(255, 255, 255, .45); }
#uix-page .mm-card { display: grid; grid-template-columns: 22% 1fr; grid-template-rows: auto auto; column-gap: 8%; row-gap: 4px; align-items: center; padding: 8%; border: 1px solid var(--border); border-radius: 8px; }
#uix-page .mm-card i { grid-row: span 2; aspect-ratio: 1; border-radius: 6px; background: var(--blue-50); }
#uix-page .mm-card i.red { background: #FDE5E3; }
#uix-page .mm-card span { height: 5px; border-radius: 3px; background: #D0D5DD; }
#uix-page .mm-card span:first-of-type { background: var(--ink); width: 80%; }
#uix-page .mm-cta { margin-top: auto; height: 10%; border-radius: 999px; background: var(--red); }
#uix-page .mock-wire { left: 0; bottom: 2%; width: 34%; aspect-ratio: 4 / 3; padding: 14% 7% 7%; background: #FBFBFD; border: 1.5px dashed #C3CAD5; box-shadow: var(--shadow-2); transform: rotate(-3deg); display: grid; gap: 7%; }
#uix-page .mw-box { border: 1.5px solid #C3CAD5; border-radius: 6px; min-height: 40px; background: linear-gradient(to top right, transparent calc(50% - 1px), #C3CAD5, transparent calc(50% + 1px)), linear-gradient(to top left, transparent calc(50% - 1px), #C3CAD5, transparent calc(50% + 1px)); }
#uix-page .mw-lines { display: grid; gap: 5px; }
#uix-page .mw-lines span { height: 5px; background: #DADFE7; border-radius: 3px; }
#uix-page .mw-lines span:nth-child(2) { width: 75%; }
#uix-page .mw-lines span:nth-child(3) { width: 50%; }
#uix-page .mw-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#uix-page .mw-row span { height: 14px; border: 1.5px solid #C3CAD5; border-radius: 999px; }
#uix-page .mock-comp { right: 0; top: 0; width: 30%; padding: 13% 5% 5%; display: grid; gap: 10px; transform: rotate(2deg); }
#uix-page .mc-swatches { display: flex; gap: 6px; }
#uix-page .mc-swatches i { flex: 1; aspect-ratio: 1; border-radius: 6px; background: var(--c); border: 1px solid rgba(0, 0, 0, .05); }
#uix-page .mc-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#uix-page .mc-btn { flex: 1; height: 18px; border-radius: 999px; background: var(--blue); }
#uix-page .mc-toggle { width: 30px; height: 18px; border-radius: 999px; background: var(--red); position: relative; }
#uix-page .mc-toggle b { position: absolute; right: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); }
#uix-page .mc-type { display: flex; align-items: baseline; gap: 8px; }
#uix-page .mc-type b { font-family: var(--font-serif); font-size: 22px; line-height: 1; color: var(--ink); }
#uix-page .mc-type span { flex: 1; height: 5px; border-radius: 3px; background: #D0D5DD; }
#uix-page .hero-links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
#uix-page .hero-links path { fill: none; stroke: var(--blue); stroke-width: 1.2; stroke-dasharray: 4 5; opacity: .5; }
#uix-page .hero-links circle { fill: var(--white); stroke: var(--red); stroke-width: 1.5; }
/* ---------- 7. Statement ---------- */
#uix-page .statement { padding-block: clamp(80px, 10vw, 150px); }
#uix-page .statement-text { font-size: clamp(1.9rem, 1rem + 3.4vw, 4.1rem); line-height: 1.12; font-weight: 500; letter-spacing: -.03em; max-width: 22ch; }
#uix-page .statement-text .accent-serif { color: var(--blue); }
#uix-page .statement-sign { margin-top: 36px; display: flex; align-items: center; gap: 16px; font-size: var(--fs-lead); font-weight: 600; color: var(--red); }
#uix-page .sign-line { width: 56px; height: 2px; background: currentColor; }
/* ---------- 8. Journey ---------- */
#uix-page .journey { background: var(--bg); overflow: hidden; }
#uix-page .journey-stage { position: relative; container-type: inline-size; }
#uix-page .path-base { fill: none; stroke: #D7DDE7; stroke-width: 2; }
#uix-page .path-progress { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; }
#uix-page .path-runner { fill: var(--red); }
html:not(.uix-enhanced) #uix-page .path-runner { display: none; }
#uix-page .journey-wave { display: none; }
#uix-page .journey-vline { position: absolute; left: 12px; top: 18px; bottom: 18px; width: 10px; height: calc(100% - 36px); }
#uix-page .journey-list { position: relative; display: grid; gap: 28px; }
#uix-page .journey-node { position: relative; padding-left: 52px; }
#uix-page .node-dot { position: absolute; left: 4px; top: 22px; width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); display: grid; place-items: center; }
#uix-page .node-dot i { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); transition: transform .4s var(--ease-out), background-color .3s; }
#uix-page .journey-node.is-active .node-dot i { background: var(--red); transform: scale(1.15); }
#uix-page .node-card { display: block; text-decoration: none; color: inherit;
  padding: 24px 26px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-m);
  transition: border-color .3s, transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
#uix-page .node-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow-2); }
#uix-page .node-num { font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; color: var(--red); }
#uix-page .node-title { font-size: 1.35rem; margin-top: 8px; }
#uix-page .node-desc { margin-top: 10px; color: var(--muted); font-size: .98rem; }
@media (min-width: 840px) {
  #uix-page .journey-wave { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 16.667cqw; overflow: visible; }
  #uix-page .journey-vline { display: none; }
  #uix-page .journey-list { grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
  #uix-page .journey-node { padding: calc(16.667cqw + 24px) 0 0; }
  #uix-page .node-dot { left: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; }
  #uix-page .journey-node[data-pos="low"] .node-dot { top: 11.667cqw; }
  #uix-page .journey-node[data-pos="high"] .node-dot { top: 5cqw; }
  #uix-page .node-card { height: 100%; }
}
/* ---------- 9. Services ---------- */
#uix-page .services-head { max-width: 760px; }
#uix-page .service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(40px, 6vw, 110px); align-items: center;
  padding-block: clamp(48px, 6vw, 96px); border-top: 1px solid var(--border); }
#uix-page .service:last-of-type { border-bottom: 1px solid var(--border); }
#uix-page .service--flip .service-text { order: 2; }
#uix-page .service--flip .service-media { order: 1; }
#uix-page .service-num { display: block; font-family: var(--font-serif); font-style: italic; font-size: clamp(3rem, 2rem + 3vw, 5.4rem); line-height: .9; color: var(--blue); opacity: .9; }
#uix-page .service-title { font-size: var(--fs-h3); margin-top: 18px; }
#uix-page .service-lead { margin-top: 18px; font-size: var(--fs-lead); color: var(--muted); max-width: 44ch; }
#uix-page .deliverables-title { margin-top: 32px; font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); font-weight: 600; }
#uix-page .deliverables { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; max-width: 520px; }
#uix-page .deliverables li { padding: 11px 0; border-bottom: 1px solid var(--border); font-size: .97rem; display: flex; gap: 10px; align-items: baseline; }
#uix-page .deliverables li::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--red); transform: translateY(-2px); }
#uix-page .service .link-arrow { margin-top: 30px; }
#uix-page .service-media { position: relative; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 5 / 4; background: #DCE4F2; }
#uix-page .service-media-inner { position: absolute; inset: -8% 0; }
#uix-page .service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
#uix-page .service-media:hover img { transform: scale(1.04); }
#uix-page #uix-services .service-media img { transition: none; }
#uix-page #uix-services .service-media:hover img { transform: none; }
/* ---------- 10. Transformation ---------- */
#uix-page .transform { background: var(--white); padding-block: var(--section-y); border-top: 1px solid var(--border); }
#uix-page .transform-pin { display: flex; align-items: center; }
#uix-page .transform-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
#uix-page .transform-text { margin-top: 22px; color: var(--muted); font-size: var(--fs-lead); }
#uix-page .transform-notes { margin-top: 26px; display: grid; gap: 12px; }
#uix-page .transform-notes li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
#uix-page .tn-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
#uix-page .transform-copy .illustrative-note { margin-top: 26px; }
#uix-page .compare { --split: 50%;
  position: relative; aspect-ratio: 16 / 10.5; border-radius: var(--radius-l); overflow: hidden;
  background: #FBFBFD; border: 1px solid var(--border); box-shadow: var(--shadow-3);
  container-type: inline-size; isolation: isolate; }
#uix-page .compare-layer { position: absolute; inset: 0; display: grid; grid-template-rows: 11% 1fr; font-size: clamp(8px, 1.45cqw, 14px); }
#uix-page .compare-final { background: var(--white); clip-path: inset(0 calc(100% - var(--split)) 0 0); z-index: 1; }
#uix-page .cx-top { display: flex; align-items: center; gap: 3%; padding: 0 3%; border-bottom: 1px solid var(--border); }
#uix-page .cx-body { display: grid; grid-template-columns: 19% 1fr; min-height: 0; }
#uix-page .cx-side { padding: 7% 12%; display: flex; flex-direction: column; gap: 8%; border-right: 1px solid var(--border); }
#uix-page .cx-main { padding: 3.5% 4%; display: grid; grid-template-rows: auto auto 1fr auto; gap: 4%; min-height: 0; }
#uix-page .cx-title { display: flex; align-items: center; justify-content: space-between; }
#uix-page .cx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3%; }
#uix-page .cx-card { border-radius: 10px; min-height: 5.5em; }
#uix-page .cx-chart { border-radius: 10px; min-height: 0; }
#uix-page .cx-table { display: grid; gap: .6em; }
/* wireframe styling */
#uix-page .compare-wire { color: #98A2B3; }
#uix-page .w-blk { display: block; background: #E4E7EC; border-radius: 4px; height: .9em; }
#uix-page .w-logo { width: 9%; height: 1.4em; }
#uix-page .w-search { flex: 1; max-width: 40%; height: 2em; border-radius: 999px; background: none; border: 1.5px solid #D0D5DD; }
#uix-page .w-avatar { width: 2.2em; height: 2.2em; border-radius: 50%; margin-left: auto; }
#uix-page .cx-side .w-blk { width: 80%; }
#uix-page .w-h { width: 32%; height: 1.6em; }
#uix-page .w-btn { width: 18%; height: 2.4em; border-radius: 999px; background: none; border: 1.5px solid #D0D5DD; }
#uix-page .w-card { border: 1.5px dashed #D0D5DD; background: linear-gradient(to top right, transparent calc(50% - .5px), #E4E7EC, transparent calc(50% + .5px)); }
#uix-page .compare-wire .cx-table .w-blk { height: 1.1em; }
#uix-page .compare-wire .cx-table .w-blk:nth-child(2) { width: 82%; }
#uix-page .compare-wire .cx-table .w-blk:nth-child(3) { width: 64%; }
/* final UI styling */
#uix-page .f-top { background: var(--white); }
#uix-page .f-logo { font-weight: 700; font-size: 1.3em; letter-spacing: -.02em; }
#uix-page .f-logo b { color: var(--red); }
#uix-page .f-search { flex: 1; max-width: 40%; padding: .55em 1.2em; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: .9em; }
#uix-page .f-avatar { margin-left: auto; width: 2.4em; height: 2.4em; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); font-weight: 600; font-size: .8em; }
#uix-page .f-side { background: var(--dark); border: 0; gap: 4%; }
#uix-page .f-side span { color: rgba(255, 255, 255, .6); padding: .55em .8em; border-radius: 8px; font-size: .95em; }
#uix-page .f-side span.is-active { background: rgba(255, 255, 255, .1); color: var(--white); font-weight: 600; }
#uix-page .f-h { font-size: 1.7em; font-weight: 700; letter-spacing: -.02em; }
#uix-page .f-btn { padding: .7em 1.3em; border-radius: 999px; background: var(--blue); color: var(--white); font-weight: 600; font-size: .9em; }
#uix-page .f-card { padding: .9em 1em; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-1); display: grid; align-content: start; gap: .15em; }
#uix-page .f-card small { color: var(--muted); font-size: .85em; }
#uix-page .f-card strong { font-size: 1.8em; line-height: 1.1; letter-spacing: -.02em; }
#uix-page .f-card em { font-style: normal; font-size: .8em; color: var(--blue); }
#uix-page .f-card em.warn { color: var(--red); }
#uix-page .f-chart { padding: .8em 1em; border: 1px solid var(--border); display: grid; grid-template-rows: auto 1fr; }
#uix-page .f-chart small { color: var(--muted); font-size: .85em; }
#uix-page .f-chart svg { width: 100%; height: 100%; }
#uix-page .f-table span { display: flex; align-items: center; gap: .7em; font-size: .92em; padding-bottom: .45em; border-bottom: 1px solid var(--border); }
#uix-page .st { width: .7em; height: .7em; border-radius: 50%; background: #D0D5DD; }
#uix-page .st--ok { background: #12B76A; }
#uix-page .st--wip { background: var(--blue); }
#uix-page .compare-divider { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; margin-left: -1px; background: var(--red); z-index: 3; pointer-events: none; }
#uix-page .compare-divider i { position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; border-radius: 50%; background: var(--red); transform: translate(-50%, -50%); box-shadow: 0 0 0 6px rgba(236, 48, 36, .18); }
#uix-page .compare-divider i::before, #uix-page .compare-divider i::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; border: solid var(--white); border-width: 0 0 2px 2px; }
#uix-page .compare-divider i::before { left: 9px; transform: translateY(-50%) rotate(45deg); }
#uix-page .compare-divider i::after { right: 9px; transform: translateY(-50%) rotate(-135deg); }
#uix-page .compare-label { position: absolute; top: 14px; z-index: 4; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
#uix-page .compare-label--before { right: 14px; background: var(--white); color: var(--muted); border: 1px solid var(--border); }
#uix-page .compare-label--after { left: 14px; background: var(--ink); color: var(--white); }
#uix-page .compare-range-wrap { position: absolute; inset: 0; z-index: 5; display: block; }
#uix-page .compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
#uix-page .compare:has(.compare-range:focus-visible) .compare-divider i { box-shadow: 0 0 0 4px var(--white), 0 0 0 7px var(--blue); }
#uix-page .compare--scrub .compare-range-wrap { display: none; }
#uix-page .annot { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border-radius: 999px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-2); font-size: 11px; font-weight: 600; pointer-events: none; }
#uix-page .annot i { width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(236, 48, 36, .15); }
#uix-page .annot--1 { left: 24%; top: 19%; }
#uix-page .annot--2 { left: 54%; top: 46%; }
#uix-page .annot--3 { right: 6%; top: 28%; }
html:not(.uix-enhanced) #uix-page .annot { display: none; }
@media (min-width: 840px) {
  html.uix-enhanced #uix-page .transform { padding-block: 0; }
  html.uix-enhanced #uix-page .transform-pin { min-height: 100vh; padding: calc(var(--uix-header-h) + 32px) 0 40px; }
  html.uix-enhanced #uix-page .compare { width: min(100%, calc((100vh - var(--uix-header-h) - 110px) * 16 / 10.5)); justify-self: center; }
}
/* ---------- 11. Why ---------- */
#uix-page .why { overflow: hidden; }
#uix-page .why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
#uix-page .why-lead { margin-top: 24px; font-size: var(--fs-lead); color: rgba(255, 255, 255, .72); max-width: 54ch; }
#uix-page .why-points { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
#uix-page .why-points li { display: flex; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
#uix-page .why-points li:nth-child(odd) { padding-right: 20px; }
#uix-page .why-points li:nth-child(even) { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .12); }
#uix-page .why-points img { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(141, 180, 245, .14); flex: none; filter: brightness(0) invert(1); opacity: .9; }
#uix-page .why-points h3 { font-size: 1.12rem; letter-spacing: -.01em; }
#uix-page .why-warning { margin-top: 32px; padding-left: 16px; border-left: 2px solid var(--red); color: rgba(255, 255, 255, .78); max-width: 50ch; }
#uix-page .why-visual { position: relative; }
#uix-page .why-img { position: relative; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 4.4; background: #1D2840; }
#uix-page .why-img-inner { position: absolute; inset: -8% 0; }
#uix-page .why-img img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
#uix-page .why-flow { position: absolute; inset: 8% 6%; width: 88%; height: 84%; overflow: visible; pointer-events: none; }
#uix-page .flow-path { fill: none; stroke: #8DB4F5; stroke-width: 3; stroke-linecap: round; }
#uix-page .flow-marker circle { fill: var(--dark); stroke: #8DB4F5; stroke-width: 3; }
#uix-page .flow-marker--end circle { fill: var(--red); stroke: var(--white); }
#uix-page .flow-marker text { fill: var(--white); font: 600 15px var(--font-sans); text-anchor: middle; paint-order: stroke; stroke: rgba(16, 24, 39, .7); stroke-width: 4px; }
/* ---------- 12. Process ---------- */
#uix-page .process { background: var(--white); }
#uix-page .process-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 60px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
#uix-page .process-intro { color: var(--muted); font-size: var(--fs-lead); }
#uix-page .process-track { position: relative; }
#uix-page .process-line { position: absolute; left: 18px; top: 22px; width: 10px; height: calc(100% - 44px); }
#uix-page .process-steps { position: relative; display: grid; gap: 22px; }
#uix-page .process-step { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 20px; }
#uix-page .step-marker { display: flex; align-items: flex-start; gap: 16px; }
#uix-page .step-marker b { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--white); border: 2px solid #D7DDE7; font-size: .85rem; color: var(--muted);
  transition: background-color .35s, border-color .35s, color .35s, transform .35s var(--ease-out); }
#uix-page .process-step.is-done .step-marker b { border-color: var(--blue); color: var(--blue); }
#uix-page .process-step.is-active .step-marker b { background: var(--blue); border-color: var(--blue); color: var(--white); transform: scale(1.06); }
#uix-page .step-name { display: none; }
#uix-page .step-body { padding: 4px 0 24px; border-bottom: 1px solid var(--border); }
#uix-page .step-kicker { font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
#uix-page .step-title { font-size: 1.5rem; margin-top: 6px; }
#uix-page .step-body p { margin-top: 10px; color: var(--muted); max-width: 52ch; }
#uix-page .step-methods { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
#uix-page .step-methods li, #uix-page .process-methods li { padding: 7px 14px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-size: .86rem; font-weight: 500; }
#uix-page .process-methods { margin-top: clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 10px; }
#uix-page .process-methods li { background: var(--bg); color: var(--ink); border: 1px solid var(--border); }
/* step visuals (decorative) */
#uix-page .step-visual { margin-top: 22px; height: 110px; border-radius: var(--radius-m); background: var(--bg); border: 1px solid var(--border); padding: 18px; display: flex; gap: 10px; align-items: flex-end; overflow: hidden; }
#uix-page .sv-research i { flex: 1; border-radius: 10px; background: #FFF4CC; height: 70%; transform: rotate(-3deg); }
#uix-page .sv-research i:nth-child(2) { background: #FDE5E3; height: 82%; transform: rotate(2deg); }
#uix-page .sv-research i:nth-child(3) { background: var(--blue-50); height: 64%; transform: rotate(-1deg); }
#uix-page .sv-design { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; align-items: stretch; }
#uix-page .sv-design i { border-radius: 8px; border: 1.5px dashed #C3CAD5; }
#uix-page .sv-design i:nth-child(1), #uix-page .sv-design i:nth-child(5) { background: var(--blue); border: 0; }
#uix-page .sv-design i:nth-child(3) { background: var(--red); border: 0; }
#uix-page .sv-testing i { flex: 1; border-radius: 6px 6px 0 0; background: var(--blue-50); }
#uix-page .sv-testing i:nth-child(1) { height: 30%; }
#uix-page .sv-testing i:nth-child(2) { height: 48%; }
#uix-page .sv-testing i:nth-child(3) { height: 62%; }
#uix-page .sv-testing i:nth-child(4) { height: 78%; background: var(--blue); }
#uix-page .sv-testing i:nth-child(5) { height: 92%; background: var(--blue); }
#uix-page .sv-handover { align-items: center; }
#uix-page .sv-handover i { flex: 1; height: 60%; border-radius: 10px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-1); }
#uix-page .sv-handover i:nth-child(2) { background: var(--dark); }
/* Enhanced desktop: pinned two-column storytelling */
@media (min-width: 840px) {
  html.uix-enhanced #uix-page .process-track { min-height: 400px; }
  html.uix-enhanced #uix-page .process-steps { grid-template-columns: 320px minmax(0, 1fr); grid-auto-rows: auto; gap: 0 clamp(40px, 6vw, 100px); align-content: start; }
  html.uix-enhanced #uix-page .process-step { display: contents; }
  html.uix-enhanced #uix-page .step-marker { grid-column: 1; align-items: center; padding: 9px 0; cursor: pointer; border-radius: 999px; }
  html.uix-enhanced #uix-page .step-marker:hover .step-name { color: var(--blue); }
  html.uix-enhanced #uix-page .step-name { display: inline; font-weight: 600; color: var(--muted); transition: color .3s; }
  html.uix-enhanced #uix-page .process-step.is-active .step-name, html.uix-enhanced #uix-page .process-step.is-done .step-name { color: var(--ink); }
  html.uix-enhanced #uix-page .step-body { grid-column: 2; grid-row: 1 / span 5; align-self: start; border: 0; padding: 32px 40px; background: var(--bg); border-radius: var(--radius-l); }
  html.uix-enhanced #uix-page .step-title { font-size: var(--fs-h3); margin-top: 10px; }
  html.uix-enhanced #uix-page .step-visual { background: var(--white); }
}
/* ---------- 13. Industries ---------- */
#uix-page .industries-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px 64px; align-items: end; }
#uix-page .industries-head p { color: var(--muted); }
#uix-page .industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
#uix-page .industry { position: relative; padding: clamp(28px, 3vw, 44px); min-height: 260px;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--white); display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  transition: color .35s; }
#uix-page .industry::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: translateY(101%); transition: transform .5s var(--ease-out); }
#uix-page .industry:nth-child(3n+2) { background: var(--bg); }
#uix-page .ind-num { font-family: var(--font-serif); font-style: italic; font-size: 1.4rem; color: var(--blue); transition: color .35s; }
#uix-page .ind-name { margin-top: auto; padding-top: 48px; font-size: 1.4rem; }
#uix-page .industry p { margin-top: 12px; color: var(--muted); font-size: .97rem; transition: color .35s; }
#uix-page .ind-line { position: absolute; left: clamp(28px, 3vw, 44px); right: clamp(28px, 3vw, 44px); top: clamp(28px, 3vw, 44px); margin-top: 2.3rem; height: 1px; background: var(--border); transform-origin: left; }
#uix-page .industry:hover { color: var(--white); }
#uix-page .industry:hover::before { transform: none; }
#uix-page .industry:hover .ind-num, #uix-page .industry:hover p { color: rgba(255, 255, 255, .85); }
/* ---------- 14. Showcase ---------- */
#uix-page .showcase { overflow: hidden; }
#uix-page .showcase-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; }
#uix-page .showcase-head .illustrative-note { max-width: 36ch; }
#uix-page .showcase-scroller { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin;
  padding: 8px 0 28px; scroll-padding-inline: var(--gutter); }
#uix-page .showcase-scroller:focus-visible { outline-offset: -3px; }
#uix-page .showcase-track { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: max(var(--gutter), calc((100vw - var(--shell)) / 2)); width: max-content; }
#uix-page .sc-item { width: clamp(260px, 26vw, 340px); scroll-snap-align: start; flex: none; }
#uix-page .sc-item--wide { width: clamp(300px, 36vw, 480px); }
#uix-page .sc-art { aspect-ratio: 4 / 3.2; border-radius: var(--radius-l); background: var(--bg); border: 1px solid var(--border); padding: 24px; overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
#uix-page .sc-item--wide .sc-art { aspect-ratio: auto; height: calc(clamp(260px, 26vw, 340px) * .8); }
#uix-page .sc-item:hover .sc-art { transform: translateY(-6px); box-shadow: var(--shadow-2); }
#uix-page .sc-cat { display: block; margin-top: 18px; font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
#uix-page .sc-item h3 { margin-top: 6px; font-size: 1.2rem; }
#uix-page .sc-persona { display: grid; gap: 16px; align-content: start; background: var(--white); }
#uix-page .p-head { display: flex; gap: 14px; align-items: center; }
#uix-page .p-head i { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), #6E9BE6); }
#uix-page .p-head div { display: grid; gap: 7px; flex: 1; }
#uix-page .p-head b { height: 10px; width: 60%; background: var(--ink); border-radius: 4px; }
#uix-page .p-head span { height: 6px; width: 40%; background: #D0D5DD; border-radius: 3px; }
#uix-page .p-tags { display: flex; gap: 8px; }
#uix-page .p-tags span { font-size: 11px; padding: 4px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-weight: 600; }
#uix-page .p-tags span + span { background: #FDE5E3; color: var(--red); }
#uix-page .p-lines { display: grid; gap: 8px; }
#uix-page .p-lines span { height: 6px; background: #E4E7EC; border-radius: 3px; }
#uix-page .p-lines span:nth-child(2) { width: 86%; }
#uix-page .p-lines span:nth-child(3) { width: 58%; }
#uix-page .sc-journey { display: grid; grid-template-rows: 1fr auto; gap: 12px; background: var(--white); }
#uix-page .sc-journey svg { width: 100%; height: 100%; }
#uix-page .j-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
#uix-page .j-cols span { font-size: 11px; font-weight: 600; text-align: center; padding: 6px 0; border-top: 2px solid var(--blue); color: var(--muted); }
#uix-page .sc-wire { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr 1fr 1fr; gap: 10px; background: #FBFBFD; }
#uix-page .sc-wire span { border: 1.5px dashed #C3CAD5; border-radius: 8px; }
#uix-page .sc-wire .x { grid-column: 1 / -1; background: linear-gradient(to top right, transparent calc(50% - .5px), #D0D5DD, transparent calc(50% + .5px)); }
#uix-page .sc-wire .half { grid-column: 1 / -1; }
#uix-page .sc-system { display: grid; gap: 18px; align-content: center; background: var(--white); }
#uix-page .s-sw { display: flex; gap: 8px; }
#uix-page .s-sw i { flex: 1; aspect-ratio: 1; border-radius: 10px; background: var(--c); }
#uix-page .s-type { display: flex; align-items: baseline; gap: 12px; }
#uix-page .s-type b { font-family: var(--font-serif); font-size: 2.2rem; line-height: 1; }
#uix-page .s-type span { font-size: .85rem; color: var(--muted); }
#uix-page .s-btns { display: flex; gap: 8px; }
#uix-page .s-btns span { font-size: 12px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--border); }
#uix-page .s-btns .pri { background: var(--blue); color: var(--white); border-color: var(--blue); }
#uix-page .sc-audit { display: grid; gap: 12px; align-content: center; background: var(--white); }
#uix-page .a-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; }
#uix-page .a-row span { flex: 1; height: 7px; border-radius: 4px; background: #E4E7EC; }
#uix-page .sev { width: 34px; height: 16px; border-radius: 999px; background: #D0D5DD; }
#uix-page .sev--h { background: var(--red); }
#uix-page .sev--m { background: #F5A524; }
#uix-page .sc-proto { display: flex; align-items: center; gap: 12px; background: var(--dark); }
#uix-page .sc-proto span { flex: 1; aspect-ratio: 9 / 16; border-radius: 14px; background: var(--white); border: 4px solid #2A3550; }
#uix-page .sc-proto .s2 { background: var(--blue); }
#uix-page .sc-proto svg { width: 40px; flex: none; }
/* ---------- 15. Final CTA ---------- */
#uix-page .final-cta { position: relative; overflow: hidden; background: var(--blue); color: var(--white); padding-block: clamp(96px, 11vw, 170px); text-align: center; isolation: isolate; }
#uix-page .final-cta::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(50% 70% at 85% 10%, rgba(255, 255, 255, .14), transparent 70%), radial-gradient(40% 60% at 5% 100%, rgba(16, 24, 39, .35), transparent 70%); }
#uix-page .cta-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
#uix-page .cta-lines path { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 1.5; }
#uix-page .cta-inner { max-width: 980px; }
#uix-page .cta-title { font-size: clamp(2.3rem, 1.2rem + 4vw, 5rem); letter-spacing: -.035em; line-height: 1.04; }
#uix-page .cta-title .accent-serif { color: var(--white); }
#uix-page .cta-text { margin: 24px auto 0; font-size: var(--fs-lead); color: rgba(255, 255, 255, .82); max-width: 48ch; }
#uix-page .cta-actions { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 32px; }
/* ---------- 16. Footer ---------- */
/* ---------- 17. Responsive ---------- */
@media (max-width: 1199.98px) {
  #uix-page .why-points { grid-template-columns: 1fr; }
  #uix-page .why-points li:nth-child(even) { padding-left: 0; border-left: 0; }
}
@media (max-width: 839.98px) {
  #uix-page { --uix-header-h: 68px; }
  #uix-page .hero-grid { grid-template-columns: 1fr; }
  #uix-page .hero-visual { max-width: 640px; margin-inline: auto; width: 100%; }
  #uix-page .transform-grid { grid-template-columns: 1fr; }
  #uix-page .why-grid { grid-template-columns: 1fr; }
  #uix-page .why-visual { max-width: 560px; }
  #uix-page .why-points { grid-template-columns: 1fr 1fr; }
  #uix-page .why-points li:nth-child(even) { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .12); }
  #uix-page .industry-grid { grid-template-columns: repeat(2, 1fr); }
  #uix-page .industry:nth-child(3n+2) { background: var(--white); }
  #uix-page .industry:nth-child(4n+2), #uix-page .industry:nth-child(4n+3) { background: var(--bg); }
}
@media (max-width: 767.98px) {
  #uix-page .service, #uix-page .service--flip { grid-template-columns: 1fr; gap: 28px; }
  #uix-page .service .service-media, #uix-page .service--flip .service-media { order: -1; }
  #uix-page .service--flip .service-text { order: 0; }
  #uix-page .deliverables { grid-template-columns: 1fr; }
  #uix-page .process-head, #uix-page .industries-head { grid-template-columns: 1fr; }
  #uix-page .industry-grid { grid-template-columns: 1fr; }
  #uix-page .industry, #uix-page .industry:nth-child(n) { min-height: 0; background: var(--white); }
  #uix-page .ind-name { padding-top: 32px; }
  #uix-page .why-points { grid-template-columns: 1fr; }
  #uix-page .why-points li:nth-child(even) { padding-left: 0; border-left: 0; }
  #uix-page .compare { aspect-ratio: 4 / 3.4; }
  #uix-page .compare-layer { grid-template-rows: 12% 1fr; }
  #uix-page .cx-body { grid-template-columns: 1fr; }
  #uix-page .cx-side { display: none; }
  #uix-page .annot { display: none; }
  #uix-page .mock-comp { display: none; }
  #uix-page .mock-wire { width: 40%; }
  #uix-page .mock-mobile { width: 29%; }
  #uix-page .hero-links { display: none; }
  #uix-page .btn-ecx { width: 100%; justify-content: center; }
  #uix-page .cta-actions .btn-ecx { width: auto; }
}
@media (max-width: 420px) {
  #uix-page .hero-title .accent-serif { white-space: normal; }
  #uix-page .f-search { display: none; }
}
/* ---------- 18. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  #uix-page *, #uix-page *::before, #uix-page *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  #uix-page .mock-mobile, #uix-page .mock-wire, #uix-page .mock-comp { transform: none; }
}

/* ---------- Embedding inside the WordPress template ---------- */
#uix-page { display: block; width: 100%; max-width: none !important; position: relative; isolation: isolate; text-align: left; }
#uix-page [id] { scroll-margin-top: calc(var(--uix-header-h, 80px) + 16px); }
#uix-page .visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

/* Paragraph word reveals: no mask, so descenders are never clipped */
#uix-page .tr-soft .tr-mask { overflow: visible; padding: 0; margin: 0; }

/* =====================================================================
   LAPTOP FIT — every section reads within one screen height
   (1366×768, and 1920×1080 at 125% scaling ≈ 1536×730 in the browser)
   ===================================================================== */
@media (min-width: 840px) {
  #uix-page .hero { padding-top: clamp(24px, 4vh, 72px); padding-bottom: clamp(36px, 5vh, 88px); }
  /* the mockup composition never grows taller than the space under the header */
  #uix-page .hero-visual { width: min(100%, max(380px, calc((100vh - var(--uix-header-h, 80px) - 120px) * 600 / 520))); justify-self: end; }
  #uix-page .service-media { max-height: 62vh; }
  #uix-page .section-head { margin-bottom: clamp(32px, 6vh, 80px); }
}
@media (min-width: 840px) and (max-height: 820px) {
  #uix-page .hero-lead { margin-top: 18px; font-size: 1.02rem; }
  #uix-page .hero-actions { margin-top: 24px; }
  #uix-page .hero-services { margin-top: 24px; padding-top: 16px; }
  #uix-page .service { padding-block: clamp(36px, 6vh, 72px); }
  #uix-page .service-media { aspect-ratio: 16 / 11; }
  #uix-page .deliverables-title { margin-top: 22px; }
  #uix-page .deliverables li { padding-block: 8px; font-size: .93rem; }
  #uix-page .service .link-arrow { margin-top: 20px; }
  #uix-page .transform-text { font-size: 1rem; margin-top: 14px; }
  #uix-page .transform-notes { margin-top: 16px; gap: 8px; }
  #uix-page .transform-copy .illustrative-note { margin-top: 14px; }
  #uix-page .step-visual { height: 80px; margin-top: 16px; padding: 12px; }
  #uix-page .why-img { aspect-ratio: 4 / 3.6; max-height: 70vh; }
  #uix-page .industry { min-height: 200px; padding: 26px; }
  #uix-page .ind-name { padding-top: 28px; }
  #uix-page .sc-art { padding: 18px; }
  #uix-page .statement { padding-block: clamp(56px, 9vh, 120px); }
}

/* ---- v2: hero photo, richer process stages, industries list ---- */
#uix-page .hero-photo { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
#uix-page .hero-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: saturate(.7); transform: scale(1.06); animation: uix-kenburns 24s ease-in-out infinite alternate; }
#uix-page .hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(248, 249, 252, .94) 38%, rgba(248, 249, 252, .55) 70%, rgba(248, 249, 252, .35) 100%), linear-gradient(180deg, transparent 70%, var(--bg)); }
@keyframes uix-kenburns { to { transform: scale(1.14) translate(-1.5%, -1%); } }
#uix-page .step-bg { display: none; }
@media (min-width: 840px) {
  html.uix-enhanced #uix-page .process-track { min-height: 470px; }
  html.uix-enhanced #uix-page .step-marker { padding: 18px 0; }
  html.uix-enhanced #uix-page .step-body { position: relative; overflow: hidden; isolation: isolate; min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px 44px; background: var(--dark); color: #fff; box-shadow: 0 40px 80px -34px rgba(7, 32, 80, .42); }
  html.uix-enhanced #uix-page .step-bg { display: block; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, #0a3a8c, #101827); }
  html.uix-enhanced #uix-page .step-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s cubic-bezier(.22,1,.36,1); }
  html.uix-enhanced #uix-page .step-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 24, 39, .15) 0%, rgba(16, 24, 39, .55) 45%, rgba(16, 24, 39, .94) 100%), linear-gradient(90deg, rgba(7, 75, 186, .45), transparent 60%); }
  html.uix-enhanced #uix-page .process-step.is-active .step-bg img { transform: scale(1); }
  html.uix-enhanced #uix-page .step-bg.is-missing img { display: none; }
  html.uix-enhanced #uix-page .step-body p { color: rgba(255, 255, 255, .8); }
  html.uix-enhanced #uix-page .step-kicker { color: #ff8a80; }
  html.uix-enhanced #uix-page .step-methods li { background: rgba(255, 255, 255, .14); color: #fff; }
  html.uix-enhanced #uix-page .step-visual { display: none; }
  html.uix-enhanced #uix-page .step-marker b { transition: background-color .4s, border-color .4s, color .4s, transform .45s cubic-bezier(.22,1,.36,1), box-shadow .4s; }
  html.uix-enhanced #uix-page .process-step.is-active .step-marker b { transform: scale(1.18); animation: uix-pulse 1.8s ease-out infinite; }
  html.uix-enhanced #uix-page .process-step.is-active .step-name { color: var(--blue); transform: translateX(6px); }
  html.uix-enhanced #uix-page .step-name { display: inline-block; transition: color .3s, transform .45s cubic-bezier(.22,1,.36,1); font-size: 1.05rem; }
}
@keyframes uix-pulse { 0% { box-shadow: 0 0 0 0 rgba(7, 75, 186, .45); } 70% { box-shadow: 0 0 0 16px rgba(7, 75, 186, 0); } 100% { box-shadow: 0 0 0 0 rgba(7, 75, 186, 0); } }
#uix-page .uix-hl { margin-top: clamp(28px, 4vh, 48px); }
#uix-page .ecx-hl__frame img, #uix-page .ecx-hl__thumb img { height: 100%; }
#uix-page .showcase-scroller { scrollbar-width: none; }
#uix-page .showcase-scroller::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) { #uix-page .hero-photo img { animation: none; } }

/* ==========================================================================
   HERO — real screenshots inside the mock devices (replaces the drawn SVG UI)
   Desktop screen: export ~1600×970 px (16:9.7). Phone screen: export ~720×1480 px (9:18.5).
   ========================================================================== */

/* Desktop: the screen area becomes one image filling everything under the browser bar */
#uix-page .mock-desktop-body:has(> img),
#uix-page .mock-desktop-body.is-img {
  display: block;
  position: relative;
  overflow: hidden;
  background: #F2F4F7;               /* shows while the image loads */
}
#uix-page .mock-desktop-body > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;                 /* fill the screen, crop the overflow */
  object-position: top left;         /* keep the app's header / nav visible */
}

/* Phone: drop the padding/flex used by the drawn cards; the image is the screen */
#uix-page .mock-mobile:has(> .mm-screen),
#uix-page .mock-mobile.is-img {
  padding: 0;
  display: block;
  background: #F2F4F7;
}
#uix-page .mock-mobile > .mm-screen {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 17px;               /* phone radius (22px) minus its 5px frame */
}
/* keep the notch drawn on top of the screenshot */
#uix-page .mock-mobile .mm-notch { position: absolute; z-index: 2; }

/* ==========================================================================
   HERO — real screenshots inside the mock devices (replaces the drawn SVG UI)
   Desktop screen: export ~1600×970 px (16:9.7). Phone screen: export ~720×1480 px (9:18.5).
   ========================================================================== */

/* Desktop: the screen area becomes one image filling everything under the browser bar */
#uix-page .mock-desktop-body:has(> img),
#uix-page .mock-desktop-body.is-img {
  display: block;
  position: relative;
  overflow: hidden;
  background: #F2F4F7;               /* shows while the image loads */
}
#uix-page .mock-desktop-body > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;                 /* fill the screen, crop the overflow */
  object-position: top left;         /* keep the app's header / nav visible */
}

/* Phone: drop the padding/flex used by the drawn cards; the image is the screen */
#uix-page .mock-mobile:has(> .mm-screen),
#uix-page .mock-mobile.is-img {
  padding: 0;
  display: block;
  background: #F2F4F7;
}
#uix-page .mock-mobile > .mm-screen {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 17px;               /* phone radius (22px) minus its 5px frame */
}
/* keep the notch drawn on top of the screenshot */
#uix-page .mock-mobile .mm-notch { position: absolute; z-index: 2; }

.ecx-bgal--quad > .ecx-bgal__item:nth-child(6n+5) img,
.ecx-bgal--quad > .ecx-bgal__item:nth-child(6n+6) img { object-position: 50% 35%; }
