/* =========================================================================
   Marketab Services — main stylesheet
   1. Tokens          6. Sections & layout
   2. Reset & base    7. Page components
   3. Typography      8. Forms
   4. Buttons         9. Footer
   5. Header & nav   10. Motion & responsive
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Tokens
   Change --brand-* here to re-skin the entire site.
   ------------------------------------------------------------------------- */
:root {
  /* Palette */
  --navy: #08111f;
  --navy-700: #0d1a2e;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-light: #38bdf8;
  --white: #ffffff;
  --surface: #f8fafc;
  --surface-2: #f1f5f9;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-soft: #eef2f7;

  /* On-dark */
  --on-dark: #f1f5f9;
  --on-dark-muted: #94a3b8;
  --on-dark-line: rgba(255, 255, 255, 0.1);
  --on-dark-surface: rgba(255, 255, 255, 0.04);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
    'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
  --fs-hero: clamp(2.5rem, 1.55rem + 3.7vw, 4.25rem);
  --fs-h1: clamp(2.1rem, 1.5rem + 2.5vw, 3.25rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.75vw, 2.625rem);
  --fs-h3: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* Space */
  --container: 1200px;
  --container-narrow: 880px;
  --gutter: clamp(1.25rem, 0.9rem + 1.4vw, 2rem);
  --section-y: clamp(4rem, 2.5rem + 6vw, 7rem);

  /* Shape */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 16px 32px -12px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.08), 0 32px 56px -20px rgba(15, 23, 42, 0.18);
  --shadow-brand: 0 6px 16px -4px rgba(37, 99, 235, 0.35);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 140ms var(--ease);
  --t-med: 240ms var(--ease);

  --header-h: 76px;
}

/* -------------------------------------------------------------------------
   2. Reset & base
   ------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

button,
input,
select,
textarea { font: inherit; color: inherit; }

ul, ol { list-style: none; padding: 0; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.section--dark :where(a, button):focus-visible,
.hero :where(a, button):focus-visible,
.page-hero :where(a, button):focus-visible,
.cta-band :where(a, button):focus-visible,
.site-footer :where(a, button):focus-visible,
.notfound :where(a, button):focus-visible {
  outline-color: var(--brand-light);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600;
  transition: transform var(--t-fast);
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

.icon { flex: none; }

/* Keeps a token such as a postal code from breaking across lines. */
.nb { white-space: nowrap; }

/* -------------------------------------------------------------------------
   3. Typography
   ------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.022em;
  /* Avoids single-word orphans on wrapped headings. */
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.35; letter-spacing: -0.012em; }

p { text-wrap: pretty; }

.prose {
  font-size: var(--fs-body);
  color: var(--ink-soft);
  margin-bottom: 1.15rem;
  max-width: 62ch;
}
.prose:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}
.eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.4rem + 1.6vw, 3.25rem); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head__title { font-size: var(--fs-h2); }
.section-head__lead {
  margin-top: 1.1rem;
  font-size: var(--fs-lead);
  color: var(--muted);
  line-height: 1.65;
}

.section-note {
  margin-top: clamp(2rem, 1.6rem + 1vw, 3rem);
  text-align: center;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.br-md { display: none; }

/* -------------------------------------------------------------------------
   4. Buttons
   ------------------------------------------------------------------------- */
.btn {
  --btn-h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--btn-h);
  padding: 0 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -0.005em;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--t-fast), border-color var(--t-fast),
    color var(--t-fast), box-shadow var(--t-med), transform var(--t-fast);
}
.btn__arrow { transition: transform var(--t-med); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--sm { --btn-h: 42px; padding: 0 1.1rem; font-size: 0.875rem; }
.btn--lg { --btn-h: 54px; padding: 0 1.7rem; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

.btn--primary {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -6px rgba(37, 99, 235, 0.45);
}
.btn--primary:active { transform: translateY(0); }

.btn--secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}
.btn--secondary:hover { border-color: #cbd5e1; background: var(--surface); color: var(--ink); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.btn--text {
  min-height: 0;
  padding: 0;
  color: var(--brand);
  background: none;
  font-weight: 600;
}
.btn--text:hover { color: var(--brand-dark); }

/* -------------------------------------------------------------------------
   5. Header & navigation
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med), box-shadow var(--t-med), background-color var(--t-med);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px rgba(15, 23, 42, 0.05);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo { width: clamp(148px, 16vw, 186px); height: auto; }

.nav { display: none; margin-right: auto; }
.nav__list { display: flex; align-items: center; gap: 0.25rem; }
.nav__item { position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  border: 0;
  background: none;
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color var(--t-fast), background-color var(--t-fast);
}
.nav__link:hover { color: var(--ink); background: var(--surface-2); }
.nav__link.is-active { color: var(--brand); font-weight: 600; }
.nav__chev { transition: transform var(--t-fast); opacity: 0.65; }
.nav__item--has-menu.is-open .nav__chev { transform: rotate(180deg); }

.nav__mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 340px;
  padding: 0.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med), transform var(--t-med), visibility var(--t-med);
}
.nav__mega[hidden] { display: block; }
.nav__item--has-menu.is-open .nav__mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__mega::before {
  content: '';
  position: absolute;
  inset: -12px 0 auto 0;
  height: 12px;
}

.nav__mega-link {
  display: flex;
  gap: 0.85rem;
  padding: 0.75rem;
  border-radius: var(--r-md);
  color: var(--ink);
  transition: background-color var(--t-fast);
}
.nav__mega-link:hover { background: var(--surface); color: var(--ink); }
.nav__mega-icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  flex: none;
  border-radius: var(--r-sm);
  background: linear-gradient(140deg, rgba(37, 99, 235, 0.12), rgba(56, 189, 248, 0.12));
  color: var(--brand);
}
.nav__mega-text { display: block; }
.nav__mega-title { display: block; font-weight: 600; font-size: 0.9375rem; }
.nav__mega-blurb {
  display: block;
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.5;
  margin-top: 2px;
}
.nav__mega-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.35rem;
  padding: 0.7rem 0.75rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
}
.nav__mega-all:hover { color: var(--brand-dark); }

.site-header__actions { display: flex; align-items: center; gap: 0.6rem; margin-left: auto; }
.site-header__cta { display: none; }

.nav-toggle {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: background-color var(--t-fast), border-color var(--t-fast);
}
.nav-toggle:hover { background: var(--surface); }
.nav-toggle__icon--close { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle__icon--open { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle__icon--close { display: block; }

.drawer {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  z-index: 99;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity var(--t-med), transform var(--t-med);
}
.drawer.is-open { opacity: 1; transform: translateY(0); }
.drawer__nav { padding: 1.25rem 0 2rem; }
.drawer__item { border-bottom: 1px solid var(--line-soft); }
.drawer__link {
  display: block;
  padding: 0.95rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
}
.drawer__link.is-active { color: var(--brand); }
.drawer__sublist { padding: 0 0 0.9rem 0.15rem; }
.drawer__sublink {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--muted);
}
.drawer__sublink:hover, .drawer__sublink.is-active { color: var(--brand); }
.drawer__cta { display: grid; gap: 0.6rem; margin-top: 1.5rem; }

.drawer-scrim {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 98;
  background: rgba(8, 17, 31, 0.35);
  opacity: 0;
  transition: opacity var(--t-med);
}
.drawer-scrim.is-open { opacity: 1; }

/* -------------------------------------------------------------------------
   6. Layout
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { position: relative; padding-block: var(--section-y); }
.section--light { background: var(--surface); }
.section--dark {
  background: var(--navy);
  color: var(--on-dark-muted);
  overflow: hidden;
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section-head__lead { color: var(--on-dark-muted); }
.section--dark .eyebrow { color: var(--brand-light); }
.section--dark .eyebrow__dot { box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.16); }

.section__glow {
  position: absolute;
  top: -30%;
  left: 50%;
  width: min(1000px, 120%);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(8, 17, 31, 0) 62%);
  pointer-events: none;
}

.grid { display: grid; gap: clamp(1rem, 0.7rem + 1vw, 1.5rem); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }

.split { display: grid; gap: clamp(2rem, 1.4rem + 2.5vw, 3.5rem); }

/* -------------------------------------------------------------------------
   7. Page components
   ------------------------------------------------------------------------- */

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--on-dark-muted);
  overflow: hidden;
  padding-block: clamp(3.5rem, 2rem + 7vw, 6.5rem) clamp(4rem, 2.5rem + 7vw, 7rem);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(37, 99, 235, 0.32), transparent 62%),
    radial-gradient(700px 480px at 8% 88%, rgba(56, 189, 248, 0.14), transparent 60%),
    linear-gradient(180deg, #0a1424 0%, var(--navy) 70%);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
}
.hero__inner { position: relative; display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4rem); align-items: center; }
.hero__content { max-width: 40rem; }
.hero .eyebrow { color: var(--brand-light); }
.hero .eyebrow__dot { box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.16); }

.hero__title {
  font-size: var(--fs-hero);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #fff;
  font-weight: 600;
}
.hero__title-accent {
  background: linear-gradient(100deg, #fff 10%, var(--brand-light) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  margin-top: 1.5rem;
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 34rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--on-dark-line);
}
.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  color: var(--on-dark-muted);
}
.hero__chip .icon { color: var(--brand-light); opacity: 0.9; }

/* Hero diagram ----------------------------------------------------------- */
.hero-visual { position: relative; display: none; }
.hero-visual__svg { width: 100%; height: auto; overflow: visible; }
.hv-card {
  fill: url(#hvCard);
  stroke: rgba(148, 163, 184, 0.22);
  stroke-width: 1;
}
.hv-badge { fill: rgba(37, 99, 235, 0.18); stroke: rgba(56, 189, 248, 0.25); stroke-width: 1; }
.hv-badge-icon { color: var(--brand-light); }
.hv-title { fill: #fff; font-family: var(--font); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.hv-sub { fill: #94a3b8; font-family: var(--font); font-size: 12.5px; }
.hv-link {
  stroke: url(#hvLine);
  stroke-width: 1.5;
  stroke-dasharray: 6 8;
  animation: hv-flow 2.6s linear infinite;
  animation-delay: calc(var(--d, 0) * -1.3s);
}
.hv-dot { fill: var(--brand-light); opacity: 0.8; }
.hv-node { animation: hv-float 7s ease-in-out infinite; animation-delay: calc(var(--i) * -2.3s); }

.hero-visual.is-paused .hv-node,
.hero-visual.is-paused .hv-link { animation-play-state: paused; }

@keyframes hv-flow { to { stroke-dashoffset: -28; } }
@keyframes hv-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Interior page hero ----------------------------------------------------- */
.page-hero {
  position: relative;
  background: var(--navy);
  color: var(--on-dark-muted);
  overflow: hidden;
  padding-block: clamp(2.5rem, 1.6rem + 4vw, 4.25rem) clamp(3rem, 2rem + 4.5vw, 5rem);
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 420px at 74% 6%, rgba(37, 99, 235, 0.3), transparent 60%),
    radial-gradient(600px 400px at 4% 96%, rgba(56, 189, 248, 0.12), transparent 60%),
    linear-gradient(180deg, #0a1424 0%, var(--navy) 80%);
}
.page-hero__inner { position: relative; max-width: 52rem; }
.page-hero .eyebrow { color: var(--brand-light); }
.page-hero .eyebrow__dot { box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.16); }
.page-hero__title { color: #fff; font-size: var(--fs-h1); letter-spacing: -0.03em; }
.page-hero__lead {
  margin-top: 1.25rem;
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 44rem;
}
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.breadcrumbs { margin-bottom: 1.5rem; }
.breadcrumbs__list { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; font-size: var(--fs-xs); }
.breadcrumbs__item { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--on-dark-muted); }
.breadcrumbs__item a { color: var(--on-dark-muted); }
.breadcrumbs__item a:hover { color: #fff; }
.breadcrumbs__sep { transform: rotate(-90deg); opacity: 0.45; }
.breadcrumbs__item [aria-current] { color: #fff; }

/* Cards ------------------------------------------------------------------ */
.card {
  position: relative;
  height: 100%;
  padding: clamp(1.5rem, 1.2rem + 0.9vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 1.25rem;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, rgba(37, 99, 235, 0.1), rgba(56, 189, 248, 0.12));
  color: var(--brand);
}
.card__title { margin-bottom: 0.6rem; }
.card__body { color: var(--muted); font-size: var(--fs-sm); }

.card--pillar { border-color: var(--line-soft); }
.card--pillar:hover,
.card--feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d7e0ec;
}

.card--dark {
  background: var(--on-dark-surface);
  border-color: var(--on-dark-line);
  box-shadow: none;
  backdrop-filter: blur(4px);
}
.card--dark .card__icon {
  background: rgba(56, 189, 248, 0.1);
  color: var(--brand-light);
  border: 1px solid rgba(56, 189, 248, 0.16);
}
.card--dark .card__body { color: var(--on-dark-muted); }
.card--dark:hover {
  border-color: rgba(56, 189, 248, 0.28);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
}

/* Division cards --------------------------------------------------------- *
 * The whole card is clickable via a stretched link on the heading: one link,
 * one accessible name, no nested anchors.                                   */
.division-card__wrap { display: block; }

.division-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
}
.division-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  opacity: 0;
  transition: opacity var(--t-med);
}
.division-card__link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.division-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #d3dded;
}
.division-card:hover::before { opacity: 1; }
.division-card:has(.division-card__link:focus-visible) {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.division-card__link:focus-visible { outline: none; }

.division-card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, rgba(37, 99, 235, 0.12), rgba(56, 189, 248, 0.14));
  color: var(--brand);
  margin-bottom: 1.25rem;
}
.division-card__eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.division-card__title { font-size: 1.3125rem; margin-bottom: 0.65rem; letter-spacing: -0.02em; }
.division-card__link { color: var(--ink); }
.division-card:hover .division-card__link { color: var(--brand); }
.division-card__summary { color: var(--muted); font-size: var(--fs-sm); }
.division-card__list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line-soft);
}
.division-card__list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.division-card__list .icon { color: var(--brand); margin-top: 5px; }
.division-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand);
}
.division-card:hover .division-card__cta .icon { transform: translateX(3px); }
.division-card__cta .icon { transition: transform var(--t-med); }

/* Value section ---------------------------------------------------------- */
.value { display: grid; gap: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); }
.value__body { color: var(--muted); margin-bottom: 1.5rem; max-width: 34rem; }
.value__cards { display: grid; gap: clamp(1rem, 0.8rem + 0.6vw, 1.25rem); }

/* Steps ------------------------------------------------------------------ */
.steps { display: grid; gap: clamp(1rem, 0.8rem + 0.8vw, 1.5rem); counter-reset: step; }
.step {
  position: relative;
  height: 100%;
  padding: clamp(1.5rem, 1.2rem + 0.8vw, 1.9rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step__marker { margin-bottom: 1.1rem; }
.step__number {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.9), rgba(56, 189, 248, 0.55));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step__title { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.5rem; }
.step__icon { color: var(--brand); }
.step__body { color: var(--muted); font-size: var(--fs-sm); }

/* Service details -------------------------------------------------------- */
.grid--details { gap: clamp(1rem, 0.8rem + 0.8vw, 1.35rem); }
.service-detail {
  height: 100%;
  padding: clamp(1.5rem, 1.2rem + 0.9vw, 1.9rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-h) + 24px);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.service-detail:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d7e0ec;
}
.service-detail__head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.9rem; }
.service-detail__icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex: none;
  border-radius: var(--r-sm);
  background: linear-gradient(140deg, rgba(37, 99, 235, 0.1), rgba(56, 189, 248, 0.12));
  color: var(--brand);
}
.service-detail__title { font-size: 1.125rem; }
.service-detail__lead { font-weight: 600; color: var(--ink); margin-bottom: 0.6rem; }
.service-detail__body { color: var(--muted); font-size: var(--fs-sm); }
.service-detail__outcome {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.service-detail__outcome-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(37, 99, 235, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

/* Split + outcome card --------------------------------------------------- */
.outcome-card {
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.outcome-card__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 1.1rem;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, rgba(37, 99, 235, 0.1), rgba(56, 189, 248, 0.12));
  color: var(--brand);
}
.outcome-card__title { font-size: 1.125rem; margin-bottom: 1rem; }
.outcome-card__list { display: grid; gap: 0.7rem; margin-bottom: 1.5rem; }
.outcome-card__list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.outcome-card__list .icon { color: var(--brand); margin-top: 5px; flex: none; }

.pillar-links { display: grid; gap: 0.5rem; }
.pillar-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  color: var(--ink);
  transition: background-color var(--t-fast), border-color var(--t-fast);
}
.pillar-link:hover { background: var(--surface); border-color: var(--line); color: var(--ink); }
.pillar-link__icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  flex: none;
  border-radius: var(--r-sm);
  background: linear-gradient(140deg, rgba(37, 99, 235, 0.1), rgba(56, 189, 248, 0.12));
  color: var(--brand);
}
.pillar-link__text { flex: 1; }
.pillar-link__title { display: block; font-weight: 600; font-size: 0.9375rem; }
.pillar-link__blurb { display: block; font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }
.pillar-link__arrow { color: var(--muted); transition: transform var(--t-med); }
.pillar-link:hover .pillar-link__arrow { transform: translateX(3px); color: var(--brand); }

/* Industries ------------------------------------------------------------- */
.industries { gap: clamp(0.75rem, 0.6rem + 0.6vw, 1.25rem); }
.industry {
  height: 100%;
  padding: clamp(1.25rem, 1rem + 0.7vw, 1.6rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.industry:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d7e0ec; }
.industry__icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 0.9rem;
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--brand);
}
.industry__name { font-size: 1rem; margin-bottom: 0.35rem; }
.industry__blurb { font-size: var(--fs-xs); color: var(--muted); line-height: 1.6; }

/* Catalogue -------------------------------------------------------------- */
.catalogue { display: grid; gap: clamp(1rem, 0.8rem + 0.8vw, 1.5rem); }
.catalogue__group {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1.2rem + 0.9vw, 1.9rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.catalogue__head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.25rem; }
.catalogue__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: linear-gradient(140deg, rgba(37, 99, 235, 0.1), rgba(56, 189, 248, 0.12));
  color: var(--brand);
}
.catalogue__title { font-size: 1.1875rem; }
.catalogue__title a { color: var(--ink); }
.catalogue__title a:hover { color: var(--brand); }
.catalogue__list { display: grid; gap: 0.15rem; }
.catalogue__item a {
  display: block;
  padding: 0.65rem 0.7rem;
  margin-inline: -0.7rem;
  border-radius: var(--r-sm);
  color: var(--ink);
  transition: background-color var(--t-fast);
}
.catalogue__item a:hover { background: var(--surface); }
.catalogue__item-name { display: block; font-weight: 600; font-size: 0.9375rem; }
.catalogue__item-short { display: block; font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }
.catalogue__more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1.35rem;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.catalogue__more:hover .icon { transform: translateX(3px); }
.catalogue__more .icon { transition: transform var(--t-med); }

/* Engagement list -------------------------------------------------------- */
.engage-list { display: grid; gap: 0.75rem; }
.engage-list__item {
  display: flex;
  gap: 1rem;
  padding: clamp(1.15rem, 1rem + 0.5vw, 1.5rem);
  background: var(--on-dark-surface);
  border: 1px solid var(--on-dark-line);
  border-radius: var(--r-md);
  transition: border-color var(--t-med), background-color var(--t-med);
}
.engage-list__item:hover {
  border-color: rgba(56, 189, 248, 0.26);
  background: rgba(255, 255, 255, 0.06);
}
.engage-list__icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex: none;
  border-radius: var(--r-sm);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.16);
  color: var(--brand-light);
}
.engage-list__item h3 { font-size: 1.0625rem; margin-bottom: 0.3rem; }
.engage-list__item p { font-size: var(--fs-sm); color: var(--on-dark-muted); }

/* Fit columns ------------------------------------------------------------ */
.fit { display: grid; gap: 1rem; }
.fit__col {
  padding: clamp(1.5rem, 1.2rem + 0.9vw, 2rem);
  background: var(--on-dark-surface);
  border: 1px solid var(--on-dark-line);
  border-radius: var(--r-lg);
}
.fit__title { display: flex; align-items: center; gap: 0.65rem; font-size: 1.0625rem; margin-bottom: 1.1rem; }
.fit__badge {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
}
.fit__badge--yes { background: rgba(37, 99, 235, 0.18); color: var(--brand-light); }
.fit__badge--no { background: rgba(148, 163, 184, 0.14); color: #94a3b8; }
.fit__list { display: grid; gap: 0.7rem; }
.fit__list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: var(--fs-sm);
  color: #cbd5e1;
}
.fit__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand-light);
}
.fit__list--muted li { color: var(--on-dark-muted); }
.fit__list--muted li::before { background: #64748b; }

/* CTA band --------------------------------------------------------------- */
.cta-band { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.cta-band__inner {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 1.8rem + 4vw, 4.5rem) clamp(1.5rem, 1rem + 3vw, 4rem);
  text-align: center;
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(37, 99, 235, 0.4), transparent 65%),
    linear-gradient(160deg, #0c1729 0%, var(--navy) 65%);
  border: 1px solid rgba(56, 189, 248, 0.14);
  border-radius: var(--r-xl);
}
.cta-band__glow {
  position: absolute;
  inset: auto -10% -60% -10%;
  height: 260px;
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.22), transparent);
  pointer-events: none;
}
.cta-band__title {
  position: relative;
  color: #fff;
  font-size: var(--fs-h2);
  max-width: 22ch;
  margin-inline: auto;
}
.cta-band__body {
  position: relative;
  margin: 1.15rem auto 0;
  max-width: 44rem;
  color: #cbd5e1;
  font-size: var(--fs-lead);
}
.cta-band__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

/* 404 -------------------------------------------------------------------- */
.notfound {
  position: relative;
  background: var(--navy);
  color: var(--on-dark-muted);
  overflow: hidden;
  padding-block: clamp(3.5rem, 2.5rem + 5vw, 6rem);
}
.notfound__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(37, 99, 235, 0.28), transparent 62%),
    linear-gradient(180deg, #0a1424, var(--navy));
}
.notfound__inner { position: relative; text-align: center; }
.notfound__code {
  font-size: clamp(4rem, 3rem + 6vw, 7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(160deg, rgba(56, 189, 248, 0.85), rgba(37, 99, 235, 0.35));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.notfound__title { color: #fff; margin-top: 0.75rem; }
.notfound__lead { margin: 1rem auto 0; max-width: 34rem; color: #cbd5e1; }
.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2rem; }
.notfound__links { display: grid; gap: 0.6rem; margin-top: 3rem; text-align: left; }
.notfound__link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  background: var(--on-dark-surface);
  border: 1px solid var(--on-dark-line);
  border-radius: var(--r-md);
  color: #fff;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.notfound__link:hover { color: #fff; border-color: rgba(56, 189, 248, 0.3); background: rgba(255, 255, 255, 0.06); }
.notfound__link-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: var(--r-sm);
  background: rgba(56, 189, 248, 0.1);
  color: var(--brand-light);
}
.notfound__link > span:nth-child(2) { flex: 1; }
.notfound__link-title { display: block; font-weight: 600; font-size: 0.9375rem; }
.notfound__link-blurb { display: block; font-size: var(--fs-xs); color: var(--on-dark-muted); line-height: 1.5; }

.thanks__badge {
  display: grid;
  place-items: center;
  width: 68px; height: 68px;
  margin: 0 auto 1.75rem;
  border-radius: 50%;
  color: var(--brand-light);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* -------------------------------------------------------------------------
   8. Forms
   ------------------------------------------------------------------------- */
.contact { display: grid; gap: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); align-items: start; }

.form-card {
  padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.form-card .section-head { margin-bottom: 2rem; }
.form-card .section-head__title { font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem); }
.form-card .section-head__lead { font-size: var(--fs-sm); margin-top: 0.6rem; }

.form__grid { display: grid; gap: 1.15rem; }

.field { display: flex; flex-direction: column; }
.field__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
}
.field__label-text { display: inline-flex; align-items: baseline; gap: 0.15rem; }
.field__req { color: var(--brand); }
.field__optional { font-size: var(--fs-xs); font-weight: 400; color: var(--muted); }

.field__input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.95rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 0.9375rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}
.field__input::placeholder { color: var(--muted); opacity: 1; }
.field__input:hover { border-color: #cbd5e1; }
.field__input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}
.field__textarea { min-height: 132px; resize: vertical; line-height: 1.6; }

.field__select { position: relative; }
.field__select select { appearance: none; padding-right: 2.75rem; cursor: pointer; }
.field__select-chev {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted);
}

.field__hint { margin-top: 0.4rem; font-size: var(--fs-xs); color: var(--muted); }
.field__error {
  margin-top: 0.4rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: #b91c1c;
}
.field.has-error .field__input { border-color: #dc2626; }
.field.has-error .field__input:focus { box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14); }

.form__trap {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form__footer { margin-top: 1.75rem; }
.form__note { margin-top: 0.9rem; font-size: var(--fs-xs); color: var(--muted); text-align: center; }

.btn__spinner { display: none; }
.btn.is-loading { pointer-events: none; opacity: 0.85; }
.btn.is-loading .btn__spinner {
  display: block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form__status {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  border: 1px solid transparent;
}
.form__status--success {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.22);
  color: var(--ink);
}
.form__status--error {
  background: rgba(220, 38, 38, 0.05);
  border-color: rgba(220, 38, 38, 0.22);
  color: #991b1b;
}
.form__status a { font-weight: 600; }

.contact__aside-title { font-size: 1.25rem; margin-bottom: 1.35rem; }
.next-steps { display: grid; gap: 1.15rem; margin-bottom: 2rem; }
.next-step { display: flex; gap: 0.9rem; }
.next-step__icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--brand);
}
.next-step__title { font-size: 1rem; margin-bottom: 0.25rem; }
.next-step__body { font-size: var(--fs-sm); color: var(--muted); }

.contact-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.contact-card__title { font-size: 1rem; margin-bottom: 0.9rem; }
.contact-card__list { display: grid; gap: 0.7rem; }
.contact-card__list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: var(--fs-sm);
}
.contact-card__list .icon { color: var(--brand); flex: none; }
.contact-card__placeholder { font-size: var(--fs-sm); color: var(--muted); }
.contact-card__list li:has(.contact-card__address) { align-items: flex-start; }
.contact-card__list .contact-card__address .icon,
.contact-card__address { font-style: normal; }
.contact-card__address { display: grid; gap: 1px; line-height: 1.55; }
.contact-card__legal {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.6;
}

/* -------------------------------------------------------------------------
   9. Footer & mobile CTA
   ------------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: var(--on-dark-muted); }
.site-footer__inner {
  display: grid;
  gap: clamp(2.25rem, 1.6rem + 2.5vw, 4rem);
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem);
}
.site-footer__logo {
  width: 176px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.site-footer__tagline {
  margin-top: 1rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #e2e8f0;
}
.site-footer__blurb {
  margin-top: 0.65rem;
  font-size: var(--fs-sm);
  color: var(--on-dark-muted);
  max-width: 34ch;
}
.footer__social { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.footer__social-link {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--on-dark-line);
  color: var(--on-dark-muted);
  transition: color var(--t-fast), border-color var(--t-fast), background-color var(--t-fast);
}
.footer__social-link:hover {
  color: #fff;
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(255, 255, 255, 0.05);
}
.footer__social-placeholder { margin-top: 1.5rem; }
.footer__placeholder { color: #7d8ba1; font-size: var(--fs-sm); }

.site-footer__nav { display: grid; gap: 2rem; }
.site-footer__col-title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
}
.site-footer__links { display: grid; gap: 0.7rem; }
.site-footer__links a,
.footer__contact a {
  font-size: var(--fs-sm);
  color: var(--on-dark-muted);
  transition: color var(--t-fast);
}
.site-footer__links a:hover,
.footer__contact a:hover { color: #fff; }

.footer__contact { display: grid; gap: 1rem; }
.footer__contact-row { display: flex; gap: 0.75rem; }
.footer__contact-icon { color: var(--brand-light); opacity: 0.85; margin-top: 2px; }
.footer__contact-label {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7d8ba1;
  margin-bottom: 2px;
}
.footer__contact-text span:not(.footer__contact-label) { font-size: var(--fs-sm); }

.footer__address {
  display: grid;
  gap: 1px;
  font-style: normal;
  font-size: var(--fs-sm);
  line-height: 1.55;
}

.site-footer__bar { border-top: 1px solid var(--on-dark-line); }
.site-footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.5rem;
  font-size: var(--fs-xs);
  color: #7d8ba1;
}

.site-footer__reg { margin-inline: auto; }
.site-footer__reg span { color: #94a3b8; }

.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform var(--t-med);
}
.mobile-cta.is-visible { transform: translateY(0); }

/* The contact page is already the conversion step: no floating bar over the form. */
.page-contact .mobile-cta { display: none; }

/* Keep the sticky bar from covering the last line of the footer. */
@media (max-width: 767.98px) {
  body:not(.page-contact) .site-footer__bar-inner { padding-bottom: 5.5rem; }
}

/* -------------------------------------------------------------------------
   10. Motion & responsive
   ------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 560px) {
  .form__grid { grid-template-columns: repeat(2, 1fr); }
  .field { grid-column: 1 / -1; }
  .field--half { grid-column: span 1; }
  .notfound__links { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 640px) {
  .value__cards { grid-template-columns: repeat(3, 1fr); }
  .fit { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  :root { --header-h: 80px; }
  .br-md { display: inline; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .catalogue { grid-template-columns: repeat(2, 1fr); }
  .site-footer__nav { grid-template-columns: repeat(3, 1fr); }
  .mobile-cta { display: none; }
  .site-header__cta { display: inline-flex; }
}

@media (min-width: 960px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
  .drawer, .drawer-scrim { display: none !important; }

  .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .hero-visual { display: block; }

  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .catalogue { grid-template-columns: repeat(3, 1fr); }

  .value { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; }
  .value__cards { grid-template-columns: 1fr; }
  .value__cards .card { display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem; align-items: start; }
  .value__cards .card__icon { margin-bottom: 0; grid-row: span 2; }

  .split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
  .split--wide { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); }
  .split__aside { position: sticky; top: calc(var(--header-h) + 24px); }

  .contact { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); }
  .contact__aside { position: sticky; top: calc(var(--header-h) + 24px); }

  .site-footer__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  /* The contact column carries a postal address; the link columns do not need
     the width, so give it to the address instead. */
  .site-footer__nav {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.4fr);
    gap: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hv-node, .hv-link { animation: none !important; }
}
