/* Nomtack — design system
   Brand colors kept from the original site: #043581 (navy), #0878BD (blue), #111111 / #232121 (ink), #F4F4F4 (light) */
:root {
  --navy: #043581;
  --blue: #0878bd;
  --blue-2: #2a9be0;
  --navy-deep: #031c47;
  --night: #020f29;
  --ink: #111111;
  --ink-2: #232121;
  --muted: #5b6475;
  --line: #e5e8ee;
  --light: #f4f4f4;
  --paper: #ffffff;
  --tint: #eef4fb;
  --grad: linear-gradient(135deg, #043581 0%, #0878bd 100%);
  --grad-text: linear-gradient(100deg, #6cc4ff 0%, #2a9be0 45%, #ffffff 100%);

  --f-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;

  --fs-xs: clamp(.78rem, .74rem + .2vw, .86rem);
  --fs-sm: clamp(.9rem, .86rem + .2vw, .98rem);
  --fs-base: clamp(1rem, .96rem + .2vw, 1.08rem);
  --fs-lg: clamp(1.15rem, 1.05rem + .45vw, 1.35rem);
  --fs-xl: clamp(1.45rem, 1.2rem + 1vw, 2rem);
  --fs-2xl: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
  --fs-3xl: clamp(2.5rem, 1.6rem + 4.2vw, 5.25rem);

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-1: 0 1px 2px rgba(3, 28, 71, .06), 0 4px 14px rgba(3, 28, 71, .06);
  --shadow-2: 0 10px 40px rgba(3, 28, 71, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(64px, 7.5vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--fs-base)/1.7 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--f-display); color: inherit; margin: 0 0 .5em; letter-spacing: -.025em; line-height: 1.12; font-weight: 700; }
h1 { font-size: var(--fs-3xl); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; }
h2 { font-size: var(--fs-2xl); letter-spacing: -.035em; }
h3 { font-size: var(--fs-lg); letter-spacing: -.015em; line-height: 1.3; }
h4 { font-size: var(--fs-base); letter-spacing: -.01em; }
em.serif, .serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--sec) 0; position: relative; }
.sec--tint { background: var(--tint); }
.sec--light { background: var(--light); }
.sec--dark { background: var(--night); color: #dfe8f5; }
.sec--dark h2, .sec--dark h3 { color: #fff; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* eyebrow + section heads */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font: 600 var(--fs-xs)/1 var(--f-body);
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.sec--dark .eyebrow, .hero .eyebrow { color: #6cc4ff; }
.head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head p { color: var(--muted); font-size: var(--fs-lg); line-height: 1.6; }
.sec--dark .head p { color: #a9b8cf; }
.head--split { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.head--split p { margin: 0; }

/* buttons */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 14px 24px;
  border-radius: 999px; background: var(--bg); color: var(--fg); font: 600 var(--fs-sm)/1.1 var(--f-body);
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(8, 120, 189, .32); }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--grad { background: var(--grad); }
.btn--white { --bg: #fff; --fg: var(--navy); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: #cfd6e2; }
.btn--ghost:hover { --fg: var(--navy); border-color: var(--navy); box-shadow: none; }
.btn--ghost-light { --bg: rgba(255, 255, 255, .06); --fg: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.btn--ghost-light:hover { border-color: rgba(255, 255, 255, .6); box-shadow: none; }
.btn--sm { min-height: 42px; padding: 10px 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--navy); font-size: var(--fs-sm); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.sec--dark .link-arrow { color: #6cc4ff; }

/* ───────── header ───────── */
.topbar { background: var(--night); color: #a9b8cf; font-size: var(--fs-xs); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #dfe8f5; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__links { display: flex; gap: 22px; }
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.hdr.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(3, 28, 71, .06); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 1.35rem/1 var(--f-display); letter-spacing: -.03em; }
.logo img { width: 44px; height: 44px; border-radius: 11px; }
.logo span b { color: var(--blue); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav > ul > li { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font: 500 var(--fs-sm)/1 var(--f-body); background: none; border: 0; cursor: pointer; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--navy); background: var(--tint); }
.nav__link svg { width: 14px; height: 14px; transition: transform .2s; }
.has-mega:hover .nav__link svg, .has-mega:focus-within .nav__link svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px); width: min(1080px, 94vw);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2);
  padding: 26px; display: grid; grid-template-columns: repeat(4, 1fr) 1.15fr; gap: 26px;
  opacity: 0; visibility: hidden; transition: opacity .22s, transform .22s var(--ease), visibility .22s;
}
.mega::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega h4 { font: 700 var(--fs-xs)/1 var(--f-body); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 12px; }
.mega h4 a { color: inherit; text-decoration: none; }
.mega h4 a:hover { color: var(--blue); }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega ul a { display: block; padding: 7px 10px; margin: 0 -10px; border-radius: 8px; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.35; text-decoration: none; }
.mega ul a:hover { background: var(--tint); color: var(--navy); }
.mega__cta { background: var(--grad); color: #fff; border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; position: relative; overflow: hidden; }
.mega__cta::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; background: url(/assets/img/logo-mark.png) center/contain no-repeat; opacity: .12; }
.mega__cta strong { font: 700 var(--fs-lg)/1.25 var(--f-display); }
.mega__cta p { font-size: var(--fs-sm); color: #d6e6fb; margin: 0; }
.hdr__cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .3s, background .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ───────── hero ───────── */
.hero { position: relative; background: var(--night); color: #dfe8f5; overflow: hidden; isolation: isolate; padding: clamp(64px, 9vw, 128px) 0 clamp(72px, 9vw, 120px); }
.hero::before { /* grid */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero__glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero__glow--1 { width: 620px; height: 620px; background: #0878bd; opacity: .45; top: -260px; right: -120px; animation: drift 14s ease-in-out infinite alternate; }
.hero__glow--2 { width: 520px; height: 520px; background: #043581; opacity: .7; bottom: -300px; left: -160px; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.12); } }
.hero h1 { color: #fff; max-width: 15ch; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero__lead { font-size: var(--fs-lg); color: #b9c7dc; max-width: 60ch; line-height: 1.65; }
.hero__lead p { margin-bottom: .8em; }
.hero .btn-row { margin-top: 32px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-size: var(--fs-sm); color: #a9b8cf; }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; height: 18px; color: #6cc4ff; flex: none; }
.hero--page { padding: clamp(56px, 7vw, 100px) 0 clamp(64px, 8vw, 110px); }
.hero--page h1 { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4.4rem); max-width: 18ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 26px; font-size: var(--fs-xs); color: #8fa3c2; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { color: #b9c7dc; text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* hero visual: glass dashboard */
.dash { position: relative; }
.dash__card { background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-lg); padding: 22px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.dash__bar { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.dash__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.dash__bar span { margin-left: auto; font-size: .75rem; color: #8fa3c2; font-family: ui-monospace, Menlo, monospace; }
.dash__title { font: 600 .82rem/1 var(--f-body); color: #8fa3c2; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.gauges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gauge { text-align: center; }
.gauge svg { width: 100%; max-width: 76px; margin: 0 auto 6px; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 7; }
.gauge .bg { stroke: rgba(255, 255, 255, .1); }
.gauge .fg { stroke: #3ddc97; stroke-linecap: round; stroke-dasharray: 201; stroke-dashoffset: 201; transition: stroke-dashoffset 1.6s var(--ease); }
.is-in .gauge .fg { stroke-dashoffset: var(--off); }
.gauge b { display: block; color: #fff; font: 700 1.05rem/1 var(--f-display); margin-top: -50px; margin-bottom: 34px; position: relative; }
.gauge small { font-size: .72rem; color: #a9b8cf; }
.dash__chart { margin-top: 18px; padding: 16px; background: rgba(2, 15, 41, .5); border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .08); }
.dash__chart svg { width: 100%; height: 110px; }
.dash__chart .line { fill: none; stroke: url(#lg); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2.2s var(--ease) .3s; }
.is-in .dash__chart .line { stroke-dashoffset: 0; }
.dash__legend { display: flex; justify-content: space-between; font-size: .75rem; color: #8fa3c2; margin-top: 8px; }
.dash__float { position: absolute; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-2); display: flex; align-items: center; gap: 12px; font-size: .85rem; line-height: 1.3; animation: float 6s ease-in-out infinite; }
.dash__float b { display: block; font-family: var(--f-display); }
.dash__float i { width: 38px; height: 38px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #fff; flex: none; }
.dash__float i svg { width: 20px; height: 20px; }
.dash__float--a { left: -36px; bottom: 34px; }
.dash__float--b { right: -20px; top: -26px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* hero visual for inner pages: image with frame */
.hero__media { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); aspect-ratio: 1 / 1; background: var(--navy-deep); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(2, 15, 41, .65)); }
.hero__badge { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; display: flex; gap: 12px; align-items: center; color: #fff; font-size: var(--fs-sm); }
.hero__badge img { width: 40px; height: 40px; border-radius: 10px; flex: none; }


/* answer box — direct answer for AI / featured snippets */
.answer { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--r); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-1); }
.answer__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--tint); color: var(--navy); display: grid; place-items: center; }
.answer__icon svg { width: 24px; height: 24px; }
.answer h2 { font-size: var(--fs-lg); margin-bottom: 8px; letter-spacing: -.01em; }
.answer p { margin: 0; color: var(--ink-2); }
.answer dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px 24px; margin: 18px 0 0; }
.answer dt { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.answer dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); font-size: var(--fs-sm); }

/* cards */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 2.6vw, 32px); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; overflow: hidden; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: var(--fs-sm); line-height: 1.7; }
.card p + p { margin-top: .8em; }
.card .link-arrow { margin-top: 18px; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--navy); display: grid; place-items: center; margin-bottom: 22px; transition: background .35s, color .35s; }
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon { background: var(--grad); color: #fff; }
.card__num { position: absolute; top: 22px; right: 26px; font: 700 .85rem/1 var(--f-display); color: #b5c2d6; }
.card--problem { border-top: 3px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.card--dark { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); color: #dfe8f5; }
.card--dark p { color: #a9b8cf; }
.card--dark .card__icon { background: rgba(108, 196, 255, .12); color: #6cc4ff; }
.card--dark:hover { background: rgba(255, 255, 255, .07); border-color: rgba(108, 196, 255, .4); }
a.card { color: inherit; text-decoration: none; display: block; }

/* bento services */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(16px, 2vw, 22px); }
.bento .tile { grid-column: span 2; position: relative; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; min-height: 300px; text-decoration: none; color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s; }
.bento .tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); color: var(--ink); }
.bento .tile--wide { grid-column: span 3; }
.bento .tile--feature { grid-column: span 3; background: var(--grad); color: #fff; border: 0; }
.bento .tile--feature:hover { color: #fff; }
.bento .tile--feature p, .bento .tile--feature li { color: #d6e6fb; }
.bento .tile--dark { background: var(--night); color: #fff; border: 0; }
.bento .tile--dark:hover { color: #fff; }
.bento .tile--dark p, .bento .tile--dark li { color: #a9b8cf; }
.tile__k { font: 600 var(--fs-xs)/1 var(--f-body); text-transform: uppercase; letter-spacing: .14em; opacity: .7; margin-bottom: 18px; }
.tile h3 { font-size: var(--fs-xl); margin-bottom: 12px; letter-spacing: -.03em; }
.tile p { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 16px; }
.tile ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.tile li { font-size: .8rem; padding: 6px 12px; border-radius: 999px; border: 1px solid currentColor; opacity: .85; color: var(--muted); line-height: 1.2; }
.tile--feature li, .tile--dark li { border-color: rgba(255, 255, 255, .25); }
.tile__go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--fs-sm); }
.tile__go svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.tile:hover .tile__go svg { transform: translateX(5px); }
.tile__art { position: absolute; right: -30px; bottom: -30px; width: 190px; opacity: .1; pointer-events: none; }

/* split media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; box-shadow: var(--shadow-2); }
.split__media .chip { position: absolute; left: -18px; bottom: 28px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-2); display: flex; align-items: center; gap: 12px; font-size: var(--fs-sm); max-width: 260px; line-height: 1.35; }
.split__media .chip i { width: 40px; height: 40px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none; }
.split__media .chip i svg { width: 20px; height: 20px; }
.prose p { color: var(--ink-2); }
.prose > p:first-of-type { font-size: var(--fs-lg); line-height: 1.6; color: var(--ink); }
.sec--dark .prose p { color: #b9c7dc; }

/* checklist */
.checks { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; line-height: 1.55; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23043581' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat; }
.checks--2 { grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.sec--dark .checks li { color: #dfe8f5; }
.sec--dark .checks li::before { background-color: rgba(108, 196, 255, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236cc4ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* process timeline */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); counter-reset: step; position: relative; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); }
.step__n { display: inline-flex; align-items: center; gap: 10px; font: 700 var(--fs-xs)/1 var(--f-body); text-transform: uppercase; letter-spacing: .14em; color: var(--blue); margin-bottom: 20px; }
.step__n b { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; font: 800 1.05rem/1 var(--f-display); letter-spacing: 0; }
.step h3 { font-size: var(--fs-xl); }
.step p { color: var(--muted); font-size: var(--fs-sm); }
.step__inc { font: 600 var(--fs-xs)/1 var(--f-body); text-transform: uppercase; letter-spacing: .1em; color: var(--ink); margin: 18px 0 12px; padding-top: 18px; border-top: 1px dashed var(--line); }
.step .checks li { font-size: var(--fs-sm); }
.steps--line::before { content: ""; position: absolute; top: 56px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, #c9d6ea 0 8px, transparent 8px 16px); z-index: 0; }
.steps--line .step { z-index: 1; }

/* numbered list rows (home "what we build") */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 90px 1fr 1.35fr; gap: 28px; align-items: start; padding: clamp(28px, 3.5vw, 44px) 0; border-bottom: 1px solid var(--line); transition: background .3s; }
.row__n { font: 700 var(--fs-xl)/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.2px #9fb0c9; }
.row h3 { font-size: var(--fs-xl); margin: 0; }
.row p { color: var(--muted); font-size: var(--fs-sm); margin: 0 0 .7em; }
.row .btn { margin-top: 8px; }
.row:hover .row__n { color: var(--blue); -webkit-text-stroke: 0; }

/* industries */
.inds { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.ind { position: relative; border-radius: var(--r); overflow: hidden; min-height: 420px; color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; isolation: isolate; }
.ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.ind::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2, 15, 41, .05) 20%, rgba(2, 15, 41, .92) 78%); transition: background .4s; }
.ind:hover img { transform: scale(1.07); }
.ind:hover::before { background: linear-gradient(180deg, rgba(4, 53, 129, .35) 0%, rgba(2, 15, 41, .95) 70%); }
.ind h3 { color: #fff; font-size: var(--fs-lg); margin-bottom: 8px; }
.ind p { font-size: .86rem; color: #c9d6ea; line-height: 1.55; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.ind:hover p, .ind:focus-visible p { max-height: 200px; opacity: 1; margin-bottom: 12px; }
.ind span { font-weight: 600; font-size: .85rem; color: #6cc4ff; display: inline-flex; gap: 6px; align-items: center; }
.ind span svg { width: 16px; height: 16px; }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.quote { margin: 0; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 20px; }
.quote:first-child { background: var(--grad); border: 0; }
.quote:first-child blockquote { color: #fff; }
.quote__stars { display: flex; gap: 3px; color: #ffc94d; }
.quote__stars svg { width: 18px; height: 18px; }
.quote blockquote { margin: 0; color: #dfe8f5; line-height: 1.7; }
.quote blockquote p { margin: 0 0 .8em; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: var(--fs-sm); color: #a9b8cf; }
.quote figcaption b { color: #fff; display: block; font-weight: 600; }
.quote__av { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; font: 700 .9rem/1 var(--f-display); color: #fff; flex: none; }

/* stats (non-numeric promises) */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.pillar { padding: clamp(22px, 3vw, 34px); border-right: 1px solid var(--line); }
.pillar:last-child { border-right: 0; }
.pillar strong { display: block; font: 800 var(--fs-2xl)/1 var(--f-display); letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.pillar span { font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; display: block; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-wrap .head { position: sticky; top: 110px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font: 600 var(--fs-base)/1.4 var(--f-display); color: var(--ink); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--navy); }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s, border-color .3s; }
.faq summary i svg { width: 16px; height: 16px; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--navy); border-color: var(--navy); color: #fff; }
.faq .ans { padding: 0 56px 24px 0; color: var(--muted); }
.faq .ans p:last-child { margin: 0; }

/* related links */
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.related a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); line-height: 1.35; transition: border-color .25s, transform .25s var(--ease), color .25s; }
.related a svg { width: 18px; height: 18px; color: var(--blue); flex: none; transition: transform .25s var(--ease); }
.related a:hover { border-color: var(--blue); color: var(--navy); transform: translateY(-2px); }
.related a:hover svg { transform: translateX(4px); }

/* contact form */
.form-card { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 44px); box-shadow: var(--shadow-2); color: var(--ink); }
.form-card h3 { font-size: var(--fs-xl); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font: 600 var(--fs-xs)/1 var(--f-body); color: var(--ink-2); margin-bottom: 8px; letter-spacing: .02em; }
.field input, .field select, .field textarea { width: 100%; font: 400 var(--fs-sm)/1.4 var(--f-body); color: var(--ink); background: var(--light); border: 1px solid transparent; border-radius: 12px; padding: 14px 16px; transition: border-color .2s, background .2s, box-shadow .2s; min-height: 50px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(8, 120, 189, .14); }
.form__note { font-size: var(--fs-xs); color: var(--muted); margin: 0; display: flex; align-items: center; gap: 8px; }
.form__note svg { width: 16px; height: 16px; color: #1a9e62; flex: none; }
.form .btn { width: 100%; }
.form__ok { display: none; text-align: center; padding: 30px 10px; }
.form__ok svg { width: 56px; height: 56px; color: #1a9e62; margin: 0 auto 14px; }
.form.is-sent { display: none; }
.form.is-sent + .form__ok { display: block; }
.consult { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.consult .checks { margin-top: 24px; }

/* CTA band */
.cta { position: relative; overflow: hidden; isolation: isolate; background: var(--grad); color: #fff; border-radius: var(--r-lg); padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; }
.cta::before { content: ""; position: absolute; z-index: -1; right: -60px; top: 50%; transform: translateY(-50%); width: 420px; height: 420px; background: url(/assets/img/logo-mark.png) center/contain no-repeat; opacity: .1; }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { color: #d6e6fb; font-size: var(--fs-lg); margin: 0; max-width: 60ch; }
.cta small { display: block; margin-top: 14px; color: #b9d3f2; font-size: var(--fs-xs); }

/* team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.member__pic { aspect-ratio: 1 / 1; background: var(--navy-deep); overflow: hidden; }
.member__pic img, .member__pic svg { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.member:hover .member__pic img, .member:hover .member__pic svg { transform: scale(1.05); }
.member__body { padding: 22px 24px 26px; }
.member h3 { margin: 0 0 4px; font-size: var(--fs-lg); }
.member__role { color: var(--blue); font-weight: 600; font-size: var(--fs-sm); margin: 0 0 10px; }
.member p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.member__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.member__tags span { font-size: .75rem; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--navy); font-weight: 500; }

/* values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.value { padding: 32px 26px 10px 0; border-right: 1px solid rgba(255, 255, 255, .12); margin-right: 26px; }
.value:last-child { border-right: 0; margin-right: 0; }
.value b { display: block; font: 700 var(--fs-xs)/1 var(--f-body); color: #6cc4ff; letter-spacing: .14em; margin-bottom: 18px; }
.value h3 { color: #fff; }
.value p { color: #a9b8cf; font-size: var(--fs-sm); }

/* audit tool */
.audit { max-width: 760px; }
.audit__form { display: flex; gap: 10px; background: #fff; padding: 8px; border-radius: 999px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); margin-top: 30px; }
.audit__form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 20px; font: 400 var(--fs-base)/1 var(--f-body); color: var(--ink); }
.audit__form input:focus { outline: none; }
.audit__status { margin-top: 18px; color: #b9c7dc; font-size: var(--fs-sm); min-height: 1.5em; }
.audit__res { display: none; }
.audit__res.is-on { display: block; }
.scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.score { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; text-align: center; }
.score svg { width: 96px; margin: 0 auto 10px; transform: rotate(-90deg); }
.score circle { fill: none; stroke-width: 8; }
.score .bg { stroke: var(--light); }
.score .fg { stroke-linecap: round; stroke-dasharray: 251; transition: stroke-dashoffset 1.4s var(--ease); }
.score b { display: block; font: 800 1.6rem/1 var(--f-display); margin-top: -66px; margin-bottom: 44px; }
.score span { font-size: var(--fs-sm); font-weight: 600; }
.vitals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.vital { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.vital small { color: var(--muted); font-size: var(--fs-xs); display: block; }
.vital b { font: 700 var(--fs-lg)/1.3 var(--f-display); }
.issues { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.issues li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); }
.issues li i { width: 10px; height: 10px; border-radius: 50%; margin-top: 7px; flex: none; }

/* blog */
.posts-empty { text-align: center; max-width: 620px; margin: 0 auto; }

/* footer */
.ftr { background: var(--night); color: #a9b8cf; padding: clamp(64px, 8vw, 100px) 0 28px; font-size: var(--fs-sm); position: relative; overflow: hidden; }
.ftr a { color: #c9d6ea; text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr__top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ftr .logo { color: #fff; }
.ftr__about p { margin: 18px 0 22px; max-width: 34ch; line-height: 1.7; }
.ftr h4 { font: 700 var(--fs-xs)/1 var(--f-body); color: #fff; text-transform: uppercase; letter-spacing: .14em; margin: 6px 0 18px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr__contact { display: grid; gap: 12px; }
.ftr__contact a { display: inline-flex; gap: 10px; align-items: center; }
.ftr__contact svg { width: 18px; height: 18px; color: #6cc4ff; flex: none; }
.ftr__big { font: 800 clamp(4rem, 17vw, 15rem)/.8 var(--f-display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .09); text-align: center; margin: 44px 0 26px; user-select: none; white-space: nowrap; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: var(--fs-xs); color: #7f93b3; }
.ftr__bottom nav { display: flex; gap: 20px; }

/* mobile sticky CTA */
.mcta { display: none; }

/* reveal on scroll */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ───────── responsive ───────── */
@media (max-width: 1100px) {
  .mega { grid-template-columns: repeat(2, 1fr); width: min(720px, 94vw); }
  .mega__cta { grid-column: 1 / -1; }
  .inds { grid-template-columns: repeat(3, 1fr); }
  .ftr__top { grid-template-columns: 1fr 1fr 1fr; }
  .ftr__about { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .topbar__links { display: none; }
  .burger { display: inline-flex; }
  .hdr__cta .btn { display: none; }
  .nav { position: fixed; inset: 76px 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px var(--gutter) 120px; overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden; }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav > ul { flex-direction: column; }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__link:hover { background: none; }
  .mega { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 10px 0 18px; display: none; opacity: 1; visibility: visible; grid-template-columns: 1fr; gap: 18px; }
  .has-mega:hover .mega, .has-mega:focus-within .mega { transform: none; }
  .has-mega.is-open .mega { display: grid; }
  .has-mega:not(.is-open):hover .mega { display: none; }
  .nav .nav__mcta { display: flex; margin-top: 22px; }
  .hero__grid, .split, .consult, .faq-wrap, .head--split { grid-template-columns: 1fr; }
  .faq-wrap .head { position: static; }
  .split--rev .split__media { order: 0; }
  .dash { max-width: 520px; margin: 10px auto 0; width: 100%; }
  .dash__float--a { left: -6px; } .dash__float--b { right: -6px; }
  .grid--3, .grid--4, .team, .quotes, .pillars, .values, .scores { grid-template-columns: repeat(2, 1fr); }
  .steps--line::before { display: none; }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .value:nth-child(2) { border-right: 0; margin-right: 0; }
  .bento .tile, .bento .tile--wide, .bento .tile--feature { grid-column: span 3; }
  .cta { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; aspect-ratio: 4 / 3; }
  .mcta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; gap: 8px; background: rgba(2, 15, 41, .92); backdrop-filter: blur(10px); padding: 8px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transform: translateY(120%); transition: transform .4s var(--ease); }
  .mcta.is-on { transform: none; }
  .mcta .btn { flex: 1; min-height: 46px; padding: 10px 14px; }
}
@media (min-width: 961px) { .nav .nav__mcta { display: none; } }
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4, .steps, .team, .quotes, .scores, .vitals, .checks--2, .form, .inds { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .value { border-right: 0; margin-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .pillars { grid-template-columns: 1fr 1fr; }
  .bento .tile, .bento .tile--wide, .bento .tile--feature { grid-column: 1 / -1; min-height: 0; }
  .row { grid-template-columns: 1fr; gap: 12px; }
  .ind { min-height: 300px; }
  .ind p { max-height: none; opacity: 1; margin-bottom: 10px; }
  .ftr__top { grid-template-columns: 1fr 1fr; }
  .answer { grid-template-columns: 1fr; }
  .audit__form { flex-direction: column; border-radius: 20px; }
  .audit__form input { padding: 14px; }
  .faq .ans { padding-right: 0; }
  .gauges { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .dash__float { display: none; }
  .btn-row .btn { flex: 1 1 auto; }
  .ftr__bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}
@media (max-width: 760px) { [data-split] { grid-template-columns: 1fr !important; } }
.sec--dark .form-card h2, .sec--dark .form-card h3, .hero .form-card h2, .hero .form-card h3 { color: var(--ink); }
.cta h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); }
.cta--stack { grid-template-columns: 1fr; }
.cta--stack h2 { max-width: 22ch; }
.cta--stack p { max-width: 78ch; font-size: var(--fs-base); }
html, body { overflow-x: clip; }
@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; }
  .row > * { min-width: 0; }
  .tile__art { display: none; }
}
@media (max-width: 960px) {
  .topbar { display: none; }
  .hdr { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav { inset: 76px 0 0; height: calc(100dvh - 76px); }
}

/* process steps with photos */
.steps--photo .step { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.step__img { aspect-ratio: 16 / 10; overflow: hidden; }
.step__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.step:hover .step__img img { transform: scale(1.05); }
.step__body { padding: clamp(22px, 2.6vw, 30px); }
.step__body p { margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* spacing: two plain white sections in a row shouldn't double their padding */
.sec:not(.sec--tint):not(.sec--light):not(.sec--dark) + .sec:not(.sec--tint):not(.sec--light):not(.sec--dark) { padding-top: 0; }
.sec--answer { padding-bottom: 0; }
.sec--answer + .sec { padding-top: clamp(56px, 6vw, 88px) !important; }

/* contact details */
.contact-list { display: grid; gap: 12px; margin-top: 32px; max-width: 460px; }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #fff; text-decoration: none; transition: background .25s, border-color .25s; }
.contact-item:hover { background: rgba(255, 255, 255, .09); border-color: rgba(108, 196, 255, .45); color: #fff; }
.contact-item__icon { width: 42px; height: 42px; border-radius: 11px; background: rgba(108, 196, 255, .14); color: #6cc4ff; display: grid; place-items: center; flex: none; }
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item small { display: block; font-size: var(--fs-xs); color: #8fa3c2; margin-bottom: 2px; }
.contact-item b { font-weight: 600; font-size: var(--fs-sm); word-break: break-word; }

/* services catalog rows */
.cat { display: grid; gap: 16px; }
.cat-row { display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; padding: clamp(22px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.cat-row__head h3 { margin: 0 0 6px; }
.cat-row__head h3 a { color: var(--ink); text-decoration: none; }
.cat-row__head h3 a:hover { color: var(--navy); }
.cat-row__head p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.cat-row__head .card__icon { margin-bottom: 14px; }
.cat-row .related { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.cat-row .related a { padding: 14px 16px; background: var(--light); border-color: transparent; }
.cat-row .related a:hover { background: #fff; border-color: var(--blue); }
@media (max-width: 860px) { .cat-row { grid-template-columns: 1fr; } }
.row > * { min-width: 0; }
.row .btn { white-space: normal; text-align: left; }
@media (max-width: 960px) { .row { grid-template-columns: 56px 1fr; gap: 10px 20px; } .row > div { grid-column: 2; } }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } .row > div { grid-column: auto; } }
.step__img, .split__media img, .hero__media, .ind { background-color: #dfe8f3; }

/* ───────── hero: photo background with navy overlay ───────── */
.hero { background: var(--night) var(--hero-bg) center / cover no-repeat; }
.hero::before { /* replaces the old grid pattern */
  background: linear-gradient(100deg, rgba(2, 15, 41, .95) 0%, rgba(2, 15, 41, .86) 40%, rgba(3, 28, 71, .55) 72%, rgba(4, 53, 129, .35) 100%);
  mask-image: none; -webkit-mask-image: none; z-index: -1;
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1; background: linear-gradient(transparent, rgba(2, 15, 41, .55)); pointer-events: none; }
.hero__glow { display: none; }
.grad-text { background: none; -webkit-background-clip: initial; background-clip: initial; color: #5cb8f5; }

/* ───────── service scroller ───────── */
.marquee { background: var(--navy); color: #fff; overflow: hidden; padding: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.marquee__row { overflow: hidden; padding: 22px 0; }
.marquee__row--alt { background: #fff; border-bottom: 1px solid var(--line); padding: 16px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__row--alt .marquee__track { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; flex: none; }
.marquee__set a, .marquee__set span { font: 800 clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem)/1 var(--f-display); letter-spacing: -.035em; white-space: nowrap; padding: 0 28px; }
.marquee__set a { color: #fff; text-decoration: none; transition: color .25s; }
.marquee__set a:hover { color: #9fd6ff; }
.marquee__row--alt .marquee__set span { font-size: clamp(1.05rem, .9rem + .7vw, 1.45rem); font-weight: 700; letter-spacing: -.02em; color: var(--navy); }
.marquee__sep { width: 34px; height: auto; flex: none; opacity: .9; }
.marquee__row--alt .marquee__sep { width: 26px; filter: brightness(0) saturate(100%) invert(14%) sepia(77%) saturate(3200%) hue-rotate(212deg); opacity: .35; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }
@media (max-width: 960px) { .hero::before { background: linear-gradient(180deg, rgba(2, 15, 41, .9), rgba(2, 15, 41, .82)); } }

/* wordmark logo */
.logo img { width: auto; height: 34px; border-radius: 0; }
.ftr .logo img { height: 28px; }
@media (max-width: 640px) { .hdr .logo img { height: 24px; } }
