/* =====================================================================
   TagVolt — Global stylesheet
   Visual system carried over from tagvolt.com:
   - Fonts:  Sora (display / h1-h2), Inter (UI + body)
   - Colour: orange #FF6B00 primary, blue #0A84FF accent, slate #0F172A ink
   - Shapes: 10px CTA radius / 50px pills, 16px cards, 110px section rhythm
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --orange:       #FF6B00;
  --orange-600:   #E85F00;
  --orange-050:   #FFF3EA;
  --blue:         #0A84FF;
  --blue-600:     #0069D6;
  --blue-050:     #EAF4FF;

  --ink:          #0F172A;   /* headings, dark sections            */
  --ink-700:      #1E293B;
  --body:         #475569;   /* paragraph text                    */
  --muted:        #64748B;   /* kickers, meta                     */
  --line:         #E2E8F0;   /* hairline borders                  */

  --bg:           #FFFFFF;
  --bg-alt:       #F8FAFC;   /* zebra sections                    */
  --on-dark:      #E2E8F0;   /* body text on --ink background     */
  --on-dark-mut:  #94A3B8;

  --container:    1200px;
  --radius-cta:   10px;
  --radius-card:  16px;
  --radius-pill:  50px;

  --shadow-sm:    0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.10);
  --shadow-md:    0 10px 30px -12px rgba(15,23,42,.18);
  --shadow-lg:    0 24px 60px -20px rgba(15,23,42,.28);

  --section-y:    110px;
  --ease:         cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,svg,video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul { list-style: none; padding: 0; }
input,textarea,select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5 {
  font-family: "Sora", "Inter", sans-serif;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: capitalize;
  font-weight: 800;
}
h1 { font-size: clamp(2.25rem, 1.6rem + 3.2vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 1.3rem + 2.4vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); font-family: "Inter", sans-serif; font-weight: 700; text-transform: none; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-family: "Inter", sans-serif; font-weight: 700; text-transform: none; }
p { font-size: 1rem; }
strong { color: var(--ink-700); font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1rem + .5vw, 1.25rem); color: var(--body); }
/* French headings: Title Case looks wrong in French — keep sentence case */
html[lang="fr"] h1, html[lang="fr"] h2 { text-transform: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: 72px; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); }
.section--dark, .section--dark p { color: var(--on-dark); }
.section--dark h1,.section--dark h2,.section--dark h3,.section--dark h4 { color: #fff; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.stack > * + * { margin-top: 1rem; }
.grid { display: grid; gap: 24px; }
@media (min-width: 640px){ .grid.cols-2 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 900px){
  .grid.cols-3 { grid-template-columns: repeat(3,1fr); }
  .grid.cols-4 { grid-template-columns: repeat(4,1fr); }
}
.text-blue   { color: var(--blue); }
.text-orange { color: var(--orange); }

/* ---------- Section heading pattern (kicker + number) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Inter", sans-serif;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow .num { color: var(--blue); font-weight: 700; letter-spacing: .05em; }
.section--dark .eyebrow { color: var(--on-dark-mut); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; }
.section-head p { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: .95rem;
  padding: 15px 26px; border-radius: var(--radius-cta);
  transition: transform .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
  white-space: nowrap; border: 1px solid transparent;
}
.btn svg { width: 1em; height: 1em; }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-600); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--bg-alt); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--lg { padding: 19px 32px; font-size: 1rem; border-radius: var(--radius-cta); }
.btn--pill { border-radius: var(--radius-pill); padding: 13px 24px; font-size: .875rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand__mark { width: 34px; height: 34px; flex: none; object-fit: contain; }
.site-header .brand img { height: 40px; width: auto; display: block; }
@media (max-width: 420px){ .site-header .brand img { height: 34px; } }
.nav__links { display: none; gap: 30px; margin-left: auto; }
.nav__links a { color: var(--ink); font-family: "Inter", sans-serif; font-weight: 500; font-size: .95rem; position: relative; padding-block: 6px; }
.nav__links a:hover { color: var(--blue); }
.nav__links a.is-active { color: var(--blue); }
.nav__links a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); border-radius: 2px; }
.nav__end { display: none; align-items: center; gap: 14px; }
.lang-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-pill); overflow: hidden; font-size: .8rem; font-weight: 600; }
.lang-toggle button { padding: 7px 12px; color: var(--muted); }
.lang-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.nav__toggle { margin-left: auto; display: inline-flex; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav.is-open .nav__toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2){ opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line); background: #fff;
  padding: 18px 24px 28px;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.mobile-menu a.btn { display: flex; justify-content: center; width: 100%; margin-top: 18px; padding: 15px 24px; border-bottom: 0; color: #fff; font-weight: 600; }
.mobile-menu .lang-toggle { margin-top: 16px; }

@media (min-width: 980px){
  .nav__links { display: flex; }
  .nav__end { display: flex; }
  .nav__toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 3vw + 36px, 92px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(38% 48% at 12% 20%, var(--orange-050) 0%, transparent 72%),
    radial-gradient(34% 40% at 4% 82%, rgba(10,132,255,.06) 0%, transparent 70%);
}

/* services.html — photographic backdrop behind the Engine hero.
   White scrim fades left→right so the dark copy stays legible over the art. */
.hero--engine::before {
  background:
    linear-gradient(100deg,
      rgba(255,255,255,.94) 0%,
      rgba(255,255,255,.80) 32%,
      rgba(255,255,255,.35) 58%,
      rgba(255,255,255,.05) 100%),
    url("../img/bg-hero-engine.webp") no-repeat center right / cover;
}
@media (max-width: 767px){
  .hero--engine::before {
    background:
      linear-gradient(180deg,
        rgba(255,255,255,.82) 0%,
        rgba(255,255,255,.70) 42%,
        rgba(255,255,255,.55) 100%),
      url("../img/bg-hero-engine.webp") no-repeat 72% center / cover;
  }
}
@media (min-width: 980px){ .hero > .container { max-width: 1280px; } }
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px){
  .hero__grid { grid-template-columns: minmax(0, 540px) minmax(0, 1fr); gap: 48px; }
}
@media (min-width: 1200px){
  .hero__grid { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 56px; }
}

/* left column — subtle frosted panel behind the copy */
.hero__copy {
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(226,232,240,.7);
  border-radius: 22px;
  padding: clamp(20px, 2vw, 32px);
  backdrop-filter: blur(3px);
  box-shadow: 0 24px 60px -34px rgba(15,23,42,.18);
}
.kicker {
  font-family: "Inter", sans-serif;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 24px;
}
.kicker::after {
  content: ""; display: block; width: 46px; height: 4px;
  background: var(--orange); border-radius: 2px; margin-top: 14px;
}
.hero h1 { font-size: clamp(2.1rem, 1.35rem + 2.6vw, 3.35rem); margin-bottom: 20px; line-height: 1.08; letter-spacing: -0.02em; }
.hero .lead { max-width: 44ch; color: var(--body); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__cta .btn { padding: 16px 22px; font-size: .92rem; }
.hero__cta .btn--ghost { border-color: #cbd5e1; color: var(--ink); }
.hero__cta .btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero__points {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  margin-top: 22px; font-size: .85rem; color: var(--muted);
}
.hero__points li { display: inline-flex; align-items: center; }
.hero__points li::before {
  content: "✓"; color: var(--blue); font-weight: 800; margin-right: 7px;
}

/* right column — the Engine diagram */
.hero__media { max-width: 660px; margin-inline: auto; }
.hero__media img { width: 100%; height: auto; display: block; }
@media (min-width: 768px) and (max-width: 979px){
  .hero__media { max-width: 460px; }
}
/* phones: keep the diagram pinned up top as a faint backdrop instead of pushing it below the copy */
@media (max-width: 767px){
  .hero { overflow: hidden; }
  .hero__grid { display: block; }
  .hero__media {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    width: min(118%, 500px); max-width: none; margin: 0;
    opacity: .25; z-index: 0; pointer-events: none;
  }
  .hero__copy { position: relative; z-index: 1; background: rgba(255,255,255,.74); }
}

/* legacy panel (still used by the contact form) */
.hero__panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg); padding: 26px;
}
.hero__panel h3 { margin-bottom: 6px; }

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust__row { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: center; padding-block: 26px; }
.trust__item { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.trust__item svg { width: 18px; height: 18px; color: var(--orange); flex: none; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover, .card:focus-within { transform: scale(1.03); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-050); color: var(--blue); margin-bottom: 18px;
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.15rem;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .95rem; }
.card .num {
  font-family: "Sora", sans-serif; font-weight: 800; font-size: .95rem;
  color: var(--muted); letter-spacing: .05em; margin-bottom: 14px; display: block;
}
.section--dark .card { background: #16233b; border-color: #24344f; }
.section--dark .card h3 { color: #fff; }
.section--dark .card p { color: var(--on-dark-mut); }
.section--dark .card__icon { background: rgba(10,132,255,.16); }

/* ---------- Problem section ---------- */
.problem__head { max-width: 800px; margin-bottom: 60px; }
.problem__head h2 { line-height: 1.12; font-size: clamp(1.9rem, 1.25rem + 2.1vw, 2.9rem); }
.problem__head p { margin-top: 18px; color: var(--body); font-size: 1.05rem; }

.problem__cards { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }

.pcard {
  flex: 1 1 220px; position: relative;
  background: #fff; border-radius: 20px; padding: 26px 24px 30px;
  box-shadow: 0 12px 34px -18px rgba(15,23,42,.16);
  display: flex; flex-direction: column;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.pcard__num { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1rem; color: var(--blue); letter-spacing: .02em; }
.pcard__icon {
  width: 60px; height: 60px; border-radius: 50%; margin-top: 20px;
  display: grid; place-items: center;
  background: var(--blue-050); color: var(--blue);
  transition: transform .28s var(--ease), background-color .28s var(--ease);
}
.pcard__icon svg { width: 30px; height: 30px; stroke-width: 1.9; }
.pcard__rule { width: 26px; height: 3px; border-radius: 2px; background: var(--line); margin-top: 20px; transition: width .28s var(--ease), background-color .28s var(--ease); }
.pcard__t { margin-top: 16px; font-family: "Inter", sans-serif; font-weight: 700; color: var(--ink); font-size: 1.02rem; line-height: 1.4; }

.pcard--alert { background: #fff6ef; box-shadow: 0 12px 34px -18px rgba(255,107,0,.28); border-bottom: 4px solid var(--orange); }
.pcard--alert .pcard__num { color: var(--orange); }
.pcard--alert .pcard__icon { background: #ffe6d2; color: var(--orange); }

/* hover reactions */
.pcard:hover { transform: translateY(-8px); box-shadow: 0 28px 52px -22px rgba(15,23,42,.26); }
.pcard:hover .pcard__icon { transform: scale(1.09); }
.pcard:hover .pcard__rule { width: 44px; background: var(--blue); }
.pcard--alert:hover { box-shadow: 0 28px 52px -20px rgba(255,107,0,.34); }
.pcard--alert:hover .pcard__rule { width: 44px; background: var(--orange); }

/* connector between cards (desktop only) */
.pconn { display: none; }
@media (min-width: 1040px){
  .problem__cards { flex-wrap: nowrap; gap: 6px; }
  .pcard { flex: 1 1 0; }
  .pconn {
    display: block; position: relative; flex: 0 0 56px; align-self: stretch;
  }
  .pconn::before {
    content: ""; position: absolute; top: 102px; left: -6px; right: -6px;
    border-top: 2px dotted #a9c0e0;
  }
  .pconn__badge {
    position: absolute; top: 102px; left: 50%; transform: translate(-50%, -50%);
    width: 34px; height: 34px; border-radius: 50%;
    background: #fff; border: 1px solid #cfe0f5; color: var(--blue);
    display: grid; place-items: center;
    box-shadow: 0 3px 8px rgba(15,23,42,.10);
  }
  .pconn__badge svg { width: 15px; height: 15px; }
}

/* closing note panel */
.problem__note {
  position: relative; margin-top: 60px;
  border: 1px solid #d7e2f0; border-radius: 22px;
  padding: 52px 24px 40px; text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,0) 46%);
}
.problem__note::before, .problem__note::after {
  content: ""; position: absolute; top: -1px; width: 84px; border-top: 2px dotted #c3d4ea;
}
.problem__note::before { right: calc(50% + 32px); }
.problem__note::after  { left:  calc(50% + 32px); }
.problem__badge {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid #cfe0f5; color: var(--blue);
  display: grid; place-items: center;
  box-shadow: 0 5px 14px rgba(10,132,255,.20);
}
.problem__badge svg { width: 18px; height: 18px; }
.problem__note p {
  font-family: "Sora", sans-serif; font-weight: 700; color: var(--ink);
  font-size: clamp(1.12rem, 1rem + .8vw, 1.5rem); line-height: 1.42;
}
.problem__note-strong { display: inline-block; }

/* ---------- Meet TagVolt (hub & spoke) ---------- */
.meet { position: relative; overflow: hidden; }
.meet__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1080px){
  .meet__grid { grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: 40px; }
}
.meet .eyebrow { color: var(--blue); }
.meet__copy { position: relative; }
.meet__copy h2 { line-height: 1.1; font-size: clamp(1.8rem, 1rem + 2vw, 2.4rem); }
.rule-bar {
  display: block; width: 96px; height: 5px; border-radius: 3px; margin: 20px 0 26px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange) 42%, rgba(255,107,0,.16) 100%);
}
.meet__copy .btn svg { width: 1em; height: 1em; }
.dotgrid {
  position: absolute; left: 0; bottom: -40px;
  width: 210px; height: 150px;
  background-image: radial-gradient(currentColor 1.15px, transparent 1.7px);
  background-size: 15px 15px; color: #9fb9dd; opacity: .62;
  -webkit-mask-image: linear-gradient(56deg, #000, transparent 70%);
  mask-image: linear-gradient(56deg, #000, transparent 70%);
  pointer-events: none;
}

.hub { position: relative; min-height: 470px; }
.hub__glow {
  position: absolute; inset: -8% -6%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 42% at 40% 48%, rgba(10,132,255,.16), transparent 72%),
    radial-gradient(26% 30% at 37% 66%, rgba(255,107,0,.10), transparent 72%);
  filter: blur(10px);
}
.hub__links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

.hub__diagram {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 50%; aspect-ratio: 1; z-index: 2;
}
.hub__diagram > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 42%; aspect-ratio: 1; border-radius: 50%;
  background: #fff; display: grid; place-items: center;
  box-shadow: 0 24px 50px -14px rgba(15,23,42,.22), 0 0 0 1px #eef2f8;
}
.hub__core img { width: 62%; height: auto; }
.sat {
  position: absolute; width: 20%; aspect-ratio: 1; border-radius: 50%;
  background: #fff; display: grid; place-items: center; color: var(--blue);
  box-shadow: 0 14px 30px -12px rgba(15,23,42,.20), 0 0 0 1px #eef2f8;
}
.sat svg { width: 48%; height: auto; }
.sat--top    { left: 50%; top: -6%;    transform: translateX(-50%); }
.sat--bottom { left: 50%; bottom: -6%; transform: translateX(-50%); }
.sat--left   { left: -6%; top: 50%;    transform: translateY(-50%); }
.sat--right  { right: -6%; top: 50%;   transform: translateY(-50%); }

.hub__cards {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 40%; display: flex; flex-direction: column; gap: 22px; z-index: 3;
}
.bcard {
  position: relative; display: flex; align-items: center; gap: 13px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(4px);
  border-radius: 16px; padding: 15px 16px;
  box-shadow: 0 16px 36px -18px rgba(15,23,42,.20), 0 0 0 1px rgba(226,232,240,.7);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.bcard:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -18px rgba(15,23,42,.28), 0 0 0 1px rgba(226,232,240,.95); }
.bcard__check {
  position: absolute; top: -9px; left: -9px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange); color: #fff; display: grid; place-items: center;
  box-shadow: 0 3px 8px rgba(255,107,0,.45);
}
.bcard__check svg { width: 13px; height: 13px; }
.bcard__icon {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-050); color: var(--blue); display: grid; place-items: center;
}
.bcard__icon svg { width: 22px; height: 22px; }
.bcard p { margin: 0; font-size: .88rem; line-height: 1.42; color: var(--ink-700); }

@media (max-width: 1080px){
  .dotgrid { display: none; }
  .hub { min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 44px; }
  .hub__glow { inset: -4% -10%; }
  .hub__links { display: none; }
  .hub__diagram {
    position: relative; left: auto; top: auto; transform: none;
    width: min(78%, 360px); margin-block: 8px;
  }
  .hub__cards {
    position: static; transform: none; width: 100%;
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px;
  }
}
@media (max-width: 560px){
  .hub__cards { grid-template-columns: 1fr; }
}

/* ---------- Engine (5 stages) ---------- */
.engine-sec { position: relative; overflow: hidden; }
.engine-sec .eyebrow { color: var(--blue); }
.engine-sec__glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(50% 40% at 50% 12%, rgba(10,132,255,.14), transparent 70%),
    radial-gradient(40% 35% at 50% 62%, rgba(59,130,246,.08), transparent 72%);
}
.engine-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; z-index: 0; pointer-events: none; }
.engine-dot--blue { background: #3b82f6; top: 17%; right: 12%; box-shadow: 0 0 10px 2px rgba(59,130,246,.6); }
.engine-dot--orange { background: var(--orange); bottom: 20%; left: 9%; box-shadow: 0 0 10px 2px rgba(255,107,0,.55); }
@media (max-width: 700px){ .engine-dot { display: none; } }

.pill-arc { display: flex; gap: 6px; justify-content: center; margin-top: 24px; }
.pill-arc__seg { width: 34px; height: 5px; border-radius: 3px; }
.pill-arc__seg--blue { background: var(--blue); }
.pill-arc__seg--orange { background: var(--orange); }

.engine-orbit {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: min(90vw, 900px); aspect-ratio: 1; z-index: 0; pointer-events: none;
}
.engine-orbit svg { width: 100%; height: 100%; }

.engine { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; list-style: none; padding: 0; }
.stage {
  position: relative; flex: 1 1 200px; max-width: 232px;
  border: 1px solid var(--line); border-radius: 16px; padding: 24px 20px 22px; background: #fff;
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.45);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.stage:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -20px rgba(0,0,0,.55); }
.stage__num {
  position: absolute; top: 20px; right: 20px;
  font-family: "Sora", sans-serif; font-weight: 800; color: var(--blue); font-size: 1.15rem;
}
.stage__icon {
  position: relative; width: 54px; height: 54px; border-radius: 50%;
  background: var(--blue-050); color: var(--blue); display: grid; place-items: center;
}
.stage__icon svg:first-child { width: 26px; height: 26px; }
.stage__spark { position: absolute; top: -9px; right: -10px; width: 20px; height: 20px; }
.stage h3 { margin: 16px 0 6px; font-size: 1.12rem; }
.stage p { font-size: .85rem; min-height: 2.6em; }
.stage__rule { display: block; width: 100%; height: 1px; background: var(--line); margin: 14px 0 12px; }
.stage ul { display: grid; gap: 7px; }
.stage li { position: relative; padding-left: 16px; font-size: .8rem; color: var(--muted); }
.stage li::before { content: ""; position: absolute; left: 0; top: .5em; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }

.stage--active {
  border-color: var(--blue); transform: translateY(-8px);
  box-shadow: 0 0 0 5px rgba(10,132,255,.14), 0 30px 56px -18px rgba(10,132,255,.45);
}
.stage--active:hover { transform: translateY(-12px); }

.stage-conn { display: none; }
@media (min-width: 1150px){
  .engine-sec > .container { max-width: 1280px; }
  .engine { flex-wrap: nowrap; gap: 10px; }
  .stage { flex: 1 1 0; max-width: none; padding-inline: 18px; }
  .stage-conn { display: flex; flex: 0 0 34px; align-items: flex-start; justify-content: center; padding-top: 48px; }
  .stage-conn span {
    width: 32px; height: 32px; border-radius: 50%; background: var(--blue);
    display: grid; place-items: center; box-shadow: 0 6px 16px -4px rgba(10,132,255,.6);
  }
  .stage-conn svg { width: 14px; height: 14px; }
}

/* mobile: horizontal snap carousel, cards fill more of the screen */
@media (max-width: 700px){
  .engine {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 22px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
    margin-inline: -24px;
    padding: 6px 22px 10px;
  }
  .engine::-webkit-scrollbar { display: none; }
  .stage { flex: 0 0 82vw; max-width: 360px; scroll-snap-align: start; }
  .stage--active, .stage--active:hover { transform: none; }
}
@media (max-width: 380px){ .stage { flex-basis: 86vw; } }

/* keep stage cards light even inside a dark section */
.section--dark .stage h3 { color: var(--ink); }
.section--dark .stage p { color: var(--body); }
.section--dark .stage li { color: var(--muted); }

/* ---------- Split feature ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px){ .split { grid-template-columns: 1fr 1fr; gap: 60px; } .split--rev > :first-child { order: 2; } }
.split h2 { margin-bottom: 14px; }
.split p + p { margin-top: 1rem; }
.split .eyebrow + h2 { margin-top: 0; }
.split .checklist { margin-top: 18px; }
.checklist li { display: flex; gap: 12px; padding: 9px 0; font-size: .96rem; color: var(--ink-700); }
.checklist svg { width: 20px; height: 20px; color: var(--orange); flex: none; margin-top: 3px; }

/* ---------- Stat band ---------- */
.stats { display: grid; gap: 24px; text-align: center; }
@media (min-width: 640px){ .stats { grid-template-columns: repeat(3,1fr); } }
.stat .big { font-family: "Sora", sans-serif; font-weight: 800; font-size: clamp(2.2rem,1.6rem+2vw,3rem); color: var(--ink); line-height: 1; }
.section--dark .stat .big { color: #fff; }
.stat p { margin-top: 8px; font-size: .9rem; color: var(--muted); }
.section--dark .stat p { color: var(--on-dark-mut); }

/* ---------- Portfolio ---------- */
.case {
  display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden;
  background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case__media { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--blue-050), var(--orange-050)); display: grid; place-items: center; }
.case__media span { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--ink); opacity: .5; }
.case__body { padding: 26px; }
.case__tag { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.case__body h3 { margin: 8px 0 14px; }
.case dl { display: grid; gap: 10px; }
.case dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); font-weight: 700; }
.case dd { font-size: .92rem; margin-bottom: 6px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-family: "Inter", sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--ink); text-align: left;
}
.faq__q .chev { flex: none; width: 22px; height: 22px; color: var(--muted); transition: transform .25s var(--ease); }
.faq__item.is-open .faq__q .chev { transform: rotate(180deg); color: var(--blue); }
.faq__a { overflow: hidden; height: 0; transition: height .28s var(--ease); }
.faq__a > div { padding-bottom: 22px; color: var(--body); font-size: .98rem; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { max-width: 620px; margin: 0 auto 30px; }
.cta-band .btn { margin-inline: 6px; }
.cta-band .fineprint { margin-top: 20px; font-size: .82rem; color: var(--on-dark-mut); }

/* ---------- Lead Leak Audit band (home) ---------- */
.audit-cta { position: relative; overflow: hidden; }
.audit-cta > .container { position: relative; z-index: 2; }
.audit-cta__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: #0b1220 url("../img/audit-meeting.webp") center 30% / cover no-repeat;
  opacity: .07;
  -webkit-mask-image: radial-gradient(115% 90% at 50% 42%, #000 22%, transparent 82%);
  mask-image: radial-gradient(115% 90% at 50% 42%, #000 22%, transparent 82%);
}
.audit-cta__glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(48% 42% at 50% 6%, rgba(10,132,255,.18), transparent 70%),
    radial-gradient(40% 40% at 50% 96%, rgba(255,107,0,.10), transparent 72%);
}
.audit-cta .eyebrow { color: var(--blue); }
.audit-cta h2 { font-size: clamp(2rem, 1.35rem + 2.5vw, 3rem); line-height: 1.12; margin-bottom: 0; }

.mini-divider {
  display: block; width: 76px; height: 1px; margin: 24px auto 26px;
  background: rgba(255,255,255,.22); position: relative;
}
.mini-divider::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 9px 2px rgba(255,107,0,.55);
}
.audit-cta p { max-width: 760px; margin: 0 auto; color: var(--on-dark); }

.audit-steps {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  max-width: 1040px; margin: 50px auto 10px; position: relative;
}
.audit-steps__line {
  position: absolute; left: 10%; right: 10%; top: 54px; height: 2px;
  background: var(--blue); z-index: 0;
}
.astep {
  display: grid; grid-template-rows: 24px 40px auto; row-gap: 10px;
  justify-items: center; position: relative; z-index: 1;
}
.astep__n { font-family: "Sora", sans-serif; font-weight: 800; color: var(--blue); font-size: 1.15rem; line-height: 1; }
.astep__node {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--blue); background: var(--ink);
  display: grid; place-items: center;
}
.astep__node::after {
  content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 8px 1px rgba(255,107,0,.55);
}
.astep__label { color: #fff; font-size: .95rem; }

.audit-cta__btn {
  margin-top: 40px; padding: 20px 34px; font-size: 1.05rem;
  box-shadow: 0 14px 44px -6px rgba(255,107,0,.5);
}
.audit-cta__btn:hover { box-shadow: 0 18px 54px -6px rgba(255,107,0,.66); }
.audit-cta__btn svg { width: 1.1em; height: 1.1em; }
.audit-cta .fineprint { margin-top: 22px; }

/* one row of 5 from tablet up; single column below — never a 2-row split */
@media (min-width: 768px) and (max-width: 960px){
  .audit-steps { gap: 4px; }
  .astep__n { font-size: 1rem; }
  .astep__label { font-size: .82rem; line-height: 1.3; }
}
@media (max-width: 767px){
  .audit-steps { grid-template-columns: 1fr; row-gap: 28px; max-width: 300px; margin-top: 40px; }
  .audit-steps__line { display: none; }
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
@media (min-width: 640px){ .form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } }
.field { display: grid; gap: 7px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink-700); }
.field .req { color: var(--orange); }
.field input, .field textarea {
  border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-050); }
.form__note { font-size: .82rem; color: var(--muted); }
.form-success {
  display: none; padding: 16px 18px; border-radius: 12px; background: var(--blue-050);
  color: var(--ink-700); font-size: .95rem; border: 1px solid #cfe6ff;
}
.form-success.is-visible { display: block; }

/* ---------- Blog ---------- */
.post-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-card); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__media { aspect-ratio: 16/9; background: linear-gradient(135deg,#0f172a,#1e293b); position: relative; }
.post-card__media .tagset { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; }
.chip { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--radius-pill); background: rgba(255,255,255,.14); color: #fff; }
.chip--solid { background: var(--orange); }
.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__meta { font-size: .8rem; color: var(--muted); }
.post-card__body h3 { color: var(--ink); }
.post-card__body p { font-size: .92rem; }
.post-card__more { margin-top: auto; font-weight: 600; color: var(--blue); font-size: .9rem; }

.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.blog-filters button {
  padding: 9px 16px; border: 1px solid var(--line); border-radius: var(--radius-pill);
  font-size: .85rem; font-weight: 600; color: var(--muted);
}
.blog-filters button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Article ---------- */
.article { max-width: 740px; margin-inline: auto; }
.article__head { margin-bottom: 40px; }
.article__head .meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: var(--muted); font-size: .85rem; margin-top: 18px; }
.article__body { font-size: 1.05rem; color: var(--ink-700); line-height: 1.8; }
.article__body > * + * { margin-top: 1.4em; }
.article__body h2 { font-size: 1.6rem; margin-top: 1.8em; }
.article__body h3 { font-size: 1.2rem; margin-top: 1.6em; }
.article__body ul, .article__body ol { padding-left: 1.3em; }
.article__body li { margin-top: .5em; list-style: disc; }
.article__body ol li { list-style: decimal; }
.article__body blockquote {
  border-left: 3px solid var(--orange); padding: 6px 0 6px 22px; color: var(--body); font-style: italic;
}
.article__body a { text-decoration: underline; text-underline-offset: 3px; }
.article__body code { background: var(--bg-alt); padding: .15em .4em; border-radius: 6px; font-size: .9em; }

/* ---------- Tag list (Engine stage capabilities) ---------- */
.taglist { display: flex; flex-wrap: wrap; gap: 10px; }
.taglist span {
  display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: var(--radius-pill);
  font-size: .88rem; font-weight: 600; color: var(--ink-700); background: #fff;
  transition: background .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease),
              box-shadow .28s var(--ease), transform .28s var(--ease);
}
.taglist span:hover {
  background: var(--orange); border-color: var(--orange); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -10px rgba(255,107,0,.6);
}

/* ---------- Engine stages (services.html): staged entrance + flow arrows ---------- */
.engine-stage.reveal { transform: none; }            /* parent only fades; the halves travel */
.engine-stage > div:first-child { transition: opacity .6s var(--ease), transform .7s var(--ease); }
.engine-stage > div:last-child  { transition: opacity .6s var(--ease) .08s, transform .7s var(--ease) .08s; }
.engine-stage:not(.is-in) > div:first-child { opacity: 0; transform: translateX(-28px); }
.engine-stage:not(.is-in) > div:last-child  { opacity: 0; transform: translateX(28px); }

.engine-stage .eyebrow .num { display: inline-block; transition: transform .5s var(--ease) .1s, opacity .5s var(--ease) .1s; }
.engine-stage:not(.is-in) .eyebrow .num { opacity: 0; transform: translateY(-6px) rotate(-10deg); }

/* capability chips fly in one after another once the stage is on screen */
.engine-stage .taglist span {
  transition: background .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease),
              box-shadow .28s var(--ease), opacity .5s var(--ease), transform .45s var(--ease);
}
.engine-stage:not(.is-in) .taglist span { opacity: 0; transform: translateY(16px) scale(.92); }
.engine-stage.is-in .taglist span:nth-child(1){ transition-delay: .14s; }
.engine-stage.is-in .taglist span:nth-child(2){ transition-delay: .21s; }
.engine-stage.is-in .taglist span:nth-child(3){ transition-delay: .28s; }
.engine-stage.is-in .taglist span:nth-child(4){ transition-delay: .35s; }
.engine-stage.is-in .taglist span:nth-child(5){ transition-delay: .42s; }
.engine-stage.is-in .taglist span:nth-child(6){ transition-delay: .49s; }
.engine-stage.is-in .taglist span:hover { transition-delay: 0s; }   /* hover stays snappy */

.engine-arrow {
  text-align: center; line-height: 1;
  font-size: 1.5rem; color: var(--muted);
  margin-block: 28px; padding: 8px 0;
  animation: engineArrowBob 1.9s var(--ease) infinite;
  transition: color .25s var(--ease), text-shadow .25s var(--ease);
}
.engine-arrow:hover {
  color: var(--orange);
  text-shadow: 0 10px 22px rgba(255,107,0,.5);
  animation-play-state: paused;
  transform: translateY(5px) scale(1.4) !important;
}
@keyframes engineArrowBob {
  0%   { transform: translateY(-6px); opacity: .35; }
  55%  { transform: translateY(6px);  opacity: 1; }
  100% { transform: translateY(-6px); opacity: .35; }
}

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 24px; }
@media (min-width: 860px){ .plans { grid-template-columns: 1fr 1fr; } }
.plan { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 32px; background: #fff; }
.plan--feature { border-color: var(--orange); box-shadow: var(--shadow-md); }
.plan__kicker { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.plan__price { font-family: "Sora", sans-serif; font-weight: 800; font-size: clamp(2rem,1.5rem+1.6vw,2.6rem); color: var(--ink); margin: 10px 0 4px; }
.plan__price small { display: block; font-family: "Inter", sans-serif; font-weight: 500; font-size: .85rem; color: var(--muted); margin-top: 8px; letter-spacing: 0; }
.plan__tag { display: inline-block; margin-top: 14px; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.plan ul { margin: 20px 0 24px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; font-size: .95rem; color: var(--ink-700); }
.plan li svg { width: 20px; height: 20px; color: var(--orange); flex: none; margin-top: 3px; }
.plan li b { display: block; }
.plan__note { font-size: .88rem; color: var(--body); margin-bottom: 20px; }
.plan .btn { margin-top: auto; }

.scope { display: grid; gap: 24px; }
@media (min-width: 800px){ .scope { grid-template-columns: 1fr 1fr; } }
.scope__col { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; background: #fff; }
.scope__col h3 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.scope__col--in h3 { color: #15803d; }
.scope__col--out h3 { color: var(--muted); }
.scope__col li { display: flex; gap: 10px; padding: 7px 0; font-size: .93rem; color: var(--ink-700); }
.scope__col li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.scope__col--in li svg { color: #16a34a; }
.scope__col--out li svg { color: #cbd5e1; }
.scope__col--out li { color: var(--body); }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-mut); padding-block: 64px 32px; }
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; font-family: "Inter",sans-serif; }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 760px){ .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; } }
.footer__brand .brand { color: #fff; margin-bottom: 16px; }
.footer__brand p { font-size: .92rem; max-width: 34ch; }
.site-footer a { color: var(--on-dark-mut); font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: 10px; }
.footer__bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid #24344f;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .82rem;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .card:hover, .stage:hover, .case:hover, .post-card:hover, .pcard:hover, .bcard:hover { transform: none; }
  .pcard:hover .pcard__icon { transform: none; }
  .hub__glow { filter: none; }
  .stage--active, .stage--active:hover { transform: none; }
  .engine-stage > div, .engine-stage .taglist span, .engine-stage .eyebrow .num {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .engine-arrow { animation: none; opacity: 1; }
  .engine-arrow:hover { transform: none !important; }
}

/* ---------- Utilities ---------- */
.mt-0{margin-top:0} .mt-1{margin-top:.5rem} .mt-2{margin-top:1rem} .mt-3{margin-top:1.5rem} .mt-4{margin-top:2rem}
.pill-label{display:inline-block;font-size:.78rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--orange);background:var(--orange-050);padding:6px 14px;border-radius:var(--radius-pill);margin-bottom:20px}
.divider{height:1px;background:var(--line);border:0;margin-block:0}
