/* ============================================================
   ArtAgile Portfolio — Floating layout · Azure Corporate · White
============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(59,130,246,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(147,197,253,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 60%, rgba(96,165,250,0.08) 0%, transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { background: none; border: 0; font: inherit; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

/* ---------- Tokens — Azure Corporate · White ---------- */
:root {
  --bg:           #FFFFFF;
  --bg-tint:      #F4F7FB;   /* lightest blue wash */
  --bg-tint-2:    #EAF0F8;   /* mid blue wash */
  --bg-tint-3:    #DCE5F2;   /* deeper blue wash */
  --surface:      #E8EEF7;
  --bg-alt:       #FFFFFF;
  --bg-deep:      #0F1A3A;   /* dark navy for inverse sections */

  --text:         #0F1A3A;
  --text-mute:    #5C6275;
  --text-soft:    #8A91A3;

  --accent:       #1E3A8A;   /* Azure deeper — stronger contrast */
  --accent-hover: #16306E;
  --cta:          #1244EE;   /* logo ink — royal blue sampled from the A-mark */
  --cta-hover:    #0D35C9;
  --accent-2:     #3B82F6;   /* Azure mid */
  --accent-3:     #60A5FA;   /* Azure light */
  --accent-4:     #93C5FD;   /* Azure pale */
  --on-accent:    #FFFFFF;

  --border:       rgba(15, 26, 58, 0.10);
  --border-strong:rgba(15, 26, 58, 0.18);
  --border-blue:  rgba(30, 58, 138, 0.22);

  --display:      'Fraunces', 'Times New Roman', serif;
  --ui:           'Inter', system-ui, sans-serif;
  --mono:         ui-monospace, SFMono-Regular, Menlo, monospace;

  --max-w:        1200px;
  --gutter:       clamp(20px, 4vw, 40px);
  --section-v:    clamp(72px, 10vw, 120px);
  --pill-top:     20px;

  --shadow-sm:    0 4px 14px -8px rgba(15,26,58,0.18);
  --shadow-md:    0 10px 30px -12px rgba(15,26,58,0.20);
  --shadow-lg:    0 20px 60px -20px rgba(15,26,58,0.25);
  --shadow-pill:  0 10px 36px -10px rgba(30,58,138,0.30);
  --shadow-blue:  0 18px 50px -16px rgba(30,58,138,0.35);

  --grad-blue:    linear-gradient(135deg, var(--accent) 0%, #2E55C7 50%, var(--accent-2) 100%);
  --grad-soft:    linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
  --grad-mesh:
    radial-gradient(ellipse 70% 50% at 15% 20%, rgba(59,130,246,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 70%, rgba(147,197,253,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(30,58,138,0.08) 0%, transparent 60%);

  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    18px;
  --radius-pill:  999px;
}

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

.section     {
  padding: var(--section-v) 0;
  position: relative;
  background:
    linear-gradient(180deg, #FFFFFF 0%, #EFF5FF 100%);
}
.section-tint{
  padding: var(--section-v) 0;
  position: relative;
  background:
    linear-gradient(165deg, #E6EEFB 0%, #D6E4F8 55%, #C4D8F4 100%);
}
.section-tint::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 12% 18%, rgba(59,130,246,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 88% 82%, rgba(147,197,253,0.28) 0%, transparent 62%);
}
.section-tint > .container { position: relative; z-index: 1; }
.section > .container { position: relative; z-index: 1; }

/* decorative blue accent edge */
.section-edge::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-3) 50%, transparent 100%);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); }

.h-display, .h-page, .h-section, .h-card {
  font-family: var(--display); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.1;
  color: var(--text);
}
.h-display { font-size: clamp(44px, 6.5vw, 84px); line-height: 1.04; }
.h-page    { font-size: clamp(36px, 4.5vw, 56px); }
.h-section { font-size: clamp(28px, 3.6vw, 44px); }
.h-card    { font-size: clamp(22px, 2.4vw, 30px); }

.h-display em, .h-page em, .h-section em {
  font-style: italic; font-weight: 600; color: var(--accent);
}

.lead { color: var(--text-mute); font-size: 18px; line-height: 1.65; max-width: 660px; }
.body { color: var(--text-mute); font-size: 16px; line-height: 1.7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  background: var(--cta); color: var(--on-accent);
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 14px; letter-spacing: 0.01em;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--cta-hover); transform: translateY(-1px); box-shadow: var(--shadow-pill); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  background: transparent; color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-weight: 500; font-size: 14px;
  transition: border-color .2s, color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--bg-tint); }

/* ============================================================
   FLOATING PILL NAV
============================================================ */
.float-nav {
  position: fixed;
  top: var(--pill-top);
  left: 50%; transform: translateX(-50%);
  z-index: 60;
  display: flex; align-items: center; gap: 6px;
  padding: 6px 6px 6px 18px;
  max-width: calc(100vw - 24px);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  transition: box-shadow .25s, background .25s, transform .25s;
}
.float-nav.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-lg);
}

.float-nav .links {
  display: flex; align-items: center; gap: 2px;
  padding-inline: 4px;
}
.float-nav .links a {
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 500;
  color: var(--text-mute); white-space: nowrap;
  transition: background .2s, color .2s;
}
.float-nav .links a:hover { color: var(--text); background: var(--bg-tint); }
.float-nav .links a.active { color: var(--accent); background: var(--bg-tint); }

/* ----- Mega-menu dropdown ----- */
.float-nav .nav-item {
  position: relative;
  display: inline-flex; align-items: center;
}
.float-nav .nav-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  cursor: pointer;
}
.float-nav .nav-trigger .caret {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform .2s;
  opacity: 0.7;
}
.float-nav .nav-item.open .nav-trigger .caret,
.float-nav .nav-item:hover .nav-trigger .caret {
  transform: rotate(-135deg) translate(-1px, -1px);
}
.float-nav .mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 880px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 28px;
  row-gap: 0;
  padding: 24px;
  background: rgba(255,255,255,0.98);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 70;
}
.float-nav .mega-menu.mega-1col { grid-template-columns: 1fr; min-width: 420px; }

/* Flat mega — 3 service columns + 1 CTA column, 12 services + Start-a-Project */
.float-nav .mega-menu.mega-flat {
  min-width: min(960px, calc(100vw - 32px));
  grid-template-columns: repeat(3, 1fr) 1.1fr;
  column-gap: 28px;
  row-gap: 6px;
  padding: 24px 26px;
}
.float-nav .mega-menu.mega-flat .mega-col {
  padding: 4px 0;
  border-right: 1px solid var(--border);
  padding-right: 22px;
  margin-right: -4px;
}
.float-nav .mega-menu.mega-flat .mega-col:nth-child(3) { border-right: 0; }
.float-nav .mega-menu.mega-flat a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 6px;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--text);
  border-radius: 6px;
  transition: background .15s, color .15s, padding-left .15s;
}
.float-nav .mega-menu.mega-flat a:hover {
  background: var(--bg-tint);
  color: var(--accent);
  padding-left: 12px;
}
/* Service icon in the Services mega-menu */
.float-nav .mega-menu.mega-flat a .mm-ico {
  flex: 0 0 auto;
  width: 16px; height: 16px;
  color: var(--accent-2);
  opacity: 0.85;
  transition: color .15s, transform .15s, opacity .15s;
}
.float-nav .mega-menu.mega-flat a:hover .mm-ico {
  color: var(--accent);
  opacity: 1;
  transform: scale(1.1);
}
.float-nav .mega-menu.mega-flat a .mm-ico {
  flex: 0 0 auto;
  color: var(--accent-2);
  opacity: .85;
  transition: color .15s, transform .15s;
}
.float-nav .mega-menu.mega-flat a:hover .mm-ico {
  color: var(--accent);
  opacity: 1;
  transform: translateX(1px) scale(1.08);
}
.float-nav .mega-menu.mega-flat .mega-col-cta {
  border-right: 0;
  padding: 16px 18px;
  background: linear-gradient(160deg, var(--bg-tint) 0%, var(--bg-tint-2) 100%);
  border-radius: var(--radius-md);
  display: flex; flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  margin: -4px 0;
}
.float-nav .mega-menu.mega-flat .mega-col-cta .mega-title {
  font-family: var(--display); font-weight: 700; font-size: 17px;
  color: var(--text); letter-spacing: -0.01em;
  display: inline-flex; align-items: center; justify-content: space-between;
  padding: 0;
  text-transform: none;
}
.float-nav .mega-menu.mega-flat .mega-col-cta .mega-title-arrow {
  font-size: 14px; color: var(--accent);
}
.float-nav .mega-menu.mega-flat .mega-cta-blurb {
  font-size: 13px; color: var(--text-mute); line-height: 1.5;
  margin: 0;
}
.float-nav .mega-menu.mega-flat .mega-cta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 18px;
  background: var(--cta); color: var(--on-accent);
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.01em;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.float-nav .mega-menu.mega-flat .mega-cta-btn:hover {
  background: var(--cta-hover); transform: translateY(-1px);
  box-shadow: var(--shadow-pill);
  padding-left: 18px;
}
@media (max-width: 1100px) {
  .float-nav .mega-menu.mega-flat {
    grid-template-columns: repeat(2, 1fr) 1fr;
    min-width: min(820px, calc(100vw - 32px));
    column-gap: 22px;
  }
  .float-nav .mega-menu.mega-flat .mega-col:nth-child(2) { border-right: 0; }
}
@media (max-width: 880px) {
  .float-nav .mega-menu.mega-flat {
    grid-template-columns: 1fr;
    min-width: min(540px, calc(100vw - 32px));
  }
  .float-nav .mega-menu.mega-flat .mega-col { border-right: 0; padding-right: 0; }
}
/* Wide mega-menu — 7-col single row at desktop, 4-col at laptop, 3-col at tablet.
   max-height + scroll covers any short-viewport overflow. */
.float-nav .mega-menu.mega-wide {
  min-width: min(1280px, calc(100vw - 32px));
  grid-template-columns: repeat(7, 1fr);
  column-gap: 16px;
  row-gap: 16px;
  padding: 20px 22px;
  max-height: calc(100vh - var(--pill-top) - 60px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.float-nav .mega-menu.mega-wide::-webkit-scrollbar { width: 6px; }
.float-nav .mega-menu.mega-wide::-webkit-scrollbar-thumb {
  background: var(--border-strong); border-radius: 3px;
}
.float-nav .mega-menu.mega-wide .mega-col {
  break-inside: avoid;
  min-width: 0;
}
.float-nav .mega-menu.mega-wide .mega-title {
  padding: 2px 8px 8px;
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.2;
}
.float-nav .mega-menu.mega-wide a {
  padding: 7px 8px;
  font-size: 12.5px;
  line-height: 1.3;
}
/* Laptop fallback — 4-col 2-row */
@media (max-width: 1340px) {
  .float-nav .mega-menu.mega-wide {
    grid-template-columns: repeat(4, 1fr);
    min-width: min(1100px, calc(100vw - 32px));
    column-gap: 22px;
  }
  .float-nav .mega-menu.mega-wide a { padding: 7px 12px; }
  .float-nav .mega-menu.mega-wide .mega-title { padding: 2px 10px 8px; font-size: 10.5px; }
}
/* Tablet fallback — 3-col */
@media (max-width: 1100px) {
  .float-nav .mega-menu.mega-wide {
    grid-template-columns: repeat(3, 1fr);
    min-width: min(900px, calc(100vw - 32px));
  }
}
.float-nav .nav-item:hover .mega-menu,
.float-nav .nav-item:focus-within .mega-menu,
.float-nav .nav-item.open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.float-nav .mega-menu .mega-col { display: flex; flex-direction: column; gap: 2px; }
.float-nav .mega-menu .mega-title {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  padding: 4px 10px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
  transition: color .15s, padding .15s;
}
.float-nav .mega-menu .mega-title .mega-title-arrow {
  font-size: 14px;
  letter-spacing: 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .15s, transform .15s;
}
.float-nav .mega-menu .mega-title:hover {
  color: var(--accent-hover, var(--accent));
}
.float-nav .mega-menu .mega-title:hover .mega-title-arrow {
  opacity: 1;
  transform: translateX(0);
}
.float-nav .mega-menu a {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  white-space: normal;
  line-height: 1.3;
  transition: background .15s, color .15s, padding .15s;
  position: relative;
}
.float-nav .mega-menu a:hover {
  background: var(--bg-tint);
  color: var(--accent);
}
/* invisible hover-bridge so cursor can move from trigger to panel */
.float-nav .nav-item::after {
  content: "";
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 14px;
  pointer-events: none;
}
.float-nav .nav-item:hover::after { pointer-events: auto; }

.float-nav .cta {
  padding: 10px 18px;
  background: var(--cta); color: var(--on-accent);
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600;
  transition: background .2s, transform .2s;
}
.float-nav .cta:hover { background: var(--cta-hover); transform: translateY(-1px); }

.float-nav .hamburger { display: none; }

/* mobile drawer trigger */
@media (max-width: 1024px) {
  .float-nav .links, .float-nav .cta, .float-nav .mega-menu { display: none; }
  .float-nav .logo { border-right: 0; padding-right: 0; margin-right: auto; }
  .float-nav { padding: 8px 8px 8px 18px; }
  .float-nav .hamburger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: var(--radius-pill);
    background: var(--bg-tint);
  }
  .float-nav .hamburger span {
    display: block; width: 16px; height: 2px; background: var(--text);
    position: relative;
  }
  .float-nav .hamburger span::before,
  .float-nav .hamburger span::after {
    content: ""; position: absolute; left: 0; width: 16px; height: 2px;
    background: var(--text);
  }
  .float-nav .hamburger span::before { top: -5px; }
  .float-nav .hamburger span::after  { top:  5px; }
}

/* mobile drawer */
.drawer {
  position: fixed; inset: 0;
  background: rgba(26,34,56,0.45);
  backdrop-filter: blur(6px);
  z-index: 80;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer-panel {
  position: absolute; top: 16px; right: 16px; left: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-12px);
  transition: transform .25s;
}
.drawer.open .drawer-panel { transform: translateY(0); }
.drawer-panel a {
  display: block; padding: 14px 12px;
  font-size: 16px; color: var(--text); font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.drawer-panel a:last-child { border-bottom: 0; }
.drawer-panel .drawer-group {
  border-bottom: 1px solid var(--border);
}
.drawer-panel .drawer-group:last-of-type { border-bottom: 0; }
.drawer-panel .drawer-group > .drawer-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 14px 12px;
  background: transparent; border: 0;
  font-family: inherit;
  font-size: 16px; color: var(--text); font-weight: 500;
  text-align: left; cursor: pointer;
}
.drawer-panel .drawer-group > .drawer-toggle .caret {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s;
  opacity: 0.6;
}
.drawer-panel .drawer-group.open > .drawer-toggle .caret {
  transform: rotate(-135deg);
}
.drawer-panel .drawer-sub {
  display: none;
  padding: 0 0 12px 12px;
}
.drawer-panel .drawer-group.open .drawer-sub { display: block; }
.drawer-panel .drawer-sub a {
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text-mute); font-weight: 500;
  border-bottom: 0;
}
.drawer-panel .drawer-sub a:hover { color: var(--accent); }
.drawer-panel .drawer-sub-group {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  padding: 14px 12px 6px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
  border-bottom: 0;
}
.drawer-panel .drawer-sub-group:first-of-type {
  border-top: 0;
  margin-top: 0;
}
.drawer-panel .drawer-sub-group:hover { color: var(--text); }
.drawer-panel a.cta {
  margin-top: 12px;
  background: var(--cta); color: var(--on-accent);
  border-radius: var(--radius-pill);
  text-align: center; font-weight: 600;
  border-bottom: 0;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  padding: 180px 0 96px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(104,181,228,0.32) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 30%, rgba(58,77,161,0.10) 0%, transparent 60%),
    var(--bg);
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(26,34,56,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,34,56,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 80%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; max-width: 920px; }
.hero .eyebrow { justify-content: center; margin-bottom: 24px; }
.hero h1 { margin-bottom: 28px; }
.hero p.lead { margin: 0 auto; }
.hero-actions {
  margin-top: 36px;
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.hero-stats {
  margin-top: 64px;
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  max-width: 760px; margin-inline: auto;
}
.stat {
  padding: 24px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, border-color .2s;
}
.stat:hover { transform: translateY(-2px); border-color: var(--accent); }
.stat h3 {
  font-family: var(--display); font-weight: 700; font-size: 36px;
  color: var(--accent); letter-spacing: -0.02em; line-height: 1;
}
.stat p { margin-top: 8px; font-size: 13px; color: var(--text-mute); letter-spacing: 0.02em; }

/* ============================================================
   PAGE HERO (sub-pages)
============================================================ */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 72px;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(96,165,250,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(147,197,253,0.20) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #FAFCFF 100%);
}
.page-hero > .container { position: relative; z-index: 1; }
.crumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 13px; color: var(--text-soft); font-family: var(--mono);
  margin-bottom: 18px;
}
.crumb a { color: var(--text-mute); transition: color .2s; }
.crumb a:hover { color: var(--accent); }
.crumb .sep { color: var(--text-soft); }
.page-hero h1 { max-width: 760px; margin: 14px 0 20px; }
.page-hero p.lead { max-width: 680px; }

/* Service/section heroes (non-photo) → logo-blue navy gradient with light text */
.page-hero:not(.has-bg) {
  background: linear-gradient(160deg, #0A1230 0%, #0F1A3A 52%, #17265E 100%);
}
.page-hero:not(.has-bg) .eyebrow { color: var(--accent-3); }
.page-hero:not(.has-bg) h1 { color: #fff; }
.page-hero:not(.has-bg) h1 em { color: var(--accent-3); }
.page-hero:not(.has-bg) p,
.page-hero:not(.has-bg) p.lead { color: rgba(255,255,255,0.76); }
.page-hero:not(.has-bg) .hero-breadcrumb,
.page-hero:not(.has-bg) .hero-breadcrumb a { color: rgba(255,255,255,0.6); }
.page-hero:not(.has-bg) .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.32); }
.page-hero:not(.has-bg) .btn-ghost:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.6); }

/* ============================================================
   SECTION INTRO (two-col)
============================================================ */
.intro-grid {
  display: grid; gap: 32px; align-items: end;
  grid-template-columns: 1fr;
  margin-bottom: 56px;
}
@media (min-width: 880px) {
  .intro-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; }
}
.intro-grid .h-section { margin-top: 16px; }

/* ============================================================
   SERVICE INDEX LIST (home)
============================================================ */
.svc-index { display: grid; gap: 0; }
.svc-index-row {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  align-items: start;
  transition: padding-left .25s;
}
.svc-index-row:last-child { border-bottom: 1px solid var(--border); }
.svc-index-row:hover { padding-left: 8px; }
.svc-index-row:hover .svc-index-arrow { color: var(--accent); transform: translate(4px, -4px); }
.svc-index-num {
  font-family: var(--mono); font-size: 13px;
  color: var(--accent); font-weight: 600; padding-top: 4px;
}
.svc-index-body h3 {
  font-family: var(--display); font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700; color: var(--text); margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.svc-index-body p { color: var(--text-mute); font-size: 15px; line-height: 1.6; max-width: 680px; }
.svc-index-arrow {
  font-size: 20px; color: var(--text-soft); padding-top: 4px;
  transition: color .25s, transform .25s;
}

/* ============================================================
   SERVICES GRID (cards)
============================================================ */
.svc-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.svc-card {
  padding: 32px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.svc-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.svc-card .ico {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent);
  border-radius: var(--radius-sm);
  font-family: var(--mono); font-weight: 700; font-size: 14px;
  margin-bottom: 22px;
}
.svc-card h3 {
  font-family: var(--display); font-weight: 700; font-size: 19px;
  margin-bottom: 10px; letter-spacing: -0.01em;
}
.svc-card p { color: var(--text-mute); font-size: 14.5px; line-height: 1.6; }
.svc-card .more {
  display: inline-flex; gap: 6px; margin-top: 18px;
  font-size: 13px; color: var(--accent); font-weight: 600;
}

/* ============================================================
   CAPABILITIES GRID
============================================================ */
.cap-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.cap {
  padding: 32px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--accent);
  transition: transform .25s, box-shadow .25s, border-color .25s, background .25s;
}
.cap:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(15,26,58,0.32);
  border-color: var(--accent-3);
  background: linear-gradient(165deg, var(--bg) 0%, var(--bg-tint) 100%);
}
.cap h3 { transition: color .2s; }
.cap:hover h3 { color: var(--accent); }
.cap-num {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  color: var(--accent); font-weight: 600; margin-bottom: 14px;
}
.cap h3 { font-family: var(--display); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.cap p  { color: var(--text-mute); font-size: 14.5px; line-height: 1.6; }

/* staggered entrance — cards rise in sequence as the grid reveals */
.cap-grid .cap.reveal { transition-delay: 0s; }
.cap-grid .cap.reveal:nth-child(2) { transition-delay: .08s; }
.cap-grid .cap.reveal:nth-child(3) { transition-delay: .16s; }
.cap-grid .cap.reveal:nth-child(4) { transition-delay: .24s; }
.cap-grid .cap.reveal:nth-child(5) { transition-delay: .32s; }
.cap-grid .cap.reveal:nth-child(6) { transition-delay: .40s; }

/* ---------- Linked cap cards (What-we-do doubles as sub-service nav;
   the separate picker grid was removed — client, June 2026) ---------- */
a.cap {
  position: relative; display: block;
  color: inherit; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
a.cap::before {
  /* navy sweep — rises from the bottom edge on hover */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--grad-blue);
  transform: translateY(101%);
  transition: transform .38s cubic-bezier(.33, .85, .3, 1);
}
a.cap > * { position: relative; z-index: 1; }
a.cap:hover, a.cap:focus-visible {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-blue);
}
a.cap:hover::before, a.cap:focus-visible::before { transform: translateY(0); }
a.cap:hover .cap-num,  a.cap:focus-visible .cap-num  { color: var(--accent-4); }
a.cap:hover h3,        a.cap:focus-visible h3        { color: var(--on-accent); }
a.cap:hover p,         a.cap:focus-visible p         { color: rgba(255,255,255,0.82); }
.cap-go {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--border);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-soft);
  transition: color .25s, border-color .25s;
}
.cap-go .arrow { transition: transform .3s cubic-bezier(.33, .85, .3, 1); }
a.cap:hover .cap-go, a.cap:focus-visible .cap-go {
  color: var(--accent-4); border-top-color: rgba(255,255,255,0.25);
}
a.cap:hover .cap-go .arrow, a.cap:focus-visible .cap-go .arrow { transform: translateX(6px); }
@media (prefers-reduced-motion: reduce) {
  a.cap::before, .cap-go .arrow, .cap-grid .cap.reveal { transition: none; }
}

/* ============================================================
   INDUSTRIES — editorial rows
============================================================ */
.ind-list { display: grid; gap: 4px; }
.ind-row {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.ind-row:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 880px) {
  .ind-row { grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
}
.ind-label .num {
  font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 700;
}
.ind-label .name {
  margin-top: 8px;
  font-family: var(--display); font-weight: 700; font-size: 22px;
  color: var(--text); letter-spacing: -0.01em;
}
.ind-body h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(24px, 2.8vw, 32px); letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.ind-body p { color: var(--text-mute); font-size: 16px; line-height: 1.65; margin-bottom: 22px; }
.ind-body ul {
  display: grid; gap: 8px 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.ind-body li {
  position: relative; padding-left: 18px;
  font-size: 14px; color: var(--text); line-height: 1.5;
}
.ind-body li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; background: var(--accent-2); border-radius: 2px;
}

/* ============================================================
   SERVICE DETAIL (services page) — editorial sections
============================================================ */
/* Services jump — sticky tabbed strip with underline indicator */
.svc-jump {
  position: sticky;
  top: 88px;
  z-index: 25;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.svc-jump-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 0 var(--gutter);
  max-width: var(--max-w);
  margin-inline: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.svc-jump-inner::-webkit-scrollbar { display: none; }
.svc-jump-inner a {
  position: relative;
  flex-shrink: 0;
  padding: 18px 18px;
  font-size: 13px;
  color: var(--text-mute);
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.01em;
  scroll-snap-align: start;
  transition: color .2s;
}
.svc-jump-inner a::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.svc-jump-inner a:hover { color: var(--text); }
.svc-jump-inner a.active {
  color: var(--accent);
  font-weight: 600;
}
.svc-jump-inner a.active::after { transform: scaleX(1); }

.svc-section { padding: clamp(64px, 8vw, 96px) 0; scroll-margin-top: 160px; }
.svc-section.alt { background: var(--bg-tint); }

.svc-layout {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .svc-layout { grid-template-columns: 1.5fr 1fr; gap: 56px; }
  .svc-layout.reverse .svc-main { order: 2; }
}

.svc-num {
  font-family: var(--display);
  font-size: clamp(72px, 9vw, 120px);
  font-weight: 700;
  line-height: 0.9;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.04em;
}
.svc-tagline {
  font-family: var(--display); font-style: italic; font-weight: 600;
  color: var(--accent); font-size: 19px; margin: 14px 0 22px;
  line-height: 1.4;
}
.svc-desc { color: var(--text-mute); font-size: 16.5px; line-height: 1.7; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip {
  padding: 7px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 13px; color: var(--text); font-weight: 500;
  transition: border-color .2s, color .2s;
}
.svc-section.alt .chip { background: var(--bg); }
.chip:hover { border-color: var(--accent); color: var(--accent); }

.why-box {
  margin-top: 36px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(244,247,251,0.8) 0%, rgba(220,229,242,0.4) 100%);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  position: relative;
}
.svc-section.alt .why-box {
  background: linear-gradient(135deg, #FFFFFF 0%, rgba(255,255,255,0.7) 100%);
}
.why-box-title {
  font-family: var(--display); font-weight: 700; font-size: 15px;
  color: var(--accent); margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.why-box p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
}

.svc-side-box {
  padding: 32px 28px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-tint) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px -8px rgba(15,26,58,0.08);
  position: sticky; top: 140px;
}
.svc-section.alt .svc-side-box {
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255,255,255,0.6) 100%);
  border-color: rgba(255,255,255,0.8);
}
.svc-side-title {
  font-family: var(--display); font-weight: 700; font-size: 18px;
  color: var(--text);
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.012em;
}
.svc-side-box ul {
  display: flex; flex-direction: column; gap: 4px;
}
.svc-side-box ul li {
  position: relative;
  padding: 10px 0 10px 30px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.55;
  font-weight: 500;
}
.svc-side-box ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  background-image: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
}
.svc-side-box ul li::after {
  content: "";
  position: absolute;
  left: 4px; top: 16px;
  width: 9px; height: 5px;
  border-left: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
  transform: rotate(-45deg);
}

/* ============================================================
   SERVICE DETAIL PAGE — Trigent-style left-rail + content
============================================================ */
.svc-detail {
  padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 96px);
}
.svc-detail-header {
  margin-bottom: clamp(40px, 5vw, 64px);
}
.svc-detail-header h1 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--text);
}
.svc-detail-header .svc-detail-tagline {
  font-family: var(--display); font-style: italic; font-weight: 600;
  color: var(--accent);
  font-size: 19px;
  margin-top: 12px;
}
.svc-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 900px;
}
@media (min-width: 980px) {
  .svc-detail-grid {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
    margin-inline: auto;
  }
}
/* hide left-rail service nav per design refresh — flat tile grid replaces it on /services */
.svc-rail { display: none !important; }
/* LEFT RAIL — service list */
.svc-rail {
  display: flex; flex-direction: column;
  gap: 4px;
  padding: 8px 0;
}
@media (min-width: 980px) {
  .svc-rail {
    position: sticky;
    top: 100px;
    align-self: start;
  }
}
.svc-rail .svc-rail-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 700;
  padding: 0 18px 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.svc-rail .svc-rail-group {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  padding: 14px 18px 6px;
  margin-top: 4px;
}
.svc-rail .svc-rail-group:first-of-type { padding-top: 6px; }
@media (min-width: 980px) {
  .svc-rail {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: thin;
  }
  .svc-rail::-webkit-scrollbar { width: 4px; }
  .svc-rail::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 2px; }
}
.svc-rail a {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  border-radius: 10px;
  transition: background .15s, color .15s;
}
.svc-rail a .arrow {
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
  color: var(--text-mute);
  transition: color .15s, transform .15s;
}
.svc-rail a:hover {
  background: var(--bg-tint);
  color: var(--accent);
}
.svc-rail a:hover .arrow { color: var(--accent); transform: translateX(2px); }
.svc-rail a.active {
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 10px 0 0 10px;
  position: relative;
  box-shadow: 0 6px 20px -8px rgba(30,58,138,0.45);
}
.svc-rail a.active::after {
  content: "";
  position: absolute;
  right: -14px; top: 50%;
  width: 0; height: 0;
  transform: translateY(-50%);
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 14px solid var(--accent);
}
.svc-rail a.active .arrow {
  color: var(--on-accent);
}

/* RIGHT — content */
.svc-content {
  padding: 0;
}
.svc-content > .lead {
  color: var(--text);
  font-size: 18.5px;
  line-height: 1.65;
  margin-bottom: 28px;
}
.svc-content > .body {
  color: var(--text-mute);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 32px;
}
/* Sub-offerings — boxed "Capabilities / Outcomes" cards
   (client pass June 2026: "add a box behind capabilities and
   outcomes"). Each .svc-offering is a card: tinted bg, accent
   top border, check-marked bullets. */
.svc-offerings {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
@media (min-width: 720px) {
  .svc-offerings { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
.svc-offering {
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 28px 26px 30px;
}
.svc-offering h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.012em;
  margin-bottom: 12px;
}
.svc-offering p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.svc-offering ul {
  display: flex; flex-direction: column; gap: 10px;
}
.svc-offering ul li {
  position: relative;
  padding: 0 0 0 28px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.55;
}
.svc-offering ul li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  background: rgba(59, 130, 246, 0.12);
  border-radius: 50%;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
}

/* Why ArtAgile callout (reuse existing .why-box style with extra spacing) */
.svc-content .why-box { margin-top: 40px; }

/* A1 fix: tagline class replacing inline style */
.svc-tagline-italic {
  font-style: italic;
  color: var(--accent);
}

/* B1 — Related Services block */
.related-services {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.related-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--text);
  margin-bottom: 20px;
}
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 720px) {
  .related-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
.related-card {
  display: flex; flex-direction: column;
  padding: 22px 22px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .2s, box-shadow .2s, transform .15s;
  min-height: 170px;
}
.related-card:hover {
  border-color: var(--accent-3);
  box-shadow: 0 10px 28px -14px rgba(30,58,138,0.22);
  transform: translateY(-2px);
}
.related-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}
.related-card h3 {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 8px;
}
.related-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-mute);
  flex: 1;
  margin-bottom: 14px;
}
.related-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

/* C4 — Practice landing page */
.practice-hero .lead { margin-top: 10px; }
.practice-detail {
  padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 96px);
}
.practice-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 56px;
  padding: 28px;
  background: linear-gradient(135deg, var(--bg-tint) 0%, rgba(220,229,242,0.4) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
@media (min-width: 720px) {
  .practice-stats { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.practice-stat {
  text-align: left;
  padding: 8px 0;
}
.practice-stat .ps-num {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.practice-stat .ps-label {
  font-size: 13.5px;
  color: var(--text-mute);
  font-weight: 500;
  line-height: 1.4;
}
.practice-services > h2 { margin-bottom: 28px; }

/* C1 — Catalog filter chips */
.catalog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0 32px;
  position: sticky;
  top: 88px;
  z-index: 20;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
  margin: 0 calc(-1 * var(--gutter)) 24px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.catalog-filter button {
  flex-shrink: 0;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mute);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.catalog-filter button:hover {
  color: var(--text);
  border-color: var(--border-strong);
}
.catalog-filter button.active {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}
.catalog-filter .fc-count {
  font-size: 11px;
  margin-left: 6px;
  opacity: 0.7;
}
.catalog-card.is-hidden { display: none; }
.catalog-group.is-hidden { display: none; }

/* C3 — Compare drawer */
.catalog-card .compare-toggle {
  position: absolute;
  top: 14px; right: 14px;
  width: 26px; height: 26px;
  border: 1.5px solid var(--border);
  background: rgba(255,255,255,0.9);
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0;
  transition: border-color .15s, background .15s;
  z-index: 2;
}
.catalog-card .compare-toggle::before {
  content: "+";
  font-family: var(--mono);
  font-size: 16px;
  color: var(--text-mute);
  font-weight: 600;
  line-height: 1;
}
.catalog-card .compare-toggle:hover { border-color: var(--accent); }
.catalog-card .compare-toggle:hover::before { color: var(--accent); }
.catalog-card.is-comparing .compare-toggle {
  background: var(--accent);
  border-color: var(--accent);
}
.catalog-card.is-comparing .compare-toggle::before {
  content: "\2713";
  color: var(--on-accent);
}
.compare-drawer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--bg);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 40px -12px rgba(15,26,58,0.18);
  transform: translateY(100%);
  transition: transform .3s ease;
  padding: 24px var(--gutter) 28px;
}
.compare-drawer.is-open { transform: translateY(0); }
.compare-drawer-header {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.compare-drawer-header h3 {
  font-family: var(--display); font-weight: 700; font-size: 18px;
  color: var(--text);
}
.compare-drawer-header .cd-actions { display: flex; gap: 10px; align-items: center; }
.compare-drawer-header button {
  padding: 8px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-mute);
  cursor: pointer;
}
.compare-drawer-header button:hover { color: var(--accent); border-color: var(--accent); }
.compare-drawer-header .cd-go {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
  font-weight: 600;
}
.compare-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 720px) {
  .compare-list { grid-template-columns: 1fr; }
}
.compare-item {
  padding: 14px 16px;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13.5px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.compare-item .ci-title {
  font-weight: 600;
  color: var(--text);
}
.compare-item .ci-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}
.compare-item .ci-remove {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 0;
  background: transparent;
  color: var(--text-mute);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.compare-item .ci-empty {
  color: var(--text-mute);
  font-style: italic;
  font-weight: 400;
}

/* A9 — Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 8px;
  font-weight: 600;
  z-index: 200;
}
.skip-link:focus {
  left: 12px;
}

/* A10 — Focus-visible */
.catalog-card:focus-visible,
.related-card:focus-visible,
.svc-rail a:focus-visible,
.svc-jump-inner a:focus-visible,
.float-nav .links a:focus-visible,
.float-nav .mega-menu a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 8px;
}

/* A11 — Mega-wide responsive 2-col fallback */
@media (max-width: 880px) {
  .float-nav .mega-menu.mega-wide { display: none; }
}
@media (min-width: 881px) and (max-width: 1100px) {
  .float-nav .mega-menu.mega-wide {
    grid-template-columns: repeat(2, 1fr);
    min-width: min(720px, calc(100vw - 48px));
  }
}

/* ============================================================
   SERVICE CATALOG (services.html overview)
============================================================ */
.svc-catalog {
  padding: clamp(48px, 6vw, 80px) 0 clamp(72px, 9vw, 112px);
}
.catalog-group {
  margin-bottom: clamp(48px, 6vw, 80px);
}
.catalog-group:last-child { margin-bottom: 0; }
.catalog-group-head {
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.catalog-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.catalog-group-head h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  flex: 1 1 100%;
  margin-top: 4px;
}
.catalog-group-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  transition: gap .15s;
}
.catalog-group-link:hover { text-decoration: underline; }
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px)  { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .catalog-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.catalog-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 28px 28px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  overflow: hidden;
  min-height: 220px;
}
.catalog-card::before {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 80%; height: 120%;
  background: radial-gradient(circle at 30% 30%, rgba(59,130,246,0.08) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
}
.catalog-card:hover {
  border-color: var(--accent-3);
  box-shadow: 0 12px 32px -16px rgba(30,58,138,0.25);
  transform: translateY(-2px);
}
.catalog-card:hover::before { opacity: 1; }
.cc-num {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-3);
  margin-bottom: 16px;
}
.catalog-card h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.25;
}
.catalog-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-mute);
  flex: 1;
  margin-bottom: 18px;
}
.cc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
  transition: gap .2s;
}
.cc-link span { transition: transform .2s; }
.catalog-card:hover .cc-link { gap: 10px; }
.catalog-card:hover .cc-link span { transform: translateX(2px); }

/* ============================================================
   APPROACH (about page)
============================================================ */
.approach {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 48px;
}
.approach-item {
  padding: 32px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color .2s, transform .2s;
}
.approach-item:hover { border-color: var(--accent); transform: translateY(-3px); }
.approach-item .num {
  font-family: var(--mono); font-size: 13px; color: var(--accent);
  font-weight: 600; margin-bottom: 14px;
}
.approach-item h3 { font-family: var(--display); font-weight: 700; font-size: 19px; margin-bottom: 10px; }
.approach-item p { color: var(--text-mute); font-size: 14.5px; line-height: 1.6; }

/* values row */
.values {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 40px;
}
.values .v {
  padding: 28px 24px;
  background: var(--bg);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.values .v h3 { font-family: var(--display); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.values .v p  { color: var(--text-mute); font-size: 14.5px; line-height: 1.6; }

/* offices */
.offices {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 40px;
}
.office {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.office .country {
  display: inline-block; padding: 4px 10px;
  background: var(--bg-tint); color: var(--accent);
  border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.office h3 { font-family: var(--display); font-weight: 700; font-size: 22px; margin-bottom: 8px; }
.office p  { color: var(--text-mute); font-size: 14.5px; line-height: 1.6; }
.office a  { color: var(--accent); font-weight: 600; }

/* ============================================================
   INSIGHTS GRID
============================================================ */
.ins-empty { max-width: 640px; margin-bottom: 48px; }
.ins-empty .h-card { margin-bottom: 16px; }

.ins-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.ins-card {
  padding: 32px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color .25s, transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.ins-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ins-card .meta {
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
}
.ins-card h3 {
  font-family: var(--display); font-weight: 700; font-size: 19px;
  line-height: 1.3; margin: 14px 0 12px; letter-spacing: -0.01em;
}
.ins-card p { color: var(--text-mute); font-size: 14.5px; line-height: 1.6; flex: 1; }
.ins-card .badge {
  display: inline-block; margin-top: 18px; align-self: flex-start;
  padding: 5px 12px;
  background: var(--bg-tint); color: var(--accent);
  border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
}

/* ============================================================
   CTA BAND
============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--accent) 0%, #1F2D6E 100%);
  color: var(--on-accent);
  padding: clamp(56px, 8vw, 96px) 0;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(104,181,228,0.30) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-inner {
  display: grid; gap: 32px; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .cta-inner { grid-template-columns: 1.4fr 1fr; gap: 56px; } }
.cta-band .eyebrow { color: var(--accent-2); }
.cta-band .eyebrow::before { background: var(--accent-2); }
.cta-band h2 { color: var(--on-accent); margin: 12px 0 14px; }
.cta-band p  { color: rgba(255,255,255,0.82); font-size: 17px; line-height: 1.6; max-width: 540px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-self: end; }
@media (max-width: 880px) { .cta-actions { justify-self: start; } }
.cta-band .btn { background: #FFFFFF; color: var(--accent); }
.cta-band .btn:hover { background: var(--bg-tint); }
.cta-band .btn-ghost { color: var(--on-accent); border-color: rgba(255,255,255,0.4); }
.cta-band .btn-ghost:hover { border-color: #FFFFFF; background: rgba(255,255,255,0.1); color: #FFFFFF; }

/* ============================================================
   CONTACT FORM
============================================================ */
.contact-grid {
  display: grid; gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; } }

.form-row { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label {
  font-size: 13px; font-weight: 600; color: var(--text);
  letter-spacing: 0.01em;
}
.field label span { color: var(--accent); }
.field input, .field select, .field textarea {
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 15px; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58,77,161,0.12);
}
.field textarea { min-height: 160px; resize: vertical; font-family: var(--ui); }
.form-note { font-size: 13px; color: var(--text-soft); }

.contact-side h2 { margin-bottom: 8px; }
.contact-side .body { margin-bottom: 28px; }
.contact-detail {
  display: grid; gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-of-type { border-bottom: 0; }
.contact-detail .lbl {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-soft); font-weight: 600;
}
.contact-detail .val { color: var(--text); font-size: 15px; line-height: 1.55; }
.contact-detail a { color: var(--accent); font-weight: 600; }

.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--bg-tint); color: var(--accent);
  border-radius: var(--radius-pill);
  transition: background .2s, color .2s, transform .2s;
}
.social-row a:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-2px); }
.social-row svg { width: 18px; height: 18px; fill: currentColor; }

/* ============================================================
   FOOTER
============================================================ */
.foot {
  background: var(--bg-tint);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
  font-size: 14px;
  color: var(--text-mute);
}
.foot-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1.4fr repeat(3, 1fr);
}
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand img { height: 32px; width: auto; margin-bottom: 16px; }
.foot-brand p { color: var(--text-mute); font-size: 14px; line-height: 1.6; max-width: 320px; }
.foot h5 {
  font-family: var(--display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text); margin-bottom: 16px;
}
.foot ul li { padding: 6px 0; }
.foot ul li a, .foot p a { color: var(--text-mute); transition: color .2s; }
.foot ul li a:hover, .foot p a:hover { color: var(--accent); }
.foot-bottom {
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 13px;
}
.foot-bottom .social { display: flex; gap: 10px; }
.foot-bottom .social a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-mute);
  transition: color .2s, border-color .2s;
}
.foot-bottom .social a:hover { color: var(--accent); border-color: var(--accent); }
.foot-bottom .social svg { width: 14px; height: 14px; fill: currentColor; }

/* ============================================================
   REVEAL ANIMATIONS
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   UTILITIES
============================================================ */
.center      { text-align: center; }
.mt-sm       { margin-top: 16px; }
.mt-md       { margin-top: 28px; }
.mt-lg       { margin-top: 48px; }
.flex-end    { justify-self: end; }
.max-680     { max-width: 680px; }
.max-560     { max-width: 560px; }
.max-720     { max-width: 720px; }

/* ============================================================
   LOGO / WORDMARK — refined geometric mark + serif wordmark
============================================================ */
.float-nav .logo {
  display: flex; align-items: center; gap: 10px;
  flex: 0 0 auto;
  padding-right: 14px; margin-right: 4px;
  border-right: 1px solid var(--border);
  color: var(--text);
}
.float-nav .logo span { white-space: nowrap; }
.float-nav .cta { flex: 0 0 auto; white-space: nowrap; }
.float-nav .logo .mark {
  width: auto; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  object-fit: contain;
  flex: 0 0 auto;
}
.float-nav .logo span {
  font-family: var(--display); font-weight: 700; font-size: 19px;
  letter-spacing: -0.018em;
  color: var(--text);
  line-height: 1;
}

/* footer wordmark — bigger */
.foot-brand .wordmark {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.foot-brand .wordmark .mark {
  width: auto; height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
}
.foot-brand .wordmark .text {
  font-family: var(--display); font-weight: 700; font-size: 26px;
  color: var(--text); letter-spacing: -0.018em; line-height: 1;
}
/* ============================================================
   PARTNERS / TECH STRIP
============================================================ */
.partners {
  padding: 56px 0;
  background: var(--bg);
  border-block: 1px solid var(--border);
}
.partners-head {
  text-align: center;
  margin-bottom: 32px;
}
.partners-head .label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-soft); font-weight: 600;
}
.partners-row {
  display: grid; gap: 24px 32px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  align-items: center; justify-items: center;
}
.partner {
  font-family: var(--display); font-weight: 700; font-size: 18px;
  color: var(--text-soft); letter-spacing: -0.01em;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  transition: color .25s, background .25s, transform .25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.partner::before {
  content: ""; width: 8px; height: 8px;
  background: var(--accent-3); border-radius: 2px;
  transition: background .25s, transform .25s;
}
.partner:hover { color: var(--accent); background: var(--bg-tint); }
.partner:hover::before { background: var(--accent); transform: rotate(45deg); }

/* ============================================================
   STATS BAND (rich variant)
============================================================ */
.stats-band {
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-mesh);
  pointer-events: none;
}
.stats-band .container { position: relative; z-index: 1; }
.stats-grid {
  display: grid; gap: 4px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.stat-cell {
  padding: 36px 28px;
  background: var(--bg);
  transition: background .25s;
  position: relative;
}
.stat-cell:hover { background: var(--bg-tint); }
.stat-cell::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.stat-cell:hover::after { transform: scaleX(1); }
.stat-cell .num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(36px, 4.5vw, 56px); line-height: 1;
  color: var(--accent); letter-spacing: -0.02em;
}
.stat-cell .lbl {
  margin-top: 10px;
  font-size: 13px; font-weight: 500;
  color: var(--text-mute); letter-spacing: 0.02em;
}
.stat-cell .desc {
  margin-top: 8px;
  font-size: 13px; color: var(--text-soft); line-height: 1.5;
}

/* ============================================================
   WHY-US SPLIT
============================================================ */
.why-split {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 980px) { .why-split { grid-template-columns: 1fr 1fr; gap: 56px; } }

.why-split-visual {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 80% 60% at 30% 30%, rgba(59,130,246,0.30) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 80% 70%, rgba(147,197,253,0.40) 0%, transparent 60%),
    var(--accent);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-split-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.why-split-visual .badge-stack {
  position: absolute; inset: auto 28px 28px 28px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.why-split-visual .badge {
  padding: 7px 14px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600; color: #FFFFFF;
  letter-spacing: 0.02em;
}
.why-split-visual .floating-card {
  position: absolute; top: 28px; right: 28px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 220px;
}
.why-split-visual .floating-card .lbl {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-soft); font-weight: 600;
}
.why-split-visual .floating-card .v {
  margin-top: 4px;
  font-family: var(--display); font-weight: 700; font-size: 28px;
  color: var(--accent); line-height: 1;
}
.why-split-visual .floating-card .sub {
  margin-top: 6px; font-size: 12px; color: var(--text-mute);
}

.why-list { margin-top: 24px; display: grid; gap: 14px; }
.why-list .row {
  display: grid; grid-template-columns: 32px 1fr; gap: 16px; align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.why-list .row:last-child { border-bottom: 0; }
.why-list .check {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: var(--bg-tint-2);
  color: var(--accent);
  border-radius: 6px;
  font-weight: 700; font-size: 14px;
}
.why-list .row h4 {
  font-family: var(--display); font-weight: 700; font-size: 16px;
  color: var(--text); margin-bottom: 4px;
}
.why-list .row p { color: var(--text-mute); font-size: 14px; line-height: 1.55; }

/* ============================================================
   RECOGNITION STRIP
============================================================ */
.recognition {
  padding: 48px 0;
  background: var(--bg-tint-3);
}
.recognition-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.recog {
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-2);
  border-radius: var(--radius-sm);
  transition: border-left-color .25s, transform .25s;
}
.recog:hover { border-left-color: var(--accent); transform: translateX(2px); }
.recog .src {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-soft); font-weight: 600;
}
.recog .ttl {
  margin-top: 6px;
  font-family: var(--display); font-weight: 700; font-size: 15px;
  color: var(--text); line-height: 1.3;
}

/* ============================================================
   ENRICHED INSIGHTS CARDS
============================================================ */
.ins-card .meta-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; color: var(--text-soft); font-family: var(--mono);
  letter-spacing: 0.06em;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.ins-card .meta-row .dot { width: 3px; height: 3px; background: var(--text-soft); border-radius: 50%; }
.ins-card .read-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  transition: gap .2s;
}
.ins-card .read-link:hover { gap: 10px; }

/* feature card variant (first card spans more) */
.ins-grid.featured { grid-template-columns: 1fr; }
@media (min-width: 880px) {
  .ins-grid.featured { grid-template-columns: 2fr 1fr 1fr; }
  .ins-grid.featured .ins-card.feature {
    grid-row: span 2;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
    border-color: var(--border-blue);
  }
  .ins-grid.featured .ins-card.feature h3 { font-size: 26px; }
}

/* ============================================================
   ACCENT STRIP — animated gradient border
============================================================ */
.accent-strip {
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
}

/* ============================================================
   PROCESS CYCLE (about + services — 68 pages, client pass June 2026)
   Markup contract (unchanged): .process-line > exactly 4×
   .process-step (.step-n pill, h4, p), all carrying .reveal.
   - <1000px: clean vertical stack (previous behavior).
   - >=1000px: the 4 cards sit in a 2×2 ring around a central
     circular hub. A faint orbital ring (radial-gradient on the
     wrapper, hidden behind the solid cards) connects four numbered
     corner nodes (CSS counters), and the hub carries clockwise
     arrow glyphs: 01 → 02 → 03 → 04 → back to 01.
   Geometry is fixed-px (col-gap 220 / row-gap 64 / equal 1fr rows)
   so ring radius 115px always passes through the node centers.
============================================================ */
.process-line {
  position: relative;
  display: grid; gap: 0;
  grid-template-columns: 1fr;
  margin-top: 48px;
  counter-reset: pstep;
}
.process-step {
  position: relative;
  padding: 28px 24px 24px;
  /* glass card — translucent white over the ring/section backdrop */
  background: rgba(255, 255, 255, 0.58);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-md);
  margin: 8px;
  counter-increment: pstep;
  box-shadow: 0 8px 32px -18px rgba(15, 26, 58, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color .25s, transform .3s cubic-bezier(.3, 1.2, .4, 1), box-shadow .25s, background .25s;
}
.process-step:hover, .process-step.is-tapped {
  /* the pop */
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(255, 255, 255, 0.80);
  transform: translateY(-6px) scale(1.025);
  box-shadow: var(--shadow-blue), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .process-step { background: var(--bg); border-color: var(--border); }
}
.process-step::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 40px; height: 3px; background: var(--accent);
  border-radius: 0 0 4px 0;
}
.process-step .step-n {
  display: inline-block; padding: 4px 10px;
  background: var(--bg-tint-2); color: var(--accent);
  border-radius: var(--radius-pill);
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; margin-bottom: 14px;
}
.process-step h4 { font-family: var(--display); font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.process-step p  { color: var(--text-mute); font-size: 14px; line-height: 1.55; }

/* ---- Desktop cycle (>=1000px) ---- */
@media (min-width: 1000px) {
  .process-line {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 64px 220px;
    /* orbital ring through the 4 corner nodes — solid cards mask it,
       leaving connecting arcs visible in the gaps */
    background: radial-gradient(circle at 50% 50%,
      transparent 112.5px,
      rgba(30, 58, 138, 0.22) 113.5px,
      rgba(30, 58, 138, 0.22) 116.5px,
      transparent 117.5px);
  }
  /* clockwise placement: 01 TL → 02 TR → 03 BR → 04 BL */
  .process-step { margin: 0; }
  .process-step:nth-child(3) { grid-area: 2 / 2; }
  .process-step:nth-child(4) { grid-area: 2 / 1; }

  /* numbered node on each card's inner corner, centered on the ring */
  .process-step::after {
    content: counter(pstep, decimal-leading-zero);
    position: absolute; z-index: 2;
    width: 40px; height: 40px;
    display: grid; place-items: center;
    /* glassy blue node — translucent gradient, white glass rim */
    background: linear-gradient(150deg, rgba(59, 130, 246, 0.92) 0%, rgba(18, 68, 238, 0.90) 100%);
    color: var(--on-accent);
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    font-family: var(--mono); font-size: 12px; font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: var(--shadow-pill), inset 0 1px 2px rgba(255, 255, 255, 0.55);
  }
  .process-step:nth-child(1)::after { right: -20px; bottom: -20px; }
  .process-step:nth-child(2)::after { left: -20px;  bottom: -20px; }
  .process-step:nth-child(3)::after { left: -20px;  top: -20px; }
  .process-step:nth-child(4)::after { right: -20px; top: -20px; }

  /* central hub disc */
  .process-line::before {
    content: ""; position: absolute; z-index: 1;
    left: 50%; top: 50%;
    width: 170px; height: 170px;
    transform: translate(-50%, -50%);
    /* glass hub */
    background: rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(10px) saturate(1.3);
    backdrop-filter: blur(10px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    outline: 1px dashed var(--border-blue);
    outline-offset: -12px;
    box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
  /* clockwise arrow glyphs + center dot inside the hub */
  .process-line::after {
    content: ""; position: absolute; z-index: 1;
    left: 50%; top: 50%;
    width: 128px; height: 128px;
    transform: translate(-50%, -50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%233B82F6' stroke-width='7' stroke-linecap='round'%3E%3Cpath d='M120.7 22.7A80 80 0 0 1 177.3 79.3'/%3E%3Cpath d='M177.3 120.7A80 80 0 0 1 120.7 177.3'/%3E%3Cpath d='M79.3 177.3A80 80 0 0 1 22.7 120.7'/%3E%3Cpath d='M22.7 79.3A80 80 0 0 1 79.3 22.7'/%3E%3C/g%3E%3Cg fill='%233B82F6'%3E%3Cpath d='M167.6 77.7L180.9 92.8L185 73.1z'/%3E%3Cpath d='M122.3 167.6L107.2 180.9L126.9 185z'/%3E%3Cpath d='M32.4 122.3L19.1 107.2L15 126.9z'/%3E%3Cpath d='M77.7 32.4L92.8 19.1L73.1 15z'/%3E%3C/g%3E%3Ccircle cx='100' cy='100' r='7' fill='%231E3A8A'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}
/* slow clockwise rotation of the hub arrows — motion-safe only */
@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) {
  .process-line::after { animation: process-cycle-spin 36s linear infinite; }
}
@keyframes process-cycle-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ---- Cycle entrance: steps rise in sequence 01 -> 04 on scroll ----
   Animation (not transition) so the stagger never delays hover. */
.process-line .process-step.reveal { opacity: 0; transform: none; }
.process-line .process-step.reveal.visible {
  opacity: 1;
  animation: pstep-in .65s cubic-bezier(.22, .85, .3, 1) backwards;
}
.process-line .process-step.reveal.visible:nth-child(2) { animation-delay: .16s; }
.process-line .process-step.reveal.visible:nth-child(3) { animation-delay: .32s; }
.process-line .process-step.reveal.visible:nth-child(4) { animation-delay: .48s; }
@keyframes pstep-in {
  from { opacity: 0; transform: translateY(28px) scale(.96); }
}

@media (min-width: 1000px) {
  /* corner nodes pop in just after their card lands */
  .process-line .process-step.reveal.visible::after {
    animation: pnode-pop .5s cubic-bezier(.3, 1.5, .4, 1) backwards;
  }
  .process-line .process-step.reveal.visible:nth-child(1)::after { animation-delay: .30s; }
  .process-line .process-step.reveal.visible:nth-child(2)::after { animation-delay: .46s; }
  .process-line .process-step.reveal.visible:nth-child(3)::after { animation-delay: .62s; }
  .process-line .process-step.reveal.visible:nth-child(4)::after { animation-delay: .78s; }
}
@keyframes pnode-pop {
  from { opacity: 0; scale: 0; }
}

/* ---- Interactive cycle: hovering a step spotlights it AND the next
   step in the loop (01->02->03->04->01); the hub reads the hop. ---- */
@media (min-width: 1000px) {
  .process-step::after {
    transition: transform .25s, background .25s, filter .25s, opacity .25s, box-shadow .25s;
  }
  .process-step .step-n { transition: background .25s, color .25s; }

  /* the rest of the loop steps back */
  .process-line:has(.process-step:is(:hover, .is-tapped)) .process-step:not(:is(:hover, .is-tapped)) {
    opacity: .55; transform: scale(.985);
  }
  .process-line:has(.process-step:is(:hover, .is-tapped)) .process-step:not(:is(:hover, .is-tapped))::after {
    filter: saturate(.35); opacity: .55;
  }

  /* the hovered step */
  .process-step:is(:hover, .is-tapped)::after { transform: scale(1.18); background: var(--cta); }
  .process-step:is(:hover, .is-tapped) .step-n { background: var(--grad-blue); color: var(--on-accent); }

  /* ... and the step it flows into */
  .process-line:has(.process-step:nth-child(1):is(:hover, .is-tapped)) .process-step:nth-child(2),
  .process-line:has(.process-step:nth-child(2):is(:hover, .is-tapped)) .process-step:nth-child(3),
  .process-line:has(.process-step:nth-child(3):is(:hover, .is-tapped)) .process-step:nth-child(4),
  .process-line:has(.process-step:nth-child(4):is(:hover, .is-tapped)) .process-step:nth-child(1) {
    opacity: 1; transform: none;
    border-color: var(--accent-3);
    box-shadow: var(--shadow-md);
  }
  .process-line:has(.process-step:nth-child(1):is(:hover, .is-tapped)) .process-step:nth-child(2)::after,
  .process-line:has(.process-step:nth-child(2):is(:hover, .is-tapped)) .process-step:nth-child(3)::after,
  .process-line:has(.process-step:nth-child(3):is(:hover, .is-tapped)) .process-step:nth-child(4)::after,
  .process-line:has(.process-step:nth-child(4):is(:hover, .is-tapped)) .process-step:nth-child(1)::after {
    filter: none; opacity: 1;
    animation: pnode-pulse 1.1s ease-in-out infinite;
  }

  /* hub becomes a readout of the hop while hovering */
  .process-line::before {
    display: grid; place-items: center;
    font-family: var(--mono); font-size: 15px; font-weight: 700;
    letter-spacing: .06em; color: var(--accent);
  }
  .process-line:has(.process-step:is(:hover, .is-tapped))::after { opacity: .12; }
  .process-line:has(.process-step:nth-child(1):is(:hover, .is-tapped))::before { content: "01 \2192 02"; }
  .process-line:has(.process-step:nth-child(2):is(:hover, .is-tapped))::before { content: "02 \2192 03"; }
  .process-line:has(.process-step:nth-child(3):is(:hover, .is-tapped))::before { content: "03 \2192 04"; }
  .process-line:has(.process-step:nth-child(4):is(:hover, .is-tapped))::before { content: "04 \2192 01"; }
}
@keyframes pnode-pulse {
  50% { box-shadow: 0 0 0 9px rgba(59, 130, 246, .18); }
}

@media (prefers-reduced-motion: reduce) {
  .process-line .process-step.reveal.visible,
  .process-line .process-step.reveal.visible::after {
    animation: none;
  }
  .process-line:has(.process-step:is(:hover, .is-tapped)) .process-step:not(:is(:hover, .is-tapped)) { opacity: 1; transform: none; }
}

/* ============================================================
   PROCESS — ALT LAYOUTS (client pass June 2026)
   Same markup contract (.process-line > 4x .process-step with
   .step-n, h4, p). Opt-in per page via a modifier class on the
   section's .process-line. Default (no modifier) = the cycle above.
     .proc-spine   — vertical milestone timeline (Direction C)
     .proc-ledger  — editorial numbered ledger (Direction A)
   Both keep the mobile stack untouched; desktop only (>=1000px).
============================================================ */

/* ---- shared: neutralise the cycle's hub, arrows & ring on both ---- */
@media (min-width: 1000px) {
  .process-line.proc-spine,
  .process-line.proc-ledger {
    display: block; grid-template-columns: none; grid-template-rows: none;
    gap: 0; background: none;
  }
  .process-line.proc-spine::after,
  .process-line.proc-ledger::before,
  .process-line.proc-ledger::after { content: none; animation: none; }
  /* kill the cycle's hover spotlight/dimming in both variants */
  .process-line.proc-spine:has(.process-step:is(:hover,.is-tapped)) .process-step:not(:is(:hover,.is-tapped)),
  .process-line.proc-ledger:has(.process-step:is(:hover,.is-tapped)) .process-step:not(:is(:hover,.is-tapped)) {
    opacity: 1; transform: none;
  }
}

/* =================== DIRECTION C — VERTICAL SPINE =================== */
@media (min-width: 1000px) {
  .process-line.proc-spine {
    position: relative;
    max-width: 940px; margin: 52px auto 0;
    padding: 8px 0;
  }
  /* the spine — repurpose ::before (was the hub disc) */
  .process-line.proc-spine::before {
    content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px;
    width: 3px; transform: translateX(-50%);
    background: linear-gradient(180deg, var(--accent-4), var(--accent-2) 50%, var(--cta));
    border-radius: 3px; box-shadow: none; outline: none; border: 0;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    width: 3px; height: auto;
  }
  .process-line.proc-spine .process-step {
    grid-area: auto !important;
    position: relative;
    width: calc(50% - 52px);
    margin: 0 0 30px 0;
  }
  .process-line.proc-spine .process-step:nth-child(odd)  { margin-right: auto; text-align: left; }
  .process-line.proc-spine .process-step:nth-child(even) { margin-left: auto; }
  .process-line.proc-spine .process-step:last-child { margin-bottom: 0; }
  /* numbered node on the spine — reposition the existing ::after disc */
  .process-line.proc-spine .process-step::after {
    top: 30px; bottom: auto;
  }
  .process-line.proc-spine .process-step:nth-child(odd)::after  { right: -64px; left: auto; }
  .process-line.proc-spine .process-step:nth-child(even)::after { left: -64px;  right: auto; }
  /* watermark numeral on the outer side — repurpose ::before accent bar */
  .process-line.proc-spine .process-step::before {
    content: counter(pstep, decimal-leading-zero);
    position: absolute; top: 50%; transform: translateY(-50%);
    width: auto; height: auto; background: none; border-radius: 0;
    font-family: var(--display); font-weight: 700; font-size: 96px;
    letter-spacing: -.04em; color: var(--accent); opacity: .07;
    line-height: 1; pointer-events: none; z-index: 0;
  }
  .process-line.proc-spine .process-step:nth-child(odd)::before  { right: -120px; }
  .process-line.proc-spine .process-step:nth-child(even)::before { left: -120px; }
}

/* =================== DIRECTION A — EDITORIAL LEDGER =================== */
@media (min-width: 1000px) {
  .process-line.proc-ledger {
    max-width: 1040px; margin: 48px auto 0;
    counter-reset: pstep;
  }
  .process-line.proc-ledger .process-step {
    grid-area: auto !important;
    display: grid; grid-template-columns: 150px 1fr 1.15fr;
    grid-template-rows: auto auto; column-gap: 34px;
    align-items: center;
    width: auto; margin: 0;
    padding: 34px 26px;
    background: transparent; border: 0;
    border-top: 1px solid var(--border-blue);
    border-radius: 0; box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .process-line.proc-ledger .process-step:last-child { border-bottom: 1px solid var(--border-blue); }
  /* giant numeral — repurpose ::before, pinned to col 1 spanning both rows */
  .process-line.proc-ledger .process-step::before {
    grid-column: 1; grid-row: 1 / span 2; align-self: center;
    content: counter(pstep, decimal-leading-zero);
    position: static; width: auto; height: auto;
    background: none; border-radius: 0;
    font-family: var(--display); font-weight: 700; font-size: 84px;
    line-height: .8; letter-spacing: -.04em;
    color: var(--accent); opacity: .18; transition: opacity .3s, color .3s;
  }
  /* kill the corner node disc */
  .process-line.proc-ledger .process-step::after { content: none; }
  /* step-n pill -> azure eyebrow (col 2, row 1) */
  .process-line.proc-ledger .process-step .step-n {
    grid-column: 2; grid-row: 1; align-self: end;
    background: none; padding: 0; color: var(--accent-2);
    font-size: 11px; letter-spacing: .14em; margin-bottom: 0;
  }
  .process-line.proc-ledger .process-step h4 {
    grid-column: 2; grid-row: 2; align-self: start;
    font-size: 24px; margin: 8px 0 0;
  }
  /* paragraph rides the 3rd column, spanning both rows */
  .process-line.proc-ledger .process-step p {
    grid-column: 3; grid-row: 1 / span 2; align-self: center;
    margin: 0; font-size: 15px; line-height: 1.65;
  }
  /* hover floods the row with glass */
  .process-line.proc-ledger .process-step {
    transition: background .3s, transform .3s, box-shadow .3s, border-radius .3s;
  }
  .process-line.proc-ledger .process-step:is(:hover, .is-tapped) {
    background: rgba(255,255,255,.72); border-radius: var(--radius-md);
    box-shadow: var(--shadow-md); transform: translateX(8px);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .process-line.proc-ledger .process-step:is(:hover, .is-tapped)::before { opacity: 1; color: var(--cta); }
}

/* ============================================================
   QUOTE / TESTIMONIAL
============================================================ */
.quote-band {
  padding: clamp(64px, 8vw, 96px) 0;
  background: var(--bg-tint);
  position: relative; overflow: hidden;
}
.quote-band::before {
  content: "“";
  position: absolute; top: -40px; left: 6%;
  font-family: var(--display); font-weight: 700;
  font-size: 280px; color: var(--accent-4);
  line-height: 1; opacity: 0.4;
  pointer-events: none;
}
.quote-band .container { position: relative; z-index: 1; max-width: 880px; }
.quote-text {
  font-family: var(--display); font-style: italic; font-weight: 600;
  font-size: clamp(22px, 2.6vw, 32px); line-height: 1.4;
  color: var(--text); letter-spacing: -0.01em;
}
.quote-attr {
  margin-top: 28px;
  display: flex; align-items: center; gap: 14px;
}
.quote-attr .avatar {
  width: 44px; height: 44px;
  background: var(--grad-blue);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #FFFFFF; font-family: var(--display); font-weight: 700; font-size: 17px;
}
.quote-attr .who h5 {
  font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--text);
}
.quote-attr .who p {
  font-size: 12px; color: var(--text-mute); margin-top: 2px;
}

/* ============================================================
   BLUE CTA BUTTON (variant)
============================================================ */
.btn-blue {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  background: var(--grad-blue);
  color: var(--on-accent);
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 14px;
  box-shadow: var(--shadow-pill);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn-blue:hover { transform: translateY(-2px); box-shadow: var(--shadow-blue); filter: brightness(108%); }

/* ============================================================
   SECTION HEADER (with corner mark)
============================================================ */
.sec-head {
  position: relative;
  padding-left: 0;
  margin-bottom: 48px;
}
.sec-head::before {
  content: ""; display: block;
  width: 56px; height: 4px;
  background: var(--accent); margin-bottom: 24px;
  border-radius: 2px;
}

/* ============================================================
   INDUSTRY ROW — improvement
============================================================ */
.ind-row {
  position: relative;
  transition: background .3s;
  padding-inline: 4px;
}
.ind-row:hover { background: var(--bg); border-radius: var(--radius-md); }
.ind-label .num {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bg-tint-2); color: var(--accent);
  border-radius: var(--radius-pill);
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em;
}

/* ============================================================
   SVC CARD — gradient on hover variant
============================================================ */
.svc-card {
  position: relative; overflow: hidden;
}
.svc-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 0; background: var(--grad-blue);
  transition: height .3s ease;
}
.svc-card:hover::after { height: 4px; }

/* ============================================================
   CTA BAND — refresh
============================================================ */
.cta-band {
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 70% 60% at 20% 0%, rgba(59,130,246,0.45) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 90% 100%, rgba(147,197,253,0.30) 0%, transparent 60%),
    linear-gradient(135deg, var(--accent) 0%, #0F1A3A 100%);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 0%, transparent 80%);
}

/* ============================================================
   HERO REFRESH — premium layered gradient + blobs
============================================================ */
.hero {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(59,130,246,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 30%, rgba(30,58,138,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 15% 70%, rgba(96,165,250,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(219,234,254,0.5) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, #FAFCFF 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(59,130,246,0.08) 0%, transparent 4%),
    radial-gradient(circle at 80% 70%, rgba(96,165,250,0.10) 0%, transparent 5%),
    radial-gradient(circle at 50% 90%, rgba(147,197,253,0.12) 0%, transparent 5%);
  background-size: 600px 600px, 480px 480px, 720px 720px;
  background-position: 0 0, 0 0, 0 0;
  opacity: 0.6;
}

/* large decorative blob (used in hero etc.) */
.deco-blob {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.deco-blob.blue   { background: radial-gradient(circle, var(--accent-3) 0%, transparent 70%); }
.deco-blob.deep   { background: radial-gradient(circle, var(--accent) 0%, transparent 70%); opacity: 0.30; }
.deco-blob.pale   { background: radial-gradient(circle, var(--accent-4) 0%, transparent 70%); }
.deco-blob.tl     { top: -120px; left: -160px; }
.deco-blob.tr     { top: -80px;  right: -160px; }
.deco-blob.br     { bottom: -160px; right: -120px; }
.deco-blob.bl     { bottom: -160px; left: -120px; }
/* ============================================================
   HERO SCROLL CUE
============================================================ */
.scroll-cue {
  position: absolute; left: 50%; bottom: 32px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-soft); font-weight: 600;
}
.scroll-cue .line {
  width: 1px; height: 36px; background: var(--accent-2);
  position: relative; overflow: hidden;
}
.scroll-cue .line::after {
  content: ""; position: absolute; top: -36px; left: 0; right: 0; height: 36px;
  background: var(--accent);
  animation: scroll-cue 2s ease-in-out infinite;
}
@keyframes scroll-cue {
  0%   { transform: translateY(0);     opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(72px);  opacity: 0; }
}

/* ============================================================
   APPROACH / PROCESS HORIZONTAL CONNECTORS
============================================================ */
@media (min-width: 880px) {
  .approach { position: relative; }
  .approach::before {
    content: ""; position: absolute; left: 24px; right: 24px; top: 50px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--border-blue) 0 6px, transparent 6px 12px);
    z-index: 0; pointer-events: none;
  }
  .approach-item { position: relative; z-index: 1; }
}

/* ============================================================
   FOOTER — enhanced
============================================================ */
.foot {
  background: var(--bg-tint-2);
  border-top: 1px solid var(--border);
  position: relative;
}
.foot::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 4px; background: var(--grad-blue);
}

/* dark inverse section util */
.section-deep {
  background: var(--bg-deep);
  color: #E5EAF4;
  padding: var(--section-v) 0;
}
.section-deep .h-section, .section-deep .h-card { color: #FFFFFF; }
.section-deep p { color: rgba(255,255,255,0.78); }
.section-deep .eyebrow { color: var(--accent-3); }
.section-deep .eyebrow::before { background: var(--accent-3); }

/* ============================================================
   HERO DISPLAY — Trigent-style massive headline
   .h-massive: very large bold sans + italic serif accent
============================================================ */
.hero-display {
  text-align: left;
  padding: 200px 0 120px;
  min-height: 90vh;
  display: flex; align-items: center;
}
.hero-display .container { max-width: var(--max-w); }
.hero-display .eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); font-weight: 600;
  margin-bottom: 32px;
  display: inline-flex; align-items: center; gap: 12px;
}
.hero-display .eyebrow::before {
  content: ""; width: 36px; height: 1px; background: var(--accent);
}
.h-massive {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(54px, 9.5vw, 124px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 40px;
  max-width: 14ch;
}
.h-massive em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  color: var(--accent-2);
  letter-spacing: -0.02em;
}
.hero-display .lead {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  max-width: 600px;
  margin-bottom: 40px;
  color: var(--text-mute);
}
.hero-display .hero-actions { justify-content: flex-start; }
.hero-display .hero-stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-display .hero-stats .stat {
  background: transparent; border: 0; padding: 0; box-shadow: none;
}
.hero-display .hero-stats .stat:hover { transform: none; border: 0; }
.hero-display .hero-stats h3 {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: clamp(32px, 3vw, 44px);
  color: var(--text); margin: 0; letter-spacing: -0.02em;
}
.hero-display .hero-stats p {
  margin-top: 6px; font-size: 13px; color: var(--text-mute);
  letter-spacing: 0.02em;
}
@media (max-width: 720px) {
  .hero-display { padding: 140px 0 80px; min-height: auto; }
  .hero-display .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* ============================================================
   TILE GRID — flat services landing (Trigent-style)
============================================================ */
.tile-grid-wrap {
  padding: clamp(56px, 8vw, 96px) 0;
}
.tile-grid-head {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  margin-bottom: 48px;
  align-items: end;
}
@media (min-width: 880px) {
  .tile-grid-head { grid-template-columns: 1.2fr 1fr; gap: 64px; }
}
.tile-grid-head h2 {
  font-family: 'Inter', sans-serif; font-weight: 800;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.02; letter-spacing: -0.03em;
  color: var(--text); margin: 12px 0 0;
}
.tile-grid-head h2 em {
  font-family: var(--display); font-style: italic; font-weight: 500;
  color: var(--accent-2);
}
.tile-grid-head .lead { font-size: 16px; color: var(--text-mute); line-height: 1.65; }

.tile-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
@media (min-width: 720px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .tile-grid { grid-template-columns: repeat(3, 1fr); }
}
.tile {
  position: relative;
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px 26px;
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
  transition: background .25s, transform .25s, box-shadow .25s;
  min-height: 132px;
}
.tile::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent-2);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .25s ease;
}
/* Hover: blue wash + lift + title shifts to accent (client: "services colour change") */
.tile:hover {
  background: linear-gradient(150deg, var(--bg-tint) 0%, var(--bg-tint-2) 100%);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -20px rgba(15,26,58,0.30);
}
.tile:hover::before { transform: scaleY(1); transform-origin: top; }
.tile:hover .tile-title { color: var(--accent); }
.tile-title { transition: color .2s; }
.tile.active { background: var(--bg-tint-2); }
.tile.active::before { transform: scaleY(1); background: #F59E0B; }

.tile-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-soft); font-weight: 600;
}
.tile-title {
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 18px; line-height: 1.3;
  color: var(--text); letter-spacing: -0.01em;
}
.tile-meta {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--text-soft);
}
.tile-meta .arrow {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-tint);
  color: var(--accent); font-size: 13px;
  transition: background .25s, color .25s, transform .25s;
}
.tile:hover .tile-meta .arrow {
  background: var(--accent); color: var(--on-accent);
  transform: translate(3px, -3px);
}

/* services landing — alpha jump rail (optional decoration above grid) */
.tile-toolbar {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.tile-toolbar .label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-soft); font-weight: 600;
}
.tile-toolbar .count {
  margin-left: auto;
  font-family: var(--mono); font-size: 13px; color: var(--accent);
  font-weight: 600;
}

/* ============================================================
   FEATURE SLIDESHOW — full-bleed photo carousel on home
============================================================ */
.feature-slides {
  position: relative;
  height: clamp(420px, 70vh, 720px);
  overflow: hidden;
  background: var(--bg-deep);
}
.feature-slides .slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
  pointer-events: none;
}
.feature-slides .slide.active {
  opacity: 1;
  pointer-events: auto;
}
.feature-slides .slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.0);
  transition: transform 8s ease;
}
.feature-slides .slide.active img {
  transform: scale(1.08);
}
.feature-slides .slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,26,58,0.20) 0%, rgba(15,26,58,0.10) 35%, rgba(15,26,58,0.70) 100%),
    linear-gradient(90deg, rgba(15,26,58,0.55) 0%, rgba(15,26,58,0.20) 50%, rgba(15,26,58,0.30) 100%);
}
.feature-slides .slide-content {
  position: relative; z-index: 2;
  height: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0 var(--gutter);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(48px, 8vh, 96px);
  color: #FFFFFF;
}
.feature-slides .slide-content .eyebrow {
  color: var(--accent-3);
  margin-bottom: 16px;
}
.feature-slides .slide-content .eyebrow::before {
  background: var(--accent-3);
}
.feature-slides .slide-content h2 {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05; letter-spacing: -0.025em;
  color: #FFFFFF; margin: 0 0 18px;
  max-width: 18ch;
}
.feature-slides .slide-content h2 em {
  font-family: var(--display);
  font-style: italic; font-weight: 500;
  color: var(--accent-3);
}
.feature-slides .slide-content p {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255,255,255,0.86);
  line-height: 1.55;
  max-width: 560px; margin: 0 0 24px;
}
.feature-slides .slide-content .btn {
  background: #FFFFFF; color: var(--accent);
  align-self: flex-start;
}
.feature-slides .slide-content .btn:hover {
  background: var(--bg-tint); color: var(--accent-hover);
}

/* slideshow controls */
.slides-controls {
  position: absolute; right: clamp(20px, 4vw, 48px); bottom: clamp(24px, 4vh, 48px);
  z-index: 5;
  display: flex; align-items: center; gap: 16px;
  font-family: var(--mono); font-size: 13px;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.08em;
}
.slides-counter {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.slides-counter .total { color: rgba(255,255,255,0.55); }
.slides-dots {
  display: inline-flex; gap: 8px;
}
.slides-dots button {
  width: 28px; height: 4px;
  background: rgba(255,255,255,0.28);
  border-radius: 2px;
  cursor: pointer; padding: 0; border: 0;
  transition: background .25s, width .25s;
}
.slides-dots button:hover { background: rgba(255,255,255,0.55); }
.slides-dots button.active {
  background: #FFFFFF; width: 44px;
}
.slides-arrows {
  display: inline-flex; gap: 6px;
}
.slides-arrows button {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  color: #FFFFFF; font-size: 15px;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s;
}
.slides-arrows button:hover {
  background: rgba(255,255,255,0.20);
  border-color: rgba(255,255,255,0.40);
}
.slides-arrows button:active { transform: scale(0.95); }

/* ============================================================
   PAGE-HERO WITH BACKGROUND IMAGE (service detail + sub-pages)
============================================================ */
.page-hero.has-bg {
  padding: 200px 0 96px;
  color: #FFFFFF;
  position: relative;
}
.page-hero.has-bg::before,
.page-hero.has-bg::after { display: none; }
.page-hero.has-bg .bg-img {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Slow Ken-Burns drift — gentle life on every inner-page banner */
  transform: scale(1.04);
  animation: kenburns 24s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  0%   { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1.5%, -1%); }
}
.page-hero.has-bg .bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(15,26,58,0.32) 0%, rgba(15,26,58,0.10) 30%, rgba(15,26,58,0.72) 100%),
    linear-gradient(90deg, rgba(15,26,58,0.60) 0%, rgba(15,26,58,0.10) 60%, rgba(15,26,58,0.15) 100%);
}
/* Drifting brand-accent glow above the photo — modern, subtle motion */
.page-hero.has-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  display: block;
  background:
    radial-gradient(40% 50% at 78% 22%, rgba(59,130,246,0.30) 0%, transparent 60%),
    radial-gradient(36% 44% at 12% 82%, rgba(96,165,250,0.22) 0%, transparent 60%);
  mix-blend-mode: screen;
  animation: hero-glow-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes hero-glow-drift {
  0%   { transform: translate(0, 0)   scale(1);    opacity: 0.85; }
  100% { transform: translate(3%, -2%) scale(1.08); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero.has-bg .bg-img,
  .page-hero.has-bg::after { animation: none; }
}
.page-hero.has-bg > .container {
  position: relative; z-index: 2;
  color: #FFFFFF;
}
.page-hero.has-bg .crumb { color: rgba(255,255,255,0.75); }
.page-hero.has-bg .crumb a { color: rgba(255,255,255,0.85); }
.page-hero.has-bg .crumb a:hover { color: #FFFFFF; }
.page-hero.has-bg .crumb .sep { color: rgba(255,255,255,0.45); }
.page-hero.has-bg .eyebrow { color: var(--accent-3); }
.page-hero.has-bg .eyebrow::before { background: var(--accent-3); }
.page-hero.has-bg .h-page,
.page-hero.has-bg .h-massive { color: #FFFFFF; }
.page-hero.has-bg .h-page em,
.page-hero.has-bg .h-massive em { color: var(--accent-3); }
.page-hero.has-bg .lead {
  color: rgba(255,255,255,0.88);
}
.page-hero.has-bg .svc-tagline-italic {
  color: var(--accent-3) !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .feature-slides .slide,
  .feature-slides .slide img { transition: none; }
  .feature-slides .slide img { transform: none !important; }
}

@media (max-width: 720px) {
  .feature-slides { height: 520px; }
  .slides-controls { right: 16px; bottom: 16px; gap: 10px; }
  .slides-arrows button { width: 32px; height: 32px; }
  .slides-counter { padding: 6px 10px; font-size: 12px; }
}

/* ============================================================
   SVC FEATURE IMAGE STRIP (inline between content blocks)
============================================================ */
.svc-feature {
  padding: clamp(40px, 6vw, 80px) 0;
}
.svc-feature .container { position: relative; z-index: 1; }
.svc-feature-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.svc-feature-figure img {
  display: block;
  width: 100%;
  height: clamp(280px, 50vh, 480px);
  object-fit: cover;
}
.svc-feature-figure figcaption {
  position: absolute; left: clamp(20px, 4vw, 36px); bottom: clamp(20px, 4vw, 36px);
  padding: 18px 22px;
  background: rgba(15,26,58,0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-family: var(--display); font-weight: 700; font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.35; letter-spacing: -0.01em;
  max-width: 460px;
}
.svc-feature-figure figcaption .eyebrow {
  display: block;
  font-family: var(--mono); font-weight: 600; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-3); margin-bottom: 6px;
}
.svc-feature-figure figcaption .eyebrow::before { display: none; }

/* tech chip strip */
.tech-strip {
  padding: clamp(48px, 7vw, 88px) 0;
  background: var(--bg-tint);
  position: relative;
}
.tech-strip .container { position: relative; z-index: 1; }
.tech-strip h2 {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: clamp(24px, 2.8vw, 36px);
  margin-bottom: 14px; letter-spacing: -0.02em;
  color: var(--text);
}
.tech-strip h2 em { font-family: var(--display); font-style: italic; font-weight: 500; color: var(--accent-2); }
.tech-strip .lead { margin-bottom: 32px; max-width: 600px; }
.tech-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.tech-chips .chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 13px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 14px; color: var(--text); font-weight: 500;
  transition: border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.tech-chips .chip img {
  width: 16px; height: 16px;
  flex: 0 0 auto; display: block;
  transition: transform .25s;
}
.tech-chips .chip:hover {
  border-color: var(--accent-2); color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -10px rgba(15,26,58,0.18);
}
.tech-chips .chip:hover img { transform: scale(1.12) rotate(-4deg); }

/* problems-we-solve grid */
.problems-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 40px;
}
.problem-card {
  padding: 28px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color .25s, transform .25s, box-shadow .25s;
  position: relative;
  padding-left: 56px;
}
.problem-card::before {
  content: ""; position: absolute; left: 22px; top: 32px;
  width: 16px; height: 2px; background: var(--accent);
}
.problem-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.problem-card h4 {
  font-family: var(--display); font-weight: 700; font-size: 17px;
  color: var(--text); margin-bottom: 8px;
}
.problem-card p {
  color: var(--text-mute); font-size: 14.5px; line-height: 1.55;
}

/* framework grid (badges) */
.framework-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-top: 32px;
}
.framework-badge {
  padding: 22px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  color: var(--text); letter-spacing: 0.04em;
  transition: border-color .2s, color .2s, transform .2s;
}
.framework-badge:hover {
  border-color: var(--accent); color: var(--accent);
  transform: translateY(-2px);
}

/* ============================================================
   ENGAGEMENT-SPEC TABLE  (sub-page typical parameters)
============================================================ */
.spec-table {
  margin-top: 32px;
  display: grid; gap: 1px;
  grid-template-columns: 1fr;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 720px) { .spec-table { grid-template-columns: repeat(2, 1fr); } }
.spec-row {
  padding: 22px 24px;
  background: var(--bg);
  display: flex; flex-direction: column; gap: 4px;
}
.spec-row .lbl {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-soft); font-weight: 600;
}
.spec-row .val {
  font-family: var(--display); font-weight: 700; font-size: 17px;
  color: var(--text); letter-spacing: -0.01em;
}

/* pathway cards (modernisation paths etc.) */
.pathway-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 40px;
}
.pathway-card {
  padding: 28px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.pathway-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pathway-card .pw-key {
  font-family: var(--display); font-weight: 700; font-size: 22px;
  color: var(--accent); letter-spacing: -0.01em;
}
.pathway-card .pw-sub {
  margin-top: 4px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-soft); font-weight: 600;
}
.pathway-card p {
  margin-top: 14px;
  color: var(--text-mute); font-size: 14.5px; line-height: 1.6;
}

/* ============================================================
   BRAND ACRONYM — ART · AGILE expansions (hero, footer, about)
============================================================ */
.hero-acronym {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.05em;
  color: var(--text-mute); line-height: 1.7;
  max-width: 640px;
}
.hero-acronym strong { color: var(--accent); font-weight: 700; letter-spacing: 0.12em; }

.foot-acronym {
  margin: 12px 0 16px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--text-soft); line-height: 1.7;
}
.foot-acronym strong { color: var(--accent-3); font-weight: 600; letter-spacing: 0.1em; }

.name-defs {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 40px;
}
.name-def {
  position: relative;
  padding: 32px 28px;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.name-def-word {
  display: block;
  font-family: var(--mono); font-weight: 700;
  font-size: 13px; letter-spacing: 0.35em;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.name-def h3 {
  font-family: var(--display); font-weight: 700;
  font-size: 21px; line-height: 1.3;
  margin-bottom: 10px;
}
.name-def p { color: var(--text-mute); font-size: 14.5px; line-height: 1.65; }
.name-def::after {
  content: "";
  position: absolute; right: -28px; bottom: -34px;
  width: 130px; height: 130px;
  background: url("assets/logo-mark.png") center/contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
}

/* ============================================================
   PHOTO SECTIONS — blue-tinted stock backdrops (client pass,
   June 2026). .photo-soft keeps dark text readable; .photo-bold
   is a navy duotone for white text. .img-blue is the standalone
   blue-cast filter for any .bg-img.
============================================================ */
.photo-section { position: relative; overflow: hidden; }
.photo-section > .photo-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  filter: grayscale(0.2) sepia(0.32) hue-rotate(182deg) saturate(1.55) brightness(0.98);
}
.photo-section > .photo-bg::after { content: ""; position: absolute; inset: 0; }
.photo-section.photo-soft > .photo-bg::after {
  background: linear-gradient(180deg,
    rgba(244,247,251,0.94) 0%,
    rgba(234,240,248,0.84) 50%,
    rgba(244,247,251,0.96) 100%);
}
.photo-section.photo-bold > .photo-bg::after {
  background: linear-gradient(180deg, rgba(13,26,70,0.62) 0%, rgba(15,26,58,0.80) 100%);
}
.photo-section > :not(.photo-bg) { position: relative; z-index: 1; }

.bg-img.img-blue {
  filter: grayscale(0.2) sepia(0.32) hue-rotate(182deg) saturate(1.55) brightness(0.98);
}
