/* =========================================================
   LEVEL TEN — v2 refinements
   Loaded last. Warm refresh, mega menu, hero variants,
   testimonial ticker, industries module redesign.
   ========================================================= */

/* ---------------------------------------------------------
   WARM — cleaner palette: one warm paper, white cards,
   espresso ink, dark espresso feature blocks (no cream-on-
   cream). Bolder, more editorial type.
   --------------------------------------------------------- */
html[data-direction="warm"] {
  --bg:          #FBFAF6;   /* warm WHITE base */
  --bg-2:        #F4F1EA;   /* light warm paper — accent band only */
  --surface:     #FFFFFF;   /* white cards */
  --surface-2:   #F8F5EF;   /* subtle paper hover */
  --line:        #ECE6DB;
  --line-2:      #F3EFE8;
  --line-strong: #DED4C5;
  --ink:         #241B12;   /* espresso */
  --ink-2:       #3C2F22;
  --mute:        #7C6E5C;
  --mute-2:      #A8947C;
  --field:       #FFFFFF;
  --night:       #211910;   /* warm espresso feature blocks */
  --night-2:     #2A2117;
  --night-3:     #342A1E;
  --night-line:  rgba(255,242,225,0.12);
  --night-ink:   #F6EFE3;
  --night-mute:  rgba(246,239,227,0.64);
  --display-track: -0.038em;
  --h1-track:    -0.045em;
}
/* warm: keep the partner strip on the white base; proof & domain become the
   cream accent bands (via base --bg-2) so paper reads as an accent, not the page */
html[data-direction="warm"] .partners { background: var(--bg); }
/* no orange wash behind the hero in warm */
html[data-direction="warm"] .hero-aura { display: none; }

/* Hero trust row — icon-led */
.hero-trust { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 36px; }
.ht-item { display: flex; align-items: center; gap: 12px; }
.ht-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); border: var(--hair) solid var(--accent-line); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ht-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ht-l { font-size: 13px; line-height: 1.28; color: var(--ink); font-weight: 600; letter-spacing: -0.005em; }
.ht-div { width: var(--hair); height: 32px; background: var(--line-strong); flex: none; }
@media (max-width: 600px){ .hero-trust { gap: 16px 18px; } .ht-div { display: none; } }
html[data-direction="warm"] .quote-card,
html[data-direction="warm"] .svc-card,
html[data-direction="warm"] .ins-card,
html[data-direction="warm"] .comp-list,
html[data-direction="warm"] .domain-card,
html[data-direction="warm"] .comp-cert { background: var(--surface); }
/* bolder editorial-leaning headings in warm */
html[data-direction="warm"] .hero h1 { font-size: calc(clamp(40px, 5.6vw, 76px) * var(--scale)); line-height: 1.0; }
html[data-direction="warm"] .section-head h2,
html[data-direction="warm"] h2 { letter-spacing: -0.04em; }

/* warm dark-mode: keep it genuinely dark, not muddy */
html[data-direction="warm"][data-mode="dark"] {
  --bg: #16110B; --bg-2: #16110B; --surface: #1E1810; --surface-2: #241C12;
  --ink: #F6EFE3; --ink-2: #E7DDCD; --mute: #A8947C; --mute-2: #6E6052;
  --line: rgba(255,240,220,0.10); --line-2: rgba(255,240,220,0.06); --line-strong: rgba(255,240,220,0.18);
  --field: #241C12;
}

/* ---------------------------------------------------------
   NAV — Services mega menu
   --------------------------------------------------------- */
.nav-links .has-mega { position: static; }
.mega-trigger { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.mega-trigger .chev { width: 9px; height: 9px; transition: transform .3s var(--ease); }
.mega-trigger .chev svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.has-mega:hover .mega-trigger .chev { transform: rotate(180deg); }

.mega {
  position: absolute; top: 100%; left: 0; right: 0;
  display: flex; justify-content: center;
  padding-top: 14px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s var(--ease);
  pointer-events: none; z-index: 90;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.mega-inner {
  width: min(var(--maxw), calc(100vw - 56px));
  background: var(--surface);
  border: var(--hair) solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid; grid-template-columns: 1.4fr 1.4fr 1fr; gap: 14px;
}
.mega-col h6 { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute-2); margin: 6px 10px 8px; }
.mega-link { display: flex; align-items: flex-start; gap: 12px; padding: 11px 10px; border-radius: var(--radius-sm); text-decoration: none; color: inherit; transition: background .2s var(--ease); }
.mega-link:hover { background: #F7F4EE; }
.mega-link .mi { width: 34px; height: 34px; flex: none; border-radius: 9px; border: var(--hair) solid var(--accent-line); background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.mega-link .mi svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mega-link .mt { display: flex; flex-direction: column; gap: 2px; }
.mega-link .mt strong { font-family: var(--display); font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.mega-link .mt span { font-size: 11.5px; color: var(--mute); line-height: 1.4; }
.mega-feature { background: var(--night); color: var(--night-ink); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; position: relative; overflow: hidden; text-decoration: none; }
.mega-feature .glow { position: absolute; inset: -50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 50%, transparent), transparent 55%); opacity: .3; }
.mega-feature > * { position: relative; z-index: 2; }
.mega-feature .mf-tag { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.mega-feature h5 { font-family: var(--display); font-weight: 800; font-size: 19px; color: #fff; letter-spacing: -0.02em; line-height: 1.15; }
.mega-feature p { font-size: 12px; color: var(--night-mute); line-height: 1.5; }
.mega-feature .mf-go { font-size: 12px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 920px){ .mega { display: none; } }

/* ---------------------------------------------------------
   HERO — remove stats; three layout variants
   --------------------------------------------------------- */
.hero-stats { display: none !important; }   /* retired — felt beggy */

.hero-side { width: 100%; }
.hero-ops, .hero-feature { display: none; }

/* default layout fallback (if no data-hero set) = statement */
html .hero-inner { grid-template-columns: 1.15fr 0.85fr; }

/* STATEMENT — full-bleed editorial type, no side panel */
html[data-hero="statement"] .hero-inner { grid-template-columns: 1fr; gap: 0; }
html[data-hero="statement"] .hero-side { display: none; }
html[data-hero="statement"] .hero-copy { max-width: 1000px; }
html[data-hero="statement"] .hero h1 { font-size: calc(clamp(44px, 7.4vw, 104px) * var(--scale)); line-height: 0.98; }
html[data-hero="statement"] .hero p.lead { max-width: 600px; font-size: calc(19px * var(--scale)); }
html[data-hero="statement"] .hero-strip { display: flex; }

/* SYSTEM — type + live ops panel */
html[data-hero="system"] .hero-ops { display: block; }
html[data-hero="system"] .hero-panel-wrap { display: block; }

/* ASSURANCE — type + warm featured-quote card */
html[data-hero="assurance"] .hero-feature { display: flex; }
html[data-hero="assurance"] .hero-panel-wrap { display: block; }

@media (max-width: 980px){
  html[data-hero="system"] .hero-panel-wrap,
  html[data-hero="assurance"] .hero-panel-wrap { display: none; }
}

/* Hero trust strip (statement variant): partner mini-logos + cert line */
.hero-strip { display: none; align-items: center; gap: 26px 34px; flex-wrap: wrap; margin-top: 46px; padding-top: 26px; border-top: var(--hair) solid var(--line); }
.hero-strip .hs-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute-2); font-weight: 600; }
.hero-strip .hs-logos { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero-strip .hs-logos img { height: 22px; width: auto; opacity: .6; filter: grayscale(1); }
html[data-mode="dark"] .hero-strip .hs-logos img { filter: grayscale(1) brightness(0) invert(1); opacity: .55; }

/* Featured quote card (assurance) */
.hero-feature {
  max-width: 460px; margin-left: auto; flex-direction: column; gap: 20px;
  background: var(--surface); border: var(--hair) solid var(--line);
  border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow);
}
.hf-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.hf-top img { height: 58px; width: auto; }
.hf-cert { font-size: 11px; color: var(--mute); line-height: 1.4; }
.hf-cert strong { display: block; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: -0.01em; }
.hero-feature blockquote { margin: 0; font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.35; color: var(--ink); letter-spacing: -0.02em; }
.hero-feature blockquote .accent { color: var(--accent); }
.hf-by { display: flex; align-items: center; gap: 11px; padding-top: 16px; border-top: var(--hair) solid var(--line-2); }
.hf-by .av { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); border: var(--hair) solid var(--accent-line); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 13px; }
.hf-by .r { font-size: 12px; }
.hf-by .r strong { display: block; color: var(--ink); font-weight: 600; font-size: 12.5px; }
.hf-by .r span { color: var(--mute); }

/* ---------------------------------------------------------
   SERVICES — split into Managed + Specialist
   --------------------------------------------------------- */
.svc-blocklabel { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin: 0 2px 18px; flex-wrap: wrap; }
.svc-blocklabel h3 { font-family: var(--display); font-weight: 800; font-size: calc(22px * var(--scale)); color: var(--ink); letter-spacing: -0.025em; display: inline-flex; align-items: center; gap: 12px; }
.svc-blocklabel h3 .nidx { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: 0.08em; padding: 4px 9px; border: var(--hair) solid var(--accent-line); background: var(--accent-soft); border-radius: var(--radius-pill); }
.svc-blocklabel p { font-size: 13.5px; color: var(--mute); max-width: 440px; }
.svc-block + .svc-block { margin-top: 40px; }
.svc-grid.cols3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px){ .svc-grid.cols3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .svc-grid.cols3 { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------
   TESTIMONIAL TICKER
   --------------------------------------------------------- */
.tk { position: relative; }
.tk-viewport { overflow: hidden; }
.tk-track { display: flex; transition: transform .6s var(--ease); will-change: transform; }
.tk-slide { flex: 0 0 100%; min-width: 0; padding: 4px; }
.tk-quote {
  background: var(--surface); border: var(--hair) solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: auto 1fr; gap: clamp(24px,3vw,44px); align-items: center;
}
.tk-quote .tk-mark { font-family: var(--display); font-weight: 800; font-size: clamp(72px,9vw,128px); line-height: 0.7; color: var(--accent); align-self: start; }
.tk-quote blockquote { margin: 0; font-family: var(--display); font-weight: 600; font-size: calc(clamp(20px,2.3vw,30px) * var(--scale)); line-height: 1.32; color: var(--ink); letter-spacing: -0.025em; }
.tk-quote .tk-by { margin-top: 22px; display: flex; align-items: center; gap: 13px; }
.tk-quote .tk-by .av { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); border: var(--hair) solid var(--accent-line); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 15px; flex: none; }
.tk-quote .tk-by .r { flex: 1 1 auto; min-width: 0; }
.tk-quote .tk-by .r strong { display: block; color: var(--ink); font-weight: 600; font-size: 14px; white-space: nowrap; }
.tk-quote .tk-by .r span { color: var(--mute); font-size: 13px; }
@media (max-width: 680px){ .tk-quote { grid-template-columns: 1fr; gap: 8px; } .tk-quote .tk-mark { font-size: 60px; } }

.tk-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 26px; }
.tk-dots { display: flex; gap: 8px; }
.tk-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: var(--line-strong); cursor: pointer; transition: background .25s var(--ease), width .25s var(--ease); }
.tk-dot.on { background: var(--accent); width: 26px; border-radius: 4px; }
.tk-arrows { display: flex; gap: 8px; }
.tk-arrow { width: 44px; height: 44px; border-radius: 50%; border: var(--hair) solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.tk-arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.tk-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------
   INDUSTRIES — redesigned module (warm card + highlights)
   --------------------------------------------------------- */
.sector-detail {
  background: var(--surface); color: var(--ink); border: var(--hair) solid var(--line);
  box-shadow: var(--shadow-sm); padding: clamp(30px,3.4vw,44px); min-height: 380px;
}
.sector-detail::before { display: none; }
.sd-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.sector-detail .sd-num { color: var(--accent); opacity: 1; font-size: 56px; }
.sector-detail .sd-title { color: var(--ink); }
.sector-detail .sd-body { color: var(--mute); }
.sd-points { list-style: none; margin: 24px 0 0; padding: 22px 0 0; border-top: var(--hair) solid var(--line-2); display: flex; flex-direction: column; gap: 14px; }
.sd-points li { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: start; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.sd-points li .pi { width: 26px; height: 26px; flex: none; border-radius: 8px; background: var(--accent-soft); border: var(--hair) solid var(--accent-line); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.sd-points li .pi svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sd-points li strong { color: var(--ink); font-weight: 600; }
.sector-detail .sd-foot { color: var(--mute); border-color: var(--line-2); margin-top: 26px; }
.sector-detail .sd-foot .privacy { color: var(--green); }

/* Sector detail — merged client quote */
.sector-detail { justify-content: flex-start; }
.sd-quote { margin: 26px 0 0; padding-top: 24px; border-top: var(--hair) solid var(--line-2); position: relative; }
.sd-quote blockquote { margin: 0; font-family: var(--display); font-weight: 600; font-size: calc(16.5px * var(--scale)); line-height: 1.45; color: var(--ink); letter-spacing: -0.015em; }
.sd-quote blockquote::before { content: "“"; color: var(--accent); font-weight: 800; }
.sd-quote figcaption { display: flex; align-items: center; gap: 11px; margin-top: 16px; }
.sd-qav { width: 38px; height: 38px; border-radius: 50%; flex: none; background: var(--accent-soft); border: var(--hair) solid var(--accent-line); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 13px; }
.sd-qmeta strong { display: block; color: var(--ink); font-weight: 600; font-size: 13px; }
.sd-qmeta span { color: var(--mute); font-size: 12.5px; }
/* on dark direction keep the module dark to match */
html[data-direction="dark"] .sector-detail,
html[data-mode="dark"] .sector-detail { background: var(--surface); }

/* mobile menu services group */
.mm-group { border-bottom: var(--hair) solid var(--line); }
.mm-group > summary { font-family: var(--display); font-size: 32px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); padding: 12px 0; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.mm-group > summary::-webkit-details-marker { display: none; }
.mm-group > summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 28px; }
.mm-group[open] > summary::after { content: "–"; }
.mm-sub { display: flex; flex-direction: column; padding: 0 0 12px 2px; }
.mm-sub a { font-size: 17px !important; font-weight: 600 !important; color: var(--mute) !important; padding: 9px 0 !important; border-bottom: var(--hair) dashed var(--line-2) !important; font-family: var(--display); }

/* ---------------------------------------------------------
   No orange glows or gradients (brand preference)
   --------------------------------------------------------- */
.hero-aura, .fb-glow, .ai-glow, .mega-feature .glow, .svc-card.dark .glow,
.cta::before, .ai-card::before, .sector-detail::before, .glance::before,
.ai-banner::after, .feature-band::before, .sys-panel::before, .domain-card::before,
.services-frame::before, .service-card-dark::before, .ds-card::before,
.tw2-feature::before { display: none !important; }
.flow::before { background: var(--line-strong) !important; }
.ins-thumb.t2 { background: #20242c !important; }
.ins-thumb::after { background: repeating-linear-gradient(135deg, transparent 0 11px, rgba(255,255,255,0.05) 11px 12px) !important; }
.btn:hover, .float-chat, .float-chat:hover { box-shadow: var(--shadow) !important; }

/* ---------------------------------------------------------
   Mega menu: kill hover underline, contact + login panel
   --------------------------------------------------------- */
.mega a::after, .mega-trigger::after { display: none !important; }
.mega-contact { background: #F7F4EE; border: var(--hair) solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.mega-contact h6 { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute-2); margin: 4px 8px 8px; }
.mega-crow { display: flex; align-items: center; gap: 11px; padding: 9px 8px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-size: 13px; font-weight: 500; transition: background .2s var(--ease), color .2s var(--ease); }
.mega-crow svg { width: 16px; height: 16px; flex: none; }
.mega-crow:hover { background: var(--surface); color: var(--accent); }
.nav-links a.mega-login, a.mega-login { margin-top: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; background: var(--accent); color: #fff; border-radius: var(--btn-radius); font-size: 13px; font-weight: 600; text-decoration: none; transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.nav-links a.mega-login span, a.mega-login span { color: #fff; transition: transform .25s var(--ease); }
.nav-links a.mega-login:hover, a.mega-login:hover { background: var(--accent-press); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--accent) 60%, transparent); }
.mega-login:hover span { transform: translate(2px, -2px); }
.mega-loc { display: flex; align-items: center; gap: 7px; margin: 12px 8px 2px; font-size: 11.5px; color: var(--mute); letter-spacing: -0.005em; }
.mega-loc svg { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------
   Eyebrows — no leading dot/bullet
   --------------------------------------------------------- */
.eyebrow::before { display: none !important; }
.eyebrow { padding-left: 13px; white-space: nowrap; }
html[data-direction="editorial"] .eyebrow { padding-left: 0; }

/* ---------------------------------------------------------
   AI banner — clean dark card, static glow (no animation)
   --------------------------------------------------------- */
.ai-banner {
  position: relative; overflow: hidden; margin-top: 14px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  padding: clamp(26px, 3vw, 36px); background: var(--night); border: var(--hair) solid var(--night-2);
  border-radius: var(--radius); color: var(--night-ink); text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ai-banner::after { content: ""; position: absolute; top: -1px; left: 18%; right: 18%; height: 2px; background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent); }
.ai-glow { position: absolute; top: -70%; right: -8%; width: 46%; height: 240%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 42%, transparent), transparent 62%); opacity: .22; pointer-events: none; }
.ai-banner > *:not(.ai-glow) { position: relative; z-index: 2; }
.ai-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ai-ic { width: 52px; height: 52px; border-radius: 13px; background: color-mix(in srgb, var(--accent) 16%, transparent); border: var(--hair) solid var(--accent-line); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ai-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ai-copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.ai-tag { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.ai-banner h4 { color: #fff; font-size: calc(21px * var(--scale)); letter-spacing: -0.02em; }
.ai-banner p { color: var(--night-mute); font-size: 13.5px; line-height: 1.55; max-width: 640px; }
.ai-cta { font-size: 13px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.ai-cta .a { transition: transform .25s var(--ease); }
.ai-banner:hover .ai-cta .a { transform: translate(3px, -3px); }
@media (max-width: 760px){ .ai-banner { grid-template-columns: auto 1fr; row-gap: 16px; } .ai-cta { grid-column: 1 / -1; justify-self: start; } }

/* ---------------------------------------------------------
   Quote marquee — smaller cards ticking through
   --------------------------------------------------------- */
.qmarquee { position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.qmarquee-track { display: flex; gap: 18px; width: max-content; animation: qscroll 70s linear infinite; }
.qmarquee:hover .qmarquee-track { animation-play-state: paused; }
@keyframes qscroll { to { transform: translateX(-50%); } }
.qcard { flex: 0 0 clamp(300px, 30vw, 400px); box-sizing: border-box; background: var(--surface); border: var(--hair) solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-sm); }
.qcard .qmark { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 0.5; color: var(--accent); height: 18px; }
.qcard blockquote { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); letter-spacing: -0.01em; }
.qcard figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: var(--hair) solid var(--line-2); }
.qcard .qav { width: 40px; height: 40px; border-radius: 50%; flex: none; background: var(--accent-soft); border: var(--hair) solid var(--accent-line); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 14px; }
.qcard .qr strong { display: block; color: var(--ink); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.qcard .qr span { color: var(--mute); font-size: 12.5px; }
@media (prefers-reduced-motion: reduce){ .qmarquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* Static quote grid */
.quote-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote-wall .qcard { flex: initial; }
@media (max-width: 900px){ .quote-wall { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .quote-wall { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------
   Testimonials — featured quote + selectable list
   --------------------------------------------------------- */
.tw2 { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 18px; align-items: stretch; }
.tw2-feature { position: relative; background: var(--surface); border: var(--hair) solid var(--line); border-radius: var(--radius-lg); padding: clamp(30px, 3.6vw, 52px); display: flex; flex-direction: column; box-shadow: var(--shadow-sm); overflow: hidden; }
.tw2-feature::before { content: ""; position: absolute; top: 0; left: clamp(30px,3.6vw,52px); width: 44px; height: 3px; background: var(--accent); border-radius: 0 0 3px 3px; }
.tw2-mark { font-family: var(--display); font-weight: 800; font-size: 72px; line-height: 0.5; color: var(--accent); height: 38px; }
.tw2-feature blockquote { margin: 22px 0 0; font-family: var(--display); font-weight: 600; font-size: calc(clamp(21px, 2.4vw, 30px) * var(--scale)); line-height: 1.32; color: var(--ink); letter-spacing: -0.025em; flex: 1; }
.tw2-by { display: flex; align-items: center; gap: 13px; margin-top: 28px; padding-top: 22px; border-top: var(--hair) solid var(--line-2); }
.tw2-av { width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); border: var(--hair) solid var(--accent-line); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 15px; flex: none; }
.tw2-meta strong { display: block; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.tw2-meta span { color: var(--mute); font-size: 13px; }
.tw2-list { display: flex; flex-direction: column; gap: 8px; }
.tw2-item { display: flex; align-items: center; gap: 13px; text-align: left; padding: 0 16px; background: var(--surface); border: var(--hair) solid var(--line); border-radius: var(--radius); cursor: pointer; font-family: var(--sans); color: inherit; transition: border-color .25s var(--ease), background .25s var(--ease); flex: 1; min-height: 64px; }
.tw2-item:hover { border-color: var(--line-strong); }
.tw2-item.is-active { border-color: var(--accent); background: var(--accent-soft); }
.tw2-item .tw2-av { width: 38px; height: 38px; font-size: 13px; }
.tw2-row { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tw2-row strong { color: var(--ink); font-size: 13.5px; font-weight: 600; }
.tw2-snip { color: var(--mute); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw2-item.is-active .tw2-snip { color: var(--ink-2); }
@media (max-width: 860px){
  .tw2 { grid-template-columns: 1fr; }
  .tw2-list { display: grid; grid-template-columns: 1fr 1fr; }
  .tw2-item { min-height: 56px; }
}
@media (max-width: 520px){ .tw2-list { grid-template-columns: 1fr; } }


/* --- Sendmarc domain widget: consent row --- */
.domain-consent{display:flex;align-items:flex-start;gap:9px;margin-top:12px;font-size:13px;line-height:1.45;color:var(--ink-mute,#6b6760);cursor:pointer}
.domain-consent input{margin-top:2px;accent-color:var(--accent,#EA5F38);flex:0 0 auto}

/* --- Mega menu: keep open via JS .open class + bridge the nav padding gap --- */
.has-mega.open .mega { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.has-mega.open .mega-trigger .chev { transform: rotate(180deg); }
.mega-contact-go { color: var(--accent); font-weight: 600; }
.mega-contact-go svg { stroke: var(--accent); }

/* --- Footer legal / registration line --- */
.foot-legal { margin: 18px 0 0; max-width: 640px; font-size: 11.5px; line-height: 1.55; color: var(--mute); }

/* --- Sendmarc domain results (rendered inline, full-width, branded) --- */
.domain-results:empty { display: none; }
.domain-results { margin-top: 28px; padding: 24px; background: var(--surface); border: var(--hair) solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.domain-results, .domain-results * { font-family: var(--sans) !important; }
.domain-results h2, .domain-results h3, .domain-results h4 { font-family: var(--display) !important; color: var(--ink); letter-spacing: -0.02em; }

/* System hero: size the headline so "care how IT feels." stays on one line beside the panel */
html[data-hero="system"] .hero h1 { font-size: calc(clamp(34px, 4.4vw, 60px) * var(--scale)); line-height: 1.04; }
html[data-hero="system"] .hero h1 .l { white-space: nowrap; }

/* Mega menu: extend the trigger's hover area through the nav's padding so the
   cursor never crosses a dead zone on the way to the panel */
.nav-links .has-mega { padding-top: 20px; padding-bottom: 20px; margin-top: -20px; margin-bottom: -20px; }

/* --- Industries: icon + proof-chip cards --- */
.ind-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px){ .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .ind-grid { grid-template-columns: 1fr; } }
.ind-card { background: var(--surface); border: var(--hair) solid var(--line); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; }
.ind-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.ind-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); border: var(--hair) solid var(--accent-line); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ind-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ind-chip { font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border: var(--hair) solid var(--accent-line); padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.ind-card h3 { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -0.02em; margin: 0 0 6px; }
.ind-card p { font-size: 13px; line-height: 1.5; color: var(--mute); margin: 0; }

/* --- Testimonials: auto-scroll ticker --- */
.tw-ticker { margin-top: 34px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tw-track { display: flex; gap: 18px; width: max-content; animation: tw-scroll 70s linear infinite; will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; transform: translateZ(0); }
.tw-ticker:hover .tw-track, .tw-ticker:focus-within .tw-track { animation-play-state: paused; }
.tw-card { flex: 0 0 340px; align-self: stretch; display: flex; flex-direction: column; background: var(--surface); border: var(--hair) solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.tw-card .tq { margin: 0 0 18px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.tw-card .tq::before { content: "\201C"; color: var(--accent); font-weight: 800; margin-right: 5px; }
.tw-card .tby { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tw-av { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); border: var(--hair) solid var(--accent-line); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 13px; flex: none; }
.tw-meta strong { display: block; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--ink); }
.tw-meta span { font-size: 12.5px; color: var(--mute); }
@keyframes tw-scroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (prefers-reduced-motion: reduce){
  .tw-track { animation: none; }
  .tw-ticker { overflow-x: auto; }
}

/* --- Reviews block inside Industries --- */
.ind-reviews { margin-top: 46px; padding-top: 30px; border-top: var(--hair) solid var(--line); }
.ind-reviews .tw-ticker { margin-top: 22px; }

/* --- Mobile: centre hero + section headers (cards/lists stay left) --- */
@media (max-width: 680px){
  .hero-copy { text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .svc-hero-copy { text-align: center; }
  .svc-hero-copy .breadcrumb { justify-content: center; }
  .section-head { text-align: center; margin-left: auto; margin-right: auto; }
  .section-head .section-kicker { justify-content: center; }
  .ind-reviews .section-kicker { justify-content: center; }
  #compliance .comp-grid > div:first-child { text-align: center; }
  #compliance .comp-grid > div:first-child .section-kicker,
  #compliance .comp-grid > div:first-child .comp-cert { justify-content: center; }
  #faq .faq-side { text-align: center; }
  #faq .faq-side .section-kicker { justify-content: center; }
  #faq .faq-help { align-items: center; }
}

/* --- Domain-check modal (opened from mega/mobile menu) --- */
.dc-modal[hidden]{ display:none; }
.dc-modal{ position:fixed; inset:0; z-index:200; display:flex; align-items:center; justify-content:center; padding:20px; }
.dc-backdrop{ position:absolute; inset:0; background:rgba(16,15,18,.55); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px); }
.dc-dialog{ position:relative; z-index:1; width:min(560px,100%); max-height:88vh; overflow:auto; background:var(--surface); border:var(--hair) solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow); padding:clamp(24px,4vw,34px); }
.dc-close{ position:absolute; top:12px; right:16px; border:0; background:transparent; font-size:26px; line-height:1; color:var(--mute); cursor:pointer; }
.dc-close:hover{ color:var(--ink); }
.dc-head .eyebrow{ margin-bottom:14px; }
.dc-head h3{ font-family:var(--display); font-weight:800; font-size:24px; color:var(--ink); letter-spacing:-0.02em; }
.dc-head p{ margin-top:10px; color:var(--mute); font-size:14.5px; line-height:1.55; }
.dc-form{ margin-top:18px; display:flex; flex-direction:column; gap:12px; }

/* ===================== LEVEL TEN - refined house style ===================== */
/* Orange restraint */
.eyebrow{ background:transparent!important; border-color:transparent!important; color:var(--mute)!important; padding-left:0!important; }
.eyebrow::before{ background:var(--accent)!important; }
.cta .eyebrow{ color:var(--accent)!important; }
.svc-ic,.ind-ic,.ht-ic{ background:var(--surface-2)!important; border-color:var(--line)!important; color:var(--ink)!important; }
.svc-card:hover .svc-ic{ color:var(--accent)!important; border-color:var(--accent-line)!important; }
.ind-chip{ color:var(--ink-2)!important; background:var(--surface-2)!important; border-color:var(--line)!important; }
.ind-chip::before{ content:""; display:inline-block; width:5px; height:5px; border-radius:50%; background:var(--accent); margin-right:7px; vertical-align:middle; }
.tw-av{ background:var(--surface-2)!important; border-color:var(--line)!important; color:var(--ink)!important; }
/* Whitespace / breathing room */
section.block{ padding-top:clamp(84px,10vw,152px)!important; padding-bottom:clamp(84px,10vw,152px)!important; }
.hero{ padding-top:clamp(140px,15vw,180px)!important; padding-bottom:clamp(72px,8vw,110px)!important; }
.svc-hero{ padding-top:clamp(132px,14vw,170px)!important; padding-bottom:clamp(56px,7vw,86px)!important; }
.section-head{ margin-bottom:clamp(46px,6vw,78px)!important; }
.svc-card{ padding:26px!important; } .ind-card{ padding:26px!important; }
/* Refined sans headlines */
.hero h1, .svc-hero h1, h2, .section-head h2{ font-weight:600!important; letter-spacing:-0.005em!important; line-height:1.07!important; }
/* Lifted white cards (depth via soft shadow, softened borders) */
.svc-card,.ind-card,.tw-card{ background:#fff!important; border-color:color-mix(in srgb,var(--line) 55%,transparent)!important; box-shadow:0 1px 2px rgba(16,15,18,.03),0 16px 36px -24px rgba(16,15,18,.16)!important; }
.ind-grid{ background:transparent!important; border:0!important; gap:16px!important; }
/* Tonal section rhythm (homepage) */
#compliance, #faq{ background:var(--bg-2)!important; border-top:1px solid var(--line)!important; border-bottom:1px solid var(--line)!important; }
/* Partner logos: more visible */
.marquee-track img{ opacity:.85!important; }
/* Mega menu Tools divider */
.mega-divider{ height:1px; background:var(--line); margin:14px 10px 4px; }

/* Mobile: fully remove the hidden hero ops-panel so it can't intercept taps */
@media (max-width: 980px){
  .hero-side, .hero-panel-wrap, .hero-ops { display: none !important; pointer-events: none !important; }
}
.hero-aura { pointer-events: none; }
@media (max-width: 680px){ .hero h1 .l { white-space: normal; } }

/* Mobile header: solid bar (drop translucent blur that glitches on iOS Safari) */
@media (max-width: 920px){
  .site-nav, .site-nav.scrolled {
    background: var(--bg) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border-bottom: var(--hair) solid var(--line);
  }
  .mobile-menu { background: var(--bg) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}

/* Mobile: hero trust badges as one centred, compact row of three */
@media (max-width: 680px){
  .hero-copy, html[data-hero="system"] .hero-copy { text-align: center; }
  .hero-trust { flex-direction: row; flex-wrap: nowrap; align-items: flex-start; justify-content: center; gap: 10px; }
  .hero-trust .ht-item { flex-direction: column; align-items: center; text-align: center; gap: 8px; flex: 1 1 0; min-width: 0; }
  .hero-trust .ht-ic { width: 38px; height: 38px; }
  .hero-trust .ht-l { font-size: 11px; line-height: 1.3; }
  .hero-trust .ht-div { display: none; }
}

/* FIX: collapse hero to one column on mobile so the hidden ops-panel's empty
   grid column doesn't squeeze the copy left (it stays 2-col otherwise) */
@media (max-width: 980px){
  .hero-inner { grid-template-columns: 1fr !important; }
}

/* Hero eyebrow keeps the accent pill (section eyebrows stay minimal) */
.hero .eyebrow, .svc-hero .eyebrow {
  background: var(--accent-soft) !important;
  border: var(--hair) solid var(--accent-line) !important;
  color: var(--accent) !important;
  padding: 7px 14px !important;
  border-radius: 999px !important;
}

/* Testimonial ticker: much slower on mobile (a single card crosses fast on narrow screens) */
@media (max-width: 680px){ .tw-track { animation-duration: 105s; } }

/* Homepage hero eyebrow: pill on desktop, plain on mobile */
@media (max-width: 680px){
  .hero .eyebrow {
    background: transparent !important;
    border-color: transparent !important;
    color: var(--mute) !important;
    padding: 0 !important;
  }
}

/* Homepage hero on the same warm band as service heroes (consistent), header matches at top */
.hero { background: var(--bg-2); border-bottom: var(--hair) solid var(--line); }
.site-nav:not(.scrolled){ background: var(--bg-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (max-width: 920px){ .site-nav:not(.scrolled){ background: var(--bg-2) !important; } }

/* Hero band: slightly lighter warm tone (header matches at top) */
.hero, .svc-hero { background: #F7F4EE !important; }
.site-nav:not(.scrolled){ background: #F7F4EE !important; }
@media (max-width: 920px){ .site-nav:not(.scrolled){ background: #F7F4EE !important; } }

/* Match the warm section bands (Compliance, FAQ) to the lighter hero tone */
#compliance, #faq { background: #F7F4EE !important; }


/* --- Contact hero: what-to-expect list inside pf-card --- */
.ch-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ch-list li { display: flex; align-items: center; gap: 13px; text-align: left; }
.ch-ic { width: 38px; height: 38px; flex: none; border-radius: 10px; border: var(--hair) solid var(--accent-line); background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.ch-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ch-list strong { display: block; font-family: var(--display); font-size: 14.5px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.ch-list span { font-size: 12.5px; color: var(--mute); }
