/* StatDoc theme. Tokens first, then layout, components, templates, motion, breakpoints. */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --midnight: #0B1E3B;
  --navy: #173563;
  --navy-2: #1E4278;
  --teal: #0E9AA7;
  --teal-dark: #0A7A85;
  --teal-bright: #2CC4CF;
  --glacier: #EEF4F8;
  --mist: #F6F9FB;
  --ink: #0F1B2D;
  --body: #34445A;
  --muted: #5B6B80;
  --line: #D8E1EA;
  --line-dark: rgba(255, 255, 255, .14);
  --on-dark: #C9D6E6;
  --white: #fff;
  --ok: #0B6B3A;
  --ok-bg: #E2F5EA;
  --err: #9B1C1C;
  --err-bg: #FDECEC;

  --radius-s: 6px;
  --radius: 12px;
  --radius-l: 20px;
  --shadow: 0 1px 2px rgba(11, 30, 59, .06), 0 12px 32px -18px rgba(11, 30, 59, .35);
  --shadow-lift: 0 2px 4px rgba(11, 30, 59, .06), 0 22px 44px -22px rgba(11, 30, 59, .45);
  --wrap: 100%; /* fills every screen; margins come from --gutter */
  --gutter: clamp(16px, 5vw, 120px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--body); background: var(--white); text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4, .h3, .h4 { color: var(--ink); font-weight: 750; line-height: 1.18; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -0.025em; }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3, .h3 { font-size: 21px; }
h4, .h4 { font-size: 18px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-s); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.mt { margin-top: 1.6em; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--radius-s); border: 1px solid transparent; font: 700 15px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-accent, .btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-accent::after, .btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-accent:hover::after, .btn-primary:hover::after { transform: translateX(120%); }
.btn-accent:hover { box-shadow: 0 10px 26px -10px rgba(44, 196, 207, .8); }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--midnight); color: var(--white); }
.btn-accent { background: var(--teal-bright); color: var(--midnight); }
.btn-accent:hover { background: var(--white); color: var(--midnight); }
.btn-line-light { border-color: rgba(255, 255, 255, .45); color: var(--white); background: transparent; }
.btn-line-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); color: var(--white); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--teal-dark); }
.text-link .icon { transition: transform .2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--teal-dark); font-weight: 700; cursor: pointer; }

/* ---------- Utility bar and header ---------- */
.utility { background: var(--midnight); color: var(--on-dark); font-size: 13px; }
.utility-inner { display: flex; align-items: center; gap: 24px; min-height: 38px; }
.utility-tag { margin: 0 auto 0 0; }
.utility-links { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.utility a { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.utility a:hover { color: var(--white); }
.utility-menu { padding-left: 20px; border-left: 1px solid var(--line-dark); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .25s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(11, 30, 59, .5); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; margin-right: auto; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav-top { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border: 0; background: none; font: 650 15px/1 var(--font); color: var(--ink); text-decoration: none; cursor: pointer; border-radius: var(--radius-s); }
.nav-top:hover, .nav-item.is-open > .nav-top { color: var(--teal-dark); background: var(--glacier); }
.nav-item.is-current > .nav-top { color: var(--teal-dark); }
.chev { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.nav-item.is-open .chev { transform: rotate(180deg); }
.nav-toggle { display: none; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-s); padding: 9px 14px; font: 700 14px var(--font); color: var(--ink); cursor: pointer; }

.nav-item { position: relative; }
.dropdown { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 12px); left: 50%; min-width: 240px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 48px -20px rgba(11, 30, 59, .4); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s; z-index: 5; }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.dropdown::after { content: ""; position: absolute; top: -7px; left: 50%; width: 12px; height: 12px; margin-left: -6px; background: var(--white); border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.nav-item.is-open > .dropdown, .dropdown-item.is-open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.dropdown-item { position: relative; }
.dropdown-item > a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: var(--radius-s); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .15s var(--ease), color .15s var(--ease), padding .15s var(--ease); }
.dropdown-item > a:hover, .dropdown-item > a[aria-current] { background: var(--glacier); color: var(--teal-dark); padding-left: 18px; }
.dropdown-overview { border-bottom: 1px solid var(--line); margin-bottom: 6px; padding-bottom: 6px; }
.dropdown-overview > a { color: var(--muted); font-size: 14px; }
.dropdown-item > a .chev { transform: rotate(-90deg); }
.dropdown .dropdown { top: -9px; left: 100%; margin-left: 8px; transform: translate(0, 0); }
.dropdown .dropdown::after { display: none; }
.dropdown-item.is-open > .dropdown { transform: none; }
.nav-cta .btn { padding: 11px 18px; }

/* ---------- Generic sections ---------- */
.kicker { font-size: 14px; font-weight: 700; color: var(--teal-dark); margin: 0 0 10px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(36px, 5vw, 64px) 0; }
.section-tint { background: var(--glacier); }
.section-dark { background: var(--midnight); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }
.lead-dark { font-size: 18px; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.split-wide { grid-template-columns: minmax(0, 74ch) minmax(300px, 1fr); }
.split-form { grid-template-columns: 1fr minmax(320px, 460px); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; }
.tags li { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--glacier); color: var(--navy); }
.tags-dark li { background: rgba(255, 255, 255, .1); color: var(--white); border: 1px solid var(--line-dark); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1100px 520px at 85% 10%, rgba(44, 196, 207, .16), transparent 60%), linear-gradient(160deg, var(--midnight) 0%, #0E2850 60%, var(--navy) 100%); color: var(--on-dark); }
.hero::after { content: ""; position: absolute; inset: 0; 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; mask-image: linear-gradient(90deg, transparent 30%, #000 75%); pointer-events: none; }
.hero-title { color: var(--white); font-size: clamp(36px, 4.6vw, 60px); }
.hero-lead { font-size: clamp(18px, 1.6vw, 20px); max-width: 54ch; margin: 0; }
.hero-orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-orbs span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.hero-orbs span:nth-child(1) { width: 520px; height: 520px; right: -120px; top: -160px; background: rgba(44, 196, 207, .35); }
.hero-orbs span:nth-child(2) { width: 420px; height: 420px; left: 30%; bottom: -220px; background: rgba(30, 66, 120, .9); animation-duration: 22s; animation-delay: -6s; }
.hero-orbs span:nth-child(3) { width: 260px; height: 260px; left: -80px; top: 20%; background: rgba(14, 154, 167, .25); animation-duration: 26s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, 30px) scale(1.08); } 100% { transform: translate(30px, -20px) scale(.95); } }
.hero-title .word { display: inline-block; animation: word-in .7s var(--ease) both; animation-delay: calc(1s + .07s * var(--i)); }
@keyframes word-in { from { opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* Full-width hero flow (desktop and tablet) */
.hero-visual { scroll-margin-top: 110px; }
.hero-copy { margin-top: clamp(36px, 5vw, 64px); padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line-dark); }
.hflow { margin: 0; }
.hflow svg { width: 100%; height: auto; max-height: 66vh; display: block; margin: 0 auto; overflow: visible; font-family: var(--font); }
.hf-line { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--ease) forwards; animation-delay: calc(.4s + var(--i) * .1s); }
.hf-line-svc { animation-delay: calc(1.1s + var(--i) * .12s); }
.hf-line-out { animation-delay: calc(1.7s + var(--i) * .12s); }
.hf-branch .hf-line { transition: stroke .4s var(--ease), stroke-width .4s var(--ease); }
.hf-branch.is-active .hf-line { stroke: var(--teal-bright); stroke-width: 2.4; filter: drop-shadow(0 0 6px rgba(44, 196, 207, .85)); }
.hf-dot { fill: var(--teal-bright); filter: drop-shadow(0 0 6px rgba(44, 196, 207, .9)); opacity: 0; animation: fade-in .3s linear forwards 1.3s; }
.hf-dot-svc, .hf-dot-out { animation-delay: 2s; transition: fill .3s; }
.hf-dot.is-active { fill: #fff; }
@keyframes fade-in { to { opacity: 1; } }
.hf-node { opacity: 0; animation: node-in .6s var(--ease) forwards; animation-delay: calc(.15s + var(--i) * .1s); }
.hf-node rect { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .16); }
.hf-node text { fill: #fff; font-size: 16px; font-weight: 650; }
.hf-pip { fill: #9FB3CC; animation: blink 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * .45s); }
@keyframes blink { 50% { fill: var(--teal-bright); } }
.hf-hub { transform-origin: 360px 270px; animation: hub-in .9s var(--ease) both .25s; }
.hf-glow { transform-origin: 360px 270px; animation: pulse 3.2s ease-in-out infinite; }
.hf-ring { fill: none; stroke: var(--teal-bright); stroke-width: 1.5; stroke-dasharray: 6 10; transform-origin: 360px 270px; animation: spin 26s linear infinite; }
.hf-core { stroke: rgba(44, 196, 207, .65); stroke-width: 1.6; }
.hf-hub-name { fill: #fff; font-size: 28px; font-weight: 800; text-anchor: middle; letter-spacing: -0.02em; }
.hf-hub-tag { fill: var(--teal-bright); font-size: 12.5px; font-weight: 700; text-anchor: middle; }
.hf-svc { opacity: 0; animation: node-in .6s var(--ease) forwards; animation-delay: calc(1.3s + var(--i) * .14s); cursor: pointer; }
.hf-svc-box { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .18); transition: fill .4s var(--ease), stroke .4s var(--ease); }
.hf-svc-icon { fill: rgba(255, 255, 255, .08); transition: fill .4s var(--ease); }
.hf-svc .icon { color: var(--teal-bright); transition: color .4s var(--ease); }
.hf-svc-name { fill: #fff; font-size: 15.5px; font-weight: 750; }
.hf-chip rect { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .14); transition: fill .4s var(--ease), stroke .4s var(--ease); }
.hf-chip text { fill: var(--on-dark); font-size: 13px; font-weight: 650; text-anchor: middle; transition: fill .4s var(--ease); }
.hf-svc.is-active .hf-svc-box { fill: rgba(44, 196, 207, .14); stroke: rgba(44, 196, 207, .8); }
.hf-svc.is-active .hf-svc-icon { fill: var(--teal-bright); }
.hf-svc.is-active .icon { color: var(--midnight); }
.hf-svc.is-active .hf-chip rect { fill: rgba(44, 196, 207, .16); stroke: rgba(44, 196, 207, .6); }
.hf-svc.is-active .hf-chip text { fill: #fff; }
.hf-svc.is-active .hf-chip { animation: chip-pop .45s var(--ease) both; animation-delay: calc(.1s + var(--c) * .12s); }
@keyframes chip-pop { 0% { opacity: .3; } 60% { opacity: 1; } 100% { opacity: 1; } }
.hf-svc:focus-visible .hf-svc-box { stroke: #fff; stroke-width: 2; }
.hero-visual .service-map { display: none; }

/* Service map (home hero, phones) */
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero > .wrap { position: relative; z-index: 1; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 7vw, 96px); }
.hero-copy { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px 56px; align-items: end; }
.hero-copy { animation: rise .8s var(--ease) both .9s; }
.hero-copy .hero-title { max-width: 16ch; margin: 0; }
.hero-side .actions { margin-top: 26px; }
.service-map { position: relative; display: grid; grid-template-columns: 1fr 250px 1fr; gap: 24px 72px; align-items: center; margin-top: clamp(48px, 6vw, 80px); }
.service-map { scroll-margin-top: 110px; }
.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.map-col { position: relative; z-index: 1; display: grid; gap: 22px; }
.map-card { display: block; padding: 20px 22px 18px; border-radius: 16px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .13); color: var(--white); text-decoration: none; backdrop-filter: blur(6px); transition: border-color .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease); animation: node-in .7s var(--ease) both; animation-delay: calc(.6s + var(--i) * .12s); }
.map-card:hover { color: var(--white); }
.map-card.is-active { border-color: rgba(44, 196, 207, .75); background: rgba(44, 196, 207, .1); box-shadow: 0 24px 60px -24px rgba(44, 196, 207, .65); transform: translateY(-4px); }
.map-card-head { display: flex; align-items: center; gap: 14px; }
.map-card .service-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--teal-bright); transition: background .4s var(--ease), color .4s var(--ease); }
.map-card.is-active .service-icon { background: var(--teal-bright); color: var(--midnight); }
.map-card-title { font-size: 19px; font-weight: 750; letter-spacing: -0.01em; }
.map-items { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.map-items li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.35; color: var(--on-dark); }
.map-items .icon { width: 16px; height: 16px; margin-top: 1px; color: var(--teal-bright); stroke-width: 2.6; }
.map-card.is-active .map-items li { color: var(--white); animation: tick-in .45s var(--ease) both; animation-delay: calc(var(--k) * .14s); }
@keyframes tick-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.map-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--teal-bright); opacity: .55; transition: opacity .3s; }
.map-card.is-active .map-more, .map-card:hover .map-more { opacity: 1; }
.map-hub { position: relative; z-index: 1; justify-self: center; width: 250px; height: 250px; display: grid; place-items: center; animation: hub-in .9s var(--ease) both .3s; }
@keyframes hub-in { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes node-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.map-hub::before { content: ""; position: absolute; inset: -30px; border-radius: 50%; background: radial-gradient(circle, rgba(44, 196, 207, .35), transparent 65%); animation: pulse 3.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.1); opacity: .6; } }
.map-hub .hub-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(44, 196, 207, .6); animation: spin 30s linear infinite; }
.map-hub .hub-ring-2 { inset: 20px; border: 1px solid rgba(44, 196, 207, .25); animation: spin 18s linear infinite reverse; border-top-color: var(--teal-bright); }
@keyframes spin { to { transform: rotate(360deg); } }
.hub-core { position: relative; width: 172px; height: 172px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; background: radial-gradient(circle at 30% 25%, #234C86, var(--midnight)); border: 1.5px solid rgba(44, 196, 207, .6); box-shadow: 0 0 50px -6px rgba(44, 196, 207, .55); }
.hub-name { color: var(--white); font-size: 27px; font-weight: 800; letter-spacing: -0.02em; }
.hub-tag { margin-top: 6px; color: var(--teal-bright); font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.map-link path { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 1.5; transition: stroke .4s var(--ease); }
.map-link.is-active path { stroke: var(--teal-bright); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(44, 196, 207, .8)); }
.map-link circle { fill: var(--teal-bright); opacity: 0; transition: opacity .3s; filter: drop-shadow(0 0 5px rgba(44, 196, 207, .9)); }
.map-link.is-active circle { opacity: 1; fill: var(--white); }
.map-link:not(.is-active) circle.idle { opacity: .55; }

/* Specialities ticker */
.ticker { background: var(--navy); color: var(--white); overflow: hidden; border-top: 1px solid var(--line-dark); }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { list-style: none; display: flex; margin: 0; padding: 0; }
.ticker li { display: flex; align-items: center; gap: 28px; padding: 18px 0 18px 28px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.ticker li::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-bright); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Scroll progress */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--teal), var(--teal-bright)); transform-origin: 0 50%; transform: scaleX(0); z-index: 80; pointer-events: none; }

/* ---------- Facts ---------- */
.facts { border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.fact-value { display: block; font-size: 38px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.fact-label { color: var(--muted); font-size: 15px; }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.service-card { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--body); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; border-radius: var(--radius) var(--radius) 0 0; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent; color: var(--body); }
.service-card:hover::before { transform: scaleX(1); }
.service-card h3, .service-card .h3 { margin-top: 18px; }
.service-card p { color: var(--muted); font-size: 16px; }
.service-card .more { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--teal-dark); font-size: 15px; }
.service-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--glacier); color: var(--teal-dark); }
.service-icon .icon { width: 26px; height: 26px; }
.service-card .service-icon { transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.service-card:hover .service-icon { background: var(--teal); color: var(--white); transform: rotate(-6deg) scale(1.06); }
.js .reveal .service-icon .icon > * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .reveal.is-in .service-icon .icon > * { animation: draw 1.1s var(--ease) forwards .25s; }
.service-icon.sm { width: 36px; height: 36px; border-radius: 10px; }
.service-icon.sm .icon { width: 19px; height: 19px; }

/* ---------- Process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.process li { position: relative; padding: 24px 20px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); }
.process li::after { content: ""; position: absolute; top: 44px; right: -17px; width: 18px; height: 2px; background: var(--teal-bright); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease) .2s; }
.process li.is-lit::after { transform: scaleX(1); }
.process li { transition: border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease); }
.process li.is-lit { border-color: rgba(44, 196, 207, .45); background: rgba(44, 196, 207, .07); }
.process li:hover { transform: translateY(-4px); }
.process li:last-child::after { display: none; }
.process-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--teal-bright); color: var(--teal-bright); font-weight: 800; margin-bottom: 16px; transition: background .4s var(--ease), color .4s var(--ease); }
.process li.is-lit .process-n { background: var(--teal-bright); color: var(--midnight); }
.process h3 { font-size: 18px; }
.process p { font-size: 15px; margin: 0; }

/* ---------- Models ---------- */
.model-grid { display: grid; gap: 16px; }
.model { padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--line); border-left: 4px solid var(--teal); background: var(--mist); }
.model h3 { margin-bottom: 6px; }
.model p { margin: 0; color: var(--muted); }

/* ---------- Insight cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--glacier); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-art { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255, 255, 255, .9); background: linear-gradient(135deg, var(--navy), var(--midnight)); }
.card-art .icon { width: 56px; height: 56px; stroke-width: 1.3; }
.card-art-biostatistics { background: linear-gradient(135deg, #12457E, #0B1E3B); }
.card-art-statistical-programming { background: linear-gradient(135deg, #0E7C88, #0B2D4A); }
.card-art-cdisc { background: linear-gradient(135deg, #2A5A9A, #13284B); }
.card-art-medical-coding { background: linear-gradient(135deg, #3C6E8F, #142C46); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 12px; }
.card-meta a { color: inherit; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill-post { background: var(--glacier); color: var(--navy); }
.pill-case { background: #E0F6F7; color: var(--teal-dark); }
.card-title { font-size: 19px; margin-bottom: 8px; }
.card-text { font-size: 15px; color: var(--muted); }
.card-foot { margin: auto 0 0; padding-top: 10px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- Quote ---------- */
.quote { margin: 0 auto; max-width: 860px; text-align: center; }
.quote blockquote { margin: 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; color: var(--ink); font-weight: 600; }
.quote figcaption { margin-top: 18px; color: var(--muted); }

/* ---------- CTA band and footer ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--midnight) 70%); color: var(--on-dark); padding: clamp(48px, 6vw, 76px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { margin: 0; font-size: 18px; }
.cta-band .actions { margin: 0; }
.site-footer { background: #081730; color: var(--on-dark); font-size: 15px; padding-top: 64px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(5, 1fr); gap: 32px; padding-bottom: 48px; }
.brand-light { color: var(--white) !important; font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.footer-brand p { max-width: 32ch; }
.footer-head { color: var(--white); font-weight: 700; margin: 0 0 14px; }
.footer-head a { color: var(--white) !important; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col address { font-style: normal; margin-bottom: 10px; }
.footer-col p { margin: 0 0 6px; }
.social { list-style: none; display: flex; gap: 10px; margin: 18px 0 0; padding: 0; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); }
.social a:hover { background: var(--teal); border-color: var(--teal); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line-dark); font-size: 14px; }
.footer-base p { margin: 0; }
.legal-links { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }

/* ---------- Page head and breadcrumbs ---------- */
.page-head { background: linear-gradient(160deg, var(--midnight) 0%, var(--navy) 100%); color: var(--on-dark); padding: clamp(40px, 6vw, 72px) 0 clamp(44px, 6vw, 80px); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent 45%, #000 90%); pointer-events: none; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head::before { content: ""; position: absolute; width: 480px; height: 480px; right: -140px; top: -200px; border-radius: 50%; background: rgba(44, 196, 207, .22); filter: blur(70px); animation: drift 20s ease-in-out infinite alternate; pointer-events: none; }
.page-head h1 { animation: rise .8s var(--ease) both; }
.page-head .lead, .page-head .tags, .page-head .actions { animation: rise .8s var(--ease) both .15s; }
.page-head h1 { color: var(--white); max-width: 22ch; }
.page-head .lead { font-size: clamp(18px, 1.6vw, 20px); max-width: 62ch; margin: 0; }
.page-head .kicker, .page-head .card-meta { color: var(--teal-bright); }
.page-head .card-meta span:not(.pill) { color: var(--on-dark); }
.crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; font-size: 14px; }
.crumb li { display: inline-flex; align-items: center; gap: 6px; }
.crumb li + li::before { content: "/"; opacity: .5; }
.crumb a { color: inherit; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.page-head .crumb { color: var(--on-dark); }

/* Compact headings on every inner page: the title band never takes most of the
   screen, so the page content is visible straight away. */
.page-head { padding: clamp(16px, 2vw, 30px) 0 clamp(18px, 2.2vw, 32px); }
.page-head h1 { font-size: clamp(28px, 2.8vw, 42px); margin-bottom: 8px; max-width: none; }
.page-head .lead { font-size: clamp(15.5px, 1.15vw, 18px); max-width: 78ch; }
.page-head .crumb ol { margin-bottom: 8px; font-size: 13.5px; }
.page-head .actions { margin-top: 14px; }
.page-head .actions .btn { padding: 10px 18px; font-size: 14.5px; }
.page-head .tags { margin-top: 10px; }
.page-head.has-visual .wrap { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); }
.page-head-visual .ha svg, .page-head-visual .mflow svg { max-height: min(190px, 24vh); margin-left: auto; }
.page-head-article h1, .page-head-case h1 { font-size: clamp(26px, 2.5vw, 38px); }
.page-head-case .card-meta, .page-head-article .card-meta { margin-bottom: 6px; }
.page-head + .section, .page-head + section.section { padding-top: clamp(28px, 3.5vw, 52px); }
.case-intro { font-size: 19px; color: var(--ink); max-width: 68ch; margin: 0 0 28px; }

/* Slim heading for listing pages (Insights, Blog, Case studies): content first */
.page-head-slim { padding: 26px 0 30px; }
.page-head-slim .crumb ol { margin-bottom: 10px; }
.page-head-slim h1 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 6px; }
.page-head-slim .lead { font-size: 16.5px; max-width: 80ch; }
.page-head-slim::before { display: none; }
.section-slim { padding: 28px 0 72px; }
.section-slim .card-media { aspect-ratio: 16 / 7; }
.section-slim .filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 24px; padding-bottom: 20px; }
.section-slim .filters .chips + .chips { padding-left: 18px; border-left: 1px solid var(--line); }
.section-slim .search { margin-left: auto; min-width: 260px; }
@media (max-width: 860px) { .section-slim .filters .chips + .chips { padding-left: 0; border-left: 0; } .section-slim .search { margin-left: 0; width: 100%; } }

/* ---------- Prose (editor content) ---------- */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.6em; font-size: 28px; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--teal); color: var(--ink); font-size: 19px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--glacier); }
.prose img { border-radius: var(--radius); }
.prose .compare { margin: 1.4em 0; overflow-x: auto; }
.prose .compare table { min-width: 560px; border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.prose .compare thead th { background: var(--navy); color: var(--white); font-size: 15px; }
.prose .compare tbody th { width: 22%; background: var(--glacier); color: var(--ink); font-size: 14px; }
.prose .compare th, .prose .compare td { border: 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 12px 14px; }
.prose .compare th:last-child, .prose .compare td:last-child { border-right: 0; }
.prose .compare td { font-size: 15px; vertical-align: top; }
.prose .compare tr:last-child td, .prose .compare tr:last-child th { border-bottom: 0; }
.prose .sample-note { padding: 14px 18px; border-radius: var(--radius-s); background: #FFF6D6; border: 1px solid #E8C65A; color: #5C4600; font-size: 15px; }

/* ---------- Ordinary pages as designed sections (page.php) ---------- */
.page-intro { max-width: 76ch; font-size: clamp(17px, 1.3vw, 19.5px); color: var(--ink); line-height: 1.6; margin-bottom: clamp(28px, 3vw, 44px); }
.page-intro p { margin: 0 0 .8em; }
.sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(16px, 2vw, 28px); }
.sec-grid-one { grid-template-columns: minmax(0, 900px); }
.sec-card { position: relative; padding: clamp(24px, 2.6vw, 36px); border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11, 30, 59, .04); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); overflow: hidden; }
.sec-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--teal), var(--teal-bright)); transform: scaleY(.35); transform-origin: top; transition: transform .4s var(--ease); }
.sec-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: transparent; }
.sec-card:hover::before { transform: scaleY(1); }
.sec-card h2 { font-size: clamp(21px, 1.7vw, 26px); margin: 0 0 12px; }
.sec-card p { color: var(--body); font-size: 16px; }
.sec-card p:last-child { margin-bottom: 0; }
.sec-card ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.sec-card li { position: relative; padding-left: 30px; font-size: 15.5px; color: var(--ink); }
.sec-card li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--glacier) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7A85' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.sec-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--midnight); color: var(--teal-bright); font-weight: 800; margin-bottom: 14px; }
.sec-grid-steps { counter-reset: none; }
.js .sec-grid > .reveal { transition-delay: calc(var(--i) * .07s); }
.page-outro { margin-top: clamp(24px, 3vw, 40px); padding: 24px 30px; border-radius: 20px; background: var(--glacier); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.page-outro p { margin: 0; font-size: 18px; font-weight: 600; color: var(--ink); max-width: 70ch; }

/* ---------- Service page ---------- */
.included { padding: 30px; border-radius: var(--radius); background: var(--mist); border: 1px solid var(--line); position: sticky; top: 100px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ticks li { display: flex; gap: 12px; }
.ticks .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--teal); color: var(--white); stroke-width: 2.6; margin-top: 2px; }
.ticks strong { display: block; color: var(--ink); }
.ticks span { display: block; font-size: 15px; color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 700; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; color: var(--teal-dark); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); }
.other-services { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.other-services a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); font-weight: 700; color: var(--ink); text-decoration: none; transition: border-color .2s var(--ease), background .2s var(--ease); }
.other-services a:hover { border-color: var(--teal); background: var(--mist); }

/* ---------- Forms ---------- */
.form-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-l); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: 110px; }
.form-card-wide { max-width: none; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .field-label { font-weight: 700; font-size: 14px; color: var(--ink); }
.opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 16px/1.4 var(--font); color: var(--ink); padding: 12px 14px; border: 1px solid #B9C7D6; border-radius: var(--radius-s); background: var(--white); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14, 154, 167, .2); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--err); }
.field input[type="file"] { padding: 10px; background: var(--mist); }
.hint, .form-note { font-size: 13px; color: var(--muted); margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-error { color: var(--err); font-size: 14px; font-weight: 600; margin: 0; }
.notice { padding: 14px 18px; border-radius: var(--radius-s); margin-bottom: 16px; font-weight: 600; }
.notice-ok { background: var(--ok-bg); color: var(--ok); }
.notice-error { background: var(--err-bg); color: var(--err); }

/* Proposal steps */
.proposal-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.step-bar { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 8px; padding: 0; counter-reset: st; }
.step-bar li { font-size: 13px; font-weight: 700; color: var(--muted); padding-top: 10px; border-top: 3px solid var(--line); transition: border-color .3s, color .3s; }
.step-bar li::before { counter-increment: st; content: counter(st) ". "; }
.step-bar li.is-on { border-color: var(--teal); color: var(--ink); }
.step { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; min-width: 0; }
.step legend { font-size: 24px; font-weight: 750; color: var(--ink); padding: 0; margin-bottom: 4px; }
.step-n { display: block; font-size: 13px; font-weight: 700; color: var(--teal-dark); margin-bottom: 4px; }
.js .steps-form .step:not(.is-active) { display: none; }
.js .steps-form .step.is-active { animation: step-in .35s var(--ease); }
.step-actions { display: flex; justify-content: flex-end; gap: 10px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; padding: 16px 18px 16px 46px; border: 1px solid #B9C7D6; border-radius: var(--radius); font-weight: 700; color: var(--ink); transition: border-color .15s, background .15s; }
.choice span::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid #8FA2B7; border-radius: 4px; background: var(--white); }
.choice input:checked + span { border-color: var(--teal); background: #E9F8F9; }
.choice input:checked + span::before { background: var(--teal) 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--teal); }
.choice input:focus-visible + span { outline: 3px solid var(--teal-bright); outline-offset: 2px; }
.proposal-aside { padding: 8px 0; }
.next-steps { padding-left: 1.2em; display: grid; gap: 10px; color: var(--body); }
.thanks { text-align: center; padding: 24px 0; }
.thanks-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--teal); color: var(--white); margin-bottom: 14px; }
.thanks-icon .icon { width: 32px; height: 32px; stroke-width: 2.6; }

/* ---------- Insights listing ---------- */
.filters { display: grid; gap: 14px; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.chip { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip-soft { font-weight: 600; }
.chip-soft.is-on { background: var(--teal-dark); border-color: var(--teal-dark); }
.search { display: flex; gap: 8px; max-width: 460px; }
.search input { flex: 1; min-width: 0; font: 15px var(--font); padding: 10px 14px; border: 1px solid #B9C7D6; border-radius: var(--radius-s); }
.search .btn { padding: 10px 18px; }
#insights-results { transition: opacity .2s var(--ease); }
#insights-results.is-loading { opacity: .35; }
.result-count { font-size: 14px; color: var(--muted); }
.featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; margin-bottom: 36px; border-radius: var(--radius-l); overflow: hidden; background: var(--midnight); color: var(--on-dark); text-decoration: none; transition: box-shadow .25s; }
.featured:hover { box-shadow: var(--shadow-lift); color: var(--on-dark); }
.featured-media { min-height: 280px; }
.featured-media img, .featured-media .card-art { width: 100%; height: 100%; object-fit: cover; }
.featured-body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.featured-body h2 { color: var(--white); }
.featured .more { font-weight: 700; color: var(--teal-bright); display: inline-flex; gap: 6px; align-items: center; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pager-link { display: inline-grid; place-items: center; min-width: 42px; height: 42px; border-radius: var(--radius-s); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; }
.pager-link.is-on { background: var(--navy); color: var(--white); border-color: var(--navy); }
.empty { padding: 48px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--white); }

/* ---------- Article and case study ---------- */
.article-head { padding: clamp(40px, 6vw, 72px) 0 12px; }
.wrap-read { max-width: 900px; }
.article-head h1 { font-size: clamp(32px, 4vw, 48px); }
.byline { color: var(--muted); font-size: 15px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.article-media { margin: 0 0 32px; border-radius: var(--radius-l); overflow: hidden; }
.article .prose { font-size: 18px; }
.share { display: flex; align-items: center; gap: 18px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 700; }
.share a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.share > span { color: var(--muted); }
.article-aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.aside-card { padding: 26px; border-radius: var(--radius); background: var(--mist); border: 1px solid var(--line); }
.aside-card p { color: var(--muted); font-size: 15px; }
.aside-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.aside-list a { display: grid; gap: 6px; text-decoration: none; color: var(--ink); font-weight: 650; }
.aside-list .pill { justify-self: start; }
.glance dl { margin: 0 0 20px; display: grid; gap: 4px; }
.glance dt { font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 10px; }
.glance dd { margin: 0; color: var(--ink); font-weight: 600; }
.case-part { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.case-part h2 { font-size: 24px; display: flex; align-items: center; gap: 12px; }
.case-part h2::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.case-part p { font-size: 18px; max-width: 68ch; }

/* ---------- Careers, team, contact ---------- */
.jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.job { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.job:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.job h3 { margin: 0 0 4px; font-size: 19px; }
.job h3 a { color: var(--ink); text-decoration: none; }
.job-meta { margin: 0; color: var(--muted); font-size: 15px; }
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.person { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); }
.person h3 { font-size: 17px; margin: 0 0 2px; }
.person p { margin: 0; color: var(--muted); font-size: 15px; }
.avatar { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--teal)); color: var(--white); font-weight: 800; letter-spacing: .02em; }
.contact-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; }
.contact-list .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--glacier); color: var(--teal-dark); }
.contact-list strong { display: block; color: var(--ink); }
.contact-list address { font-style: normal; }
.contact-proposal { padding: 24px; border-radius: var(--radius); background: var(--mist); border: 1px solid var(--line); }


/* ---------- Home: one block per menu section ---------- */
.routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
@media (min-width: 1000px) {
  .routes { grid-template-columns: repeat(6, 1fr); }
  .routes > .route { grid-column: span 2; }
  .routes > .route:nth-child(4):nth-last-child(2), .routes > .route:nth-child(5):last-child { grid-column: span 3; }
  .routes > .route:nth-child(4):last-child { grid-column: span 6; }
}
.route { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-l); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.route::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--teal), var(--teal-bright)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.route:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: transparent; }
.route:hover::before { transform: scaleX(1); }
.route-main { display: block; padding: 28px 26px 18px; text-decoration: none; color: var(--body); }
.route-main h3 { margin: 16px 0 6px; }
.route-main p { margin: 0; color: var(--muted); font-size: 15.5px; }
.route:hover .service-icon { background: var(--teal); color: var(--white); transform: rotate(-6deg) scale(1.06); }
.route .service-icon { transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.js .route.reveal .service-icon .icon > * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .route.reveal.is-in .service-icon .icon > * { animation: draw 1.1s var(--ease) forwards calc(.2s + var(--i) * .1s); }
.js .routes > .reveal { transition-delay: calc(var(--i) * .08s); }
.route-links { list-style: none; margin: 0; padding: 0 14px 14px; display: grid; gap: 2px; }
.route-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: var(--radius-s); color: var(--ink); font-weight: 650; font-size: 15px; text-decoration: none; transition: background .2s var(--ease), color .2s var(--ease), padding .2s var(--ease); }
.route-links a .icon { width: 16px; height: 16px; color: var(--teal); opacity: 0; transform: translateX(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.route-links a:hover { background: var(--glacier); color: var(--teal-dark); padding-left: 16px; }
.route-links a:hover .icon { opacity: 1; transform: none; }
.route-latest { display: block; margin: auto 14px 14px; padding: 12px 14px; border-radius: var(--radius-s); background: var(--midnight); color: var(--white); text-decoration: none; font-weight: 650; font-size: 14.5px; line-height: 1.35; }
.route-latest span { display: block; color: var(--teal-bright); font-size: 12.5px; font-weight: 700; margin-bottom: 2px; }
.route-latest:hover { background: var(--navy); color: var(--white); }

/* ---------- Inner page headings with the mini animation ---------- */
.page-head.has-visual .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.page-head-visual { min-width: 0; }
.mflow { margin: 0; }
.mflow svg { width: 100%; height: auto; max-height: 340px; display: block; overflow: visible; font-family: var(--font); }
.mf-center { animation: hub-in .8s var(--ease) both .2s; }
.mf-center-box { fill: rgba(44, 196, 207, .14); stroke: rgba(44, 196, 207, .75); }
.mf-center-icon { fill: var(--teal-bright); }
.mf-center .icon { color: var(--midnight); }
.mf-center-name { fill: #fff; font-size: 16px; font-weight: 750; }
.mf-item { opacity: 0; animation: node-in .6s var(--ease) forwards; animation-delay: calc(.8s + var(--i) * .12s); }
.mf-item rect { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .18); transition: fill .3s var(--ease), stroke .3s var(--ease); }
.mf-item text { fill: #fff; font-size: 14.5px; font-weight: 650; }
.mf-pip { fill: var(--teal-bright); animation: blink 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * .4s); }
.mf-link:hover rect { fill: rgba(44, 196, 207, .16); stroke: rgba(44, 196, 207, .7); }
.mflow .hf-line { stroke: rgba(44, 196, 207, .55); }

/* ---------- Newsletter and free resource ---------- */
.newsletter { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 40px; align-items: center; margin-top: 56px; padding: 32px 36px; border-radius: var(--radius-l); background: linear-gradient(120deg, var(--navy), var(--midnight)); color: var(--on-dark); scroll-margin-top: 110px; }
.newsletter h2 { color: var(--white); margin-bottom: 6px; }
.newsletter p { margin: 0; }
.form-inline { display: flex; gap: 10px; }
.form-inline input { flex: 1; min-width: 0; font: 16px var(--font); padding: 13px 14px; border-radius: var(--radius-s); border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: var(--white); }
.form-inline input::placeholder { color: var(--on-dark); }
.form-inline input:focus { outline: none; border-color: var(--teal-bright); box-shadow: 0 0 0 3px rgba(44, 196, 207, .3); }
.article .newsletter { margin-top: 48px; grid-template-columns: 1fr; }
.resource-actions { margin-bottom: 20px; }
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 4px 0 36px; max-width: 900px; }
.download { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--body); box-shadow: var(--shadow); transition: transform .25s var(--ease), border-color .25s var(--ease); }
.download:hover { transform: translateY(-3px); border-color: var(--teal); color: var(--body); }
.download-type { flex: none; display: grid; place-items: center; width: 54px; height: 62px; border-radius: 8px; color: var(--white); font-weight: 800; font-size: 13px; }
.download-xlsx .download-type { background: #1D7044; }
.download-pdf .download-type { background: #B42318; }
.download-text strong { display: block; color: var(--ink); }
.download-text span { font-size: 14px; color: var(--muted); }
.download-size { margin-left: auto; font-size: 13px; color: var(--muted); white-space: nowrap; }
.checklist-preview-title { margin-top: 8px; }
.checklist .src { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.checklist .basis { font-weight: 800; font-size: 11.5px; margin-right: 6px; }
.basis-required { color: var(--ok); }
.basis-recommended { color: #7A5A00; }
.checklist ul { list-style: none; padding-left: 0; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border: 2px solid var(--teal); border-radius: 5px; }
.resource-next { margin-top: 40px; max-width: 70ch; }
@media print {
  .utility, .site-header, .page-head, .cta-band, .site-footer, .resource-actions, .resource-next, .progress, .newsletter { display: none !important; }
  .section { padding: 0; }
  body { font-size: 12pt; }
}


/* ---------- Engagement models page (templates/models.php) ---------- */
.models { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.model-card { display: flex; flex-direction: column; padding: clamp(28px, 3.5vw, 44px); border-radius: 24px; position: relative; overflow: hidden; }
.model-card h2 { font-size: clamp(24px, 2.4vw, 30px); max-width: 20ch; margin-bottom: 22px; }
.model-kicker { font-size: 14px; font-weight: 700; margin: 18px 0 8px; }
.model-points { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 18px; }
.model-points li { display: flex; gap: 14px; }
.model-points .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; flex: none; stroke-width: 2.6; margin-top: 1px; }
.model-points strong { display: block; font-size: 17px; }
.model-points span { display: block; font-size: 15px; margin-top: 2px; }
.model-card .btn { margin-top: auto; align-self: flex-start; }

.model-fsp { background: radial-gradient(600px 300px at 90% -10%, rgba(44, 196, 207, .25), transparent 60%), linear-gradient(150deg, var(--midnight), var(--navy)); color: var(--on-dark); }
.model-fsp h2, .model-fsp strong { color: var(--white); }
.model-fsp .model-kicker { color: var(--teal-bright); }
.model-fsp .model-points .icon { background: var(--teal-bright); color: var(--midnight); }
.model-fixed { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.model-fixed .model-kicker { color: var(--teal-dark); }
.model-fixed .model-points .icon { background: var(--glacier); color: var(--teal-dark); }
.model-fixed .model-points span { color: var(--muted); }

.model-visual svg { width: 100%; max-width: 320px; height: auto; display: block; overflow: visible; }
.mv-person circle, .mv-person path { fill: none; stroke: var(--teal-bright); stroke-width: 3; }
.mv-person { animation: mv-join 6s ease-in-out infinite; animation-delay: calc(var(--i) * .5s); }
.mv-person:nth-child(-n+3) { animation-name: mv-steady; }
@keyframes mv-join { 0%, 10% { opacity: .15; transform: translateY(8px); } 25%, 80% { opacity: 1; transform: none; } 95%, 100% { opacity: .15; transform: translateY(8px); } }
@keyframes mv-steady { 0%, 100% { opacity: 1; } 50% { opacity: .75; } }
.mv-sheet { fill: var(--glacier); stroke: var(--line); }
.mv-item rect { fill: var(--white); stroke: var(--teal); stroke-width: 1.5; }
.mv-tick { fill: none; stroke: var(--teal-dark); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 12; stroke-dashoffset: 0; animation: mv-tick 5s ease-in-out infinite; animation-delay: calc(var(--i) * .7s); }
@keyframes mv-tick { 0%, 8% { stroke-dashoffset: 12; } 18%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 12; } }
.mv-line { stroke: #B9C7D6; stroke-width: 4; stroke-linecap: round; }

/* Side by side */
.vs { border-radius: 20px; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.vs-row { display: grid; grid-template-columns: 200px 1fr 1fr; align-items: stretch; border-top: 1px solid var(--line); }
.vs-row:first-child { border-top: 0; }
.vs-row > span { padding: 18px 22px; font-size: 16px; }
.vs-head > span { padding-top: 20px; padding-bottom: 20px; font-weight: 800; font-size: 17px; }
.vs-head .vs-fsp { background: var(--midnight); color: var(--white); }
.vs-head .vs-fixed { background: var(--teal); color: var(--white); }
.vs-label { font-weight: 700; color: var(--ink); background: var(--mist); }
.vs-cell.vs-fsp { border-right: 1px solid var(--line); }
.vs-row:not(.vs-head):hover .vs-cell { background: #F3FAFB; }
.js .vs-row.reveal { transition-delay: calc(var(--i) * .06s); }

/* How each one runs: tracks light up step by step once visible */
.track { padding: 28px 0 8px; }
.track + .track { border-top: 1px dashed var(--line); margin-top: 18px; }
.track-name { font-weight: 800; color: var(--teal-dark); margin: 0 0 18px; }
.track ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 0; position: relative; }
.track ol::before { content: ""; position: absolute; left: 10px; right: 10px; top: 10px; height: 3px; background: var(--line); border-radius: 2px; }
.track ol::after { content: ""; position: absolute; left: 10px; right: 10px; top: 10px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--teal), var(--teal-bright)); transform-origin: left; transform: scaleX(1); }
.js .track.reveal ol::after { transform: scaleX(0); transition: transform 1.8s var(--ease) .3s; }
.js .track.reveal.is-in ol::after { transform: scaleX(1); }
.track li { position: relative; padding: 34px 18px 0 0; }
.track-dot { position: absolute; left: 0; top: 0; width: 23px; height: 23px; border-radius: 50%; background: var(--teal); border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--teal); }
.js .track.reveal .track-dot { background: var(--white); transition: background .3s var(--ease); transition-delay: calc(.3s + var(--i) * .35s); }
.js .track.reveal.is-in .track-dot { background: var(--teal); }
.track li strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.track li span:last-child { display: block; color: var(--muted); font-size: 15px; }
.track-fixed .track-dot { box-shadow: 0 0 0 2px var(--navy); }
.track-fixed .track-dot, .js .track-fixed.reveal.is-in .track-dot { background: var(--navy); }
.track-fixed .track-name { color: var(--navy); }
.track-fixed ol::after { background: linear-gradient(90deg, var(--navy), var(--teal)); }

/* The same in both */
.same { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.same li { padding: 24px 20px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); transition: transform .3s var(--ease), border-color .3s var(--ease); }
.same li:hover { transform: translateY(-4px); border-color: rgba(44, 196, 207, .6); }
.same-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(44, 196, 207, .15); color: var(--teal-bright); margin-bottom: 14px; }
.same-icon .icon { width: 24px; height: 24px; }
.same strong { display: block; color: var(--white); font-size: 17px; margin-bottom: 4px; }
.same li > span:last-child { font-size: 14.5px; color: var(--on-dark); }
.js .same .reveal, .js .same li.reveal { transition-delay: calc(var(--i) * .08s); }

/* How an engagement starts */
.starts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.starts::before { content: ""; position: absolute; left: 24px; right: 24px; top: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 14px); animation: ha-dash-x 1.2s linear infinite; }
@keyframes ha-dash-x { to { background-position: 14px 0; } }
.starts li { position: relative; }
.starts-n { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--white); border: 2px solid var(--teal); color: var(--teal-dark); font-weight: 800; font-size: 18px; margin-bottom: 14px; transition: background .3s, color .3s; }
.starts li:hover .starts-n { background: var(--teal); color: var(--white); }
.starts strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.starts li > span:last-child { color: var(--muted); font-size: 15px; }
.js .starts li.reveal { transition-delay: calc(var(--i) * .1s); }
.models-close { margin-top: 48px; padding: 28px 32px; border-radius: 20px; background: var(--glacier); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.models-close p { margin: 0; font-size: 18px; color: var(--ink); font-weight: 600; max-width: 56ch; }
.models-close .actions { margin: 0; }

@media (max-width: 1000px) {
  .same { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .models { grid-template-columns: 1fr; }
  .vs-row { grid-template-columns: 1fr 1fr; }
  .vs-label { grid-column: 1 / -1; padding-bottom: 6px !important; }
  .vs-head .vs-label, .vs-head > span:first-child { display: none; }
  .track ol { grid-template-columns: 1fr; gap: 18px; }
  .track ol::before, .track ol::after { left: 10px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; }
  .track li { padding: 0 0 0 40px; }
  .starts { grid-template-columns: 1fr 1fr; }
  .starts::before { display: none; }
  .same { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .starts, .same { grid-template-columns: 1fr; }
}

/* ---------- WhatsApp button and map link ---------- */
.wa-float { position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 70; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #1FAF55; color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 12px 28px -10px rgba(11, 30, 59, .55); transition: transform .25s var(--ease), background .25s var(--ease); }
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { color: #fff; background: #189447; transform: translateY(-2px); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: wa-ping 3s ease-out infinite; }
@keyframes wa-ping { 0%, 60% { box-shadow: 0 0 0 0 rgba(31, 175, 85, .45); } 100% { box-shadow: 0 0 0 16px rgba(31, 175, 85, 0); } }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }
.wa-float[aria-expanded="true"]::after { animation: none; }
.wa-panel { position: fixed; right: clamp(14px, 2vw, 28px); bottom: calc(clamp(14px, 2vw, 28px) + 64px); z-index: 71; width: min(380px, calc(100vw - 28px)); max-height: calc(100vh - 120px); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 28px 60px -24px rgba(11, 30, 59, .55); overflow: hidden; transform-origin: 100% 100%; }
.wa-panel[hidden] { display: none; }
.wa-panel.is-open { animation: wa-pop .28s var(--ease) both; }
@keyframes wa-pop { from { opacity: 0; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: none; } }
.wa-panel-head { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; padding: 18px 18px 16px 20px; background: #0E5E3A; color: #fff; }
.wa-panel-head strong { display: block; font-size: 17px; }
.wa-panel-head span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, .82); }
.wa-close { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.wa-close:hover { background: rgba(255, 255, 255, .22); }
.wa-close svg { width: 18px; height: 18px; }
.wa-panel-body { overflow-y: auto; padding: 6px 12px 14px; }
.wa-group { margin: 12px 8px 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.wa-topics { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.wa-topics li { opacity: 0; transform: translateX(10px); }
.wa-panel.is-open .wa-topics li { animation: wa-item .32s var(--ease) both; animation-delay: calc(var(--i) * 28ms + 80ms); }
@keyframes wa-item { to { opacity: 1; transform: none; } }
.wa-topics a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 10px 12px; border-radius: 12px; background: var(--mist); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; transition: background .2s var(--ease), color .2s var(--ease); }
.wa-topics a::after { content: ""; flex: none; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .45; }
.wa-topics a:hover, .wa-topics a:focus-visible { background: #E3F6EA; color: #0E5E3A; }
@media (prefers-reduced-motion: reduce) { .wa-panel.is-open, .wa-panel.is-open .wa-topics li { animation: none; opacity: 1; transform: none; } }
.ha-maplink { display: block; cursor: pointer; border-radius: 16px; transition: background .25s var(--ease); }
.ha-maplink:hover { background: rgba(255, 255, 255, .04); }
.ha-maplink:hover .ha-pin { filter: drop-shadow(0 0 10px rgba(44, 196, 207, .8)); }

/* Contact map (click to load) */
.map-box { margin-top: clamp(28px, 3vw, 44px); height: clamp(280px, 38vw, 440px); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(rgba(14, 154, 167, .06), rgba(14, 154, 167, .06)), repeating-linear-gradient(0deg, transparent 0 46px, rgba(23, 53, 99, .06) 46px 47px), repeating-linear-gradient(90deg, transparent 0 46px, rgba(23, 53, 99, .06) 46px 47px), var(--mist); }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 20px; }
.map-placeholder .icon { width: 46px; height: 46px; color: var(--teal); animation: ha-bob 2.4s ease-in-out infinite; }
.map-placeholder p { margin: 0; }
.map-placeholder strong { display: block; color: var(--ink); font-size: 18px; }
.map-placeholder span { font-size: 14px; color: var(--muted); }
.map-placeholder .btn { margin: 0 4px; }

/* ---------- Site-wide motion additions ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-stream { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cta-stream path { fill: none; stroke: rgba(44, 196, 207, .22); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.cta-stream circle { fill: var(--teal-bright); filter: drop-shadow(0 0 5px rgba(44, 196, 207, .9)); }
@keyframes sweep { to { left: 110%; } }
@keyframes icon-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(14, 154, 167, 0); } 50% { box-shadow: 0 0 0 8px rgba(14, 154, 167, .12); } }
.page-head-article .byline { color: var(--on-dark); }
.page-head-article .card-meta a { color: var(--teal-bright); }
.prose h2, .case-part { scroll-margin-top: 110px; }


/* ---------- Page-heading animations, one kind per content (parts/head-anim.php) ----------
   Base styles are the finished, visible state; keyframes only add movement, so reduced motion
   (which switches animations off) still shows a complete picture. */
.ha { margin: 0; }
.ha svg { width: 100%; height: auto; max-height: 300px; display: block; overflow: visible; font-family: var(--font); }
.ha text { fill: #fff; font-size: 15px; font-weight: 650; }
.ha .ha-cap { fill: var(--on-dark); font-size: 13.5px; font-weight: 700; text-anchor: middle; }
.ha .ha-arrow { fill: none; stroke: var(--teal-bright); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: ha-nudge 1.6s ease-in-out infinite; }
.ha .ha-tick { fill: none; stroke: var(--midnight); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes ha-nudge { 50% { transform: translateX(5px); } }
@keyframes ha-glow { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* pipeline: raw bars jitter, grid cells fill in order, result rows draw */
.ha-raw rect { fill: rgba(255, 255, 255, .22); animation: ha-jitter 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * -.37s); }
.ha-raw rect:nth-child(2n) { fill: rgba(44, 196, 207, .35); }
@keyframes ha-jitter { 50% { transform: translateX(8px); } }
.ha-grid rect { fill: rgba(44, 196, 207, .55); stroke: rgba(44, 196, 207, .7); animation: ha-cell 4s ease-in-out infinite; animation-delay: calc(var(--i) * .1s); }
@keyframes ha-cell { 0%, 8% { fill: rgba(255, 255, 255, .05); } 20%, 85% { fill: rgba(44, 196, 207, .55); } 100% { fill: rgba(255, 255, 255, .05); } }
.ha-sheet { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .25); }
.ha-table path { stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 110; stroke-dashoffset: 0; animation: ha-write 4s ease-in-out infinite; animation-delay: calc(1.2s + var(--i) * .15s); }
.ha-table path:first-of-type { stroke: var(--teal-bright); }
@keyframes ha-write { 0%, 5% { stroke-dashoffset: 110; } 25%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 110; } }

/* conformance: a scanner sweeps down, each dataset gets its tick */
.ha-row rect { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .2); }
.ha-ok { fill: var(--teal-bright); animation: ha-pop 5s ease-in-out infinite; animation-delay: calc(.4s + var(--i) * .7s); transform-box: fill-box; transform-origin: center; }
.ha-row .ha-tick { animation: ha-pop 5s ease-in-out infinite; animation-delay: calc(.4s + var(--i) * .7s); transform-box: fill-box; transform-origin: center; }
@keyframes ha-pop { 0%, 6% { transform: scale(0); } 14%, 88% { transform: scale(1); } 100% { transform: scale(0); } }
.ha-scan { fill: var(--teal-bright); filter: drop-shadow(0 0 8px rgba(44, 196, 207, .9)); animation: ha-scan 5s linear infinite; }
@keyframes ha-scan { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(210px); opacity: 1; } 75%, 100% { transform: translateY(210px); opacity: 0; } }

/* timeline: the track fills, a runner travels, milestones light up */
.ha-track { fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 4; stroke-linecap: round; }
.ha-track-fill { fill: none; stroke: var(--teal-bright); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; animation: ha-fill 6s ease-in-out infinite; }
@keyframes ha-fill { 0% { stroke-dashoffset: 1; } 75%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
.ha-ms circle:first-child { fill: var(--midnight); stroke: var(--teal-bright); stroke-width: 2; }
.ha-ms .ha-ms-dot { fill: var(--teal-bright); animation: ha-pop 6s ease-in-out infinite; animation-delay: calc(var(--i) * 1.1s); transform-box: fill-box; transform-origin: center; }
.ha-ms text { text-anchor: middle; font-size: 14px; }
.ha-runner { fill: #fff; filter: drop-shadow(0 0 6px rgba(44, 196, 207, .9)); animation: ha-run 6s ease-in-out infinite; }
@keyframes ha-run { 0% { transform: translateX(0); } 75%, 90% { transform: translateX(440px); } 100% { transform: translateX(0); opacity: 0; } }

/* coding: each record slides across and becomes a code */
.ha-rec rect:first-child { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .2); }
.ha-rec path:not(.ha-arrow) { stroke: rgba(255, 255, 255, .45); stroke-width: 3; stroke-linecap: round; }
.ha-code { fill: var(--teal-bright); animation: ha-pop 4.8s ease-in-out infinite; animation-delay: calc(var(--i) * .6s); transform-box: fill-box; transform-origin: center; }
.ha-rec text { fill: var(--midnight); font-size: 13px; font-weight: 800; text-anchor: middle; }

/* stack: services come to the front in turn */
.ha-card rect { fill: rgba(255, 255, 255, .07); stroke: rgba(255, 255, 255, .2); transition: fill .3s; }
.ha-card circle { fill: var(--teal-bright); }
.ha-card { animation: ha-front 8s ease-in-out infinite; animation-delay: calc(var(--i) * 2s); }
@keyframes ha-front { 0%, 25% { transform: translateX(14px); } 30%, 100% { transform: none; } }
.ha-card rect { animation: ha-front-bg 8s ease-in-out infinite; animation-delay: calc(var(--i) * 2s); }
@keyframes ha-front-bg { 0%, 25% { fill: rgba(44, 196, 207, .2); stroke: rgba(44, 196, 207, .8); } 30%, 100% { fill: rgba(255, 255, 255, .07); stroke: rgba(255, 255, 255, .2); } }

/* stepper: steps light in order */
.ha-step circle { fill: var(--teal-bright); stroke: var(--teal-bright); stroke-width: 2; animation: ha-step 6s ease-in-out infinite; animation-delay: calc(var(--i) * .8s); }
@keyframes ha-step { 0%, 5% { fill: var(--midnight); } 15%, 85% { fill: var(--teal-bright); } 100% { fill: var(--midnight); } }
.ha-step .ha-num { fill: var(--midnight); font-size: 13px; font-weight: 800; text-anchor: middle; }
.ha-link { fill: none; stroke: rgba(44, 196, 207, .5); stroke-width: 2; stroke-dasharray: 4 5; animation: ha-dash 1.2s linear infinite; }
@keyframes ha-dash { to { stroke-dashoffset: -18; } }

/* lanes: FSP is a steady stream; fixed-cost fills to done */
.ha-lane { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .18); }
.ha-lane-title { fill: var(--teal-bright) !important; font-size: 14px !important; font-weight: 800 !important; }
.ha-dot { fill: var(--teal-bright); filter: drop-shadow(0 0 5px rgba(44, 196, 207, .8)); animation: ha-stream 4.2s linear infinite; animation-delay: calc(var(--i) * -.6s); }
@keyframes ha-stream { from { transform: translateX(0); } to { transform: translateX(400px); } }
.ha-fill { fill: rgba(44, 196, 207, .35); transform-box: fill-box; transform-origin: left center; animation: ha-grow 5s ease-in-out infinite; }
@keyframes ha-grow { 0% { transform: scaleX(0); } 60%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.ha-done { fill: var(--teal-bright); animation: ha-pop 5s ease-in-out infinite; animation-delay: 2.6s; transform-box: fill-box; transform-origin: center; }
.ha-lanes .ha-tick { animation: ha-pop 5s ease-in-out infinite; animation-delay: 2.6s; transform-box: fill-box; transform-origin: center; }

/* cards: a solid stack; only one title is visible at a time, so text never overlaps */
.ha-plate { fill: #132B52; stroke: rgba(44, 196, 207, .35); }
.ha-plate-1 { fill: #17335F; }
.ha-front { fill: #1C3D70; stroke: rgba(44, 196, 207, .7); stroke-width: 1.5; }
.ha-art { opacity: 0; }
.ha-art:first-of-type { opacity: 1; }
.ha-art .ha-pill { fill: var(--teal-bright); }
.ha-art text { font-size: 17px; }
.ha-art path { stroke: rgba(255, 255, 255, .3); stroke-width: 3; stroke-linecap: round; }
.ha-art { animation: ha-deck calc(var(--n) * 3s) ease-in-out infinite both; animation-delay: calc(var(--i) * 3s); }
@keyframes ha-deck { 0% { opacity: 0; transform: translateY(8px); } 5%, 28% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: translateY(-8px); } }
.ha-plate-1 { animation: ha-plate 3s ease-in-out infinite; }
@keyframes ha-plate { 0%, 100% { transform: none; } 50% { transform: translate(4px, -3px); } }

/* roles: open roles arrive one by one with a live dot */
.ha-role rect { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .2); }
.ha-role { animation: ha-arrive 6s ease-in-out infinite; animation-delay: calc(var(--i) * .5s); }
@keyframes ha-arrive { 0% { transform: translateX(40px); opacity: 0; } 10%, 85% { transform: none; opacity: 1; } 100% { transform: translateX(-20px); opacity: 0; } }
.ha-live { fill: #3ddc97; animation: ha-glow 1.6s ease-in-out infinite; }

/* values: rings draw in turn */
.ha-ring-bg { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 8; }
.ha-ring { fill: none; stroke: var(--teal-bright); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; animation: ha-ring 6s ease-in-out infinite; animation-delay: calc(var(--i) * .7s); }
@keyframes ha-ring { 0% { stroke-dashoffset: 1; } 35%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
.ha-val text { text-anchor: middle; font-size: 16px; }

/* pin: map grid, the pin drops, ripples spread */
.ha-map path { stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.ha-pin path { fill: var(--teal-bright); }
.ha-pin-hole { fill: var(--midnight); }
.ha-pin { animation: ha-drop 3.6s cubic-bezier(.3, 1.4, .5, 1) infinite; }
@keyframes ha-drop { 0% { transform: translateY(-60px); opacity: 0; } 18%, 85% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }
.ha-ripple { fill: none; stroke: var(--teal-bright); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ha-ripple 3.6s ease-out infinite .6s; }
.ha-ripple-2 { animation-delay: 1.4s; }
@keyframes ha-ripple { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }

/* progress: three steps along a track */
.ha-progress .ha-ms circle { fill: var(--teal-bright); stroke: var(--teal-bright); animation: ha-step 6s ease-in-out infinite; animation-delay: calc(var(--i) * 1.5s); }
.ha-progress .ha-tick { animation: ha-pop 6s ease-in-out infinite; animation-delay: calc(var(--i) * 1.5s); transform-box: fill-box; transform-origin: center; }
.ha-progress .ha-ms text { font-size: 14.5px; }

/* shield: draws itself, the lock clicks */
.ha-shield { fill: rgba(44, 196, 207, .1); stroke: var(--teal-bright); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 0; animation: ha-ring 6s ease-in-out infinite; }
.ha-lock { fill: var(--teal-bright); }
.ha-shackle { fill: none; stroke: var(--teal-bright); stroke-width: 6; stroke-linecap: round; animation: ha-click 6s ease-in-out infinite; }
@keyframes ha-click { 0%, 30% { transform: translateY(-8px); } 40%, 100% { transform: none; } }
.ha-key { fill: var(--midnight); }

/* read: a highlighter moves down the page */
.ha-line { stroke: rgba(255, 255, 255, .4); stroke-width: 4; stroke-linecap: round; }
.ha-hl { fill: rgba(44, 196, 207, .28); animation: ha-read 7s ease-in-out infinite; }
@keyframes ha-read { 0% { transform: translateY(0); } 90% { transform: translateY(154px); } 100% { transform: translateY(0); } }

/* apply: fields type in, then the button pulses */
.ha-field rect { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .22); }
.ha-flabel { font-size: 13px !important; fill: var(--on-dark) !important; }
.ha-type { stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 180; stroke-dashoffset: 0; animation: ha-type 6s steps(14) infinite; animation-delay: calc(var(--i) * .9s); }
@keyframes ha-type { 0% { stroke-dashoffset: 180; } 30%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 180; } }
.ha-send rect { fill: var(--teal-bright); animation: ha-glow 2s ease-in-out infinite; }
.ha-send text { fill: var(--midnight); font-weight: 800; text-anchor: middle; }

/* beforeafter: tangle fades, the line straightens, the result ticks */
.ha-tangle { fill: none; stroke: #F28B82; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 0; animation: ha-untangle 6s ease-in-out infinite; }
@keyframes ha-untangle { 0% { stroke-dashoffset: 700; opacity: 1; } 25%, 60% { stroke-dashoffset: 0; opacity: 1; } 80% { stroke-dashoffset: 0; opacity: .7; } 100% { stroke-dashoffset: 0; opacity: .7; } }
.ha-straight { fill: none; stroke: var(--teal-bright); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; animation: ha-fill 6s ease-in-out infinite 1s; }
.ha-result { fill: rgba(44, 196, 207, .16); stroke: var(--teal-bright); stroke-width: 3; }
.ha-tick-lg { stroke: var(--teal-bright) !important; stroke-width: 5 !important; stroke-dasharray: 1; stroke-dashoffset: 0; animation: ha-fill 6s ease-in-out infinite 2.2s; }

/* cycle: recurring work, a marker going round, each item lighting as it passes */
.ha-loop { fill: none; stroke: rgba(255, 255, 255, .15); stroke-width: 3; }
.ha-loop-fill { fill: none; stroke: var(--teal-bright); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 0; animation: ha-ring 8s linear infinite; }
.ha-node rect { fill: var(--midnight); stroke: var(--teal-bright); stroke-width: 1.5; animation: ha-node 8s linear infinite; animation-delay: calc(var(--i) * 2s); }
@keyframes ha-node { 0%, 20% { fill: rgba(44, 196, 207, .3); } 25%, 100% { fill: var(--midnight); } }
.ha-node text { text-anchor: middle; font-size: 13.5px; }
.ha-orbit { transform-origin: 260px 130px; animation: spin 8s linear infinite; }
.ha-cycle .ha-runner { animation: none; }

/* How we work: four stages, each with its own animation */
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stage { position: relative; padding: 22px 22px 24px; border-radius: var(--radius-l); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); }
.stage-anim .ha svg { max-height: 150px; }
.stage-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--teal-bright); color: var(--midnight); font-weight: 800; margin: 14px 0 10px; }
.stage h2 { color: var(--white); margin-bottom: 6px; }
.stage p { margin: 0; font-size: 15px; color: var(--on-dark); }
.stage:last-child { border-color: rgba(44, 196, 207, .55); background: rgba(44, 196, 207, .08); }

/* Home blocks: each icon moves in its own way */
.route[data-anim="grid"] .service-icon .icon > * { animation: ha-glow 2.4s ease-in-out infinite; }
.route[data-anim="grid"] .service-icon .icon > :nth-child(2) { animation-delay: .6s; }
.route[data-anim="grid"] .service-icon .icon > :nth-child(3) { animation-delay: 1.2s; }
.route[data-anim="grid"] .service-icon .icon > :nth-child(4) { animation-delay: 1.8s; }
.route[data-anim="flow"] .service-icon .icon path { stroke-dasharray: 3 3; animation: ha-dash 1s linear infinite; }
.route[data-anim="file"] .service-icon .icon { animation: ha-flip 3s ease-in-out infinite; }
@keyframes ha-flip { 0%, 70%, 100% { transform: none; } 80% { transform: rotate(-8deg) translateY(-2px); } 90% { transform: rotate(4deg); } }
.route[data-anim="people"] .service-icon .icon > :nth-child(odd) { animation: ha-bob 2.4s ease-in-out infinite; }
.route[data-anim="people"] .service-icon .icon > :nth-child(3) { animation-delay: .4s; }
@keyframes ha-bob { 50% { transform: translateY(-1.5px); } }
.route[data-anim="mail"] .service-icon .icon { animation: ha-send-mail 3.2s ease-in-out infinite; }
@keyframes ha-send-mail { 0%, 60%, 100% { transform: none; } 70% { transform: translate(3px, -3px) rotate(-6deg); } 80% { transform: translate(-1px, 1px); } }
.route .service-icon { animation: none; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.hero-side { animation: rise .8s var(--ease) both 1.4s; }
.js .reveal { opacity: 0; transform: translateY(40px) scale(.98); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .card-grid > .reveal:nth-child(2), .js .service-grid > .reveal:nth-child(2) { transition-delay: .08s; }
.js .card-grid > .reveal:nth-child(3), .js .service-grid > .reveal:nth-child(3) { transition-delay: .16s; }
.js .service-grid > .reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Breakpoints ---------- */
@media (max-width: 1100px) {
  /* backdrop-filter would make the header the containing block of the fixed menu panel */
  .site-header { backdrop-filter: none; background: var(--white); }
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 0 0 0 auto; top: 0; width: min(420px, 100%); flex-direction: column; align-items: stretch; gap: 0; padding: 84px 20px 28px; background: var(--white); box-shadow: -20px 0 60px -30px rgba(11, 30, 59, .6); transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s linear .3s; overflow-y: auto; z-index: 60; }
  .nav.is-open { transform: none; visibility: visible; transition-delay: 0s; }
  body.nav-open { overflow: hidden; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(11, 30, 59, .45); z-index: 45; }
  .nav-toggle { position: relative; z-index: 70; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-top { width: 100%; justify-content: space-between; padding: 16px 6px; font-size: 17px; }
  .nav-top:hover, .nav-item.is-open > .nav-top { background: none; }
  .nav-item { position: static; }
  .dropdown { position: static; min-width: 0; border: 0; box-shadow: none; padding: 0 0 12px 8px; opacity: 1; visibility: visible; transform: none; display: none; }
  .dropdown::before, .dropdown::after { display: none; }
  .nav-item.is-open > .dropdown { display: block; transform: none; }
  .dropdown .dropdown { display: block; padding-left: 12px; margin: 0; }
  .dropdown-item > a { white-space: normal; }
  .nav-cta { padding-top: 20px; }
  .nav-cta .btn { width: 100%; padding: 14px; }
  .process { grid-template-columns: 1fr 1fr; }
  .process li::after { display: none; }
  .service-map { grid-template-columns: 1fr 1fr; gap: 18px; }
  .map-col { display: contents; }
  .map-hub { grid-column: 1 / -1; grid-row: 1; width: 200px; height: 200px; margin-bottom: 8px; }
  .hub-core { width: 140px; height: 140px; }
  .hub-name { font-size: 22px; }
  .map-lines { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .page-head.has-visual .wrap { grid-template-columns: 1fr; }
  .page-head-visual { display: none; }
  .page-head-visual .ha { display: none; }
  .hflow { display: none; }
  .hero-visual .service-map { display: grid; margin-top: 0; }
  body { font-size: 16px; }
  .utility-tag { display: none; }
  .utility-inner { justify-content: center; }
  .utility-menu { display: none; }
  .stages { grid-template-columns: 1fr 1fr; }
  .newsletter { grid-template-columns: 1fr; padding: 26px 22px; }
  .form-inline { flex-direction: column; }
  .hero-copy, .split, .split-wide, .split-form, .article-grid, .proposal-wrap, .featured { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .included, .article-aside { position: static; }
  .featured-media { min-height: 200px; }
}

@media (max-width: 600px) {
  .header-inner { min-height: 64px; }
  .brand img { height: 32px; }
  .utility-links { gap: 14px; font-size: 12px; }
  .card-grid, .process, .choice-grid, .field-row, .service-map, .map-items, .stages { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .job { flex-direction: column; align-items: flex-start; }
  .actions .btn { width: 100%; }
  .ticker li { padding: 14px 0 14px 22px; gap: 22px; font-size: 14px; }
  .step-actions { flex-direction: column-reverse; }
  .step-actions .btn { width: 100%; }
}

/* ---------- Title band: one compact strip, same on every page ----------
   The band shows where you are and what the page is; the content starts right below it. */
.page-head, .page-head-slim { padding: clamp(14px, 1.6vw, 24px) 0 clamp(16px, 1.8vw, 26px); }
.page-head::before { width: 320px; height: 320px; top: -190px; }
.page-head .crumb ol, .page-head-slim .crumb ol { margin-bottom: 4px; font-size: 13px; }
.page-head h1, .page-head-slim h1, .page-head-article h1, .page-head-case h1 { font-size: clamp(24px, 2.2vw, 34px); line-height: 1.15; margin-bottom: 4px; max-width: none; }
.page-head .lead, .page-head-slim .lead { font-size: clamp(15px, 1.05vw, 17px); line-height: 1.45; max-width: 92ch; }
.page-head .actions { margin-top: 10px; }
.page-head .tags { margin-top: 8px; }
.page-head .card-meta { margin-bottom: 4px; }
.page-head.has-visual .wrap { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 48px); align-items: center; }
.page-head-visual .ha svg, .page-head-visual .mflow svg { height: clamp(80px, 7.5vw, 104px); max-height: none; width: auto; margin-left: auto; }
.page-head-visual .ha-cap { display: none; }
.page-head + .section, .page-head + section.section { padding-top: clamp(22px, 2.6vw, 40px); }


/* ---------- Title band, part 2: no buttons or label rows of their own ---------- */
.page-head .byline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 2px 0 0; font-size: 14.5px; color: var(--on-dark); }
.page-head .byline .pill { padding: 3px 10px; font-size: 12.5px; }
.page-head .byline-topic { color: var(--teal-bright); font-weight: 650; }
.page-head-article h1, .page-head-case h1 { font-size: clamp(22px, 1.9vw, 30px); }
.page-head .actions .btn { padding: 8px 16px; font-size: 14px; }
.included-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.included-actions .btn { flex: 0 1 auto; justify-content: center; }
@media (max-width: 600px) {
  .page-head .crumb ol { flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
  .page-head .crumb li:last-child { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .page-head h1 { font-size: 24px; }
  .page-head-article h1, .page-head-case h1 { font-size: 21px; }
  .page-head .lead { font-size: 15px; }
}

/* ---------- WhatsApp: a round icon in the side margin ---------- */
.wa-float { width: 50px; height: 50px; padding: 0; justify-content: center; right: max(10px, calc((var(--gutter) - 50px) / 2)); bottom: 18px; transition: transform .3s var(--ease), opacity .3s var(--ease), background .25s var(--ease); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float span { display: none; }
.wa-float::after { animation-name: wa-ping-sm; }
@keyframes wa-ping-sm { 0%, 60% { box-shadow: 0 0 0 0 rgba(31, 175, 85, .45); } 100% { box-shadow: 0 0 0 8px rgba(31, 175, 85, 0); } }
.wa-float.is-away { transform: translateY(90px); opacity: 0; pointer-events: none; }
.wa-panel { right: max(10px, calc((var(--gutter) - 50px) / 2)); bottom: 80px; }
@media (max-width: 600px) { .wa-float { padding: 0; } .site-footer { padding-bottom: 76px; } }

/* LinkedIn / GitHub in the top bar */
.utility-social span { margin-left: 2px; }

/* ---------- Title band, part 3: scales with the screen ----------
   Every size follows both the width and the height of the window, so the band keeps roughly the same
   share of the screen on a phone, tablet, laptop or large monitor. */
.page-head, .page-head-slim { padding: clamp(12px, min(1.8vw, 3.2vh), 40px) 0 clamp(14px, min(2vw, 3.6vh), 44px); }
.page-head .crumb ol, .page-head-slim .crumb ol { font-size: clamp(12px, min(.9vw, 2vh), 15px); margin-bottom: clamp(2px, .6vh, 8px); }
.page-head h1, .page-head-slim h1 { font-size: clamp(22px, min(2.3vw, 4.8vh), 48px); }
.page-head-article h1, .page-head-case h1 { font-size: clamp(20px, min(2vw, 4.2vh), 42px); }
.page-head .lead, .page-head-slim .lead { font-size: clamp(14.5px, min(1.1vw, 2.4vh), 20px); }
.page-head .byline { font-size: clamp(13px, min(1vw, 2.2vh), 17px); }
.page-head-visual .ha svg, .page-head-visual .mflow svg { height: clamp(60px, min(8vw, 16vh), 170px); }
.page-head + .section, .page-head + section.section { padding-top: clamp(20px, min(2.6vw, 4vh), 56px); }

.contact-list .legal-name { display: block; font-weight: 600; color: var(--ink); }
.pill-open { margin-left: 8px; padding: 3px 10px; font-size: 12.5px; vertical-align: middle; background: #E3F6EA; color: #0E5E3A; }

/* =====================================================================================
   Service pages, 2026-11-15.
   Every block has its own motion; the base styles are the finished state, so visitors with
   reduced motion (or no JavaScript) still see everything.
   ===================================================================================== */

/* At a glance (beside the intro): bars fill in one after another */
.svc-aside { position: sticky; top: 100px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius-l); background: var(--mist); border: 1px solid var(--line); }
.svc-aside-title { margin: 0 0 16px; }
.glance { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.glance li { position: relative; padding-left: 18px; }
.glance-bar { position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.glance-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--teal-bright), var(--teal)); transform-origin: top; }
.js .svc-aside.reveal .glance-bar::after { transform: scaleY(0); }
.js .svc-aside.reveal.is-in .glance-bar::after { animation: glance-fill .9s var(--ease) forwards; animation-delay: calc(.25s + var(--i) * .18s); }
@keyframes glance-fill { to { transform: scaleY(1); } }
.glance strong { display: block; color: var(--ink); font-size: 16.5px; }
.glance li > span:not(.glance-bar) { display: block; margin-top: 2px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }

/* How the work flows: a pulse runs along the steps; click or use the arrow keys to choose a step */
.svc-flow { --p: 0; position: relative; }
.svc-flow-track { position: absolute; top: 22px; left: calc(100% / var(--n) / 2); right: calc(100% / var(--n) / 2); height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); }
.svc-flow-fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p) * 100%); border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--teal-bright)); transition: width .7s var(--ease); }
.svc-flow-pulse { position: absolute; top: 50%; left: calc(var(--p) * 100%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--white); animation: flow-ping 1.6s ease-out infinite; transition: left .7s var(--ease); }
@keyframes flow-ping { 0% { box-shadow: 0 0 0 0 rgba(44, 196, 207, .7); } 100% { box-shadow: 0 0 0 16px rgba(44, 196, 207, 0); } }
.svc-flow-steps { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.svc-flow-steps button { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 6px 10px; border: 0; border-radius: 12px; background: none; color: var(--on-dark); font: inherit; font-size: clamp(13px, 1vw, 15.5px); font-weight: 650; line-height: 1.3; text-align: center; cursor: pointer; transition: color .25s var(--ease), background .25s var(--ease); }
.svc-flow-steps button:hover { color: var(--white); background: rgba(255, 255, 255, .04); }
.svc-flow-steps button:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 2px; }
.svc-flow-dot { position: relative; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: var(--midnight); border: 2px solid rgba(255, 255, 255, .35); transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.svc-flow-steps button.is-done .svc-flow-dot { background: var(--teal); border-color: var(--teal); }
.svc-flow-steps button[aria-selected="true"] { color: var(--white); }
.svc-flow-steps button[aria-selected="true"] .svc-flow-dot { background: var(--teal-bright); border-color: var(--teal-bright); transform: scale(1.35); box-shadow: 0 0 0 6px rgba(44, 196, 207, .2); }
.svc-flow-panels { margin-top: 26px; padding: clamp(20px, 2.4vw, 32px); border-radius: var(--radius-l); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); min-height: 150px; }
.svc-flow-count { font-size: 13.5px; font-weight: 700; color: var(--teal-bright); }
.svc-flow-panel h3 { margin: 6px 0 8px; color: var(--white); }
.svc-flow-panel p { margin: 0; max-width: 72ch; font-size: clamp(16px, 1.15vw, 18px); }
.svc-flow-panel:not([hidden]) { animation: flow-panel-in .45s var(--ease); }
@keyframes flow-panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .svc-flow-track { display: none; }
  .svc-flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .svc-flow-steps button { flex-direction: row; justify-content: flex-start; text-align: left; padding: 10px 12px; background: rgba(255, 255, 255, .04); }
}

/* What we deliver: cards with a top line that sweeps in and a tick that pops */
.deliver-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.deliver { position: relative; overflow: hidden; padding: 26px 24px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.deliver::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--teal), var(--teal-bright)); transform-origin: left; }
.js .deliver.reveal::before { transform: scaleX(0); }
.js .deliver.reveal.is-in::before { animation: deliver-sweep .8s var(--ease) forwards; animation-delay: calc(.15s + var(--i) * .08s); }
@keyframes deliver-sweep { to { transform: scaleX(1); } }
.deliver:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: rgba(14, 154, 167, .35); }
.deliver-icon { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--glacier); color: var(--teal); }
.deliver-icon .icon { width: 20px; height: 20px; stroke-width: 2.6; }
.js .deliver.reveal.is-in .deliver-icon { animation: deliver-pop .6s var(--ease) both; animation-delay: calc(.35s + var(--i) * .08s); }
@keyframes deliver-pop { 0% { transform: scale(.4); box-shadow: 0 0 0 0 rgba(14, 154, 167, .45); } 60% { transform: scale(1.12); } 100% { transform: scale(1); box-shadow: 0 0 0 12px rgba(14, 154, 167, 0); } }
.deliver h3 { margin: 14px 0 6px; font-size: 18px; }
.deliver p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Where it fits in the study: the stages this service works in glow, a light sweeps across them */
.life { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.life-stage { position: relative; overflow: hidden; padding: 24px 22px; border-radius: var(--radius); background: var(--white); border: 1px dashed var(--line); color: var(--muted); }
.life-stage.is-on { border: 1px solid rgba(14, 154, 167, .4); background: linear-gradient(180deg, var(--white), #EFF9FA); color: var(--body); box-shadow: var(--shadow); }
.life-stage.is-on::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(44, 196, 207, .2) 50%, transparent 70%); background-size: 250% 100%; background-position: 120% 0; animation: life-scan 5s ease-in-out infinite; animation-delay: calc(var(--i) * .7s); }
@keyframes life-scan { 0% { background-position: 120% 0; } 45%, 100% { background-position: -120% 0; } }
.life-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--glacier); color: var(--muted); font-size: 14px; font-weight: 800; }
.life-stage.is-on .life-n { background: var(--teal); color: var(--white); }
.life-stage h3 { margin: 12px 0 6px; font-size: 18px; }
.life-stage:not(.is-on) h3 { color: var(--muted); }
.life-stage p { margin: 0; font-size: 15px; line-height: 1.55; }

/* Standards and tools: a slow strip that pauses under the pointer */
.tools-band { overflow: hidden; padding: 22px 0 26px; background: var(--navy); color: var(--on-dark); }
.tools-title { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--teal-bright); }
.tools-marquee { display: flex; width: max-content; animation: tools-slide 60s linear infinite; }
.tools-marquee:hover { animation-play-state: paused; }
.tools-row { list-style: none; margin: 0; padding: 0 12px 0 0; display: flex; gap: 12px; }
.tools-row li { white-space: nowrap; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .06); color: var(--white); font-size: 15px; font-weight: 600; }
@keyframes tools-slide { to { transform: translateX(-50%); } }

/* Services overview: one map of where each service works; a glow travels stage by stage */
.svc-map { display: grid; gap: 10px; }
.svc-map-row { display: grid; grid-template-columns: minmax(170px, 1.1fr) repeat(var(--cols), minmax(0, 1fr)); gap: 10px; }
.svc-map-head span { padding: 0 6px; font-size: 14px; font-weight: 700; color: var(--teal-bright); }
.svc-map-name { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); color: var(--white); font-weight: 700; text-decoration: none; transition: background .25s var(--ease); }
.svc-map-name:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.svc-map-cell { position: relative; overflow: hidden; padding: 14px 16px; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, .12); color: rgba(201, 214, 230, .55); font-size: 14.5px; line-height: 1.5; }
.svc-map-cell.is-on { border: 1px solid rgba(44, 196, 207, .35); background: rgba(44, 196, 207, .08); color: var(--on-dark); }
.svc-map-cell.is-on::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: rgba(44, 196, 207, .22); opacity: 0; animation: map-glow 7s ease-in-out infinite; animation-delay: calc(var(--c) * 1.4s + var(--r) * .12s); }
@keyframes map-glow { 0%, 100% { opacity: 0; } 7% { opacity: 1; } 20% { opacity: 0; } }
.svc-map-cell p { position: relative; margin: 0; }
.svc-map-label { display: none; }
.svc-map-none { font-size: 13px; }
@media (max-width: 900px) {
  .svc-map-head { display: none; }
  .svc-map-row { grid-template-columns: 1fr; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); }
  .svc-map-cell:not(.is-on) { display: none; }
  .svc-map-label { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 700; color: var(--teal-bright); }
}

/* Services overview: a row per service, alternating sides, each with its own live animation */
.svc-rows { display: grid; gap: clamp(44px, 6vw, 96px); }
.svc-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.svc-row-flip .svc-row-visual { order: -1; }
.svc-row h2 { margin: 14px 0 10px; }
.svc-row h2 a { color: inherit; text-decoration: none; }
.svc-row h2 a:hover { color: var(--teal-dark); }
.svc-row .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.svc-row-visual { padding: clamp(18px, 2.6vw, 36px); border-radius: var(--radius-l); background: linear-gradient(160deg, var(--midnight), var(--navy)); box-shadow: var(--shadow-lift); }
.svc-row-visual .ha svg { max-height: 300px; }
@media (max-width: 900px) {
  .svc-row { grid-template-columns: 1fr; }
  .svc-row-flip .svc-row-visual { order: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .svc-flow-pulse, .life-stage.is-on::after, .svc-map-cell.is-on::before { animation: none; }
  .tools-marquee { animation: none; flex-wrap: wrap; width: auto; padding: 0 var(--gutter); }
  .tools-row[aria-hidden="true"] { display: none; }
  .tools-row { flex-wrap: wrap; }
}

/* Service pages: readable intro text on dark sections; compact deliverable cards on phones */
.section-dark .section-head p { color: var(--on-dark); }
@media (max-width: 600px) {
  .deliver { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 18px 18px 18px 16px; }
  .deliver-icon { grid-row: span 2; }
  .deliver h3 { margin: 6px 0 4px; font-size: 17px; }
}

/* CDISC consultation animation (2026-11-15): steps on a ring around SDTM and ADaM */
.ha-cdisc .ha-orbit-bg { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 2; }
.ha-cdisc .ha-orbit { fill: none; stroke: var(--teal-bright); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: .08 .92; stroke-dashoffset: 1; animation: ha-orbit 5s linear infinite; }
@keyframes ha-orbit { to { stroke-dashoffset: 0; } }
.ha-cdisc .ha-spoke { stroke: rgba(255, 255, 255, .14); stroke-width: 1.5; stroke-dasharray: 3 5; }
.ha-cdisc .ha-hub { fill: rgba(44, 196, 207, .14); stroke: var(--teal-bright); stroke-width: 2; }
.ha-cdisc .ha-hub-t { font-size: 16px; font-weight: 800; text-anchor: middle; }
.ha-cdisc .ha-node rect { fill: rgba(255, 255, 255, .07); stroke: rgba(255, 255, 255, .28); animation: ha-node 5s ease-in-out infinite; animation-delay: calc(var(--d) - 5s); }
.ha-cdisc .ha-node text { text-anchor: middle; font-size: 15px; }
@keyframes ha-node { 0%, 20%, 100% { fill: rgba(255, 255, 255, .07); stroke: rgba(255, 255, 255, .28); } 3%, 12% { fill: rgba(44, 196, 207, .5); stroke: #2CC4CF; } }

/* Study-stage map and "Where it fits": stages a service does not work in are simply left empty */
.svc-map-cell.is-empty { border: 0; background: none; }
@media (max-width: 900px) { .svc-map-cell.is-empty { display: none; } }

/* ---------- Services overview: live study timeline ----------
   Stages on a track at the top; one glowing lane per service across only the stages it works in,
   light flowing along it; a spotlight moves stage by stage (JS sets --k) and a panel says what each
   team does there. Lanes draw themselves in when the block comes into view. */
.lmap { --name-w: clamp(180px, 17vw, 250px); --k: 0; }
.lmap-axis { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin-left: var(--name-w); }
.lmap-axis::before, .lmap-axis::after { content: ""; position: absolute; top: 20px; left: calc(100% / var(--n) / 2); height: 2px; }
.lmap-axis::before { right: calc(100% / var(--n) / 2); background: rgba(255, 255, 255, .14); }
.lmap-axis::after { width: calc((100% - 100% / var(--n)) * var(--k) / (var(--n) - 1)); background: linear-gradient(90deg, var(--teal), var(--teal-bright)); transition: width .6s var(--ease); }
.lmap-axis button { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 4px 6px; border: 0; background: none; color: var(--on-dark); font: inherit; font-size: clamp(13px, 1.05vw, 16px); font-weight: 700; cursor: pointer; }
.lmap-axis button:hover .lmap-stage { color: var(--white); }
.lmap-axis button:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 4px; border-radius: 8px; }
.lmap-num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--midnight); border: 2px solid rgba(255, 255, 255, .25); color: var(--white); font-weight: 800; transition: transform .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease); }
.lmap-axis button[aria-selected="true"] .lmap-num { background: var(--teal-bright); border-color: var(--teal-bright); color: var(--midnight); transform: scale(1.08); box-shadow: 0 0 0 8px rgba(44, 196, 207, .18); }
.lmap-axis button[aria-selected="true"] .lmap-stage { color: var(--white); }

.lmap-lanes { display: grid; gap: 4px; margin-top: 12px; }
.lmap-lane { --lane: #2CC4CF; display: grid; grid-template-columns: var(--name-w) minmax(0, 1fr); align-items: center; }
.lmap-lane:nth-child(2) { --lane: #5AA9FF; }
.lmap-lane:nth-child(3) { --lane: #A493FF; }
.lmap-lane:nth-child(4) { --lane: #F2B65A; }
.lmap-name { display: flex; align-items: center; gap: 10px; padding: 0 14px 22px 0; color: var(--white); font-size: clamp(14px, 1.1vw, 17px); font-weight: 700; text-decoration: none; transition: color .25s var(--ease); }
.lmap-name:hover { color: var(--lane); }
.lmap-track { position: relative; height: 88px; }
.lmap-track::before { content: ""; position: absolute; top: -4px; bottom: -4px; left: calc(var(--k) * 100% / var(--n)); width: calc(100% / var(--n)); border-radius: 14px; background: linear-gradient(180deg, rgba(44, 196, 207, 0), rgba(44, 196, 207, .11), rgba(44, 196, 207, 0)); transition: left .6s var(--ease); }
.lmap-bar { position: absolute; top: 26px; left: calc((var(--from) + .5) * 100% / var(--n)); width: calc((var(--to) - var(--from)) * 100% / var(--n)); height: 8px; border-radius: 8px; overflow: hidden; background: color-mix(in srgb, var(--lane) 38%, transparent); box-shadow: 0 0 18px -4px var(--lane); }
.lmap-bar::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at center, rgba(255, 255, 255, .95) 0 2px, transparent 2.6px); background-size: 34px 8px; animation: lmap-flow 1.4s linear infinite; }
@keyframes lmap-flow { from { background-position: 0 0; } to { background-position: 34px 0; } }
.js .lmap.reveal .lmap-bar { clip-path: inset(0 100% 0 0); }
.js .lmap.reveal.is-in .lmap-bar { animation: lmap-draw 1.2s var(--ease) forwards; animation-delay: calc(.3s + var(--r) * .2s); }
@keyframes lmap-draw { to { clip-path: inset(0 0 0 0); } }
.lmap-node { position: absolute; top: 30px; left: calc((var(--c) + .5) * 100% / var(--n)); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.lmap-dot { width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: var(--midnight); border: 3px solid var(--lane); transition: transform .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease); }
.lmap-node.is-active .lmap-dot { background: var(--lane); transform: scale(1.3); box-shadow: 0 0 0 7px color-mix(in srgb, var(--lane) 25%, transparent); }
.lmap-short { margin-top: 10px; white-space: nowrap; color: var(--on-dark); font-size: 13px; font-weight: 600; opacity: .75; transition: opacity .3s var(--ease), color .3s var(--ease); }
.lmap-node.is-active .lmap-short { opacity: 1; color: var(--white); }

.lmap-panels { margin: 18px 0 0 var(--name-w); }
.lmap-panel:not([hidden]) { animation: flow-panel-in .45s var(--ease); }
.lmap-panel-title { margin: 0 0 12px; color: var(--teal-bright); font-size: 14px; font-weight: 700; }
.lmap-roles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.lmap-roles li { display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); }
.lmap-roles strong { display: block; margin-bottom: 2px; color: var(--white); }
.lmap-roles p { margin: 0; font-size: 15px; line-height: 1.5; }

@media (max-width: 760px) {
  .lmap { --name-w: 0px; }
  .lmap-lane { grid-template-columns: 1fr; }
  .lmap-name { padding: 8px 0 0; }
  .lmap-track { height: 82px; }
  .lmap-num { width: 34px; height: 34px; }
  .lmap-axis::before, .lmap-axis::after { top: 16px; }
  .lmap-axis button { font-size: 12px; }
  .lmap-short { max-width: 78px; white-space: normal; text-align: center; font-size: 11.5px; line-height: 1.25; }
}

/* ---------- Proposal form: answers are chosen, not typed (2026-11-15) ---------- */
.choice span small { display: block; margin-top: 3px; font-size: 14px; font-weight: 500; line-height: 1.45; color: var(--muted); }
.choice-grid-svc { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.q { min-width: 0; margin: 0 0 24px; padding: 0; border: 0; }
.q-label { margin: 0 0 10px; padding: 0; color: var(--ink); font-size: 16px; font-weight: 700; }
.q-label .opt { color: var(--muted); font-weight: 500; }
.q-deliver { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.q-hint { margin: 0; font-size: 14.5px; color: var(--muted); }
.q-group { margin-bottom: 16px; }
.q-group[hidden], .q-hint[hidden] { display: none; }
.js .q-group:not([hidden]) { animation: flow-panel-in .35s var(--ease); }
.q-group-title { margin: 0 0 8px; font-size: 13.5px; font-weight: 700; color: var(--teal-dark); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-opt { position: relative; cursor: pointer; }
.pill-opt input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pill-opt span { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 9px 16px; border: 1px solid #B9C7D6; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.3; transition: border-color .15s, background .15s, color .15s; }
.pill-opt span::before { content: ""; flex: none; width: 16px; height: 16px; border: 2px solid #8FA2B7; border-radius: 50%; background: var(--white); transition: border-color .15s, background .15s; }
.pill-opt input[type="checkbox"] + span::before { border-radius: 4px; }
.pill-opt:hover span { border-color: var(--teal); }
.pill-opt input:checked + span { border-color: var(--teal); background: #E9F8F9; color: var(--teal-dark); animation: pill-pop .25s var(--ease); }
.pill-opt input:checked + span::before { border-color: var(--teal); background: var(--teal) 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7'/%3E%3C/svg%3E") center/10px no-repeat; }
.pill-opt input:focus-visible + span { outline: 3px solid var(--teal-bright); outline-offset: 2px; }
@keyframes pill-pop { 50% { transform: scale(1.04); } }
.step-bar { grid-template-columns: repeat(4, 1fr); }
.step .q > legend.q-label { display: block; margin: 0 0 10px; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--ink); }

/* =====================================================================================
   Redesign pass, 2026-11-15
   ===================================================================================== */

/* Balanced grids (main.js sets --cols and .is-balanced): every row full, last-row cards stretch */
.card-grid { --min: 300px; }
.deliver-grid { --min: 260px; }
.routes { --min: 240px; }
.sec-grid { --min: 360px; }
.service-grid { --min: 240px; }
.life { --min: 220px; }
.lmap-roles { --min: 240px; }
.glance-row { --min: 220px; }
.stages { --min: 220px; }
.is-balanced { display: flex !important; flex-wrap: wrap; }
.is-balanced > * { flex: 1 1 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; max-width: 100%; }
.sec-grid-one.is-balanced > * { max-width: 900px; }

/* Service pages: full-width intro in two columns, facts in a row, sections as cards, call to action */
.svc-lead { font-size: clamp(17px, 1.2vw, 19.5px); line-height: 1.7; }
.svc-lead p { margin: 0 0 1em; break-inside: avoid; }
.svc-lead p:first-child { color: var(--ink); font-size: 1.1em; font-weight: 500; }
@media (min-width: 1000px) { .svc-lead { column-count: 2; column-gap: clamp(36px, 4vw, 72px); } }
.glance-row { list-style: none; margin: clamp(26px, 3vw, 44px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.glance-row li { position: relative; overflow: hidden; padding: 24px 22px 22px; border-radius: var(--radius); background: var(--mist); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.glance-row li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.glance-row li::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--teal), var(--teal-bright)); transform-origin: left; }
.js .glance-row li.reveal::before { transform: scaleX(0); }
.js .glance-row li.reveal.is-in::before { animation: deliver-sweep .8s var(--ease) forwards; animation-delay: calc(.2s + var(--i) * .12s); }
.glance-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); color: var(--teal); }
.glance-icon .icon { width: 22px; height: 22px; }
.glance-row strong { display: block; margin: 14px 0 4px; color: var(--ink); font-size: 17px; }
.glance-text { display: block; color: var(--muted); font-size: 15px; line-height: 1.5; }
.svc-secs { margin-top: clamp(26px, 3vw, 44px); }
.svc-cta { margin-top: clamp(26px, 3vw, 44px); }
.svc-cta p { margin: 0; }
.svc-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }





/* Request a proposal: the side panel travels with the form */
.proposal-aside { position: sticky; top: 110px; }
.same { --min: 220px; }
.choice-grid-svc { --min: 220px; }
/* Step track on phones: an odd last step takes the full row instead of leaving a gap */
@media (max-width: 760px) { .svc-flow-steps button:last-child:nth-child(odd) { grid-column: 1 / -1; } }



/* ---------- Home: "Find what you need" mosaic ----------
   Row 1: Services (wide) and Insights; row 2: How we work, About, Contact. Cards in a row share a height;
   content sits at the top and the links at the bottom, so no card has a hollow middle. */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 22px); }
.bento-card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 2vw, 32px); border-radius: var(--radius-l); background: var(--white); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.bento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: rgba(14, 154, 167, .35); }
.b-services { grid-column: span 4; }
.b-insights { grid-column: span 2; }
.b-how, .b-about, .b-contact { grid-column: span 2; }
.bento-head { display: flex; gap: 16px; align-items: flex-start; }
.bento-head .service-icon { flex: none; }
.bento-head h3 { margin: 2px 0 4px; font-size: clamp(20px, 1.5vw, 24px); }
.bento-head h3 a { color: inherit; text-decoration: none; }
.bento-head h3 a:hover { color: var(--teal-dark); }
.bento-head p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.bento-links { list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.bento-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; color: var(--ink); font-weight: 650; text-decoration: none; }
.bento-links a .icon { width: 18px; height: 18px; color: var(--teal); transition: transform .2s var(--ease); }
.bento-links a:hover { color: var(--teal-dark); }
.bento-links a:hover .icon { transform: translateX(4px); }

/* Services: three rich rows on a dark card */
.b-services { background: linear-gradient(160deg, var(--midnight), var(--navy)); border-color: transparent; color: var(--on-dark); }
.b-services .bento-head h3, .b-services .bento-head h3 a { color: var(--white); }
.b-services .bento-head p { color: var(--on-dark); }
.b-svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.b-svc-list a { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); color: var(--white); text-decoration: none; transition: background .25s var(--ease), transform .25s var(--ease); }
.b-svc-list a:hover { background: rgba(44, 196, 207, .12); transform: translateX(4px); }
.b-svc-text { flex: 1; min-width: 0; }
.b-svc-text strong { display: block; font-size: 17px; }
.b-svc-text span { display: block; margin-top: 2px; color: var(--on-dark); font-size: 14.5px; line-height: 1.45; }
.b-svc-list a > .icon { flex: none; width: 20px; height: 20px; color: var(--teal-bright); }
.js .b-services.reveal .b-svc-list li { opacity: 0; transform: translateX(-12px); }
.js .b-services.reveal.is-in .b-svc-list li { animation: b-in .6s var(--ease) forwards; animation-delay: calc(.25s + var(--k) * .12s); }
@keyframes b-in { to { opacity: 1; transform: none; } }

/* Insights: the latest article as a feature */
.b-latest { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border-radius: 14px; background: linear-gradient(150deg, #0E5F6A, var(--teal)); color: var(--white); text-decoration: none; }
.b-latest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .18) 50%, transparent 70%); background-size: 250% 100%; animation: life-scan 6s ease-in-out infinite; pointer-events: none; }
.b-latest-label { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .8); }
.b-latest strong { font-size: 17px; line-height: 1.35; }
.b-latest-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
.b-latest-more .icon { width: 16px; height: 16px; }

/* How we work: the four stages, lit in turn */
.b-stages { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.b-stages::before { content: ""; position: absolute; top: 17px; left: calc(100% / var(--n) / 2); right: calc(100% / var(--n) / 2); height: 2px; background: linear-gradient(90deg, var(--teal), var(--teal-bright)); opacity: .35; }
.b-stages li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.b-stage-dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--white); border: 2px solid var(--teal); color: var(--teal-dark); font-weight: 800; font-size: 14px; animation: b-stage 6s ease-in-out infinite; animation-delay: calc(var(--k) * 1.5s - 6s); }
@keyframes b-stage { 0%, 22%, 100% { background: var(--white); color: var(--teal-dark); transform: none; } 4%, 18% { background: var(--teal); color: var(--white); transform: scale(1.12); } }
.b-stage-name { font-size: 13px; font-weight: 650; line-height: 1.3; color: var(--body); }

/* About: three quick facts */
.b-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.b-facts li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--mist); color: var(--ink); font-weight: 650; font-size: 15px; }
.b-facts .icon { flex: none; width: 20px; height: 20px; color: var(--teal); }

/* Contact: the call to action */
.b-contact { background: linear-gradient(150deg, var(--teal-dark), var(--teal)); border-color: transparent; color: var(--white); }
.b-contact .bento-head .service-icon { background: rgba(255, 255, 255, .16); color: var(--white); }
.b-contact .bento-head h3, .b-contact .bento-head h3 a, .b-contact .bento-head p { color: var(--white); }
.b-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.b-contact-list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: var(--white); font-weight: 650; text-decoration: none; transition: background .2s var(--ease); word-break: break-word; }
.b-contact-list a:hover { background: rgba(255, 255, 255, .2); color: var(--white); }
.b-contact-list .icon { flex: none; width: 20px; height: 20px; }
.b-contact .btn { margin-top: auto; align-self: flex-start; }
.btn-light-solid { background: var(--white); color: var(--teal-dark); border-color: var(--white); }
.btn-light-solid:hover { background: var(--glacier); color: var(--midnight); }

@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-services { grid-column: 1 / -1; }
  .b-insights, .b-how, .b-about, .b-contact { grid-column: span 1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card, .b-services { grid-column: 1 / -1; }
}
/* Service pages: "At a glance" facts two per row inside the box, so the box is about as tall as the text */
@media (min-width: 1100px) { .svc-aside .glance { grid-template-columns: 1fr 1fr; column-gap: 22px; } }
/* Service intro: text and "At a glance" box share the width more evenly, so the two end at about the same height */
@media (min-width: 1100px) { .split-wide:has(> .svc-aside) { grid-template-columns: minmax(0, 1.25fr) minmax(360px, 1fr); } }
@media (min-width: 1600px) { .split-wide:has(> .svc-aside) { grid-template-columns: minmax(0, 74ch) minmax(360px, 1fr); } }

/* ---------- Scroll story: section text beside its own animation, alternating, joined by a drawn line ---------- */
.story { position: relative; display: grid; gap: clamp(28px, 4vw, 64px); padding: 8px 0; }
.story-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--line); }
.story-line span { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--story, 0) * 100%); background: linear-gradient(var(--teal-bright), var(--teal)); transition: height .2s linear; }
.story-item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.story-item::before { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--white); border: 3px solid var(--teal); z-index: 1; transition: transform .4s var(--ease), background .4s var(--ease); }
.story-item.is-in::before { background: var(--teal); transform: scale(1.15); box-shadow: 0 0 0 6px rgba(14, 154, 167, .15); }
.story-item:nth-child(odd) .story-visual { order: 2; }
.story-visual { padding: clamp(14px, 2vw, 26px); border-radius: var(--radius-l); background: linear-gradient(160deg, var(--midnight), var(--navy)); box-shadow: var(--shadow-lift); }
.story-visual .ha svg { max-height: 240px; }
.story-text h3 { margin: 0 0 10px; font-size: clamp(21px, 1.7vw, 27px); }
.story-text p { margin: 0 0 .8em; font-size: clamp(16px, 1.1vw, 18px); line-height: 1.7; }
.story-text ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.story-text li { position: relative; padding-left: 28px; line-height: 1.6; }
.story-text li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--teal) 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7'/%3E%3C/svg%3E") center/10px no-repeat; }
.story-n { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px; border-radius: 50%; background: var(--teal); color: var(--white); font-weight: 800; }
.js .story-item.reveal .story-visual { opacity: 0; transform: translateX(-30px) scale(.97); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .story-item.reveal:nth-child(odd) .story-visual { transform: translateX(30px) scale(.97); }
.js .story-item.reveal.is-in .story-visual { opacity: 1; transform: none; }
.story-compact .story-line { left: 23px; }
.story-compact .story-item { grid-template-columns: 200px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; padding-left: 0; }
.story-compact .story-item::before { display: none; }
.story-compact .story-item:nth-child(odd) .story-visual { order: 0; }
.story-compact .story-visual { padding: 10px; }
.story-compact .story-visual .ha svg { max-height: 130px; }
@media (max-width: 860px) {
  .story-line { left: 12px; }
  .story-item, .story-compact .story-item { grid-template-columns: 1fr; gap: 16px; padding-left: 34px; }
  .story-item::before { left: 12px; top: 18px; }
  .story-item:nth-child(odd) .story-visual { order: 0; }
  .story-compact .story-line { left: 12px; }
}
/* Articles: lead paragraph, and the story text keeps the article typography */
.article-lead p:first-child { font-size: clamp(18px, 1.3vw, 21px); color: var(--ink); line-height: 1.6; }
.article-lead { margin-bottom: clamp(24px, 3vw, 40px); }
.story-text ol { margin: 0 0 .8em; padding-left: 1.3em; display: grid; gap: 6px; }
.story-text a { color: var(--teal-dark); }
.story-text code { font-size: .92em; padding: 1px 6px; border-radius: 6px; background: var(--glacier); }
/* Story panels are illustrations only: their built-in words would not match every section */
.story-visual .ha text { display: none; }
/* Activity lists: one sentence each, so a narrow illustration column on the left, text beside it,
   and the progress line running down through the middle of the illustrations */
.story-tight { gap: clamp(16px, 2vw, 28px); }
.story-tight .story-line { left: 160px; }
.story-tight .story-item { grid-template-columns: 320px minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); }
.story-tight .story-item::before { display: none; }
.story-tight .story-item:nth-child(odd) .story-visual { order: 0; }
.js .story-tight .story-item.reveal:nth-child(odd) .story-visual { transform: translateX(-30px) scale(.97); }
.js .story-tight .story-item.reveal.is-in .story-visual { transform: none; }
.story-tight .story-visual { position: relative; z-index: 1; padding: 12px 16px; }
.story-tight .story-visual .ha svg { max-height: 130px; }
.story-tight .story-n { width: 34px; height: 34px; margin-bottom: 8px; font-size: 14px; }
.story-tight .story-text h3 { margin-bottom: 6px; font-size: clamp(19px, 1.45vw, 23px); }
.story-tight .story-text p { max-width: 70ch; }
@media (max-width: 860px) {
  .story-tight .story-line { left: 12px; }
  .story-tight .story-item { grid-template-columns: 1fr; padding-left: 34px; }
}
/* Articles and case studies: the illustration travels with a long section instead of leaving space below it */
@media (min-width: 861px) { .story-compact .story-visual { position: sticky; top: 110px; } }

/* ---------- Service opening: text beside a large live animation; facts as an open animated band ---------- */
.svc-open-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); align-items: center; }
.svc-open-text p { font-size: clamp(16.5px, 1.15vw, 19px); line-height: 1.7; }
.svc-open-text p:first-child { color: var(--ink); font-size: clamp(18px, 1.35vw, 22px); font-weight: 500; }
.svc-open-visual { padding: clamp(16px, 2.4vw, 34px); border-radius: var(--radius-l); background: linear-gradient(160deg, var(--midnight), var(--navy)); box-shadow: var(--shadow-lift); }
.svc-open-visual .ha svg { max-height: 300px; }
.svc-open-visual .ha text { display: none; }
.js .svc-open-visual.reveal { opacity: 0; transform: translateX(30px) scale(.97); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .svc-open-visual.reveal.is-in { opacity: 1; transform: none; }
@media (max-width: 900px) { .svc-open-grid { grid-template-columns: 1fr; } }

.glance-band { padding: clamp(26px, 3vw, 44px) 0; background: var(--glacier); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.glance-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.glance-flow li { display: flex; gap: 14px; align-items: flex-start; padding: 6px clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); }
.glance-flow li:first-child { border-left: 0; padding-left: 0; }
.glance-flow strong { display: block; color: var(--ink); font-size: 17px; }
.glance-flow span { display: block; margin-top: 3px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.glance-ring { flex: none; width: 46px; height: 46px; }
.glance-ring-bg { fill: var(--white); stroke: var(--line); stroke-width: 3; }
.glance-ring-fg { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.glance-ring-tick { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.js .glance-flow li.reveal .glance-ring-fg { stroke-dashoffset: 1; }
.js .glance-flow li.reveal.is-in .glance-ring-fg { animation: value-ring-draw 1.1s var(--ease) forwards; animation-delay: calc(.2s + var(--i) * .2s); }
.js .glance-flow li.reveal .glance-ring-tick { opacity: 0; }
.js .glance-flow li.reveal.is-in .glance-ring-tick { animation: glance-tick .4s var(--ease) forwards; animation-delay: calc(1s + var(--i) * .2s); }
@keyframes value-ring-draw { to { stroke-dashoffset: 0; } }
@keyframes glance-tick { from { opacity: 0; transform: scale(.6); transform-origin: 24px 24px; } to { opacity: 1; transform: none; } }
.glance-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(20px, 2.4vw, 30px); }
@media (max-width: 760px) {
  .glance-flow { gap: 16px; }
  .glance-flow li { border-left: 0; padding: 0; }
}
.glance-actions { justify-content: space-between; align-items: center; gap: 14px 28px; padding-top: clamp(18px, 2vw, 26px); border-top: 1px solid var(--line); }
.glance-actions p { flex: 1 1 380px; margin: 0; color: var(--body); }
.glance-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
/* Phones: illustrations rise into place instead of sliding in from the side (no sideways scroll) */
@media (max-width: 860px) {
  .js .story-item.reveal .story-visual, .js .story-item.reveal:nth-child(odd) .story-visual, .js .svc-open-visual.reveal { transform: translateY(24px); }
  .js .story-item.reveal.is-in .story-visual, .js .svc-open-visual.reveal.is-in { transform: none; }
}
/* Step track: quicker movement between steps */
.svc-flow-fill { transition: width .45s var(--ease); }
.svc-flow-pulse { transition: left .45s var(--ease); }
.svc-flow-dot { transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.svc-flow-panel:not([hidden]) { animation-duration: .3s; }

