/* ==========================================================================
   EXEVE Global -- design system
   Palette + typography locked in direction/Brand Kit/BRAND-NOTES.md.
   Structure and motion adapted from direction/index.html (CEO design
   reference, 2026-07-06).
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: #fff; color: #1d1d1f; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
img { display: block; max-width: 100%; height: auto; }

:root {
  --ember: #FE4C1C; --ember-d: #D93C0E; --ember-t: rgba(254,76,28,0.08);
  --signal-red: #D9302D; --cobalt: #1754F1; --cyan: #00C3FF;
  --cream: #FFF3E9; --soft-peach: #FFEBE6; --soft-blue: #EAF3FF; --soft-cyan: #E3F7FD;
  --ink: #09090F; --ink-2: #111118;
  --on-ink: rgba(255,255,255,0.50);
  --on-ink-bright: rgba(255,255,255,0.88);
  --grey: #1d1d1f; --grey-2: #636366; --grey-3: #8e8e93; --grey-4: #aeaeb2;
  --surface: #F5F5F7; --border: #e5e5ea; --border-lt: #f0f0f5;
  --font-display: "Red Hat Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --r: 12px; --r-lg: 18px; --r-xl: 22px; --r-2xl: 28px;
  --t: .2s cubic-bezier(.4,0,.2,1);
  --sh-sm: 0 2px 8px rgba(0,0,0,0.07);
  --sh-md: 0 6px 24px rgba(0,0,0,0.09), 0 1px 4px rgba(0,0,0,0.05);
  --sh-lg: 0 16px 48px rgba(0,0,0,0.13), 0 3px 10px rgba(0,0,0,0.06);
}

/* ── PRELOADER ──
   Fixed full-viewport screen shown while the page's critical assets (hero
   canvas, fonts, images) settle in. JS fades it out on window `load`; the
   animation-delay fallback below force-hides it even if JS never runs, so
   a script error can never leave a visitor staring at a stuck screen. */
#site-preloader {
  position: fixed; inset: 0; z-index: 500;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  background: var(--ink);
  transition: opacity .18s ease, visibility .18s;
  animation: preloader-force-hide 0s 8s forwards;
}
#site-preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes preloader-force-hide { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.preloader-mark { height: 30px; width: auto; animation: preloader-pulse 1.6s ease-in-out infinite; }
.preloader-bar { width: 120px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 40%; border-radius: 2px; background: linear-gradient(90deg, #FE4C1C, #1754F1, #00C3FF); animation: preloader-sweep 1.1s ease-in-out infinite; }
@keyframes preloader-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes preloader-sweep { 0% { transform: translateX(-140%); } 100% { transform: translateX(340%); } }
@media (prefers-reduced-motion: reduce) {
  .preloader-mark { animation: none; opacity: .9; }
  .preloader-bar span { animation: none; width: 100%; }
}

/* ── LAYOUT ── */
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }
@media (min-width: 1480px) { .container { padding: 0 60px; } }

/* ── TYPOGRAPHY ── */
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ember); display: block; margin-bottom: 10px; font-family: var(--font-body); }
h1, h2, h3, .h1, .h2, .h3 { font-family: var(--font-display); }
.h1 { font-size: clamp(38px, 6.8vw, 80px); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; color: #fff; }
.h2 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; color: #1d1d1f; }
.h2-white { color: #fff; }
.h2 em, .h2-white em { font-style: normal; color: var(--ember); }
.h3 { font-size: clamp(19px, 2.4vw, 24px); font-weight: 700; line-height: 1.25; letter-spacing: -.015em; color: #1d1d1f; }
.body-lg { font-size: clamp(16px, 1.8vw, 19px); line-height: 1.75; color: var(--grey-2); font-weight: 300; }
.body { font-size: 15px; line-height: 1.7; color: var(--grey-2); }
p { margin: 0; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; border: 1.5px solid transparent; transition: all var(--t); cursor: pointer; }
.btn svg { width: 13px; height: 13px; flex-shrink: 0; }
.btn-ember { background: var(--ember); color: #fff; box-shadow: 0 2px 12px rgba(254,76,28,.30); }
.btn-ember:hover { background: var(--ember-d); box-shadow: 0 4px 20px rgba(254,76,28,.42); transform: translateY(-1px); }
.btn-dark { background: #1d1d1f; color: #fff; }
.btn-dark:hover { background: #2d2d35; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #1d1d1f; border-color: var(--border); }
.btn-outline:hover { border-color: #1d1d1f; background: var(--surface); }
.btn-ghost-white { background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.18); }
.btn-ghost-white:hover { background: rgba(255,255,255,.13); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 15px 32px; font-size: 15px; }
.btn-block { width: 100%; justify-content: center; }
@media (min-width: 1140px) {
  .btn { white-space: nowrap; }
}

/* ── NAV ── */
/* position: fixed -- floats above the page as an overlay, detached from the
   viewport edge on all sides (v1 bento-grid reference). Every page's first
   section already pads its content by calc(64px + Npx) to clear a 64px nav,
   so its dark/colored background can bleed to y:0 behind the floating pill. */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 300; padding: 16px 24px 0; transition: transform .35s cubic-bezier(.4,0,.2,1); }
@media (min-width: 768px) { .nav { padding: 18px 24px 0; } }
@media (min-width: 1480px) { .nav { padding: 20px 60px 0; } .nav-inner {padding: 0 32px;} }
.nav.nav-hidden { transform: translateY(-130%); }
.nav-inner {
  position: relative;
  display: flex; align-items: center; height: 64px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: var(--sh-md);
  transition: box-shadow var(--t), border-color var(--t);
  padding: 0 24px;
}
/* Frosted-glass fill lives on a pseudo-element rather than directly on
   .nav-inner: backdrop-filter on an ancestor creates a new containing block
   for position:fixed descendants, which was silently anchoring the mobile
   drawer to the nav pill's box instead of the true viewport (~25px off the
   left edge instead of flush). Moving it here keeps the same look without
   .nav-inner being an offset-affecting ancestor of .nav-links. */
.nav-inner::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: rgba(20,20,28,.72);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  transition: background var(--t);
}
.nav.scrolled .nav-inner { box-shadow: var(--sh-lg); }
.nav.scrolled .nav-inner::before { background: rgba(20,20,28,.9); }
.nav-logo { position: relative; display: flex; align-items: center; flex-shrink: 0; height: 26px; color: #1d1d1f; }
.nav-logo-img { display: flex; align-items: center; transition: opacity .25s ease; }
.nav-logo-img-dark { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.nav.nav-on-dark .nav-logo-img-dark { opacity: 1; }
.nav.nav-on-dark .nav-logo-img-light { opacity: 0; }
/* ── NAV LIGHT/DARK ADAPTATION ──
   Deliberately inverted from the "readable" convention: the pill contrasts
   *against* whatever's behind it rather than blending with it -- dark pill
   over light sections, light pill over dark sections (a dark hero, the
   footer, etc). .nav-on-dark is toggled by JS (a point-probe just below the
   header, on scroll) whenever a dark-background section sits directly
   behind it, and here means "show the light pill" as a result. */
.nav.nav-on-dark .nav-inner { border-color: rgba(0,0,0,0.15); }
.nav.nav-on-dark .nav-inner::before { background: rgba(255,255,255,0.85); }
.nav.nav-on-dark.scrolled .nav-inner::before { background: rgba(255,255,255,0.97); }
/* Scoped to direct-child anchors only (About/Work/Insights/Contact + the
   two mega-triggers) -- a bare ".nav-links a" would also reach into the
   mega-menu dropdowns nested inside these same <li>s and clobber their own
   ember/dark-mode link colors (mega-promo-full-btn, mega-footer-link) with
   this rule's higher specificity, since those live several levels deeper. */
.nav.nav-on-dark .nav-links > li > a { color: #000; }
.nav.nav-on-dark .nav-links > li > a:hover { color: #1d1d1f; background: rgba(0,0,0,0.04); }
.nav.nav-on-dark .nav-mega-trigger { color: var(--grey-2); }
.nav.nav-on-dark .nav-has-mega:hover .nav-mega-trigger, .nav.nav-on-dark .nav-has-mega.open .nav-mega-trigger { color: #1d1d1f; background: rgba(0,0,0,0.04); }
.nav.nav-on-dark .btn-nav-ghost { color: #3a3a3c; border-color: #3a3a3c; }
.nav.nav-on-dark .btn-nav-ghost:hover { border-color: #3a3a3c; background: var(--surface); }
.nav.nav-on-dark .nav-ham span { background: #1d1d1f; }
.nav.nav-on-dark .nav-ham[aria-expanded="true"] span { background: var(--ember); }
.nav-links { flex: 1; display: flex; justify-content: center; align-items: center; list-style: none; gap: 0; }
.nav-links a { display: block; padding: 6px 13px; border-radius: 8px; font-size: 14px; font-weight: 400; color: rgba(255,255,255,.75); transition: color var(--t), background var(--t); letter-spacing: -.01em; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.09); }
.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn-nav-ghost { padding: 7px 16px; border-radius: 10px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.35); transition: all var(--t); letter-spacing: -.01em; }
.btn-nav-ghost:hover { border-color: #fff; background: rgba(255,255,255,.09); }
.btn-nav-cta { padding: 7px 16px; border-radius: 10px; font-size: 13px; font-weight: 600; color: #fff; background: var(--ember); letter-spacing: -.01em; transition: all var(--t); box-shadow: 0 2px 8px rgba(254,76,28,0.28); border: 1px solid var(--ember); }
.btn-nav-cta:hover { background: var(--ember-d); box-shadow: 0 3px 14px rgba(254,76,28,0.38); transform: translateY(-1px); }
/* Single-goal landing header (base_landing.html): just logo + one CTA, no
   .nav-links element in between to push .nav-right out via flex:1, so pull
   it to the far edge explicitly instead. */
.nav-minimal .nav-inner { justify-content: space-between; }
/* Hamburger icon: three ascending bars, rounded caps, centered in their own
   hit box -- the logo mark's three ascending bars rotated 90deg (its
   left-to-right growth becomes top-to-bottom). The open/active state morphs
   the whole thing into an ember X.
   Hover/focus only tints the button's own background pill, never the bars
   themselves -- a bar-level hover style used to double as a near-identical
   copy of the [aria-expanded="true"] look (ember, uniform width), so a
   closed menu could appear to show two different icons depending on
   whether it was last closed by re-clicking the hamburger (cursor still
   hovering it afterward) or by clicking the backdrop (cursor moved away).
   Bar appearance is now driven solely by aria-expanded, not by hover. */
.nav-ham { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 34px; height: 34px; padding: 0; margin-left: auto; border-radius: 10px; background: transparent; transition: background var(--t); cursor: pointer; }
.nav-ham:hover, .nav-ham:focus-visible { background: rgba(254,76,28,.08); }
.nav-ham span { display: block; height: 2px; border-radius: 999px; background: #fff; transition: width .3s cubic-bezier(.4,0,.2,1), transform .3s cubic-bezier(.4,0,.2,1), opacity .2s ease, background var(--t); }
.nav-ham span:nth-child(1) { width: 20px; }
.nav-ham span:nth-child(2) { width: 20px; }
.nav-ham span:nth-child(3) { width: 20px; }
.nav-ham[aria-expanded="true"] { background: rgba(254,76,28,.1); }
.nav-ham[aria-expanded="true"] span { background: var(--ember); width: 20px; }
.nav-ham[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-ham[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translateX(6px); }
.nav-ham[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* .nav-drawer wraps the header/links/footer for the mobile off-canvas menu.
   On desktop it's `display:contents` -- structurally present but invisible
   to layout, so .nav-links still sits directly in .nav-inner's flex row
   exactly as before. Only on mobile does it become the actual sliding panel. */
.nav-drawer { display: contents; }
.nav-drawer-header, .nav-drawer-footer { display: none; }
.nav-mobile-only { display: none; }
.nav-drawer-backdrop { position: fixed; inset: 0; z-index: 298; background: rgba(9,9,15,.5); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
body.nav-drawer-open .nav-drawer-backdrop { opacity: 1; visibility: visible; }
body.nav-drawer-open { overflow: hidden; }

/* ── NAV MEGA MENU ──
   Two dropdowns (Digital Growth / Digital Optimization), full-width and
   centered under the nav like the original design, for maximum breathing
   room per column. The column count is fixed per dropdown (3 for Growth, 2
   for Digital Optimization) and never reduced at narrower widths -- that's
   what caused the original overflow:
   columns collapsing and stacking into extra rows multiplied the height.
   Here columns just get narrower (occasional 2-line wrap) instead of
   multiplying into more rows, so height stays bounded. A max-height + scroll
   safety net remains as a last resort for genuinely short viewports. */
.nav-mega-trigger { display: flex; align-items: center; gap: 5px; padding: 6px 13px; border-radius: 8px; font-size: 14px; font-weight: 400; color: rgba(255,255,255,.6); transition: color var(--t), background var(--t); cursor: pointer; }
.nav-mega-trigger svg { transition: transform var(--t); width: 10px; height: 10px; }
.nav-has-mega:hover .nav-mega-trigger, .nav-has-mega.open .nav-mega-trigger { color: #fff; background: rgba(255,255,255,.09); }
.nav-has-mega:hover .nav-mega-trigger svg, .nav-has-mega.open .nav-mega-trigger svg { transform: rotate(180deg); }
.mega-menu {
  position: fixed; top: 88px; left: 0; right: 0;
  width: calc(100% - 48px); margin: 0 auto;
  max-height: calc(100vh - 88px - 24px); overflow-y: auto; overflow-x: hidden;
  background: #fff; border: 1px solid rgba(0,0,0,0.07); border-radius: var(--r-2xl);
  box-shadow: var(--sh-lg); z-index: 299;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  pointer-events: none;
  scrollbar-width: thin; scrollbar-color: rgba(254,76,28,.35) transparent;
}
.mega-menu::-webkit-scrollbar { width: 8px; }
.mega-menu::-webkit-scrollbar-track { background: transparent; }
.mega-menu::-webkit-scrollbar-thumb { background: rgba(254,76,28,.35); border-radius: 999px; }
.mega-menu::-webkit-scrollbar-thumb:hover { background: rgba(254,76,28,.55); }
@media (min-width: 768px) { .mega-menu { width: calc(100% - 96px); } }
/* Growth (3 cols: Foundation/Marketing/Technology) uses the full original
   width for maximum content richness. Digital Optimization (2 cols:
   Strategy/Support) is much shorter content, so it caps narrower rather
   than stretching full-bleed with empty space on both sides. */
.mega-cols-3 { max-width: 1400px; }
.mega-cols-2 { max-width: 620px; }
/* AI Services -- deliberately not a third mega-menu shape. Two items today
   don't fill a 620px+ panel without looking unfinished, and the brief was
   "special attention," not "browse everything," so this is a small,
   spotlighted card instead: single column, capped narrow, marked out with
   a gradient edge (ember -> cobalt -> cyan, the same three accents used
   for the AI-specific icon below) rather than the plain hairline border
   the other two dropdowns use. */
.mega-cols-ai { max-width: 340px; border: none; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--ember), var(--cobalt), var(--cyan)) border-box; border: 1.5px solid transparent; }
.mega-cols-ai .mega-grid-inner { grid-template-columns: 1fr; padding: 22px; }
.mega-cols-ai .mega-col { padding: 0; }
@media (min-width: 1141px) {
  .nav:not(.nav-on-dark) .mega-cols-ai { background: linear-gradient(var(--ink-2), var(--ink-2)) padding-box, linear-gradient(135deg, var(--ember), var(--cobalt), var(--cyan)) border-box; }
}
.nav-ai-icon { color: var(--ember); background: linear-gradient(135deg, rgba(254,76,28,.16), rgba(23,84,241,.16)); border-color: rgba(254,76,28,.3); }
.nav-has-mega:hover .mega-menu, .nav-has-mega.open .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.mega-grid-inner { padding: 30px 34px 34px; display: grid; gap: 0; }
.mega-cols-3 .mega-grid-inner { grid-template-columns: repeat(3, 1fr); }
.mega-cols-2 .mega-grid-inner { grid-template-columns: repeat(2, 1fr); }
.mega-col { padding: 0 26px 0 0; }
.mega-col + .mega-col { padding-left: 26px; border-left: 1px solid var(--border-lt); }
.mega-col-head { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-4); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border-lt); }
a.mega-item { display: flex; align-items: flex-start; gap: 12px; padding: 9px 10px; border-radius: var(--r); margin-bottom: 2px; transition: background var(--t); color: inherit; }
.mega-item:hover { background: var(--surface); }
.mega-item:hover .mega-item-name { color: var(--ember); }
.mega-item-icon { width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; background: var(--surface); border: 1px solid var(--border-lt); display: flex; align-items: center; justify-content: center; color: var(--grey-3); transition: background var(--t), color var(--t), border-color var(--t); }
.mega-item:hover .mega-item-icon { background: var(--ember-t); border-color: rgba(254,76,28,.2); color: var(--ember); }
.mega-item-name { font-size: 13px; font-weight: 600; color: #1d1d1f; margin-bottom: 2px; letter-spacing: -.01em; transition: color var(--t); }
.mega-item-desc { font-size: 11px; color: var(--grey-3); line-height: 1.4; }
.mega-promo-full { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 4px 32px 26px; padding: 16px 20px; background: var(--ink); border-radius: var(--r-lg); }
.mega-promo-full-title { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: -.01em; font-family: var(--font-display); }
.mega-promo-full-body { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 2px; }
a.mega-promo-full-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--ember); transition: gap var(--t); }
.mega-promo-full-btn:hover { gap: 8px; }
a.mega-footer-link { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 4px 32px 24px; padding: 12px; border-top: 1px solid var(--border-lt); border-radius: var(--r); font-size: 12px; font-weight: 600; color: var(--ember); transition: gap var(--t), background var(--t); }
.mega-footer-link:hover { gap: 10px; background: var(--surface); }
/* Mega menu dark adaptation -- mirrors the pill's own light/dark swap
   (.nav-on-dark above): when the pill is showing its default *dark* glass
   look, the dropdown beneath it goes dark too, instead of always popping up
   as a white card. Scoped to desktop only (min-width matches the 1140px
   point where .mega-menu becomes the mobile drawer accordion) since the
   drawer's version is deliberately always-white regardless of pill state,
   per the mobile override below -- and this keeps specificity fights with
   that rule from ever being possible. */
@media (min-width: 1141px) {
  .nav:not(.nav-on-dark) .mega-menu { background: var(--ink-2); border-color: rgba(255,255,255,.08); }
  .nav:not(.nav-on-dark) .mega-col + .mega-col { border-left-color: rgba(255,255,255,.08); }
  .nav:not(.nav-on-dark) .mega-col-head { color: rgba(255,255,255,.35); border-bottom-color: rgba(255,255,255,.08); }
  .nav:not(.nav-on-dark) .mega-item:hover { background: rgba(255,255,255,.06); }
  .nav:not(.nav-on-dark) .mega-item-icon { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: var(--on-ink); }
  .nav:not(.nav-on-dark) .mega-item:hover .mega-item-icon { background: var(--ember-t); border-color: rgba(254,76,28,.3); color: var(--ember); }
  .nav:not(.nav-on-dark) .mega-item-name { color: #fff; }
  .nav:not(.nav-on-dark) .mega-item-desc { color: var(--on-ink); }
  .nav:not(.nav-on-dark) .mega-promo-full { background: rgba(255,255,255,.06); }
  .nav:not(.nav-on-dark) a.mega-footer-link { border-top-color: rgba(255,255,255,.08); }
  .nav:not(.nav-on-dark) .mega-footer-link:hover { background: rgba(255,255,255,.06); }
}

/* Mobile overrides -- placed after the desktop nav/mega-menu rules above so
   these actually win the cascade at equal specificity (a media-scoped rule
   earlier in the file loses to an unconditional rule later in the file, on
   the same selector -- learned that the hard way: the drawer was rendering
   at desktop's fixed/full-width box before this block was moved here). */
@media (max-width: 1140px) {
  .nav-right { display: none; }
  .nav-ham { display: flex; }
  .nav-desktop-only { display: none; }
  .nav-mobile-only { display: block; }
  /* Standard slide-in drawer from the left, full height, with a backdrop,
     structured as header (logo) / body (scrollable links) / footer (CTA +
     social) -- replaces both the old centered dropdown card and the flat
     unstructured link list. */
  .nav-drawer {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; z-index: 299;
    width: min(320px, 85vw); height: 100vh; height: 100dvh;
    background: #fff; box-shadow: var(--sh-lg);
    transform: translateX(-100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
  }
  body.nav-drawer-open .nav-drawer { transform: translateX(0); }
  .nav-drawer-header { display: flex; align-items: center; flex-shrink: 0; padding: 22px 22px 18px; border-bottom: 1px solid var(--border-lt); }
  .nav-drawer-logo { display: flex; }
  /* The unconditional desktop rule above (.nav-links { justify-content:
     center }) horizontally centers the top-bar links -- it isn't overridden
     here just by switching flex-direction to column, so without this line
     that same "center" now centers the drawer's items vertically instead of
     letting them stack from the top. */
  .nav-links {
    flex: 1; overflow-y: auto; min-height: 0;
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    list-style: none; margin: 0; padding: 10px 14px;
  }
  .nav-links li { border-bottom: 1px solid var(--border-lt); }
  .nav-links li:last-child { border-bottom: none; }
  /* The drawer's own background is always white regardless of what's
     scrolled behind the fixed header, so its text/icons stay dark
     unconditionally -- they must not inherit the adaptive light/dark pill
     colors above, which only apply to the floating desktop pill. */
  .nav-links a { padding: 14px 10px; font-size: 16px; border-radius: 10px; text-align: left; color: #1d1d1f; }
  .nav-links a:hover { color: #1d1d1f; background: rgba(0,0,0,0.04); }
  .nav-mega-trigger { width: 100%; justify-content: space-between; color: var(--grey-2); }
  .nav-has-mega:hover .nav-mega-trigger, .nav-has-mega.open .nav-mega-trigger { color: #1d1d1f; background: rgba(0,0,0,0.04); }
  .nav-drawer-footer { flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; padding: 18px 22px 24px; border-top: 1px solid var(--border-lt); }
  .nav-drawer-cta { display: flex; flex-direction: column; gap: 10px; }
  .nav-drawer-cta .btn-nav-ghost, .nav-drawer-cta .btn-nav-cta { text-align: center; padding: 13px; border-radius: 12px; font-size: 14px; }
  .nav-drawer-cta .btn-nav-ghost { color: #3a3a3c; border-color: #3a3a3c; }
  .nav-drawer-cta .btn-nav-ghost:hover { border-color: #3a3a3c; background: var(--surface); }
  .nav-drawer-socs { display: flex; align-items: center; justify-content: center; gap: 10px; }
  .nav-drawer-socs .f-soc { background: var(--surface); border-color: var(--border-lt); color: var(--grey-3); }
  /* On mobile the mega menu becomes a tap-to-expand accordion inside the
     drawer instead of the desktop hover panel, so every category stays
     reachable (previously fully inaccessible below this width). */
  .mega-menu {
    position: static; opacity: 1; visibility: visible; transform: none; pointer-events: auto;
    width: 100%; max-width: none; max-height: none; overflow: visible;
    box-shadow: none; border: none; border-radius: 0; background: transparent;
    display: none; margin: 2px 0 10px;
  }
  .nav-has-mega.mega-open .mega-menu { display: block; }
  .nav-has-mega.mega-open .nav-mega-trigger svg { transform: rotate(180deg); }
  .mega-grid-inner { display: flex !important; flex-direction: column; padding: 4px 0 0; }
  .mega-col { padding: 0; }
  .mega-col + .mega-col { padding-left: 0; border-left: none; margin-top: 16px; }
  .mega-col-head { margin-bottom: 8px; }
  a.mega-item { padding: 8px 4px; }
  .mega-promo-full, .mega-item, a.mega-footer-link { margin-left: 0; margin-right: 0; }
}

/* ── HERO ── */
.hero { position: relative; min-height: 60vh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--ink); }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; forced-color-adjust: none; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(9,9,15,.35) 0%, rgba(9,9,15,.75) 55%, rgba(9,9,15,.97) 100%); }
.hero-content { position: relative; z-index: 2; padding: calc(64px + 18px +  60px) 40px 60px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } .hero-content { padding: calc(64px + 18px +  100px) 100px 100px; }}

.hero-tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px 5px 7px; border-radius: 999px; background: rgba(254,76,28,.12); border: 1px solid rgba(254,76,28,.22); margin-bottom: 24px; }
.hero-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); flex-shrink: 0; animation: blink 2.2s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.hero-tag-text { font-size: 12px; font-weight: 500; color: var(--ember); letter-spacing: .04em; text-transform: uppercase; }
.hero-title { margin-bottom: 20px; }
.hero-accent { color: var(--ember); }
.hero-sub { font-size: clamp(15px, 1.7vw, 18px); font-weight: 300; line-height: 1.7; color: var(--on-ink); max-width: 480px; margin-bottom: 36px; }
.hero-sub strong { color: var(--on-ink-bright); font-weight: 500; }

.hero-proof { display: flex; align-items: stretch; gap: 0; border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px; flex-wrap: wrap; }
.proof-item { flex: 1; min-width: 90px; padding: 0 20px 0 0; }
.proof-item + .proof-item { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.1); }
.proof-n { font-size: clamp(24px, 3.5vw, 36px); font-weight: 800; color: #fff; letter-spacing: -.04em; line-height: 1; font-family: var(--font-display); }
.proof-accent { color: var(--ember); }
.proof-l { font-size: 11px; color: rgba(255,255,255,.38); margin-top: 4px; font-weight: 400; }

.hero-form-card { background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); border-radius: var(--r-2xl); overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,.40), 0 4px 16px rgba(0,0,0,.20); }
.hfc-header { padding: 28px 28px 0; }
.hfc-title { font-size: 18px; font-weight: 700; color: #1d1d1f; letter-spacing: -.02em; margin-bottom: 6px; font-family: var(--font-display); }
.hfc-sub { font-size: 13px; line-height: 1.6; color: var(--grey-2); }
.hfc-form { padding: 20px 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.hfc-field { display: flex; flex-direction: column; gap: 5px; }
.hfc-label { font-size: 11px; font-weight: 600; color: var(--grey-2); letter-spacing: .04em; text-transform: uppercase; }
.hfc-input, .hfc-select, .hfc-form input, .hfc-form select, .hfc-form textarea {
  padding: 12px 14px; border-radius: var(--r); font-size: 14px; font-family: inherit; font-weight: 400;
  background: #fff; color: #1d1d1f; border: 1.5px solid var(--border); outline: none;
  transition: border-color var(--t), box-shadow var(--t); width: 100%; -webkit-appearance: none;
}
.hfc-form textarea { resize: vertical; min-height: 100px; line-height: 1.5; }
.hfc-input:focus, .hfc-select:focus, .hfc-form input:focus, .hfc-form select:focus, .hfc-form textarea:focus { border-color: var(--ember); box-shadow: 0 0 0 3px rgba(254,76,28,.1); }
.hfc-select, .hfc-form select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 38px;
}
.hfc-submit { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px 20px; border-radius: var(--r); font-size: 15px; font-weight: 600; color: #fff; font-family: inherit; background: var(--ember); border: none; cursor: pointer; box-shadow: 0 3px 14px rgba(254,76,28,.35); transition: all var(--t); letter-spacing: -.01em; }
.hfc-submit:hover { background: var(--ember-d); box-shadow: 0 5px 20px rgba(254,76,28,.48); transform: translateY(-1px); }
/* htmx adds `disabled` via hx-disabled-elt for the exact duration of the
   in-flight request, so a second click physically can't register --
   this just makes that state visible instead of looking identical to
   idle, which read as "did my click even work?" */
.hfc-submit:disabled, .midcap-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.hfc-submit svg { width: 15px; height: 15px; flex-shrink: 0; }
/* Spinner swaps in for the exact duration of the in-flight request (htmx
   adds .htmx-request to the <form> itself, so this is a plain descendant
   rule -- no hx-indicator wiring needed) so the disabled button reads as
   "working" instead of just "greyed out". */
.btn-spinner { display: none; width: 15px; height: 15px; margin-right: 6px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; flex-shrink: 0; animation: btn-spin .65s linear infinite; }
.hfc-submit .btn-spinner { margin-right: 0; }
.htmx-request .btn-spinner { display: inline-block; }
.htmx-request .hfc-submit svg { display: none; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn-spinner { animation-duration: 1.4s; } }
.hfc-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; color: var(--grey-3); text-align: center; }

.hfc-success { padding: 36px 28px 32px; text-align: center; }
.hfc-success-icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(27,122,71,.1); border: 1.5px solid rgba(27,122,71,.25); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: #1B7A47; }
.hfc-success-title { font-size: 18px; font-weight: 700; color: #1d1d1f; margin-bottom: 8px; letter-spacing: -.02em; font-family: var(--font-display); }
.hfc-success-body { font-size: 13px; line-height: 1.65; color: var(--grey-2); margin-bottom: 16px; }
.hfc-success-link { font-size: 13px; font-weight: 600; color: var(--ember); display: inline-flex; align-items: center; gap: 4px; }
.field-error { color: var(--signal-red); font-size: 12px; margin-top: -8px; }

/* ── INQUIRY MODAL: pricing-card / hero / FAQ "book a call" links on
   service pages load the contact form in here via htmx instead of
   navigating away, so an inquiry is one click and no page change. ── */
.modal-overlay { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(10,10,12,.6); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t); }
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal-panel { position: relative; width: 100%; max-width: 440px; max-height: 90vh; overflow-y: auto; transform: translateY(12px) scale(.98); transition: transform var(--t); }
.modal-overlay.is-open .modal-panel { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); color: var(--grey-2); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--t); z-index: 1; }
.modal-close:hover { background: var(--ember-t); color: var(--ember); border-color: rgba(254,76,28,.2); }
.modal-loading { padding: 40px 28px; text-align: center; font-size: 13px; color: var(--grey-3); }
body.modal-locked { overflow: hidden; }

/* ── COOKIE CONSENT BANNER: gates GA4 -- gtag.js is only ever injected
   after Accept (see main.js), never loaded speculatively. ── */
.consent-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 400; max-width: 640px; margin: 0 auto; background: var(--ink); border-radius: var(--r-lg); box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity var(--t), visibility var(--t), transform var(--t); }
.consent-banner.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.consent-banner-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 18px 22px; }
.consent-text { flex: 1 1 260px; font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.72); margin: 0; }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent-decline, .consent-accept { padding: 9px 18px; border-radius: 8px; font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer; transition: all var(--t); }
.consent-decline { background: transparent; color: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.18); }
.consent-decline:hover { color: #fff; border-color: rgba(255,255,255,.32); }
.consent-accept { background: var(--ember); color: #fff; border: none; }
.consent-accept:hover { background: var(--ember-d); }
@media (max-width: 560px) { .consent-banner-inner { flex-direction: column; align-items: stretch; } .consent-actions { justify-content: flex-end; } }

.hero-form-proof { display: flex; align-items: center; gap: 0; flex-wrap: wrap; margin-top: 12px; padding: 0 4px; justify-content: center; }
.hfp-item { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; font-size: 11px; color: rgba(255,255,255,.45); font-weight: 500; white-space: nowrap; }
.hfp-more { font-size: 11px; color: rgba(255,255,255,.3); padding-left: 4px; font-style: italic; }

/* Self-hosted flag SVGs (static/img/flags/, via the flag_icon template tag)
   replace regional-indicator emoji, which render as plain two-letter codes
   on Windows and other platforms without a color-flag font. Sized/aligned
   to drop into any inline or flex text context -- hero proof strip, case
   card locations, footer markets, marquee. */
.flag-icon { width: 16px; height: 12px; border-radius: 2px; object-fit: cover; flex-shrink: 0; vertical-align: -1px; box-shadow: 0 0 0 1px rgba(125,132,145,.28); }
/* Plain inline text lets a browser wrap between an inline image and the
   word right after it, same as it would between two words -- that put the
   flag on one line and the country name on the next in narrow cards. This
   glues a flag icon and its label into one unbreakable unit wherever they
   aren't already inside a flex row of their own. */
.flag-line { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

/* ── MARQUEE ── */
/* Seamless infinite loop: main.js renders the item list twice back to back,
   and the keyframe only ever travels the first copy's width (-50% of the
   track's own total width, which is exactly one copy since it's doubled),
   so the jump from -50% back to 0% lands on visually identical content --
   no restart/snap is visible. will-change hints the compositor so the
   animation stays smooth even while other canvas/JS work is running. */
.marquee-bar { background: var(--ink-2); border-top: 1px solid rgba(255,255,255,.07); padding: 14px 0; overflow: hidden; user-select: none; }
.marquee-track { display: flex; width: max-content; white-space: nowrap; animation: scroll 46s linear infinite; will-change: transform; }
.marquee-track:hover { animation-play-state: paused; }
.mq-item { display: inline-flex; align-items: center; gap: 18px; padding: 0 20px; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.28); flex-shrink: 0; white-space: nowrap; }
.mq-item .mq-flag { margin-right: -10px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── CLIENT LOGO CAROUSEL ── */
.logo-bar { position: relative; padding: 40px 0; overflow: hidden; background: #fff; }
.logo-bar-label { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-4); margin-bottom: 24px; }
.logo-bar-rows {
  -webkit-mask-image: radial-gradient(ellipse 62% 100% at 50% 50%, #000 35%, transparent 88%);
  mask-image: radial-gradient(ellipse 62% 100% at 50% 50%, #000 35%, transparent 88%);
}
.logo-bar-track { display: flex; align-items: center; width: max-content; animation: scroll 38s linear infinite; }
.logo-bar-track:hover { animation-play-state: paused; }
.logo-bar-item { position: relative; flex-shrink: 0; display: flex; align-items: center; justify-content: center; height: 64px; padding: 0 28px; }
.logo-bar-item img { height: 40px; min-width: 60px; width: auto; max-width: 140px; object-fit: contain; }
.logo-bar-item::after {
  content: attr(data-name);
  position: absolute; bottom: 100%; left: 50%; transform: translate(-50%, -6px);
  background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap;
  padding: 5px 10px; border-radius: 6px; opacity: 0; pointer-events: none; z-index: 5;
  transition: opacity var(--t), transform var(--t);
}
.logo-bar-item:hover::after { opacity: 1; transform: translate(-50%, -10px); }

/* ── SECTIONS ── */
.section { padding: 96px 0; }
@media (max-width: 768px) { .section { padding: 72px 0; } }
.section-sm { padding: 72px 0; }
@media (max-width: 768px) { .section-sm { padding: 52px 0; } }
/* Compact CTA/utility bands (mid-page capture, clients strip, diagnostic
   teaser). Was drifting between 48-64px per instance; standardized on the
   value the mid-page capture band already used consistently. */
.section-xs { padding: 56px 0; }
@media (max-width: 768px) { .section-xs { padding: 40px 0; } }
/* .section-xs is also used combined on the same element as .container
   (e.g. the mid-page newsletter capture band). Its own left/right:0 wins
   the cascade over .container's padding:0 24px since both are single-class
   selectors and .section-xs comes later, flattening the gutter to the
   viewport edge. Restore it here at higher specificity. */
.container.section-xs { padding-left: 24px; padding-right: 24px; }
@media (min-width: 1480px) { .container.section-xs { padding-left: 60px; padding-right: 60px; } }
/* Dark hero banner at the top of every interior page. Clears the 64px fixed
   nav (see .nav comment above), plus 56px of its own breathing room. */
.page-header { padding: calc(64px + 56px) 0 56px; }
@media (max-width: 768px) { .page-header { padding: calc(64px + 40px) 0 40px; } }
.section-dark { background: var(--ink); }
.section-surface { background: var(--surface); }
.section-border { border-top: 1px solid var(--border); }
.section-dark.section-border { border-top-color: rgba(255,255,255,.08); }

.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row-between { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }

/* ── BREADCRUMBS ── */
.crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; padding: 20px 0 0; }
.crumbs .crumb-link { color: var(--grey-3); font-weight: 500; transition: color var(--t); }
.crumbs .crumb-link:hover { color: var(--ember); }
.crumbs .crumb-sep { color: var(--border); }
.crumbs .crumb-current { color: var(--grey-2); font-weight: 600; }
.section-dark .crumbs .crumb-link { color: rgba(255,255,255,.4); }
.section-dark .crumbs .crumb-link:hover { color: var(--ember); }
.section-dark .crumbs .crumb-sep { color: rgba(255,255,255,.15); }
.section-dark .crumbs .crumb-current { color: rgba(255,255,255,.65); }

/* ── HOW WE THINK ── */
.hwt-grid { display: grid; gap: 0; grid-template-columns: 1fr; border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; }
@media (min-width: 700px) { .hwt-grid { grid-template-columns: repeat(3, 1fr); } }
.hwt-card { padding: 36px 32px; background: #fff; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; transition: background var(--t); }
@media (min-width: 700px) { .hwt-card { border-bottom: none; border-right: 1px solid var(--border); } .hwt-card:last-child { border-right: none; } }
.hwt-card:last-child { border-bottom: none; }
.hwt-card:hover { background: var(--surface); }
.hwt-card:hover .hwt-icon { background: var(--ember); color: #fff; transform: scale(1.05) rotate(-3deg); }
.hwt-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.hwt-num { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--border); font-family: var(--font-display); }
.hwt-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--ember-t); border: 1px solid rgba(254,76,28,.15); display: flex; align-items: center; justify-content: center; color: var(--ember); transition: background var(--t), color var(--t), transform var(--t); }
.hwt-title { font-size: 16px; font-weight: 700; color: #1d1d1f; line-height: 1.3; margin-bottom: 12px; letter-spacing: -.01em; font-family: var(--font-display); }
.hwt-body { font-size: 13px; line-height: 1.75; color: var(--grey-3); font-weight: 300; flex: 1; margin-bottom: 20px; }
.hwt-footer { margin-top: auto; }
.hwt-phase { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ember); padding: 4px 10px 4px 8px; background: var(--ember-t); border-radius: 999px; border: 1px solid rgba(254,76,28,.15); }
.hwt-phase::before { content: ''; display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--ember); }

/* ── DIAGNOSTIC ── */
.diagnostic-wrap { display: grid; gap: 40px; grid-template-columns: 1fr; margin-bottom: 0; }
@media (min-width: 860px) { .diagnostic-wrap { grid-template-columns: 280px 1fr; gap: 60px; align-items: start; } }
.diag-cards { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .diag-cards { grid-template-columns: 1fr 1fr; } }
.diag-card { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border-radius: var(--r-lg); border: 1.5px solid var(--border); background: #fff; text-align: left; cursor: pointer; transition: all var(--t); width: 100%; }
.diag-card:hover { border-color: rgba(254,76,28,.3); box-shadow: var(--sh-sm); transform: translateY(-2px); }
.diag-card.selected { border-color: var(--ember); background: rgba(254,76,28,.04); box-shadow: 0 0 0 3px rgba(254,76,28,.1); }
.diag-icon { width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; background: var(--ember-t); display: flex; align-items: center; justify-content: center; color: var(--ember); transition: background var(--t); }
.diag-card.selected .diag-icon { background: var(--ember); color: #fff; }
.diag-title { font-size: 14px; font-weight: 600; color: #1d1d1f; line-height: 1.3; margin-bottom: 3px; letter-spacing: -.01em; }
.diag-sub { font-size: 11px; font-weight: 500; color: var(--grey-3); letter-spacing: .03em; text-transform: uppercase; }
.diag-result { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.4,0,.2,1), margin .4s ease; }
.diag-result.show { max-height: 140px; margin-top: 20px; }
.diag-result-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 20px 24px; border-radius: var(--r-lg); background: var(--ink); }
.diag-result-text { flex: 1; font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.55; min-width: 200px; }
.diag-result-text strong { color: #fff; }

/* ── CARD HOVER ACCENT ── */
/* Soft gradient glow that fades and slides in on hover, used instead of a hard-edged growing border bar. */
.srv-card::before, .scat-card::before, .pkg-card::before, .tier-card::before, .article-card::before {
  content: ''; position: absolute; top: 0; left: 18px; right: 18px; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--ember), var(--cobalt));
  opacity: 0; transform: translateY(-4px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.srv-card:hover::before, .scat-card:hover::before, .pkg-card:hover::before, .tier-card:hover::before, .article-card:hover::before {
  opacity: 1; transform: translateY(0);
}
.pkg-card:hover, .article-card:hover { box-shadow: var(--sh-md), 0 -14px 30px -20px rgba(254,76,28,.35); }

/* ── SERVICES ── */
.srv-intro { display: grid; gap: 24px; margin-bottom: 48px; }
@media (min-width: 768px) { .srv-intro { grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; } }
.srv-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-3); padding: 12px 0 18px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.srv-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .srv-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .srv-grid { grid-template-columns: repeat(3, 1fr); } }

.srv-card { background: #fff; border: 1px solid var(--border-lt); border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; transition: border-color var(--t), transform var(--t), box-shadow var(--t); position: relative; height: 100%; }
.srv-card:hover { border-color: rgba(254,76,28,.18); transform: translateY(-3px); box-shadow: var(--sh-lg), 0 -18px 36px -22px rgba(254,76,28,.35); }
.srv-card:hover .srv-img { transform: scale(1.04); }
.srv-img-wrap { height: 168px; overflow: hidden; flex-shrink: 0; position: relative; }
.srv-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.srv-img-badge { position: absolute; bottom: 10px; left: 12px; background: rgba(9,9,15,.8); backdrop-filter: blur(8px); border-radius: 7px; padding: 6px 10px; font-size: 11px; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 5px; }
.srv-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.srv-name { font-size: 15px; font-weight: 700; color: #1d1d1f; margin-bottom: 6px; letter-spacing: -.01em; font-family: var(--font-display); }
.srv-desc { font-size: 13px; line-height: 1.6; color: var(--grey-3); margin-bottom: 14px; flex: 1; }
.srv-deliverables { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.srv-deliverables li { font-size: 12px; color: var(--grey-2); line-height: 1.5; display: flex; align-items: flex-start; gap: 7px; padding-bottom: 6px; border-bottom: 1px solid var(--border-lt); }
.srv-deliverables li:last-child { border-bottom: none; padding-bottom: 0; }
.srv-deliverables li::before { content: '\2192'; color: var(--ember); font-size: 10px; flex-shrink: 0; margin-top: 2px; font-weight: 700; }
.srv-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border-lt); margin-top: auto; gap: 10px; }
.srv-price { font-size: 14px; font-weight: 700; color: #1d1d1f; letter-spacing: -.01em; line-height: 1; font-family: var(--font-display); }
.srv-price-period { font-size: 11px; font-weight: 400; color: var(--grey-3); font-family: var(--font-body); }
.srv-price-note { font-size: 11px; color: var(--grey-4); margin-top: 2px; }
.srv-link { font-size: 12px; font-weight: 600; color: var(--cobalt); display: inline-flex; align-items: center; gap: 4px; transition: gap var(--t), color var(--t); flex-shrink: 0; }
.srv-card:hover .srv-link { gap: 7px; color: var(--ember); }
.srv-callout { margin-top: 14px; background: var(--ink); border-radius: var(--r-xl); padding: 32px 36px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.srv-callout-text { font-size: clamp(16px, 2vw, 20px); font-weight: 600; color: #fff; letter-spacing: -.02em; line-height: 1.3; font-family: var(--font-display); }
.srv-callout-sub { font-size: 13px; color: rgba(255,255,255,.4); margin-top: 4px; }

/* ── TRUST STRIP (service detail lead-gen block) ── */
.trust-strip { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .trust-strip { grid-template-columns: repeat(3, 1fr); } }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; color: var(--grey-2); }
.trust-item svg { flex-shrink: 0; }

/* ── TIER / PACKAGE PRICING CARDS ── */
.tier-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tier-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .tier-grid { grid-template-columns: repeat(4, 1fr); } }
.tier-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--r-xl); padding: 28px 26px; display: flex; flex-direction: column; gap: 14px; position: relative; transition: all var(--t); }
.tier-card:hover { border-color: rgba(254,76,28,.25); box-shadow: var(--sh-md); transform: translateY(-2px); }
.tier-featured { border-color: var(--ember); box-shadow: var(--sh-lg); }
.tier-badge { position: absolute; top: -12px; left: 26px; background: var(--ember); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.tier-name { font-size: 20px; font-weight: 800; font-family: var(--font-display); color: #1d1d1f; letter-spacing: -.02em; }
.tier-tagline { font-size: 13px; color: var(--grey-3); line-height: 1.5; min-height: 40px; }
.tier-price { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; font-family: var(--font-display); color: #1d1d1f; letter-spacing: -.02em; }
.tier-timeline { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ember); }
.tier-terms { font-size: 11px; color: var(--grey-4); border-top: 1px solid var(--border-lt); padding-top: 12px; margin-top: auto; }

.pkg-includes { list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pkg-includes li { font-size: 13px; color: var(--grey-2); line-height: 1.5; display: flex; gap: 8px; align-items: flex-start; }
.pkg-includes li::before { content: '\2713'; color: var(--ember); flex-shrink: 0; font-weight: 700; margin-top: 1px; }

.pkg-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .pkg-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1300px) { .pkg-grid { grid-template-columns: repeat(4, 1fr); } }

/* ── DYNAMIC-COLUMN GRIDS: column count matches the actual item count
   (via --cols, set inline per render), capped per breakpoint, so a page
   with fewer items than the old fixed grid assumed never leaves a
   lopsided trailing gap (e.g. 3 packages wrapping into a 4-column
   template). Opt-in via an extra modifier class so the fixed grids above,
   used on pages with larger/variable counts (category overview, main work
   and insights listings), are untouched. ── */
.pkg-grid.pkg-grid-dynamic { grid-template-columns: 1fr; }
@media (min-width: 700px) { .pkg-grid.pkg-grid-dynamic { grid-template-columns: repeat(min(var(--cols, 2), 2), 1fr); } }
@media (min-width: 1040px) { .pkg-grid.pkg-grid-dynamic { grid-template-columns: repeat(min(var(--cols, 4), 4), 1fr); } }

.cases-grid.cases-grid-dynamic { grid-template-columns: 1fr; }
@media (min-width: 560px) { .cases-grid.cases-grid-dynamic { grid-template-columns: repeat(min(var(--cols, 2), 2), 1fr); } }
@media (min-width: 900px) { .cases-grid.cases-grid-dynamic { grid-template-columns: repeat(min(var(--cols, 3), 3), 1fr); } }

.article-grid.article-grid-dynamic { grid-template-columns: 1fr; }
@media (min-width: 640px) { .article-grid.article-grid-dynamic { grid-template-columns: repeat(min(var(--cols, 2), 2), 1fr); } }
.pkg-card { background: #fff; border: 1px solid var(--border-lt); border-radius: var(--r-xl); padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: all var(--t); height: 100%; position: relative; }
.pkg-card:hover { border-color: rgba(254,76,28,.2); box-shadow: var(--sh-md); transform: translateY(-2px); }
.pkg-name { font-size: 16px; font-weight: 700; font-family: var(--font-display); color: #1d1d1f; letter-spacing: -.01em; }
.pkg-best { font-size: 12px; color: var(--grey-3); margin-top: 4px; line-height: 1.4; }
.pkg-price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pkg-price { font-size: 24px; font-weight: 800; font-family: var(--font-display); color: #1d1d1f; letter-spacing: -.02em; }
.pkg-timeline { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--grey-3); }
.pkg-cta { margin-top: auto; }

/* ── MID-PAGE CAPTURE ── */
.midcap { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 768px) { .midcap { grid-template-columns: 1fr 380px; } }
.midcap-title { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -.02em; margin-bottom: 8px; font-family: var(--font-display); }
.midcap-sub { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.6; font-weight: 300; }
.midcap-sub em { color: rgba(255,255,255,.75); font-style: normal; }
.midcap-form { display: flex; gap: 10px; flex-wrap: wrap; }
.midcap-input, .midcap-form input { flex: 1; min-width: 200px; padding: 12px 16px; border-radius: var(--r); font-size: 14px; font-family: inherit; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.15); color: #fff; outline: none; transition: border-color var(--t); }
.midcap-input::placeholder, .midcap-form input::placeholder { color: rgba(255,255,255,.3); }
.midcap-input:focus, .midcap-form input:focus { border-color: rgba(254,76,28,.6); background: rgba(255,255,255,.1); }
.midcap-btn { padding: 12px 22px; border-radius: var(--r); font-size: 14px; font-weight: 600; font-family: inherit; background: var(--ember); color: #fff; cursor: pointer; border: none; white-space: nowrap; transition: all var(--t); }
.midcap-btn:hover { background: var(--ember-d); transform: translateY(-1px); }
.midcap-success { font-size: 14px; font-weight: 500; color: #22C55E; }

/* ── HOW WE WORK ── */
.how-grid { display: grid; gap: 0; grid-template-columns: 1fr; border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; margin-top: 48px; }
@media (min-width: 700px) { .how-grid { grid-template-columns: repeat(3, 1fr); } }
.how-cell { padding: 40px 32px; border-bottom: 1px solid var(--border); position: relative; transition: background var(--t); }
@media (min-width: 700px) { .how-cell { border-bottom: none; border-right: 1px solid var(--border); } .how-cell:last-child { border-right: none; } }
.how-cell:last-child { border-bottom: none; }
.how-cell:hover { background: var(--surface); }
.how-cell:hover .how-n { background: var(--ember); color: #fff; border-color: var(--ember); }
.how-n { width: 36px; height: 36px; border-radius: 50%; background: var(--ember-t); border: 1px solid rgba(254,76,28,.2); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--ember); margin-bottom: 16px; transition: all var(--t); font-family: var(--font-display); }
.how-title { font-size: 15px; font-weight: 600; color: #1d1d1f; margin-bottom: 7px; letter-spacing: -.01em; font-family: var(--font-display); }
.how-desc { font-size: 13px; line-height: 1.65; color: var(--grey-3); }

/* ── BESPOKE SERVICE PAGES: pain points + custom process (independent cards,
   not row/column-bordered, so they scale cleanly to any step count 3-5) ── */
.pain-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 32px; }
@media (min-width: 700px) { .pain-grid { grid-template-columns: repeat(3, 1fr); } }
.pain-card { padding: 26px 22px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.pain-title { font-size: 15px; font-weight: 600; color: #1d1d1f; margin-bottom: 8px; letter-spacing: -.01em; font-family: var(--font-display); }
.pain-body { font-size: 13.5px; line-height: 1.65; color: var(--grey-3); }

.process-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 40px; }
@media (min-width: 640px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-card { padding: 28px 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; transition: all var(--t); }
.process-card:hover { border-color: rgba(254,76,28,.3); box-shadow: var(--sh-sm); transform: translateY(-2px); }
.process-n { width: 36px; height: 36px; border-radius: 50%; background: var(--ember-t); border: 1px solid rgba(254,76,28,.2); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--ember); margin-bottom: 16px; font-family: var(--font-display); }
.process-title { font-size: 15px; font-weight: 600; color: #1d1d1f; margin-bottom: 7px; letter-spacing: -.01em; font-family: var(--font-display); }
.process-desc { font-size: 13px; line-height: 1.65; color: var(--grey-3); }

.qa-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 32px; text-align: center; }
.qa-item { display: flex; flex-direction: column; gap: 4px; padding: 4px 0; }
.qa-value { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: #1d1d1f; font-family: var(--font-display); }
.qa-label { font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--grey-3); }
.qa-divider { width: 1px; height: 34px; background: var(--border); }
@media (max-width: 560px) { .qa-divider { display: none; } }

/* ── DARK TRUST BAND: a creative, on-brand alternative to the plain
   icon+text trust-strip, styled like the homepage's dark Stats section
   (divided columns, ember accent line, bold white text) so service pages
   pick up the same dark/light rhythm the homepage already uses. ── */
.trust-dark-grid { display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 700px) { .trust-dark-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-dark-cell { padding: 44px 28px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
@media (min-width: 700px) { .trust-dark-cell { border-bottom: none; } .trust-dark-cell:last-child { border-right: none; } }
.trust-dark-cell svg { display: block; margin: 0 auto 18px; color: var(--ember); }
.trust-dark-title { font-size: 16px; font-weight: 600; color: #fff; letter-spacing: -.01em; line-height: 1.45; max-width: 230px; margin: 0 auto; }

/* ── STATS ── */
.stats-grid { display: grid; gap: 0; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-cell { padding: 48px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
@media (min-width: 700px) { .stat-cell { border-bottom: none; } .stat-cell:last-child { border-right: none; } }
.stat-cell::before { content: ''; display: block; width: 32px; height: 2px; background: var(--ember); margin: 0 auto 20px; }
.stat-n { font-size: clamp(40px, 5.5vw, 64px); font-weight: 800; letter-spacing: -.04em; color: #fff; line-height: 1; font-family: var(--font-display); }
.stat-accent { color: var(--ember); }
.stat-l { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-top: 8px; }

/* ── WORK / CASES ── */
.cases-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .cases-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .cases-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1300px) { .cases-grid { grid-template-columns: repeat(4, 1fr); } }
.cases-grid-4 { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .cases-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .cases-grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ── CASE CARD, MODERN (image-forward, single accent, no separate color
   block) -- pilot on the homepage "Selected work" grid before rolling out
   to _related_work.html / work.html. Drops case.metric_color entirely: one
   accent (ember) rather than a different hue per card. ── */
.ccm { position: relative; display: block; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 10px 30px rgba(0,0,0,.28); transition: transform var(--t), border-color var(--t), box-shadow var(--t); }
.ccm:hover { transform: translateY(-4px); border-color: rgba(254,76,28,.35); box-shadow: 0 20px 56px rgba(0,0,0,.4); }
.ccm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ccm:hover img { transform: scale(1.05); }
.ccm-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(9,9,15,.92) 0%, rgba(9,9,15,.55) 34%, rgba(9,9,15,0) 64%); }
.ccm-tag { position: absolute; top: 16px; left: 16px; padding: 5px 10px; border-radius: 999px; background: rgba(9,9,15,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.16); font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.ccm-metric { position: absolute; top: 16px; right: 16px; font-size: 13px; font-weight: 700; color: #fff; font-family: var(--font-display); letter-spacing: -.01em; }
.ccm-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 56px 20px 20px; }
.ccm-client { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -.01em; font-family: var(--font-display); margin-bottom: 4px; }
.ccm-meta { font-size: 11.5px; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 6px; }
.ccm-meta .flag-icon { width: 13px; height: auto; border-radius: 2px; }
.ccm-arrow { position: absolute; bottom: 18px; right: 18px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; color: #fff; opacity: 0; transform: translate(-4px, 4px); transition: all var(--t); }
.ccm:hover .ccm-arrow { opacity: 1; transform: none; background: var(--ember); border-color: var(--ember); }

/* Second act within "Selected work" -- the numbers, styled as icon-badge
   cards to match the site's established card language (.hwt-card,
   .ind-card: icon badge + content) instead of a bare bordered strip. */
.work-numbers-head { display: flex; align-items: baseline; gap: 12px; margin: 64px 0 24px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.08); }
.work-numbers-head .eyebrow { margin-bottom: 0; }
.stat-cards-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .stat-cards-grid { grid-template-columns: repeat(4, 1fr); } }
/* 3-stat variant (service-page proof sections pull exactly 3 case metrics,
   not the homepage's 4) -- same card language, sized for 3 columns instead. */
.stat-cards-grid--3 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 560px) { .stat-cards-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.stat-card-dark { padding: 26px 22px; border-radius: var(--r-lg); background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); transition: all var(--t); }
.stat-card-dark:hover { border-color: rgba(254,76,28,.28); background: rgba(255,255,255,.05); transform: translateY(-2px); }
.stat-card-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(254,76,28,.12); border: 1px solid rgba(254,76,28,.25); display: flex; align-items: center; justify-content: center; color: var(--ember); margin-bottom: 18px; }
.stat-card-dark .stat-n { font-size: clamp(24px, 2.8vw, 32px); }
.stat-card-dark .stat-l { margin-top: 6px; }

/* ── CASE STUDY DETAIL ── */
.case-hero-full { position: relative; min-height: 64vh; display: flex; flex-direction: column; justify-content: flex-end; background-size: cover; background-position: center; }
.case-hero-full-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(9,9,15,.55) 0%, rgba(9,9,15,.55) 40%, rgba(9,9,15,.96) 100%); }
.case-hero-full-content { position: relative; z-index: 1; padding: 40px 24px 48px; }
@media (max-width: 700px) { .case-hero-full { min-height: 46vh; } }
@media (max-width: 768px) { .case-hero-full-content { padding: calc(64px + 40px) 24px 40px; } }
.case-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.case-tag-pill { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.65); }

/* Services-used band, shown immediately under the hero */
.services-band { background: var(--ink-2); border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); padding: 22px 0; }
.services-band-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.services-band-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.35); flex-shrink: 0; }
.services-band-pills { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.services-band-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); font-size: 13px; font-weight: 600; color: rgba(255,255,255,.75); transition: all var(--t); }
.services-band-pill:hover { background: var(--ember); border-color: var(--ember); color: #fff; transform: translateY(-1px); }

/* Sidebar + narrative layout */
.case-layout { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .case-layout { grid-template-columns: 260px 1fr; gap: 64px; } }
.case-facts { display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 960px) { .case-facts { position: sticky; top: 88px; } }
.case-fact-label { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-4); margin-bottom: 4px; }
.case-fact-value { font-size: 14px; font-weight: 600; color: #1d1d1f; letter-spacing: -.01em; }
.case-facts-divider { border-top: 1px solid var(--border); padding-top: 22px; }
.case-stat-cell { padding-top: 14px; }
.case-stat-n { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; font-family: var(--font-display); color: var(--ember); letter-spacing: -.03em; line-height: 1; }
.case-stat-l { font-size: 11px; color: var(--grey-3); margin-top: 6px; line-height: 1.4; }

.case-narrative { max-width: 640px; }
.case-section-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ember); margin-bottom: 10px; }
.case-narrative-block { margin-bottom: 44px; }

.pull-quote { margin: 44px 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--ember); }
.pull-quote-text { font-size: clamp(19px, 2.3vw, 24px); font-weight: 500; line-height: 1.5; letter-spacing: -.015em; color: #1d1d1f; font-family: var(--font-display); font-style: italic; margin-bottom: 16px; }
.pull-quote-text::before { content: '\201C'; } .pull-quote-text::after { content: '\201D'; }
.pull-quote-author { display: flex; align-items: center; gap: 12px; }
.pull-quote-name { font-size: 13px; font-weight: 700; color: #1d1d1f; }
.pull-quote-role { font-size: 12px; color: var(--grey-3); margin-top: 1px; }

.takeaway-box { background: var(--ink); border-radius: var(--r-xl); padding: 32px; }
.takeaway-box .case-section-label { color: rgba(254,76,28,.8); }
.takeaway-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.takeaway-list li { display: flex; gap: 12px; font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.7); }
.takeaway-list li::before { content: '\2192'; color: var(--ember); font-weight: 700; flex-shrink: 0; }

/* ── TESTIMONIAL ── */
.testi-wrap { max-width: 760px; margin: 0 auto; text-align: center; }
.testi-stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 24px; }
.testi-stars span { font-size: 18px; color: #FFC542; }
.testi-q { font-size: clamp(19px, 2.5vw, 26px); font-weight: 500; line-height: 1.5; letter-spacing: -.015em; color: #fff; margin-bottom: 32px; font-style: italic; font-family: var(--font-display); }
.testi-q::before { content: '\201C'; } .testi-q::after { content: '\201D'; }
.testi-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testi-av { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, var(--ember), var(--cobalt)); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: #fff; font-family: var(--font-display); }
.testi-name { font-size: 14px; font-weight: 600; color: #fff; text-align: left; letter-spacing: -.01em; font-family: var(--font-display); }
.testi-role { font-size: 12px; color: rgba(255,255,255,.38); margin-top: 1px; }

/* ── SECOND CAPTURE ── */
.second-capture { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 768px) { .second-capture { grid-template-columns: 1fr 1fr; gap: 60px; } }
.sc-quote { font-size: clamp(18px, 2.2vw, 24px); font-weight: 500; color: #1d1d1f; line-height: 1.45; letter-spacing: -.015em; font-style: italic; margin-bottom: 10px; font-family: var(--font-display); }
.sc-quote::before { content: '\201C'; } .sc-quote::after { content: '\201D'; }
.sc-stat { font-size: clamp(32px, 4.2vw, 48px); font-weight: 800; color: #1d1d1f; line-height: 1; letter-spacing: -.03em; margin-bottom: 10px; font-family: var(--font-display); }
.sc-attr { font-size: 13px; color: var(--grey-3); max-width: 34ch; }
.sc-title { font-size: clamp(18px, 2vw, 22px); font-weight: 700; color: #1d1d1f; letter-spacing: -.02em; margin-bottom: 8px; font-family: var(--font-display); }
.sc-sub { font-size: 14px; line-height: 1.65; color: var(--grey-2); margin-bottom: 20px; font-weight: 300; }
.sc-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── FAQ ── */
.faq-layout { display: grid; gap: 48px; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: 320px 1fr; gap: 80px; } }
.faq-sticky { height: fit-content; }
@media (min-width: 900px) { .faq-sticky { position: sticky; top: 80px; } }
.fq { border-bottom: 1px solid var(--border); }
.fq:first-child { border-top: 1px solid var(--border); }
.fq-btn { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 18px 0; gap: 16px; text-align: left; }
.fq-q { font-size: 15px; font-weight: 500; color: #1d1d1f; transition: color var(--t); letter-spacing: -.01em; line-height: 1.4; }
.fq-btn:hover .fq-q { color: var(--ember); }
.fq-ico { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 15px; line-height: 1; color: var(--grey-3); transition: all var(--t); }
.fq.open .fq-ico { background: var(--ember); border-color: var(--ember); color: #fff; transform: rotate(45deg); }
.fq-body { max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.4,0,.2,1); }
.fq-p { padding-bottom: 18px; font-size: 14px; line-height: 1.75; color: var(--grey-2); }
.fq.open .fq-body { max-height: 280px; }

/* ── CTA ── */
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(254,76,28,.09) 0%, transparent 65%); pointer-events: none; }
.cta-h { font-size: clamp(36px, 6vw, 68px); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; color: #fff; margin-bottom: 18px; }
.cta-sub { font-size: 17px; font-weight: 300; color: rgba(255,255,255,.44); max-width: 420px; margin: 0 auto 44px; line-height: 1.7; }
.cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.cta-guarantee { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.3); padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.08); }
.cta-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(254,76,28,.7); display: block; margin-bottom: 14px; }

/* ── CONTACT ── */
.contact-layout { display: grid; gap: 48px; grid-template-columns: 1fr; padding-bottom: 64px; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1fr 420px; gap: 64px; align-items: start; } }
.contact-steps { display: flex; flex-direction: column; gap: 24px; margin-top: 44px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); }
.contact-step { display: flex; gap: 16px; align-items: flex-start; }
.contact-step .how-n { flex-shrink: 0; margin-bottom: 0; }

/* ── FOOTER ── */
.footer { background: #06060D; padding: 72px 0 40px; }
.footer-grid { display: grid; gap: 40px; margin-bottom: 52px; grid-template-columns: 1fr 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px; } }
.f-logo { display: flex; align-items: center; height: 24px; margin-bottom: 14px; color: #fff; }
.f-desc { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.28); max-width: 220px; font-weight: 300; margin-bottom: 14px; }
.f-cycle { font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.9); }
.f-cycle em { font-style: normal; }
.f-col-h { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.2); margin-bottom: 16px; }
.f-links { list-style: none; display: flex; flex-direction: column; gap: 9px; color: rgba(255,255,255,.32); }
.f-links li { font-size: 13px; font-weight: 300; }
.f-links a { font-size: 13px; color: rgba(255,255,255,.32); font-weight: 300; transition: color var(--t); }
.f-links a:hover { color: #fff; }
.f-links-flags li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.footer-bot { border-top: 1px solid rgba(255,255,255,.05); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.f-copy { font-size: 12px; color: rgba(255,255,255,.18); font-weight: 300; }
/* Icon-button treatment matches .tc-btn (testimonial carousel controls) so
   every circular icon button on a dark surface reads as one system. Was
   previously unstyled, inheriting body's near-black text color onto the
   near-black footer background, i.e. invisible. */
.f-socs { display: flex; align-items: center; gap: 10px; }
.f-soc { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.55); transition: all var(--t); }
.f-soc:hover { background: rgba(254,76,28,.15); border-color: rgba(254,76,28,.3); color: var(--ember); }

/* Minimal footer for single-goal landing pages (base_landing.html): logo +
   one line + copyright + contact, no sitemap/services/markets columns that
   would invite browsing away before converting. */
.footer-minimal-inner { text-align: center; }
.footer-minimal .f-logo { justify-content: center; margin: 0 auto 16px; }
.fm-desc { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.28); font-weight: 300; max-width: 420px; margin: 0 auto 28px; }
.fm-bot { border-top: 1px solid rgba(255,255,255,.05); padding-top: 22px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.fm-contact { font-size: 12px; color: rgba(255,255,255,.4); font-weight: 400; transition: color var(--t); }
.fm-contact:hover { color: var(--ember); }

/* ── REVEAL ── */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
.rv-l { opacity: 0; transform: translateX(-24px); transition: opacity .6s ease, transform .6s ease; }
.rv-r { opacity: 0; transform: translateX(24px); transition: opacity .6s ease, transform .6s ease; }
.rv-l.in, .rv-r.in { opacity: 1; transform: none; }
.d1 { transition-delay: .06s; } .d2 { transition-delay: .12s; } .d3 { transition-delay: .18s; }
.d4 { transition-delay: .24s; } .d5 { transition-delay: .30s; } .d6 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .rv, .rv-l, .rv-r { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track { animation: none !important; }
}

/* ── SERVICE CATEGORY TABS ── */
.scat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.scat-tab { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--grey-2); background: #fff; border: 1.5px solid var(--border); cursor: pointer; transition: all var(--t); font-family: inherit; }
.scat-tab svg { flex-shrink: 0; color: var(--grey-3); transition: color var(--t); }
.scat-tab:hover { border-color: rgba(254,76,28,.3); color: var(--ember); }
.scat-tab:hover svg { color: var(--ember); }
.scat-tab.active { background: var(--ember); border-color: var(--ember); color: #fff; font-weight: 600; }
.scat-tab.active svg { color: #fff; }
.scat-panel { display: none; }
.scat-panel.active { display: block; }
.scat-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .scat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .scat-grid { grid-template-columns: repeat(3, 1fr); } }
.scat-card { background: #fff; border: 1px solid var(--border-lt); border-radius: var(--r-xl); padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: border-color var(--t), box-shadow var(--t), transform var(--t); position: relative; height: 100%; }
.scat-card:hover { border-color: rgba(254,76,28,.2); box-shadow: var(--sh-md), 0 -14px 30px -20px rgba(254,76,28,.4); transform: translateY(-2px); }
.scat-card:hover .scat-card-icon { background: var(--ember); color: #fff; border-color: var(--ember); }
.scat-card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border-lt); display: flex; align-items: center; justify-content: center; color: var(--grey-3); flex-shrink: 0; transition: all var(--t); }
.scat-card-body { flex: 1; }
.scat-card-name { font-size: 14px; font-weight: 700; color: #1d1d1f; margin-bottom: 6px; letter-spacing: -.01em; font-family: var(--font-display); }
.scat-card-desc { font-size: 13px; line-height: 1.65; color: var(--grey-3); font-weight: 300; }
.scat-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.scat-card-tags span { font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 5px; background: var(--surface); color: var(--grey-2); border: 1px solid var(--border-lt); }
.scat-card-cta { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--cobalt); margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border-lt); transition: color var(--t), gap var(--t); }
.scat-card:hover .scat-card-cta { color: var(--ember); gap: 8px; }

/* The three services we lead with (Web Dev, SEO, Social) get a small
   ribbon tag rather than a louder treatment -- still a normal card in the
   grid, just flagged, so it doesn't read as a separate "featured" tier. */
.scat-card-signature { border-color: rgba(254,76,28,.28); }
.scat-signature-badge { position: absolute; top: 0; right: 20px; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--ember); padding: 5px 10px; border-radius: 999px; box-shadow: 0 3px 10px rgba(254,76,28,.35); }

/* ── INSIGHTS / BLOG ── */
.article-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .article-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .article-grid { grid-template-columns: repeat(3, 1fr); } }
.article-card { background: #fff; border: 1px solid var(--border-lt); border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: all var(--t); position: relative; }
.article-card:hover { border-color: rgba(254,76,28,.2); box-shadow: var(--sh-lg); transform: translateY(-3px); }
.article-card:hover .article-img { transform: scale(1.04); }
.article-img-wrap { height: 180px; overflow: hidden; }
.article-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.article-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.article-cat { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ember); margin-bottom: 10px; }
.article-title { font-size: 16px; font-weight: 700; font-family: var(--font-display); color: #1d1d1f; letter-spacing: -.01em; line-height: 1.35; margin-bottom: 10px; }
.article-card:hover .article-title { color: var(--ember); }
.article-excerpt { font-size: 13px; line-height: 1.65; color: var(--grey-3); flex: 1; margin-bottom: 16px; }
.article-meta { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--grey-4); padding-top: 14px; border-top: 1px solid var(--border-lt); margin-top: auto; }
.article-meta-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--grey-4); }

.article-prose { max-width: 700px; font-size: 16px; line-height: 1.8; color: var(--grey); }
.article-prose h2 { font-size: clamp(21px, 2.6vw, 27px); font-weight: 800; font-family: var(--font-display); color: #1d1d1f; letter-spacing: -.02em; margin: 40px 0 16px; }
.article-prose h3 { font-size: 17px; font-weight: 700; font-family: var(--font-display); color: #1d1d1f; letter-spacing: -.01em; margin: 28px 0 12px; }
.article-prose p { margin-bottom: 18px; color: var(--grey-2); font-weight: 300; }
.article-prose ul, .article-prose ol { margin: 0 0 18px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.article-prose li { color: var(--grey-2); font-weight: 300; line-height: 1.7; }
.article-prose li::marker { color: var(--grey-3); }
.article-prose strong { color: #1d1d1f; font-weight: 600; }

.related-strip { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 32px 0; }
.related-strip-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--grey-3); margin-bottom: 4px; }
.related-strip-title { font-size: 15px; font-weight: 700; font-family: var(--font-display); color: #1d1d1f; }

/* ── INSIGHT SINGLE: content + sidebar ── */
.insight-layout { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .insight-layout { grid-template-columns: minmax(0, 700px) 300px; gap: 64px; justify-content: center; } }
.insight-sidebar { display: flex; flex-direction: column; gap: 36px; }
@media (min-width: 960px) { .insight-sidebar { position: sticky; top: 88px; align-self: start; } }
.insight-sidebar .insights-search { width: 100%; flex: none; }
.insight-widget-title { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-4); margin-bottom: 14px; }
.insight-cat-list { display: flex; flex-direction: column; }
.insight-cat-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 2px; font-size: 13.5px; font-weight: 500; color: var(--grey-2); border-bottom: 1px solid var(--border-lt); transition: color var(--t); }
.insight-cat-item:last-child { border-bottom: none; }
.insight-cat-item:hover { color: var(--ember); }
.insight-cat-count { font-size: 11px; color: var(--grey-4); }
.insight-recent-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-lt); }
.insight-recent-item:last-child { border-bottom: none; padding-bottom: 0; }
.insight-recent-thumb { width: 56px; height: 56px; border-radius: var(--r); overflow: hidden; flex-shrink: 0; }
.insight-recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.insight-recent-title { font-size: 13px; font-weight: 600; color: #1d1d1f; line-height: 1.35; margin-bottom: 4px; transition: color var(--t); }
a.insight-recent-link:hover .insight-recent-title { color: var(--ember); }
.insight-recent-date { font-size: 11px; color: var(--grey-4); }
.insight-related-card { display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px 20px; transition: all var(--t); }
.insight-related-card:hover { border-color: rgba(254,76,28,.3); box-shadow: var(--sh-md); }
.insight-related-card + .insight-related-card { margin-top: 12px; }
.insight-related-label { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ember); margin-bottom: 6px; }
.insight-related-title { font-size: 14px; font-weight: 700; color: #1d1d1f; margin-bottom: 12px; font-family: var(--font-display); line-height: 1.3; }
.insight-related-cta { font-size: 12.5px; font-weight: 600; color: var(--ember); display: inline-flex; align-items: center; gap: 5px; }

/* ── FILTER LINKS (server-rendered, no JS) ── */
.insights-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--grey-2); background: #fff; border: 1.5px solid var(--border); transition: all var(--t); }
.filter-tab:hover { border-color: rgba(254,76,28,.3); color: var(--ember); }
.filter-tab.active { background: var(--ember); border-color: var(--ember); color: #fff; font-weight: 600; }
.filter-tab-count { font-size: 11px; opacity: .6; }
.insights-search { display: flex; align-items: center; gap: 4px; background: #fff; border: 1.5px solid var(--border); border-radius: 999px; padding: 5px 5px 5px 18px; flex: 0 1 280px; min-width: 200px; transition: border-color var(--t); }
.insights-search:focus-within { border-color: rgba(254,76,28,.4); }
.insights-search input { border: none; outline: none; background: transparent; font-size: 13px; font-family: inherit; color: var(--grey-2); flex: 1; min-width: 0; }
.insights-search input::placeholder { color: var(--grey-4); }
.insights-search button { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; border: none; background: var(--ember); color: #fff; cursor: pointer; flex-shrink: 0; transition: background var(--t); }
.insights-search button:hover { background: var(--ember-d); }
.insights-result-count { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--grey-3); margin: -8px 0 24px; }
.insights-search-clear { font-size: 12px; color: var(--grey-3); text-decoration: underline; }
.insights-search-clear:hover { color: var(--ember); }
.insights-empty { padding: 60px 24px; text-align: center; background: #fff; border: 1px dashed var(--border); border-radius: var(--r-xl); display: flex; flex-direction: column; align-items: center; gap: 18px; }

/* ── PAGINATION ── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--grey-2); background: #fff; border: 1.5px solid var(--border); transition: all var(--t); }
.page-link:hover { border-color: rgba(254,76,28,.3); color: var(--ember); }
.page-link.active { background: var(--ember); border-color: var(--ember); color: #fff; }
.page-link.disabled { opacity: .35; pointer-events: none; }

/* ── CLIENTS BAR ── */
.clients-intro { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.clients-label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-4); white-space: nowrap; }
.clients-flags { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.cflag { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-right: 1px solid var(--border-lt); font-size: 13px; color: var(--grey-2); font-weight: 400; white-space: nowrap; }
.cflag:first-child { border-left: 1px solid var(--border-lt); }
.cflag .flag-icon { width: 20px; height: 15px; }
@media (max-width: 640px) { .cflag span:last-child { display: none; } }

/* ── INDUSTRIES ── */
.ind-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 700px) { .ind-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .ind-grid { grid-template-columns: repeat(6, 1fr); } }
.ind-card { background: #fff; border: 1px solid var(--border-lt); border-radius: var(--r-lg); padding: 20px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; transition: all var(--t); }
.ind-card:hover { border-color: rgba(254,76,28,.2); box-shadow: var(--sh-sm); transform: translateY(-2px); }
.ind-card:hover .ind-icon { background: var(--ember-t); border-color: rgba(254,76,28,.2); color: var(--ember); }
.ind-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border-lt); display: flex; align-items: center; justify-content: center; color: var(--grey-3); transition: all var(--t); }
.ind-name { font-size: 12px; font-weight: 600; color: #1d1d1f; line-height: 1.3; letter-spacing: -.01em; }
.ind-eg { font-size: 11px; color: var(--grey-4); line-height: 1.4; }

/* ── WHY EXEVE ── */
.why-table { border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; }
.why-head { display: grid; grid-template-columns: 1fr 120px 180px; background: var(--surface); border-bottom: 1px solid var(--border); }
.why-col-label { padding: 14px 24px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--grey-3); }
.why-col-exeve, .why-col-other { padding: 14px 20px; text-align: center; font-size: 12px; color: var(--grey-2); font-weight: 400; border-left: 1px solid var(--border); }
.why-col-badge { display: inline-block; background: var(--ember); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 6px; letter-spacing: .02em; }
.why-row { display: grid; grid-template-columns: 1fr 120px 180px; border-bottom: 1px solid var(--border-lt); transition: background var(--t); }
.why-row:last-child { border-bottom: none; }
.why-row:hover { background: var(--surface); }
.why-row .why-col-label { padding: 16px 24px; font-size: 14px; color: var(--grey-2); font-weight: 400; display: flex; align-items: center; }
.why-row .why-col-exeve, .why-row .why-col-other { padding: 16px 20px; display: flex; align-items: center; justify-content: center; border-left: 1px solid var(--border-lt); font-size: 14px; }
@media (max-width: 640px) { .why-head, .why-row { grid-template-columns: 1fr 80px 80px; } .why-row .why-col-label { padding: 14px 16px; font-size: 13px; } }

/* ── TESTIMONIAL CAROUSEL ── */
.google-badge { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.gb-logo { display: flex; align-items: center; gap: 7px; }
.gb-name { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.5); }
.gb-stars { display: flex; gap: 3px; }
.gb-stars span { color: #FFC542; font-size: 15px; }
.gb-score { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.03em; text-align: right; font-family: var(--font-display); }
.gb-count { font-size: 12px; font-weight: 400; color: rgba(255,255,255,.35); }
.testi-carousel { position: relative; overflow: hidden; }
.testi-track { display: flex; transition: transform .48s cubic-bezier(.4,0,.2,1); will-change: transform; }
.testi-slide { min-width: 100%; padding: 0 0 8px; }
.testi-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: var(--r-2xl); padding: 40px 44px; max-width: 840px; margin: 0 auto; }
@media (max-width: 600px) { .testi-card { padding: 28px 24px; } }
.tc-stars { display: flex; gap: 4px; margin-bottom: 20px; }
.tc-stars span { color: #FFC542; font-size: 18px; }
.tc-quote { font-size: clamp(17px, 2.2vw, 22px); font-weight: 400; line-height: 1.55; letter-spacing: -.01em; color: rgba(255,255,255,.88); margin-bottom: 28px; font-style: italic; font-family: var(--font-display); }
.tc-quote::before { content: '\201C'; } .tc-quote::after { content: '\201D'; }
.tc-author { display: flex; align-items: center; gap: 14px; }
.tc-av { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: #fff; font-family: var(--font-display); }
.tc-name { font-size: 14px; font-weight: 600; color: #fff; letter-spacing: -.01em; font-family: var(--font-display); }
.tc-role { font-size: 12px; color: rgba(255,255,255,.38); margin-top: 2px; }
.testi-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.tc-btn { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.55); cursor: pointer; transition: all var(--t); }
.tc-btn:hover { background: rgba(254,76,28,.15); border-color: rgba(254,76,28,.3); color: var(--ember); }
.tc-dots { display: flex; gap: 8px; align-items: center; }
.tc-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.2); border: none; cursor: pointer; transition: all var(--t); padding: 0; }
.tc-dot.active { background: var(--ember); transform: scale(1.3); }

/* ── LANDING-PAGE EXTRAS (website-development.html only) ──
   Scoped to this one page's bespoke markup -- a deliberate, scoped
   exception to the sitewide "calm" brand voice, using EXEVE's own
   already-locked but otherwise-unused Cobalt/Cyan secondary palette
   (never a foreign hue) for the bolder glow/graphic accents. */

/* Ambient glow blob behind the hero, same blurred-radial technique as
   .cta-glow but cobalt/cyan instead of ember. */
/* Ambient cobalt/cyan glow, reusable on any dark section (not just the
   service-page hero it started on). Add class="has-glow" to the section and
   drop <div class="hero-glow"></div> as its first child. */
.hero-glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-glow::before, .hero-glow::after { content: ''; position: absolute; border-radius: 50%; filter: blur(90px); }
/* Default: corner pair, cobalt over cyan -- asymmetric content (headline
   one side, something else opposite). Used on the service-page hero and
   the homepage "Selected work" grid. */
.hero-glow::before { width: 480px; height: 480px; background: var(--cobalt); opacity: .28; top: -180px; right: -100px; bottom: auto; left: auto; }
.hero-glow::after { width: 380px; height: 380px; background: var(--cyan); opacity: .18; bottom: -160px; right: 260px; top: auto; left: auto; }
/* Centered, single diffuse blob -- for symmetric strips like a stat row,
   where content isn't weighted to one side. */
.hero-glow--center::before { width: 640px; height: 640px; top: 50%; left: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%); opacity: .16; background: var(--cyan); }
.hero-glow--center::after { display: none; }
/* Bottom-anchored pair, wide and soft -- glow rising up from beneath the
   content, for a section that centers on one focal element (a quote card). */
.hero-glow--bottom::before { width: 560px; height: 560px; top: auto; bottom: -260px; left: 50%; right: auto; transform: translateX(-62%); opacity: .2; background: var(--cyan); }
.hero-glow--bottom::after { width: 420px; height: 420px; top: auto; bottom: -200px; left: 50%; right: auto; transform: translateX(18%); opacity: .14; background: var(--cobalt); }
/* Single tight blob -- for short capture bands where a full corner pair
   would overwhelm the section's height. */
.hero-glow--tight::before { width: 320px; height: 320px; top: -140px; right: -70px; bottom: auto; left: auto; opacity: .26; background: var(--cobalt); }
.hero-glow--tight::after { display: none; }
/* Top-anchored mirror of --bottom -- same size/position/color, flipped to
   the top edge, so a section using --bottom directly above a section using
   --top hand off into one continuous field across the shared border
   (same trick that makes Stats -> Work read as one wash). */
.hero-glow--top::before { width: 560px; height: 560px; top: -260px; bottom: auto; left: 50%; right: auto; transform: translateX(-62%); opacity: .2; background: var(--cyan); }
.hero-glow--top::after { width: 420px; height: 420px; top: -200px; bottom: auto; left: 50%; right: auto; transform: translateX(18%); opacity: .14; background: var(--cobalt); }
.has-glow { position: relative; overflow: hidden; }
.has-glow .container { position: relative; z-index: 1; }

/* Compact Google-rating pill above the hero eyebrow. */
.trust-pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); margin-top: 20px; margin-bottom: 18px; }
.trust-pill-stars { display: flex; gap: 2px; }
.trust-pill-stars span { color: #FFC542; font-size: 12px; }
.trust-pill-text { font-size: 12px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.trust-pill-sub { font-size: 12px; color: rgba(255,255,255,.4); }

/* 2x3 "why it matters" feature grid -- pain points (the problem) and
   outcomes (the fix) merged into one set of cards with a small corner
   icon badge, closer to Uprise's 6-card layout than two separate
   sections. Reuses the same column breakpoints as .pain-grid. */
.feature-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 36px; }
@media (min-width: 700px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card { position: relative; padding: 28px 26px; border-radius: var(--r-xl); background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); transition: all var(--t); }
.feature-card:hover { border-color: rgba(23,84,241,.4); background: rgba(255,255,255,.05); transform: translateY(-2px); }
.feature-card-icon { position: absolute; top: 20px; right: 20px; width: 32px; height: 32px; border-radius: 50%; background: rgba(254,76,28,.14); border: 1px solid rgba(254,76,28,.28); display: flex; align-items: center; justify-content: center; color: var(--ember); flex-shrink: 0; }
.feature-card-kicker { display: block; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.feature-kicker-problem { color: rgba(255,255,255,.35); }
.feature-kicker-fix { color: var(--ember); }
.feature-card-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; max-width: 82%; font-family: var(--font-display); letter-spacing: -.01em; }
.feature-card-body { font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,.45); }

/* Tilted/overlapping case-study screenshot collage -- reuses .ccm (the
   modern full-bleed card from the homepage rework) arranged with
   rotation/offset instead of an even grid. */
.case-collage { display: flex; flex-wrap: wrap; gap: 0; justify-content: center; padding: 12px 0 8px; }
.case-collage .ccm { width: 280px; margin: 0 -8px 32px; box-shadow: 0 24px 50px rgba(0,0,0,.4); }
.case-collage .ccm:nth-child(1) { transform: rotate(-4deg) translateY(14px); z-index: 3; }
.case-collage .ccm:nth-child(2) { transform: rotate(3deg) translateY(-16px); z-index: 2; }
.case-collage .ccm:nth-child(3) { transform: rotate(-2deg) translateY(20px); z-index: 1; }
.case-collage .ccm:hover { transform: rotate(0deg) translateY(-8px) scale(1.04) !important; z-index: 5; box-shadow: 0 30px 64px rgba(0,0,0,.5); }
@media (max-width: 760px) {
  .case-collage { flex-direction: column; align-items: center; }
  .case-collage .ccm { margin: 0 0 24px; transform: none !important; width: min(100%, 320px); }
}
/* Curved "wave" section transition -- a light section overlaps up into
   the dark section above it via a rounded top edge instead of a hard
   line. Only ever follows a .section-dark sibling; carries its own
   white background so the rounded-out corners reveal the dark section
   behind rather than transparent page background. */
.curve-top { position: relative; z-index: 2; background: #fff; border-radius: 40px 40px 0 0; margin-top: -40px; border-top: none; }
@media (max-width: 640px) { .curve-top { border-radius: 24px 24px 0 0; margin-top: -24px; } }
/* Same trick, dark side -- a dark section stacking on top of whatever
   precedes it (light or dark), rounded top corners instead of a hairline.
   Background comes from the section's own .section-dark rule, not
   hardcoded here, so it stays correct even where a glow tints the top edge. */
.curve-top-dark { position: relative; z-index: 2; border-radius: 40px 40px 0 0; margin-top: -40px; border-top: none; }
@media (max-width: 640px) { .curve-top-dark { border-radius: 24px 24px 0 0; margin-top: -24px; } }

/* ── CTA -> FOOTER SEAM ──
   Two independently-clipped glows matched by color/position still show a
   faint step where they meet (each fades against its own hard clip edge,
   not against the other blob). Real fix: one glow, rendered once, on a
   wrapper spanning both. Both the CTA section and the footer fade their
   own background to transparent right at the seam so this single shared
   layer -- same ink base color underneath everything, so invisible where
   nothing fades -- shows through continuously on both sides. Neither
   pushes content over the other: text/buttons stay on their own opaque
   background for the majority of each section, only the last/first 160px
   dissolves into the shared layer. */
.glow-bridge { position: relative; background: var(--ink); overflow: hidden; }
.hero-glow--footer-seam::before { width: 640px; height: 640px; top: auto; bottom: 260px; left: 50%; right: auto; transform: translateX(-62%); opacity: .22; background: var(--cyan); }
.hero-glow--footer-seam::after { width: 480px; height: 480px; top: auto; bottom: 260px; left: 50%; right: auto; transform: translateX(18%); opacity: .15; background: var(--cobalt); }
.cta-fade-bottom { background: linear-gradient(to bottom, var(--ink) 0%, var(--ink) calc(100% - 160px), transparent 100%); }
.footer-fade-top { background: linear-gradient(to bottom, transparent 0%, #06060D 160px, #06060D 100%); }
