/* =====================================================================
   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-700:   #B54800;   /* AA-safe orange for text/icons on light backgrounds */
  --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-600); text-decoration: none; }
a:hover { color: var(--blue-600); }
/* dark sections sit on --ink: the brighter --blue already clears AA there, and --blue-600 would not */
.section--dark a:not(.btn) { color: var(--blue); }
.section--dark a:not(.btn):hover { color: #fff; }
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-700); }

/* ---------- 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: var(--bg); }
.btn--primary:hover { background: var(--orange-600); color: var(--bg); 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-600); }
.nav__links a.is-active { color: var(--blue-600); }
.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; } }
.kicker {
  font-family: "Inter", sans-serif;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--orange-700);
  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); }

/* ---------- Home hero — photo backdrop ---------- */
.hero--home {
  display: grid;
  min-height: clamp(560px, 92vh, 900px);
  background: var(--ink);
}
.hero--home__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.hero--home::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(15,23,42,.92) 0%, rgba(15,23,42,.78) 26%, rgba(15,23,42,.32) 58%, rgba(15,23,42,.08) 100%),
    linear-gradient(180deg, rgba(15,23,42,.5) 0%, rgba(15,23,42,.05) 22%, rgba(15,23,42,.18) 100%);
}
/* stretched to the hero's full height (grid item, default align-items:stretch); column flex so the team block always lays out below the copy with a guaranteed gap, instead of risking overlap on shorter viewports */
.hero--home > .container { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.hero--home__copy { width: min(600px, 92vw); color: #fff; padding-top: clamp(16px, 3vw, 40px); }
.hero--home .kicker { color: var(--orange); }
.hero--home h1 { color: #fff; text-shadow: 0 5px 22px rgba(0,0,0,.35); font-size: clamp(2.3rem, 1.2rem + 3.8vw, 3.7rem); }
.hero--home .lead { color: rgba(255,255,255,.92); max-width: 52ch; text-shadow: 0 2px 12px rgba(0,0,0,.45); }

.btn--glass {
  background: rgba(8,17,28,.3); border: 1px solid rgba(255,255,255,.5); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn--glass:hover { background: rgba(8,17,28,.48); color: #fff; transform: translateY(-2px); }

.hero--home__proof { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 30px; padding: 0; list-style: none; }
.hero--home__proof li { display: flex; align-items: center; gap: 9px; font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.92); }
.hero--home__check {
  width: 19px; height: 19px; border-radius: 50%; background: var(--orange); color: var(--ink);
  display: grid; place-items: center; font-size: .62rem; font-weight: 900; flex: none;
}

/* floating glass cards — decorative, hidden below 900px */
.hero--home__cards { position: absolute; top: 9%; right: 2%; width: min(250px, 24vw); z-index: 3; display: flex; flex-direction: column; gap: 16vh; pointer-events: none; }
.hero--home__card {
  display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-radius: 16px; color: #fff;
  /* dark glass (not light) so white labels stay AA-compliant even over the brightest part of the photo */
  background: linear-gradient(135deg, rgba(8,17,28,.6), rgba(8,17,28,.42));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: inset 0 1px rgba(255,255,255,.16), 0 20px 44px rgba(0,0,0,.3);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.hero--home__card--search { align-self: flex-start; margin-right: 18%; }
.hero--home__card--wide { align-self: flex-end; width: 114%; }
.hero--home__card span.label { font-size: .86rem; line-height: 1.18; font-weight: 700; }
.hero--home__gmark { width: 38px; height: 38px; border-radius: 10px; background: #fff; color: #4285F4; display: grid; place-items: center; font-size: 1.25rem; font-weight: 900; flex: none; }
.hero--home__iconbox { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.95); color: var(--blue); display: grid; place-items: center; flex: none; }
.hero--home__iconbox svg { width: 21px; height: 21px; }
.hero--home__trend { margin-left: auto; font-size: 1.3rem; color: #5eb2ff; flex: none; }

/* last flex child of the container, so it always renders below the copy with the container's gap keeping the two from ever touching */
.hero--home__team { z-index: 3; display: flex; align-items: center; gap: 14px; align-self: flex-start; flex: none; }
.hero--home__avatars { display: flex; }
.hero--home__avatars span {
  width: 42px; height: 42px; border-radius: 50%; border: 3px solid rgba(255,255,255,.92);
  margin-left: -8px; background: linear-gradient(135deg,#23374a,#9c6235);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.92);
}
.hero--home__avatars span:first-child { margin-left: 0; }
.hero--home__avatars span:nth-child(1) { background: linear-gradient(135deg,#2e5f7a,#7fb3d5); }
.hero--home__avatars span:nth-child(2) { background: linear-gradient(135deg,#8a3f12,#e8622c); }
.hero--home__avatars span:nth-child(3) { background: linear-gradient(135deg,#2f6b4f,#94c9a9); }
.hero--home__avatars svg { width: 20px; height: 20px; }
.hero--home__team-line { width: 1px; height: 34px; background: rgba(255,255,255,.35); }
.hero--home__team p { font-size: .8rem; line-height: 1.3; color: rgba(255,255,255,.85); margin: 0; }

@media (max-width: 900px){
  .hero--home__cards, .hero--home__team { display: none; }
  .hero--home { padding-block: 92px 56px; min-height: auto; }
  .hero--home__bg { object-position: 68% center; }
  .hero--home::before {
    background: linear-gradient(180deg, rgba(15,23,42,.8) 0%, rgba(15,23,42,.5) 38%, rgba(15,23,42,.8) 100%);
  }
  .hero--home__copy { width: 100%; }
}

/* 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;     padding-top: 35px;}
.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-700); 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__eyebrow { display: flex; align-items: center; gap: 10px; color: var(--orange-700); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.problem__eyebrow span { width: 20px; height: 2px; background: var(--orange); }
.problem__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.panel, .panel-grey { border: 1px solid var(--line); border-radius: 14px; }
.panel { background: #fff; }
.panel-grey { background: #f0f1f3; }
.problem__heading { grid-column: span 2; padding: 32px; display: flex; gap: 32px; align-items: flex-start; }
.problem__heading h2 { font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.35rem); line-height: 1.25; text-transform: none; }
.problem__heading > div, .problem__heading p { flex: 1 1 50%; min-width: 0; }
.problem__heading p { color: var(--muted); font-size: .95rem; line-height: 1.6; padding-top: 4px; }
.problem__filler { min-height: 120px; }
.problem__card { position: relative; overflow: hidden; min-height: 260px; padding: 28px 26px 30px; border-radius: 14px; background: linear-gradient(180deg, var(--blue) 0%, #0757c9 100%); color: #fff; isolation: isolate; box-shadow: 0 6px 16px rgba(13,123,255,0); transition: transform .35s var(--ease), box-shadow .45s ease; }
.problem__card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -12px rgba(13,20,40,.45); }
.problem__photo, .problem__tint { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease, transform .6s ease; }
.problem__photo { background-size: cover; background-position: center; background-repeat: no-repeat; transform: scale(1.06); z-index: 0; }
.problem__tint { background: linear-gradient(180deg, rgba(13,123,255,.15), rgba(4,20,54,.82)); z-index: 1; }
.problem__card:hover .problem__photo, .problem__card:hover .problem__tint { opacity: 1; }
.problem__card:hover .problem__photo { transform: scale(1); }
.problem__icon { position: relative; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; margin-bottom: 48px; }
.problem__icon svg { width: 20px; height: 20px; }
.problem__card h3, .problem__card p { position: relative; z-index: 2; color: #fff; }
.problem__card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.problem__card p { color: rgba(255,255,255,.9); font-size: .875rem; line-height: 1.6; }
.problem__filler--bottom { grid-column: 1; }
.problem__callout { grid-column: span 2; padding: 28px 32px; text-align: center; }
.problem__callout p:first-child { color: var(--orange-700); font-size: 1rem; margin-bottom: 8px; }
.problem__callout p:last-child { max-width: 640px; margin-inline: auto; color: var(--muted); font-size: .95rem; line-height: 1.7; }
@media (max-width: 860px) {
  .problem__grid { grid-template-columns: 1fr; }
  .problem__heading, .problem__callout { grid-column: span 1; }
  .problem__heading { flex-direction: column; gap: 16px; }
  .problem__filler { display: none; }
}

/* scroll-scrubbed, reversible reveal — driven continuously by main.js so the
   section un-reveals if you scroll back up; gated on html.js-sr so content
   stays fully visible with JS disabled */
html.js-sr .problem [data-reveal] {
  opacity: 0;
  transform: translateY(34px) scale(.984);
  will-change: opacity, transform;
}
@media (prefers-reduced-motion: reduce) {
  html.js-sr .problem [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- 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-600); }
.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: var(--ink); 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 (interactive tab panel) ---------- */
@property --angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
.engine-tabs {
  --orange: #e8622c;
  --orange-2: #f2701f;
  --brown: #8a3f12;
  --ink: #14181f;
  --muted: #5b6472;
  --border: #e3e5ea;
  --grey-fill: #eef0f3;
  --navy: #14213d;
  --blue-a: #1f7aff;
  --blue-b: #8fd6ff;
  color: var(--ink);
}
.engine-tabs .eyebrow {
  display: flex; align-items: center; gap: 10px;
  color: var(--orange); font-weight: 600; font-size: .875rem; font-family: "Inter", sans-serif;
  margin-bottom: 18px; opacity: 0; animation: etFadeUp .6s ease forwards;
}
.engine-tabs .eyebrow .dash { width: 20px; height: 2px; background: var(--orange); display: inline-block; }
.engine-tabs h2 {
  max-width: 640px; margin: 0 0 16px;
  opacity: 0; animation: etFadeUp .6s ease forwards; animation-delay: .08s;
}
.engine-tabs .lede {
  color: var(--muted); font-size: .94rem; line-height: 1.6; max-width: 560px; margin: 0 0 36px;
  opacity: 0; animation: etFadeUp .6s ease forwards; animation-delay: .16s;
}

.engine-tabs .tabs {
  display: flex; width: 100%; height: 66px; border-radius: 12px; overflow: hidden;
  background: var(--grey-fill);
  /* progressively "unwiped" left-to-right by main.js as you scroll — see the
     engine tabs reveal block. Reversible: scrolling back up re-masks it. */
  clip-path: inset(0 100% 0 0 round 12px);
  will-change: clip-path;
}
.engine-tabs .tab {
  flex: 1; position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--grey-fill); color: var(--muted); cursor: pointer; border: none;
  font-family: "Inter", sans-serif; padding: 0 8px;
  transition: background .35s ease, color .35s ease;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 22px 50%);
  margin-left: -22px;
}
.engine-tabs .tab:first-child { margin-left: 0; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%); }
.engine-tabs .tab:last-child { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 22px 50%); }
.engine-tabs .tab .num {
  width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--muted);
  font-size: .75rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .35s ease, color .35s ease;
}
.engine-tabs .tab .label { font-size: .875rem; font-weight: 600; white-space: nowrap; }
.engine-tabs .tab.active { background: var(--orange); color: #fff; z-index: 2; }
.engine-tabs .tab.active .num { background: var(--navy); color: #fff; }
.engine-tabs .tab:not(.active):hover { background: #e4e6eb; }

.engine-tabs .progress-rail {
  height: 3px; background: var(--border); border-radius: 2px; margin-top: 2px; overflow: hidden;
  opacity: 0; animation: etFadeUp .6s ease forwards; animation-delay: .28s;
}
.engine-tabs .progress-fill { height: 100%; width: 0%; background: var(--orange); border-radius: 2px; }
.engine-tabs .progress-fill.animate { animation: etFillBar 10s linear forwards; }
@keyframes etFillBar { from { width: 0%; } to { width: 100%; } }

.engine-tabs .panel-wrap {
  position: relative; margin-top: 18px; border-radius: 16px; padding: 3px;
  opacity: 0; animation: etPanelIn .7s cubic-bezier(.16,1,.3,1) forwards; animation-delay: .34s;
}
.engine-tabs .panel-wrap::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 3px;
  background: conic-gradient(from var(--angle),
    transparent 0deg, transparent 260deg, rgba(31,122,255,0) 280deg,
    var(--blue-a) 320deg, var(--blue-b) 340deg, var(--blue-a) 355deg, transparent 360deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; pointer-events: none;
}
.engine-tabs .panel-wrap.spin::before { animation: etRotateOnce .9s linear 1 forwards; }
@keyframes etRotateOnce { 0% { --angle: 0deg; opacity: 1; } 80% { opacity: 1; } 100% { --angle: 360deg; opacity: 0; } }

.engine-tabs .panel {
  position: relative; z-index: 1; border-radius: 14px; padding: 36px 40px; min-height: 170px;
  background: linear-gradient(120deg, var(--orange-2) 0%, var(--brown) 100%);
  color: #fff; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between;
}
.engine-tabs .panel-left { flex: 1 1 280px; }
.engine-tabs .panel .stage-label {
  font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.85); margin: 0 0 10px;
  opacity: 0; animation: etFadeSlide .45s ease forwards;
}
.engine-tabs .panel h3 {
  font-family: "Inter", sans-serif; color: #fff; text-transform: none;
  font-size: 1.6rem; font-weight: 800; margin: 0 0 12px;
  opacity: 0; animation: etFadeSlide .45s ease forwards; animation-delay: .05s;
}
.engine-tabs .panel .desc {
  font-size: .9rem; line-height: 1.6; color: rgba(255,255,255,.92); margin: 0; max-width: 380px;
  opacity: 0; animation: etFadeSlide .45s ease forwards; animation-delay: .1s;
}
.engine-tabs .panel-right { flex: 1 1 320px; }
.engine-tabs .panel .runs-label {
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; color: rgba(255,255,255,.75); margin: 0 0 14px;
  opacity: 0; animation: etFadeSlide .45s ease forwards; animation-delay: .15s;
}
.engine-tabs .pills { display: flex; flex-wrap: wrap; gap: 10px; }
.engine-tabs .pill {
  background: #fff; color: var(--ink); font-size: .8rem; font-weight: 600; padding: 8px 16px; border-radius: 999px;
  opacity: 0; animation: etPillIn .4s ease forwards; cursor: default;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.engine-tabs .pill:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

@keyframes etFadeSlide { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes etPillIn { from { opacity: 0; transform: translateY(6px) scale(.95); } to { opacity: 1; transform: translateY(0) scale(1); } }

.engine-tabs .cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 16px 22px;
  border: 1px solid var(--border); border-radius: 10px; background: #fff;
  font-family: "Inter", sans-serif; font-weight: 700; font-size: .875rem; color: var(--ink); text-decoration: none;
  transition: border-color .25s ease, transform .25s ease;
  opacity: 0; animation: etFadeUp .6s ease forwards; animation-delay: .46s;
}
.engine-tabs .cta:hover { border-color: var(--orange); transform: translateX(2px); color: var(--ink); }
.engine-tabs .cta svg { width: 16px; height: 16px; transition: transform .25s ease; }
.engine-tabs .cta:hover svg { transform: translateX(3px); }

@keyframes etFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes etPanelIn { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 720px){
  .engine-tabs .tabs { height: auto; }
  .engine-tabs .tab { flex-direction: column; gap: 4px; padding: 10px 4px; clip-path: none !important; margin-left: 0 !important; border-radius: 8px; }
  .engine-tabs .tab .label { font-size: .7rem; }
  .engine-tabs .panel { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce){
  .engine-tabs *{ animation: none !important; transition: none !important; }
  .engine-tabs .eyebrow, .engine-tabs h2, .engine-tabs .lede, .engine-tabs .tabs, .engine-tabs .progress-rail,
  .engine-tabs .panel-wrap, .engine-tabs .cta, .engine-tabs .panel .stage-label, .engine-tabs .panel h3,
  .engine-tabs .panel .desc, .engine-tabs .panel .runs-label, .engine-tabs .pill {
    opacity: 1; transform: none;
  }
  .engine-tabs .tabs { clip-path: none; }
}

/* ---------- How we start (dark process band) ---------- */
.process {
  --orange: #e8622c;
  --orange-2: #f2701f;
  --brown: #8a3f12;
  --ink: #14181f;
  --card-muted: #6b7280;
  position: relative;
  overflow: hidden;
  background: #0e1420;
  font-family: "Inter", sans-serif;
}
.process::before {
  content: ''; position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 500px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(232,98,44,0.16), transparent 70%);
}
.process__bg-arrow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(1050px, 92vw); height: auto; aspect-ratio: 1134 / 846;
  pointer-events: none;
}
.process > .container { position: relative; z-index: 1; max-width: 1080px; text-align: center; }

.process__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--orange); font-weight: 700; font-size: .75rem; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 22px;
  opacity: 0; transform: translateY(14px);
  will-change: opacity, transform;
}
.process__eyebrow .dash { width: 20px; height: 2px; background: var(--orange); display: inline-block; }

.process h2 {
  color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.1rem); line-height: 1.3; margin: 0 0 56px;
  opacity: 0; transform: translateY(14px);
  will-change: opacity, transform;
}
.process h2 .accent { color: var(--orange); }

.process__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  text-align: left; align-items: start;
}
.process__card-slot {
  position: relative;
  height: 230px; /* fixed slot — section height never changes on hover */
}
.process__card {
  position: absolute; inset: 0; overflow: hidden; isolation: isolate;
  background: #fff; border-radius: 16px; padding: 26px 24px 30px;
  height: 230px; display: flex; flex-direction: column; cursor: default;
  transform: translateY(90px); opacity: 0; z-index: 1;
  will-change: opacity, transform;
  transition:
    background .4s ease,
    box-shadow .4s ease,
    height .4s ease;
}

.process__card:hover {
  background: linear-gradient(135deg, var(--orange-2) 0%, var(--brown) 100%);
  box-shadow: 0 22px 40px -14px rgba(232,98,44,0.5);
  height: 320px;
  z-index: 2;
}
.process__num {
  font-size: .75rem; font-weight: 700; color: var(--orange); margin-bottom: 16px;
  position: relative; z-index: 2; transition: color .4s ease;
}
.process__card:hover .process__num { color: rgba(255,255,255,0.85); }
.process__card h3 {
  font-size: 1.125rem; font-weight: 800; color: var(--ink); margin: 0 0 12px;
  text-transform: none; position: relative; z-index: 2; transition: color .4s ease;
}
.process__card:hover h3 { color: #fff; }
.process__card p {
  font-size: .84rem; line-height: 1.65; color: var(--card-muted); margin: 0;
  position: relative; z-index: 2; transition: color .4s ease;
}
.process__card:hover p { color: rgba(255,255,255,0.92); }
.process__icon {
  position: absolute; right: -6px; bottom: -10px; width: 92px; height: 92px; z-index: 1;
  opacity: 0; transform: scale(.7) rotate(-6deg); pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
}
.process__icon svg { width: 100%; height: 100%; stroke: rgba(255,255,255,0.35); fill: none; stroke-width: 1.4; }
.process__card:hover .process__icon { opacity: 1; transform: scale(1) rotate(0deg); }

@media (max-width: 920px){ .process__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .process__grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce){
  .process *{ animation: none !important; transition: none !important; }
  .process__eyebrow, .process h2, .process__card { opacity: 1; transform: none; }
}

/* ---------- 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-700); 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-600); font-weight: 700; }
.case dd { font-size: .92rem; margin-bottom: 6px; }

/* ---------- Featured project (deep-dive) ---------- */
.feature-case__media {
  aspect-ratio: 4/3; border-radius: var(--radius-card);
  background: linear-gradient(135deg, var(--blue-050), var(--orange-050));
  display: grid; place-items: center;
}
.feature-case__media span { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--ink); opacity: .5; text-align: center; padding: 0 20px; }
.feature-case__media--photo { aspect-ratio: 3/4; overflow: hidden}
.feature-case__media--photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
/* desktop: hold the founder portrait 20% smaller, anchored to the container edge */
@media (min-width: 900px){ .feature-case__media--photo { width: 80%; justify-self: start; } }
.feature-case__stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 26px; }

/* ---------- Featured project (scroll-scrubbed folder reveal, home) ---------- */
.feature-project { position: relative; overflow: hidden; }

.feature-project__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Inter", sans-serif; font-weight: 700;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-700); margin-bottom: 18px;
}
.feature-project__eyebrow .dash { width: 20px; height: 2px; background: var(--orange); display: inline-block; }
.feature-project__heading { margin-bottom: 56px; }

.feature-project__grid { display: grid; gap: 48px; align-items: center; }
.feature-project__grid > * { min-width: 0; }   /* keep the track from blowing past .container on mobile */
@media (min-width: 900px){ .feature-project__grid { grid-template-columns: 1fr 1fr; gap: 60px; } }

/* left — screenshot tucked into a folder */
.feature-project__visual { position: relative; height: 380px; }
@media (min-width: 900px){ .feature-project__visual { height: 440px; } }
.feature-project__folder-back,
.feature-project__folder-front { position: absolute; bottom: 0; }
/* front is the visible folder; back sits fully inside its footprint so it only
   shows mid-reveal (grey settles first, blue slides up over it) */
.feature-project__folder-front { left: 2%; right: 2%; height: 160px; }
.feature-project__folder-back  { left: 5%; right: 5%; height: 140px; }
@media (min-width: 900px){
  .feature-project__folder-front { height: 200px; }
  .feature-project__folder-back  { height: 172px; }
}
.feature-project__folder-back { z-index: 0; transform-origin: bottom left; }
.feature-project__folder-front { z-index: 2; pointer-events: none; }
.feature-project__folder-back svg,
.feature-project__folder-front svg { width: 100%; height: 100%; }
.feature-project__screenshot {
  /* symmetric insets = narrower than the folder (left/right 2%) and centred on it */
  position: absolute; left: 9%; right: 9%; top: 8px; height: 240px; z-index: 1;
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 24px 50px -18px rgba(15,23,42,.32);
}
@media (min-width: 900px){ .feature-project__screenshot { height: 290px; } }
.feature-project__screenshot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }

/* right — copy */
.feature-project__badge {
  display: inline-block; margin-bottom: 18px;
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: var(--blue-050); color: var(--blue-600);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.feature-project__copy h3 { margin-bottom: 16px; }
.feature-project__copy > p { max-width: 460px; margin-bottom: 28px; }
.feature-project__stats { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 32px; }
.feature-project__stat { padding-right: 22px; border-right: 1px solid var(--line); }
.feature-project__stat:last-child { padding-right: 0; border-right: 0; }
.feature-project__stat .num {
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.5rem;
  line-height: 1; color: var(--ink); margin-bottom: 4px;
}
.feature-project__stat .label { max-width: 120px; font-size: .8rem; line-height: 1.4; color: var(--muted); }
.feature-project__cta-wrap { margin-bottom: 0; }

/* scroll-scrubbed, reversible reveal — driven continuously by main.js so the
   section un-reveals if you scroll back up; gated on .feature-project--scrub
   (added by JS) so content stays fully visible with JS disabled */
.feature-project--scrub .feature-project__eyebrow,
.feature-project--scrub .feature-project__heading,
.feature-project--scrub .feature-project__folder-back,
.feature-project--scrub .feature-project__folder-front,
.feature-project--scrub .feature-project__screenshot,
.feature-project--scrub .feature-project__copy > * {
  opacity: 0; will-change: opacity, transform;
}
@media (prefers-reduced-motion: reduce){
  .feature-project--scrub .feature-project__eyebrow,
  .feature-project--scrub .feature-project__heading,
  .feature-project--scrub .feature-project__folder-back,
  .feature-project--scrub .feature-project__folder-front,
  .feature-project--scrub .feature-project__screenshot,
  .feature-project--scrub .feature-project__copy > * {
    opacity: 1 !important; transform: none !important;
  }
}

/* ---------- Testimonial cards ("What clients say" — scroll-scrubbed) ---------- */
.voices { position: relative; overflow: hidden; isolation: isolate; }
.voices__inner { position: relative; max-width: 1040px; margin-inline: auto; text-align: center; }

/* decorative speech-bubble outlines drifting behind the content */
.voices__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.voices__blob {
  position: absolute; top: 8px; right: 3%; width: 340px; height: 220px; opacity: .6;
  animation: voices-float 7s ease-in-out infinite;
}
.voices__blob svg { width: 100%; height: 100%; }
.voices__blob--2 { top: -34px; right: -1%; opacity: .4; animation-delay: 1.2s; }
@keyframes voices-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.voices__eyebrow {
  margin: 0 0 16px; font-family: "Inter", sans-serif;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-700);
}
.voices__title { margin: 0 0 18px; font-size: clamp(1.7rem, 1.15rem + 2vw, 2.25rem); font-weight: 800; line-height: 1.25; }
.voices__accent { display: block; color: var(--orange-700); }
.voices__lede { max-width: 520px; margin: 0 auto 56px; color: var(--muted); font-size: .95rem; line-height: 1.7; }

.voices__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 52px; text-align: left; }
.voices__card {
  position: relative; margin: 0; display: flex; flex-direction: column; min-height: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 26px 26px 24px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.voices__card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px -18px rgba(15, 23, 42, .2); }
.voices__card--featured { border: none; color: #fff; background: linear-gradient(150deg, #F2701F 0%, #E8622C 100%); }
.voices__card--featured:hover { box-shadow: 0 24px 46px -16px rgba(232, 98, 44, .45); }

.voices__mark { position: absolute; top: 14px; right: 20px; font: 800 46px/1 Georgia, "Times New Roman", serif; color: rgba(255, 255, 255, .35); user-select: none; }

.voices__stars { display: flex; gap: 3px; margin-bottom: 16px; }
.voices__stars svg { width: 15px; height: 15px; fill: var(--orange-700); }
.voices__card--featured .voices__stars svg { fill: #fff; }

.voices__quote { flex: 1 0 auto; margin: 0 0 20px; font-size: .875rem; line-height: 1.7; color: var(--ink-700); }
.voices__card--featured .voices__quote { color: #fff; }

.voices__author { display: flex; align-items: center; gap: 10px; }
.voices__avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; background: #d9dce2; transition: transform .3s var(--ease); }
.voices__card--featured .voices__avatar { background: rgba(255, 255, 255, .35); }
.voices__card:hover .voices__avatar { transform: scale(1.1); }
.voices__name { display: block; font-size: .84rem; font-weight: 700; color: var(--ink); }
.voices__org { display: block; font-size: .75rem; color: var(--orange-700); }
.voices__card--featured .voices__name { color: #fff; }
.voices__card--featured .voices__org { color: rgba(255, 255, 255, .85); }

.voices__closing { margin: 0 0 18px; font-style: italic; color: var(--muted); font-size: .95rem; }
.voices__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .9rem; color: var(--ink); text-decoration: none;
  transition: color .25s var(--ease);
}
.voices__cta svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.voices__cta:hover { color: var(--orange-700); }
.voices__cta:hover svg { transform: translateX(4px); }

@media (max-width: 860px) {
  .voices__cards { grid-template-columns: 1fr; }
  .voices__blob { display: none; }
}

/* JS-driven scroll entrance — hidden only when scripting + motion are both on */
html.js-sr .voices__eyebrow,
html.js-sr .voices__title,
html.js-sr .voices__lede,
html.js-sr .voices__card,
html.js-sr .voices__closing,
html.js-sr .voices__cta { opacity: 0; will-change: opacity, transform; }
html.js-sr .voices__stars svg { opacity: 0; transform: scale(0); }
/* the scroll handler writes an inline transform every frame, so hover has to shout over it */
html.js-sr .voices__card:hover { transform: translateY(-8px) !important; }

@media (prefers-reduced-motion: reduce) {
  html.js-sr .voices__eyebrow,
  html.js-sr .voices__title,
  html.js-sr .voices__lede,
  html.js-sr .voices__card,
  html.js-sr .voices__closing,
  html.js-sr .voices__cta,
  html.js-sr .voices__stars svg { opacity: 1 !important; transform: none !important; }
  .voices__blob { animation: none !important; }
}

/* ---------- Why TagVolt (diamond cards, scroll-scrubbed) ---------- */
.whyv {
  --whyv-orange: #f2701f;
  --whyv-ink: #14181f;
  --whyv-muted: #5b6472;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 80px 24px 100px;
  background: linear-gradient(180deg, #0d6fe8 0%, #0a5bc4 100%);
}
.whyv__wrap { position: relative; max-width: 1080px; margin: 0 auto; text-align: center; }

.whyv__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  color: #fff; font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
}
.whyv__dash { width: 18px; height: 2px; background: #fff; }

.whyv__title {
  margin: 0 0 16px;
  color: #fff; font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.15rem); font-weight: 800; line-height: 1.15;
}
.whyv__lede {
  max-width: 560px; margin: 0 auto 70px;
  color: rgba(255, 255, 255, .85); font-size: .95rem; line-height: 1.7;
}

.whyv__stage { position: relative; max-width: 900px; margin: 0 auto; height: 430px; }

.whyv__glow { position: absolute; width: 410px; z-index: 0; pointer-events: none; }
.whyv__glow svg { display: block; width: 100%; height: auto; }
.whyv__glow--1 { left: 0;  top: 35px; }
.whyv__glow--2 { right: 0; top: 35px;  transform: scaleX(-1); }
.whyv__glow--3 { left: 0;  top: 215px; transform: scaleY(-1); }
.whyv__glow--4 { right: 0; top: 215px; transform: scale(-1, -1); }

.whyv__card {
  position: absolute; width: 290px; height: 160px; z-index: 1;
  padding: 22px; border-radius: 16px; text-align: left;
  background: #fff; box-shadow: 0 20px 40px -16px rgba(6, 20, 50, .35);
  display: flex; align-items: flex-start; gap: 14px;
  transform: rotate(var(--rot, 0deg));
}
.whyv__card--orange { background: linear-gradient(150deg, var(--whyv-orange) 0%, #e0590f 100%); }
.whyv__card--1 { left: 0;  top: 30px;  --rot: -3deg; }
.whyv__card--2 { right: 0; top: 30px;  --rot: 3deg; }
.whyv__card--3 { left: 0;  top: 240px; --rot: 3deg; }
.whyv__card--4 { right: 0; top: 240px; --rot: -3deg; }

.whyv__icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(13, 111, 232, .1);
}
.whyv__card--orange .whyv__icon { background: rgba(255, 255, 255, .25); }
.whyv__icon svg { width: 19px; height: 19px; stroke: #0d6fe8; }
.whyv__card--orange .whyv__icon svg { stroke: #fff; }

.whyv__card h3 { margin: 0 0 8px; font-size: 1.03rem; font-weight: 800; line-height: 1.3; color: var(--whyv-ink); }
.whyv__card--orange h3 { color: #fff; }
.whyv__card p { margin: 0; font-size: .81rem; line-height: 1.6; color: var(--whyv-muted); }
.whyv__card--orange p { color: rgba(255, 255, 255, .92); }

.whyv__figure {
  position: absolute; left: 50%; bottom: 0; z-index: 2;
  width: 494px; pointer-events: none;
  transform: translateX(-50%);
}
.whyv__figure img { display: block; width: 100%; height: auto; }

.whyv__cta {
  position: absolute; left: 50%; bottom: 0; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  background: var(--whyv-orange); color: #fff; font-weight: 700; font-size: .875rem;
  box-shadow: 0 14px 28px -10px rgba(0, 0, 0, .35);
  transform: translateX(-50%);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.whyv__cta:hover { color: #fff; box-shadow: 0 18px 34px -10px rgba(0, 0, 0, .45); }
.whyv__cta svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.whyv__cta:hover svg { transform: translateX(3px); }

@media (max-width: 820px) {
  .whyv__stage { height: auto; }
  .whyv__card {
    position: relative; width: 100%; margin-bottom: 18px;
    left: auto !important; right: auto !important; top: auto !important;
    transform: none !important;
  }
  .whyv__glow, .whyv__figure { display: none; }
  .whyv__cta {
    position: relative; left: auto; margin: 10px auto 0;
    display: flex; width: fit-content;
    transform: none !important;
  }
}

/* JS-driven scroll entrance — hidden only when scripting + motion are both on */
html.js-sr .whyv__eyebrow,
html.js-sr .whyv__title,
html.js-sr .whyv__lede,
html.js-sr .whyv__card,
html.js-sr .whyv__glow,
html.js-sr .whyv__figure,
html.js-sr .whyv__cta { opacity: 0; will-change: opacity, transform; }

@media (prefers-reduced-motion: reduce) {
  html.js-sr .whyv__eyebrow,
  html.js-sr .whyv__title,
  html.js-sr .whyv__lede,
  html.js-sr .whyv__glow,
  html.js-sr .whyv__cta { opacity: 1 !important; transform: none !important; }
  html.js-sr .whyv__cta,
  html.js-sr .whyv__figure { transform: translateX(-50%) !important; opacity: 1 !important; }
  html.js-sr .whyv__card { opacity: 1 !important; transform: rotate(var(--rot, 0deg)) !important; }
}

/* ---------- Tech-stack strip ---------- */
.stack-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.stack-logos__item {
  width: 120px; height: 48px; border: 1px dashed var(--line); border-radius: 8px;
  display: grid; place-items: center; font-size: .72rem; color: var(--muted); background: var(--bg-alt);
}
.stack-logos__note { margin-top: 26px; text-align: center; font-size: .85rem; color: var(--muted); }

/* ---------- Comparison table ---------- */
.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; }
.compare table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; font-size: .92rem; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.compare tbody th { font-weight: 600; color: var(--ink); font-size: .92rem; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare td.no { color: var(--muted); }
.compare .compare__us { background: var(--orange-050); }
.compare th.compare__us { color: var(--orange-700); }
.compare td.compare__us { font-weight: 700; color: var(--ink); }
.compare td.compare__us svg { width: 16px; height: 16px; color: var(--orange-700); vertical-align: -3px; margin-right: 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-600); 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-700); }
.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); color: var(--ink); }
.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-600); 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: var(--ink);
  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-600); }
.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-700); 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-600); }

/* ---------- 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__logo { height: 46px; width: auto; display: block; }
.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; }

/* ---------- Scroll-linked progressive reveal (home, first sections) ----------
   --sr is written per element by main.js (0 → 1 across the scroll window).
   Gated on html.js-sr so the content is fully visible with JS disabled.        */
html.js-sr [data-sr]:not([data-sr-done]) {
  opacity: var(--sr, 0);
  transform: translate3d(0, calc((1 - var(--sr, 0)) * 34px), 0) scale(calc(.984 + .016 * var(--sr, 0)));
  will-change: opacity, transform;
}
html.js-sr [data-parallax] { transform: translate3d(0, var(--pary, 0px), 0); will-change: transform; }
html.js-sr .hero--home__bg[data-parallax] { transform: translate3d(0, var(--pary, 0px), 0) scale(1.18); }

@keyframes srHeroRise { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
@keyframes srFadeIn { from { opacity: 0; } to { opacity: 1; } }
html.js-sr .hero--home__copy > * { animation: srHeroRise .7s var(--ease) backwards; }
html.js-sr .hero--home__copy > *:nth-child(1) { animation-delay: .06s; }
html.js-sr .hero--home__copy > *:nth-child(2) { animation-delay: .14s; }
html.js-sr .hero--home__copy > *:nth-child(3) { animation-delay: .22s; }
html.js-sr .hero--home__copy > *:nth-child(4) { animation-delay: .30s; }
html.js-sr .hero--home__copy > *:nth-child(5) { animation-delay: .38s; }
html.js-sr .hero--home__cards, html.js-sr .hero--home__team { animation: srFadeIn .8s ease .5s backwards; }

@media (prefers-reduced-motion: reduce){
  html.js-sr [data-sr] { opacity: 1 !important; transform: none !important; }
  html.js-sr [data-parallax] { transform: none !important; }
  html.js-sr .hero--home__copy > *,
  html.js-sr .hero--home__cards,
  html.js-sr .hero--home__team { animation: none !important; }
}

@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-700);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}
