/* Version 1 "Clarity": classic consultancy. Brand palette and Open Sans only, white backgrounds,
   light Azure tints inside components, one full-bleed Azure band. */
:root {
  --azure: #0078D4;
  --azure-dk: #005A9E;
  --onyx: #000F08;
  --muted: #4A5560;
  --line: #DBDBDB;
  --white: #FFFFFF;
  --t1: #F3F8FD;
  --t2: #E6F2FB;
  --t3: #CCE4F6;
  --green: #2EDC68;
  --font: "Open Sans", "Segoe UI", system-ui, sans-serif;
  --hdr-h: 72px;
  --sec-y: clamp(72px, 8vw, 120px);
  --r: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-lg: 0 28px 56px -30px rgba(0, 15, 8, .3), 0 2px 6px rgba(0, 15, 8, .04);
  --sticky-top: calc(var(--ais-bar-h, 0px) + var(--hdr-h) + 32px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--ais-bar-h, 0px) + var(--hdr-h) + 20px); }
body { margin: 0; background: var(--white); color: var(--onyx); font: 400 1.0625rem/1.65 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 800; line-height: 1.12; letter-spacing: -.022em; color: var(--onyx); text-wrap: balance; }
h2 { font-size: clamp(1.875rem, 1.25rem + 2.1vw, 2.75rem); }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
a { color: var(--azure); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--azure-dk); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
blockquote, figure { margin: 0; }
::selection { background: var(--t3); color: var(--onyx); }
:focus-visible { outline: 3px solid var(--azure); outline-offset: 3px; }
[hidden] { display: none !important; }
.nw { white-space: nowrap; }
.icon { flex: none; vertical-align: middle; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -120px; z-index: 100; padding: 12px 18px; border-radius: 10px; background: var(--azure); color: var(--white); font-weight: 700; text-decoration: none; }
.skip:focus { top: calc(var(--ais-bar-h, 0px) + 12px); color: var(--white); outline-color: var(--onyx); }

/* ---------- shared pieces ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 6px 14px 6px 12px; border: 1px solid var(--t3); border-radius: 999px; background: var(--t1); color: var(--azure-dk); font-size: .8125rem; font-weight: 600; line-height: 1.4; letter-spacing: .01em; }
.pill .icon { color: var(--azure); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(46, 220, 104, .22); flex: none; }
.lead { color: var(--muted); font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.65; }
.label { margin: 0 0 14px; color: var(--azure-dk); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tile { display: inline-grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--t2); color: var(--azure); }
.tile--sm { width: 40px; height: 40px; border-radius: 11px; }
.tile--round { border-radius: 50%; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.panel { background: var(--t1); border: 1px solid var(--t2); border-radius: 28px; }
.chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--t2); color: var(--azure-dk); font-size: .75rem; font-weight: 700; letter-spacing: .02em; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 26px; border: 1px solid transparent; border-radius: 12px; font: 600 1rem/1.25 var(--font); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn--primary { background: var(--azure); color: var(--white); box-shadow: 0 1px 2px rgba(0, 15, 8, .08), 0 10px 24px -12px rgba(0, 120, 212, .7); }
.btn--primary:hover { background: var(--azure-dk); color: var(--white); }
.btn--secondary { background: var(--white); color: var(--onyx); border-color: var(--line); }
.btn--secondary:hover { border-color: var(--azure); color: var(--azure-dk); }
.btn--white { background: var(--white); color: var(--azure); box-shadow: 0 14px 30px -14px rgba(0, 15, 8, .45); }
.btn--white:hover { background: var(--t2); color: var(--azure-dk); }
.btn--sm { min-height: 44px; padding: 8px 18px; border-radius: 10px; font-size: .9375rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions--center { justify-content: center; }
.note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 20px 0 0; color: var(--muted); font-size: .875rem; }
.note .icon { color: var(--azure); }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--azure); font-weight: 700; text-decoration: none; }
.more:hover { color: var(--azure-dk); }
.more .icon { transition: transform .2s var(--ease); }
.more:hover .icon { transform: translateX(4px); }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.stretch:focus-visible { outline: none; }
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; }
.ticks .icon { width: 22px; height: 22px; margin-top: 2px; padding: 4px; border-radius: 50%; background: var(--t2); color: var(--azure); stroke-width: 2.5; }
.ticks--sm { gap: 9px; font-size: .9375rem; }
.ticks--sm .icon { width: 20px; height: 20px; margin-top: 2px; }
.ticks--2 { grid-template-columns: 1fr 1fr; gap: 16px 36px; }

/* ---------- sections ---------- */
.sec { padding: var(--sec-y) 0; }
.sec + .sec, .phead + .sec { padding-top: 0; }
.shead { max-width: 780px; margin: 0 auto clamp(40px, 5vw, 60px); text-align: center; }
.shead .lead { max-width: 660px; margin: 0 auto; text-wrap: balance; }
.shead h2 { margin-bottom: 16px; }
.sec__more { margin: 40px 0 0; text-align: center; }

/* ---------- header ---------- */
.hdr { position: sticky; top: var(--ais-bar-h, 0px); z-index: 60; background: var(--white); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hdr.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(0, 15, 8, .35); }
.hdr__in { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: var(--hdr-h); }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--onyx); font-size: 1.0625rem; font-weight: 800; letter-spacing: -.015em; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand:hover { color: var(--onyx); }
.nav { justify-self: center; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 10px; background: none; color: var(--onyx); font: 600 .9375rem/1 var(--font); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.nav__link:hover, [data-dropdown][data-open] > .nav__link { background: var(--t1); color: var(--azure-dk); }
.nav__link[aria-current="page"], .nav__link.is-current { color: var(--azure); }
.nav__chev { transition: transform .2s var(--ease); }
[data-dropdown][data-open] .nav__chev { transform: rotate(180deg); }
.hdr__cta { justify-self: end; }
.nav__cta, .nav-toggle { display: none; }

/* Services mega menu (two columns) */
.mega { display: none; position: absolute; top: calc(100% - 6px); left: 50%; z-index: 70; width: min(860px, calc(100vw - 40px)); padding: 12px; transform: translateX(-50%); background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
[data-dropdown][data-open] .mega { display: block; animation: mega-in .18s var(--ease); }
@media (hover: hover) and (min-width: 1120px) {
  .nav__item--menu:hover .mega { display: block; animation: mega-in .18s var(--ease); }
  .nav__item--menu:hover > .nav__link { background: var(--t1); color: var(--azure-dk); }
  .nav__item--menu:hover .nav__chev { transform: rotate(180deg); }
}
@keyframes mega-in { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega__link { display: flex; align-items: flex-start; gap: 14px; height: 100%; padding: 14px; border-radius: 14px; color: var(--onyx); text-decoration: none; transition: background-color .15s; }
.mega__link:hover, .mega__link[aria-current="page"] { background: var(--t1); color: var(--onyx); }
.mega__txt strong { display: flex; align-items: center; gap: 6px; margin: 2px 0 3px; font-size: .9375rem; font-weight: 700; line-height: 1.3; }
.mega__txt small { display: block; color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.mega__all .mega__link { flex-direction: column; justify-content: center; background: var(--t1); }
.mega__all .mega__link:hover { background: var(--t2); }
.mega__all strong { color: var(--azure-dk); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(64px, 8vw, 116px) 0 clamp(44px, 5vw, 72px); text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(54% 62% at 50% -6%, var(--t2) 0%, rgba(230, 242, 251, .55) 42%, rgba(255, 255, 255, 0) 74%); }
.hero::after { content: ""; position: absolute; left: 50%; top: -460px; z-index: -1; width: 1180px; height: 1180px; border-radius: 50%; transform: translateX(-50%); background: repeating-radial-gradient(circle, rgba(0, 120, 212, 0) 0 109px, rgba(0, 120, 212, .07) 110px 111px); -webkit-mask-image: radial-gradient(circle, #000 28%, transparent 68%); mask-image: radial-gradient(circle, #000 28%, transparent 68%); }
.hero__title { max-width: 1020px; margin: 0 auto 24px; font-size: clamp(2.25rem, 1rem + 4.2vw, 4.25rem); line-height: 1.06; letter-spacing: -.035em; }
.hl { color: var(--azure); }
.hero__sub { max-width: 690px; margin: 0 auto 36px; color: var(--muted); font-size: clamp(1.0625rem, .95rem + .45vw, 1.25rem); }
.hero__float { display: none; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.float { position: absolute; display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid var(--t2); border-radius: 18px; background: var(--white); color: var(--azure); box-shadow: 0 18px 36px -18px rgba(0, 90, 158, .4); animation: bob 7s ease-in-out infinite alternate; }
.float--1 { top: 20%; left: 7%; rotate: -6deg; }
.float--2 { top: 47%; left: 2.6%; rotate: 5deg; animation-delay: -2s; }
.float--3 { top: 73%; left: 9%; rotate: -3deg; animation-delay: -4s; }
.float--4 { top: 17%; right: 8%; rotate: 6deg; animation-delay: -1s; }
.float--5 { top: 45%; right: 3%; rotate: -5deg; animation-delay: -3s; }
.float--6 { top: 71%; right: 10%; rotate: 4deg; animation-delay: -5s; }
@keyframes bob { from { translate: 0 -7px; } to { translate: 0 7px; } }
@media (min-width: 1360px) { .hero__float { display: block; } }

/* ---------- logo marquee ---------- */
.logos { padding: 4px 0 clamp(48px, 6vw, 72px); }
.logos__h { margin: 0 0 18px; color: var(--muted); font-size: .875rem; font-weight: 600; letter-spacing: .01em; text-align: center; }
.marquee { max-width: 1000px; margin: 0 auto; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.marquee__item { display: flex; align-items: center; flex: none; height: 64px; padding: 0 32px; }
img.marquee__logo { width: auto; height: 32px; max-width: 230px; object-fit: contain; filter: grayscale(1); opacity: .78; }
.logo-wordmark { color: var(--muted); font-size: 1.375rem; font-weight: 800; letter-spacing: -.025em; white-space: nowrap; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- stats band ---------- */
.stats-band { padding: 0 0 var(--sec-y); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; background: var(--t3); border: 1px solid var(--t3); border-radius: 24px; }
.stats-band + .sec { padding-top: 0; }
.stat { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; padding: clamp(26px, 3.2vw, 44px) 20px; background: var(--t1); text-align: center; }
.stat__v { color: var(--azure); font-size: clamp(1.75rem, .6rem + 2.6vw, 3rem); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; }
.stat__l { max-width: 32ch; color: var(--muted); font-size: .9375rem; line-height: 1.45; text-wrap: balance; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.svc { position: relative; grid-column: span 2; display: flex; flex-direction: column; align-items: flex-start; padding: 32px; transition: border-color .2s, box-shadow .25s, transform .25s var(--ease); }
.svc:nth-child(n+4) { grid-column: span 3; }
.svc:hover { border-color: var(--t3); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.svc:has(.stretch:focus-visible) { outline: 3px solid var(--azure); outline-offset: 3px; }
.svc .tile { margin-bottom: 26px; }
.svc__name { margin: 0 0 10px; font-size: 1.375rem; }
.svc__blurb { margin: 0 0 22px; color: var(--muted); font-size: 1rem; }
.svc .more { margin-top: auto; }
.svc:hover .more .icon { transform: translateX(4px); }

.svc-rows { display: grid; gap: 20px; }
.svc-row { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); padding: clamp(28px, 3.6vw, 44px); transition: border-color .2s, box-shadow .25s; }
.svc-row:hover { border-color: var(--t3); box-shadow: var(--shadow-lg); }
.svc-row:has(.stretch:focus-visible) { outline: 3px solid var(--azure); outline-offset: 3px; }
.svc-row h2 { margin: 22px 0 8px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.svc-row__headline { margin: 0 0 8px; font-size: 1.125rem; font-weight: 600; line-height: 1.45; }
.svc-row__blurb { margin: 0 0 14px; color: var(--muted); }
.svc-row:hover .more .icon { transform: translateX(4px); }
.svc-row__side { align-self: center; padding: 28px; border-radius: 18px; background: var(--t1); }
.svc-row__side .ticks { font-size: 1rem; font-weight: 600; }
.svc-row__side .ticks .icon { background: var(--white); }

/* ---------- differentiators ---------- */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.why__head { position: sticky; top: var(--sticky-top); }
.why__head .lead { margin-bottom: 28px; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.why__item { padding: 32px 0; border-top: 1px solid var(--line); }
.why__item .tile { margin-bottom: 18px; }
.why__item h3 { margin-bottom: 8px; font-size: 1.1875rem; }
.why__item p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- industries preview ---------- */
.ind-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ind-panel { padding: 30px 30px 22px; }
.ind-panel__h { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 1.1875rem; }
.ind-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
.ind-link { display: flex; align-items: flex-start; gap: 12px; height: 100%; padding: 12px; border-radius: 12px; color: var(--onyx); text-decoration: none; transition: background-color .15s; }
.ind-link:hover { background: var(--t1); color: var(--onyx); }
.ind-link__i { margin-top: 2px; color: var(--azure); }
.ind-link strong { display: block; font-size: .9375rem; font-weight: 700; line-height: 1.35; }
.ind-link small { display: block; margin-top: 3px; color: var(--muted); font-size: .8125rem; line-height: 1.5; }

/* ---------- process timeline ---------- */
.tl { display: grid; grid-template-columns: repeat(4, 1fr); }
.tl__step { position: relative; padding: 0 18px; text-align: center; }
.tl__step:not(:last-child)::after { content: ""; position: absolute; top: 31px; left: calc(50% + 44px); right: calc(-50% + 44px); height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--azure), var(--t3)); }
.tl__n { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 24px; border: 2px solid var(--azure); border-radius: 50%; background: var(--white); color: var(--azure); font-size: 1.125rem; font-weight: 800; letter-spacing: -.01em; transition: background-color .2s, color .2s; }
.tl__step:first-child .tl__n, .tl__step:hover .tl__n { background: var(--azure); color: var(--white); }
.tl__time { display: inline-block; margin: 0 0 12px; padding: 3px 12px; border-radius: 999px; background: var(--t1); color: var(--azure-dk); font-size: .8125rem; font-weight: 600; }
.tl__title { margin: 0 0 8px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.012em; line-height: 1.3; }
.tl__text { margin: 0; color: var(--muted); font-size: 1rem; }
.tl__get { margin: 20px 0 0; padding: 16px 18px; border-radius: 14px; background: var(--t1); color: var(--onyx); font-size: .9375rem; text-align: left; }
.tl__get strong { display: block; margin-bottom: 4px; color: var(--azure-dk); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
/* Full process page: on desktop each step spans five shared rows (subgrid) so titles, text, and boxes line up. */
@media (min-width: 861px) {
  .tl--full { grid-template-rows: repeat(5, auto); }
  .tl--full .tl__step { display: grid; grid-row: span 5; grid-template-rows: subgrid; justify-items: center; row-gap: 0; }
  .tl--full .tl__body { display: contents; }
  .tl--full .tl__time { align-self: start; }
  .tl--full .tl__text { margin-bottom: 20px; }
  .tl--full .tl__get { align-self: stretch; justify-self: stretch; margin-top: 0; }
}

/* ---------- case studies ---------- */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.case { display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); transition: border-color .2s, box-shadow .25s; }
.case:hover { border-color: var(--t3); box-shadow: var(--shadow-lg); }
.case__lead { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.case__big { display: block; color: var(--azure); font-size: clamp(2.5rem, 1.6rem + 2.6vw, 3.75rem); font-weight: 800; line-height: 1; letter-spacing: -.045em; }
.case__biglabel { display: block; margin-top: 12px; color: var(--muted); font-size: .9375rem; font-weight: 600; }
.case__tag { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 12px; font-size: .8125rem; }
.case__client { color: var(--muted); font-weight: 600; }
.case__title { margin-bottom: 10px; font-size: 1.3125rem; }
.case__sum { margin: 0; color: var(--muted); font-size: 1rem; }
.case__metrics { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--line); }
.case__metrics strong { display: block; font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.case__metrics span { display: block; color: var(--muted); font-size: .8125rem; }
.case__details { margin-top: 22px; }
.case__quote { margin-top: 24px; padding: 20px 22px; border-left: 3px solid var(--azure); border-radius: 4px 14px 14px 4px; background: var(--t1); }
.case__quote p { margin: 0 0 10px; font-size: .9375rem; }
.case__quote footer { color: var(--azure-dk); font-size: .8125rem; font-weight: 700; }
.case-grid > .case:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(220px, 4fr) minmax(0, 8fr); column-gap: 48px; align-items: start; }
.case-grid > .case:last-child:nth-child(odd) .case__lead { margin: 0; padding: 0 40px 0 0; border-bottom: 0; border-right: 1px solid var(--line); align-self: stretch; }

/* ---------- testimonials ---------- */
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; padding: 4px 2px 18px; scroll-padding-inline: 2px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--t3) transparent; }
.slider.is-ready .slider__track { scrollbar-width: none; }
.slider.is-ready .slider__track::-webkit-scrollbar { display: none; }
.slider__track:focus-visible { outline-offset: 6px; border-radius: 20px; }
.slider__slide { display: flex; scroll-snap-align: start; }
.slider__nav { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.slider__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--onyx); cursor: pointer; transition: border-color .2s, color .2s, opacity .2s; }
.slider__btn:hover:not(:disabled) { border-color: var(--azure); color: var(--azure); }
.slider__btn:disabled { opacity: .4; cursor: default; }
.slider__btn--prev .icon { transform: rotate(180deg); }
.tcard { display: flex; flex-direction: column; width: 100%; padding: 32px; border: 1px solid var(--t2); border-radius: 20px; background: var(--t1); }
.tcard__mark { display: block; margin-bottom: 18px; color: var(--azure); }
.tcard__q { margin: 0 0 26px; }
.tcard__q p { margin: 0; font-size: 1.0625rem; line-height: 1.65; }
.tcard__by { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--t3); }
.tcard__by strong, .fquote figcaption strong { display: block; font-size: .9375rem; line-height: 1.35; }
.tcard__by small, .fquote figcaption small { display: block; color: var(--muted); font-size: .8125rem; line-height: 1.45; }
.avatar { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--azure); color: var(--white); font-size: .9375rem; font-weight: 700; letter-spacing: .02em; }
.avatar--lg { width: 56px; height: 56px; font-size: 1.0625rem; }
.qgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.qgrid--2 { grid-template-columns: repeat(2, 1fr); }
.qgrid .qitem { display: flex; }
.qwall { columns: 3 300px; column-gap: 24px; }
.qwall .qitem { margin-bottom: 24px; break-inside: avoid; }
.fquote { max-width: 900px; margin: 0 auto; text-align: center; }
.fquote > .icon { display: block; margin: 0 auto 20px; color: var(--azure); }
.fquote blockquote { margin: 0 0 30px; }
.fquote blockquote p { margin: 0; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 600; line-height: 1.5; letter-spacing: -.012em; }
.fquote figcaption { display: inline-flex; align-items: center; gap: 14px; text-align: left; }

/* ---------- Who Am I + receipts ---------- */
.who { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; overflow: hidden; isolation: isolate; padding: clamp(28px, 5vw, 64px); border: 1px solid var(--line); border-radius: 32px; background: var(--white); }
.who::before { content: ""; position: absolute; right: -180px; bottom: -220px; z-index: -1; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, var(--t2), rgba(230, 242, 251, 0) 68%); }
.who h2 { margin-bottom: 16px; }
.who .lead { margin-bottom: 18px; }
.receipts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.receipts--big { max-width: 780px; margin: 0 auto; gap: clamp(20px, 3vw, 32px); }
.receipt__img { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 18px; background: var(--t1); box-shadow: 0 24px 48px -32px rgba(0, 15, 8, .45); }
.receipt__img picture, .receipt__img img { width: 100%; height: 100%; }
.receipt__img img { object-fit: cover; object-position: 50% 38%; }
/* mvp-blue is a knockout image: the white mark is transparent, so it needs a white backing to show. */
.receipt--badge .receipt__img { display: grid; place-items: center; padding: 8%; background: linear-gradient(160deg, var(--t1), var(--t2)); }
.receipt--badge .receipt__img picture, .receipt--badge .receipt__img img { height: auto; }
.receipt--badge .receipt__img img { object-fit: contain; border-radius: 12px; background: var(--white); box-shadow: 0 20px 40px -20px rgba(0, 90, 158, .55), 0 2px 6px rgba(0, 15, 8, .06); }
.receipt figcaption { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .9375rem; font-weight: 700; line-height: 1.35; }
.receipt figcaption .icon { color: var(--azure); }
.receipts--big .receipt figcaption { justify-content: center; font-size: 1.0625rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: var(--sticky-top); }
.faq__head h2 { margin-bottom: 24px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding: 22px 0; font-size: 1.0625rem; font-weight: 600; line-height: 1.45; list-style: none; cursor: pointer; transition: color .15s; }
.qa__q::-webkit-details-marker { display: none; }
.qa__q::marker { content: ""; }
.qa__q:hover { color: var(--azure-dk); }
.qa__icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--t1); color: var(--azure); transition: transform .25s var(--ease), background-color .2s, color .2s; }
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--azure); color: var(--white); }
.qa__a { padding: 0 60px 24px 0; color: var(--muted); }
.qa__a p { margin: 0; }

/* ---------- final CTA band (full-bleed Azure) ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(72px, 9vw, 120px) 0; background: var(--azure); color: var(--white); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 90% at 50% 0%, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 70%); }
.cta-band::after { content: ""; position: absolute; left: 50%; bottom: -760px; z-index: -1; width: 1400px; height: 1400px; border-radius: 50%; transform: translateX(-50%); background: repeating-radial-gradient(circle, rgba(255, 255, 255, 0) 0 119px, rgba(255, 255, 255, .09) 120px 121px); -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); mask-image: radial-gradient(circle, #000 30%, transparent 70%); }
.cta-band h2 { max-width: 16ch; margin: 0 auto 16px; color: var(--white); font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); line-height: 1.08; }
.cta-band__text { max-width: 600px; margin: 0 auto 32px; color: var(--white); font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); }
.cta-band__face { width: 84px; height: 84px; margin: 0 auto 26px; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255, 255, 255, .35), 0 16px 32px -12px rgba(0, 15, 8, .35); }
.cta-band__face img { width: 100%; height: 100%; object-fit: cover; }
.cta-band :focus-visible { outline-color: var(--white); }

/* ---------- page heads ---------- */
.phead { position: relative; overflow: hidden; isolation: isolate; padding: clamp(60px, 7.5vw, 108px) 0 clamp(52px, 6vw, 84px); text-align: center; }
.phead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(56% 70% at 50% -10%, var(--t2) 0%, rgba(230, 242, 251, .5) 40%, rgba(255, 255, 255, 0) 74%); }
.phead__title { max-width: 920px; margin: 0 auto 20px; font-size: clamp(2.25rem, 1.3rem + 3.4vw, 3.75rem); line-height: 1.08; letter-spacing: -.032em; }
.phead__lead { max-width: 720px; margin: 0 auto; color: var(--muted); font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); text-wrap: balance; }
.phead .actions { margin-top: 34px; }
.phead--nf { padding-bottom: var(--sec-y); }

/* ---------- service page ---------- */
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.outcome { position: relative; display: flex; flex-direction: column; gap: 20px; overflow: hidden; padding: 32px 30px 34px; }
.outcome::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--azure), var(--t3)); }
.outcome p { margin: 0; font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); font-weight: 700; line-height: 1.4; letter-spacing: -.012em; text-wrap: balance; }
.xcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.xcards--3 { grid-template-columns: repeat(3, 1fr); }
.xcard { padding: 32px; }
.xcard__n { display: inline-block; margin-bottom: 16px; color: var(--azure); font-size: .875rem; font-weight: 800; letter-spacing: .06em; }
.xcard h3 { margin-bottom: 8px; }
.xcard p { margin: 0; color: var(--muted); font-size: 1rem; }
.included { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding: clamp(28px, 5vw, 56px); }
.included__head h2 { margin-bottom: 24px; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
.included .ticks { font-weight: 600; }
.included .ticks .icon { background: var(--white); }

/* ---------- industries page ---------- */
.indf__head { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.indf__head h2 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ind-card { display: flex; flex-direction: column; padding: 28px; transition: border-color .2s, box-shadow .25s; }
.ind-card:hover { border-color: var(--t3); box-shadow: var(--shadow-lg); }
.ind-card:target { border-color: var(--azure); box-shadow: 0 0 0 4px var(--t2); }
.ind-card .tile { margin-bottom: 20px; }
.ind-card h3 { margin-bottom: 8px; font-size: 1.125rem; }
.ind-card > p { margin: 0 0 18px; color: var(--muted); font-size: .9375rem; }
.ind-card .ticks { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.callout { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(28px, 4vw, 48px); }
.callout h2 { margin-bottom: 8px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.callout p { max-width: 640px; margin: 0; color: var(--muted); }
.callout .btn { flex: none; }

/* ---------- process page ---------- */
.expect { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 32px; align-items: center; padding: clamp(28px, 5vw, 52px); }
.expect h2 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.expect__list { grid-template-columns: 1fr 1fr; gap: 16px 32px; font-weight: 600; }
.expect__list .icon { background: var(--white); }
.cmp { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; }
.cmp__table { width: 100%; border-collapse: collapse; }
.cmp__table th, .cmp__table td { padding: 18px 22px; border-bottom: 1px solid var(--line); font-size: .9375rem; text-align: left; vertical-align: top; }
.cmp__table thead th { font-size: .875rem; font-weight: 700; vertical-align: middle; }
.cmp__table thead th > * { vertical-align: middle; }
.cmp__table thead img { display: inline-block; margin-right: 10px; }
.cmp__table tbody th { width: 22%; font-weight: 700; }
.cmp__table td { color: var(--muted); }
.cmp__table .is-us { background: var(--t1); color: var(--onyx); font-weight: 600; }
.cmp__table thead .is-us { color: var(--azure-dk); }
.cmp__table tbody tr:last-child > * { border-bottom: 0; }
.cmp__v { display: flex; align-items: flex-start; gap: 10px; }
.cmp__v .icon { margin-top: 2px; color: var(--azure); }

/* ---------- about page ---------- */
.phead--about { text-align: left; }
.about-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-head .phead__title { margin: 0 0 12px; }
.about-name { margin: 0 0 22px; color: var(--azure); font-size: 1.375rem; font-weight: 700; }
.about-p { color: var(--muted); font-size: 1.0625rem; }
.about-head .actions { margin-top: 30px; }
.about-head__media { position: relative; isolation: isolate; }
.about-head__media::before { content: ""; position: absolute; inset: 28px -20px -20px 28px; z-index: -1; border-radius: 32px; background: var(--t2); }
.about-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 28px; }
.about-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about-list { padding: clamp(28px, 3.4vw, 44px); }
.about-list .tile { margin-bottom: 20px; }
.about-list h2 { margin-bottom: 22px; font-size: clamp(1.5rem, 1.25rem + .8vw, 1.875rem); }
.photo-row { display: grid; grid-template-columns: 1.333fr 2.115fr; gap: 24px; align-items: start; }
.photo img { width: 100%; border-radius: 20px; }
.photo figcaption { margin-top: 12px; color: var(--muted); font-size: .875rem; font-weight: 600; }
.tagline { max-width: 920px; margin: 0 auto; text-align: center; }
.tagline > .icon { display: block; margin: 0 auto 18px; color: var(--azure); }
.tagline p { margin: 0 0 18px; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); font-weight: 700; line-height: 1.35; letter-spacing: -.02em; text-wrap: balance; }
.tagline footer { color: var(--muted); font-weight: 600; }

/* ---------- contact page ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.contact__embed { overflow: hidden; padding: 8px; }
.calendly-fallback { margin: 12px 0 8px; font-size: .9375rem; text-align: center; }
.contact__aside { position: sticky; top: var(--sticky-top); display: grid; gap: 20px; }
.contact__card { padding: 32px; }
.contact__card h2 { margin-bottom: 20px; font-size: 1.5rem; }
.contact__card .note { justify-content: flex-start; margin-top: 22px; }
.contact__card--tint { background: var(--t1); border-color: var(--t2); }
.contact__card--tint p { font-weight: 600; }

/* ---------- footer ---------- */
.ftr { padding: clamp(56px, 7vw, 88px) 0 28px; border-top: 1px solid var(--line); background: var(--white); }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 3fr); gap: 48px; }
.ftr__brand p { max-width: 340px; margin: 16px 0 20px; color: var(--muted); font-size: .9375rem; }
.ftr__social { display: flex; gap: 8px; }
.ftr__social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; color: var(--onyx); transition: border-color .2s, color .2s; }
.ftr__social a:hover { border-color: var(--azure); color: var(--azure); }
.ftr__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.ftr__h { margin: 0 0 12px; color: var(--onyx); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ftr__col a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--muted); font-size: .9375rem; text-decoration: none; }
.ftr__col a:hover { color: var(--azure); }
.ftr__col .ext { opacity: .6; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }
.ftr__bottom p { margin: 0; }

/* ---------- scroll reveals (added by main.js only below the fold) ---------- */
.reveal { opacity: 0; }
.reveal.is-in { opacity: 1; animation: rise .7s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1119px) {
  .hdr__in { display: flex; justify-content: space-between; position: static; }
  .hdr__cta { display: none; }
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--onyx); cursor: pointer; }
  .nav-toggle .i-close, body.nav-open .nav-toggle .i-open { display: none; }
  body.nav-open .nav-toggle .i-close { display: block; }
  body.nav-open { overflow: hidden; }
  .nav { display: none; justify-self: stretch; position: absolute; top: 100%; left: 0; right: 0; width: 100%; max-height: calc(100vh - var(--ais-bar-h, 0px) - var(--hdr-h)); max-height: calc(100dvh - var(--ais-bar-h, 0px) - var(--hdr-h)); overflow-y: auto; padding: 8px 20px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); box-shadow: 0 30px 40px -30px rgba(0, 15, 8, .3); }
  body.nav-open .nav { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { justify-content: space-between; width: 100%; min-height: 56px; padding: 0 4px; border-radius: 0; font-size: 1.0625rem; }
  .nav__link:hover, [data-dropdown][data-open] > .nav__link { background: none; }
  .mega { position: static; width: auto; padding: 0 0 12px; transform: none; border: 0; border-radius: 0; box-shadow: none; animation: none !important; }
  .mega::before { display: none; }
  .mega__grid { grid-template-columns: 1fr; gap: 2px; }
  .mega__link { padding: 10px; }
  .mega__all small { display: none; }
  .mega__all .mega__link { min-height: 48px; }
  .nav__cta { display: flex; width: 100%; margin-top: 20px; }
}
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc, .svc:nth-child(n+4) { grid-column: auto; }
  .svc:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .why, .faq { grid-template-columns: 1fr; }
  .why__head, .faq__head { position: static; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .tl__step { padding: 0 10px; }
  .qgrid { grid-template-columns: 1fr 1fr; }
  .slider__track { grid-auto-columns: calc((100% - 24px) / 2); }
  .xcards--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .ind-groups, .case-grid, .who, .about-head, .contact, .outcomes, .xcards, .xcards--3, .svc-row, .included, .expect, .photo-row, .about-lists, .qgrid, .qgrid--2 { grid-template-columns: 1fr; }
  .case-grid > .case:last-child:nth-child(odd) { display: flex; }
  .case-grid > .case:last-child:nth-child(odd) .case__lead { margin-bottom: 24px; padding: 0 0 24px; border-right: 0; border-bottom: 1px solid var(--line); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat--word { grid-column: 1 / -1; }
  .tl { grid-template-columns: 1fr; }
  .tl__step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; padding: 0 0 36px; text-align: left; }
  .tl__step:last-child { padding-bottom: 0; }
  .tl__n { width: 56px; height: 56px; margin: 0; font-size: 1rem; }
  .tl__step:not(:last-child)::after { top: 64px; bottom: 8px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--azure), var(--t3)); }
  .tl__body { padding-top: 4px; }
  .contact__aside { position: static; }
  .callout { flex-direction: column; align-items: flex-start; }
  .ftr__top { grid-template-columns: 1fr; gap: 40px; }
  .ftr__cols { grid-template-columns: 1fr 1fr; }
  .about-head__media { max-width: 520px; }
}
@media (max-width: 640px) {
  .wrap { width: min(1200px, 100% - 32px); }
  .svc-grid, .ind-grid, .ind-list, .ticks--2, .expect__list, .why__grid { grid-template-columns: 1fr; }
  .why__item { padding: 26px 0; }
  .note { display: block; text-align: center; text-wrap: balance; }
  .note .icon { display: inline-block; margin: -3px 6px 0 0; }
  .contact__card .note { text-align: left; }
  .svc:last-child:nth-child(odd) { grid-column: auto; }
  .svc, .xcard, .outcome, .ind-card, .contact__card { padding: 26px; }
  .stats { border-radius: 20px; }
  .stat { padding: 22px 14px; }
  .stat__l { font-size: .875rem; }
  .actions .btn { width: 100%; }
  .hero .actions .btn, .phead .actions .btn { width: 100%; }
  .slider__track { grid-auto-columns: 88%; gap: 16px; }
  .tcard { padding: 26px; }
  .ind-panel { padding: 24px 18px 14px; }
  .ind-link { padding: 10px 8px; }
  .who { border-radius: 24px; }
  .receipts { gap: 14px; }
  .receipt figcaption { font-size: .875rem; align-items: flex-start; }
  .qa__a { padding-right: 0; }
  .qa__q { font-size: 1rem; }
  .fquote { text-align: left; }
  .fquote > .icon { margin-left: 0; }
  .fquote blockquote p { font-size: 1.1875rem; }
  .cmp { overflow: visible; border: 0; border-radius: 0; }
  .cmp__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp__table, .cmp__table tbody, .cmp__table tr, .cmp__table th, .cmp__table td { display: block; width: 100%; }
  .cmp__table tr { margin-bottom: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; }
  .cmp__table tbody th { width: 100%; font-size: 1rem; }
  .cmp__table td { display: grid; grid-template-columns: 40% minmax(0, 1fr); gap: 12px; padding: 14px 18px; }
  .cmp__table td::before { content: attr(data-label); color: var(--onyx); font-size: .8125rem; font-weight: 700; }
  .cmp__table tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
  .cmp__table tbody tr > :last-child { border-bottom: 0; }
  .about-head__media::before { inset: 18px -10px -10px 18px; }
  .contact__embed { padding: 4px; }
  .ftr__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { flex-wrap: wrap; justify-content: center; width: auto; animation: none; }
  .marquee__item.is-dup { display: none; }
  .float { animation: none; }
  .reveal, .reveal.is-in { opacity: 1; animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
