/* ============================================================
   InterIntra — Design Refresh 2026
   DM Sans · #09243D dark navy · #0099B8 teal · #FAF8F4 warm white
   ============================================================ */


/* ── Variables ───────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --d-bg:       #FAF8F4;
  --d-bg2:      #F0EDE8;
  --d-bg3:      #ECEAE5;
  --d-white:    #FFFFFF;
  --d-dark:     #09243D;
  --d-dark2:    #0c2d4e;
  --d-footer:   #09243D;

  /* Text */
  --d-ink:      #1A1A2E;
  --d-body:     #3D3D4E;
  --d-muted:    #4A4A5A;
  --d-faint:    #94A3B8;

  /* Brand */
  --d-cyan:     #0BDAEE;
  --d-blue:     #0095EB;
  --d-teal:     #0099B8;
  --d-orange:   #FF7F4C;
  --d-intra:    #00C8E0;

  /* Borders */
  --d-border:   rgba(26,26,46,0.10);
  --d-border-c: rgba(11,218,238,0.18);

  /* Layout */
  --d-maxw:     1200px;
  --d-sv:       88px;    /* section vertical padding */
  --d-sh:       36px;    /* section horizontal padding */
  --d-r:        12px;
  --d-rl:       20px;

  /* Motion */
  --d-ease:     cubic-bezier(0.4,0,0.2,1);
  --d-t:        0.24s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset & base ────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--d-bg);
  color: var(--d-ink);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Skip link ───────────────────────────────────────────── */
.skip-link, .d-skip {
  position: absolute; top: -100px; left: 16px;
  background: var(--d-teal); color: #fff;
  padding: 10px 22px; border-radius: 0 0 8px 8px;
  font-size: 14px; font-weight: 700; z-index: 9999;
  transition: top 0.15s ease;
}
.skip-link:focus, .d-skip:focus { top: 0; outline: 3px solid var(--d-cyan); outline-offset: 2px; }

/* ── Scroll progress ─────────────────────────────────────── */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--d-cyan), var(--d-blue));
  z-index: 1001; transition: width 0.06s linear;
}

/* ── Screen-reader only (visually hidden but accessible) ─── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Layout helpers ──────────────────────────────────────── */
.d-container {
  max-width: var(--d-maxw);
  margin: 0 auto;
  padding: 0 var(--d-sh);
}
.d-section {
  padding: var(--d-sv) 0;
}
.d-section--warm  { background: var(--d-bg); }
.d-section--cream { background: var(--d-bg2); }
.d-section--deep  { background: var(--d-bg3); }
.d-section--dark  { background: var(--d-dark); }
/* Spacing utilities — remove one side of padding when adjacent same-bg sections would double up */
.d-section--no-bottom { padding-bottom: 0; }
.d-section--no-top    { padding-top:    0; }

/* ── Typography helpers ──────────────────────────────────── */
.d-label {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--d-teal); display: block; margin-bottom: 20px;
}
.d-label--light { color: var(--d-cyan); }

.d-heading {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700; letter-spacing: -1.2px; line-height: 1.08;
  margin-bottom: 24px; color: var(--d-ink);
}
.d-heading--white { color: #fff; }
.d-heading .accent {
  background: linear-gradient(120deg, var(--d-teal) 0%, var(--d-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.d-heading .accent-white { color: var(--d-cyan); }

.d-body {
  font-size: 16.5px; line-height: 1.82;
  color: var(--d-body); max-width: 580px;
  font-weight: 400; margin-bottom: 0;
}
.d-body--white { color: rgba(255,255,255,0.82); }
.d-body--narrow { max-width: 460px; }

/* ── Buttons ─────────────────────────────────────────────── */
.d-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 100px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14.5px; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: var(--d-t); border: none; white-space: nowrap;
  touch-action: manipulation; min-height: 44px;
}
.d-btn--primary {
  background: var(--d-teal); color: #fff;
  box-shadow: 0 4px 16px rgba(0,153,184,0.30);
}
.d-btn--primary:hover {
  background: var(--d-cyan); color: var(--d-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,153,184,0.50);
}
.d-btn--primary:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(0,153,184,0.30); }
.d-btn:focus-visible { outline: 3px solid var(--d-cyan); outline-offset: 3px; }
.d-btn--ghost:active, .d-btn--outline:active { transform: translateY(0); }
.d-btn--ghost {
  background: transparent; color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.24);
}
.d-btn--ghost:hover {
  border-color: rgba(11,218,238,0.50); color: #fff;
  transform: translateY(-2px);
}
.d-btn--outline {
  background: transparent; color: var(--d-ink);
  border: 1.5px solid var(--d-border);
}
.d-btn--outline:hover {
  border-color: var(--d-teal); color: var(--d-teal);
  transform: translateY(-2px);
}
.d-btn-group { display: flex; gap: 12px; flex-wrap: wrap; }


/* ════════════════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════════════════ */
.d-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; gap: 0;
  padding: 0 48px; height: 88px;
  background: rgba(9,36,61,0.97);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.d-nav.scrolled {
  background: #09243D;
  border-bottom-color: rgba(11,218,238,0.09);
  box-shadow: 0 2px 24px rgba(0,0,0,0.22);
}

.d-nav__logo {
  font-size: 22px; font-weight: 800; letter-spacing: -0.5px;
  flex-shrink: 0; text-decoration: none; margin-right: 36px;
}
.d-nav__logo .inter { color: var(--d-blue); }
.d-nav__logo .intra { color: var(--d-intra); }

/* ── Horizontal link bar ──────────────────────────────── */
.d-nav__links {
  display: flex; align-items: center; gap: 2px; margin-left: auto;
}
.d-nav__link {
  font-size: 14.5px; font-weight: 600;
  color: rgba(255,255,255,0.92);
  padding: 6px 13px; border-radius: 7px;
  text-decoration: none; white-space: nowrap;
  transition: color var(--d-t), background var(--d-t);
}
.d-nav__link:hover { color: #fff; background: rgba(255,255,255,0.07); }
.d-nav__link.active { color: var(--d-cyan); background: rgba(11,218,238,0.08); }

/* ── Dropdown ─────────────────────────────────────────── */
.d-nav__dropdown { position: relative; }
.d-nav__dropdown > .d-nav__link {
  display: inline-flex; align-items: center; gap: 5px;
}
.d-nav__dropdown > .d-nav__link::after {
  content: '';
  display: inline-block; width: 0; height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid rgba(255,255,255,0.45);
  transition: var(--d-t); margin-top: 1px;
}
.d-nav__dropdown:hover > .d-nav__link::after,
.d-nav__dropdown.open > .d-nav__link::after {
  border-top-color: var(--d-cyan);
  transform: rotate(180deg);
}
.d-nav__dropdown-panel {
  position: absolute; top: calc(100% + 8px); left: 0;
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  background: rgba(7,20,36,0.98);
  border: 1px solid rgba(11,218,238,0.14);
  border-radius: 12px;
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  padding: 8px; min-width: 180px;
  box-shadow: 0 20px 56px rgba(0,0,0,0.40), 0 0 0 1px rgba(11,218,238,0.05);
  transition: opacity 0.18s ease, transform 0.18s ease;
  /* bridge gap so hover doesn't break */
}
.d-nav__dropdown-panel::before {
  content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px;
}
.d-nav__dropdown:hover .d-nav__dropdown-panel,
.d-nav__dropdown.open .d-nav__dropdown-panel {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.d-nav__dropdown-panel a {
  display: flex; align-items: center; gap: 9px;
  font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,0.62);
  padding: 9px 12px; border-radius: 8px; text-decoration: none;
  transition: color var(--d-t), background var(--d-t);
}
.d-nav__dropdown-panel a:hover { color: #fff; background: rgba(255,255,255,0.07); }

/* CTA button — pushed to far right */
.nav-support-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 500;
  color: rgba(255,255,255,0.65); text-decoration: none;
  letter-spacing: 0.02em; padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.20); border-radius: 4px;
  transition: color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0; margin-left: 16px;
}
.nav-support-link:hover { color: rgba(255,255,255,0.90); border-color: rgba(255,255,255,0.40); }
.nav-support-link svg { color: var(--d-orange); opacity: 1; flex-shrink: 0; }
@media (max-width: 600px) { .nav-support-link { display: none; } }
.d-nav__cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--d-teal); color: #fff;
  padding: 9px 22px; border-radius: 100px;
  font-size: 13.5px; font-weight: 700;
  text-decoration: none; transition: var(--d-t); flex-shrink: 0;
  margin-left: 12px;
}
.d-nav__cta:hover { background: var(--d-cyan); color: var(--d-dark); }

/* Hamburger — desktop hidden, mobile visible */
.d-nav__burger {
  display: none; flex-direction: column; gap: 5.5px;
  cursor: pointer; padding: 11px; background: none; border: none;
  margin-left: 8px; flex-shrink: 0;
}
.d-nav__burger span {
  display: block; width: 22px; height: 1.5px;
  background: rgba(255,255,255,0.65); border-radius: 2px;
  transition: var(--d-t);
}
.d-nav__burger:hover span { background: #fff; }
.d-nav__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg); background: #fff;
}
.d-nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.d-nav__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg); background: #fff;
}

/* ── Fullscreen menu overlay ───────────────────────────── */
.d-nav__overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(7,19,30,0.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s ease;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.d-nav__overlay.open { opacity: 1; pointer-events: all; }

.d-nav__menu-inner {
  text-align: center; width: 100%; padding: 0 40px;
}
.d-nav__menu-items {
  display: flex; flex-direction: column; gap: 4px;
  margin-bottom: 20px;
}
.d-nav__menu-items a {
  display: block;
  font-size: clamp(26px, 4.5vw, 52px);
  font-weight: 700; letter-spacing: -0.8px; line-height: 1.2;
  color: rgba(255,255,255,0.60); padding: 10px 0;
  text-decoration: none;
  transition: color var(--d-t), transform var(--d-t);
}
.d-nav__menu-items a:hover { color: #fff; transform: translateX(10px); }
.d-nav__menu-items a.active { color: var(--d-cyan); }

.d-nav__menu-divider {
  height: 1px; background: rgba(255,255,255,0.07);
  max-width: 480px; margin: 12px auto;
}
.d-nav__menu-sub {
  display: flex; gap: 28px; justify-content: center; flex-wrap: wrap;
}
.d-nav__menu-sub a {
  font-size: 13.5px !important; font-weight: 600 !important;
  letter-spacing: 0.04em !important; color: rgba(255,255,255,0.38) !important;
  padding: 4px 0 !important; transform: none !important;
}
.d-nav__menu-sub a:hover { color: rgba(255,255,255,0.80) !important; transform: none !important; }

/* Mobile nav — collapse links, show burger */
@media (max-width: 960px) {
  .d-nav { padding: 0 24px; }
  .d-nav__links { display: none; }
  .d-nav__cta { margin-left: 0; }
  .d-nav__burger { display: flex; }
  .d-nav__logo { margin-right: 0; }
}
@media (max-width: 600px) {
  .d-nav__cta { display: none; }
  .d-nav__burger { margin-left: auto; }
}


/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.d-hero {
  min-height: 92vh;
  display: flex; align-items: center;
  background: #09243D;
  position: relative; overflow: hidden;
  padding-top: 88px;
}
.d-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(11,218,238,0.06) 1px, transparent 1px);
  background-size: 44px 44px; pointer-events: none;
}
.d-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(11,218,238,0.18) 50%, transparent 100%);
}

.d-hero__inner {
  position: relative; z-index: 1;
  max-width: var(--d-maxw); margin: 0 auto;
  padding: 88px var(--d-sh) 100px;
  width: 100%;
}
.d-hero__content { max-width: 740px; }

.d-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.01em;
  color: var(--d-cyan);
  margin-bottom: 28px;
}
.d-hero__eyebrow::before {
  content: '›';
  color: rgba(11,218,238,0.45);
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
}

.d-hero__h1 {
  font-size: clamp(44px, 6.5vw, 80px);
  font-weight: 700; letter-spacing: -2.5px; line-height: 1.04;
  color: #fff; margin-bottom: 22px;
}
.d-hero__h1 .accent { color: var(--d-cyan); }

.d-hero__body {
  font-size: 18px; line-height: 1.80;
  color: rgba(255,255,255,0.82);
  max-width: 540px; margin-bottom: 40px; font-weight: 400;
}

.d-hero__btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }

/* Inline badge row — beneath CTA buttons */
.d-hero__badges {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
/* Fix 5: hero partner badges — plain style, no pill/capsule shape */
.d-hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,0.52);
}
.d-hero__badge img {
  height: 14px; width: auto; display: inline-block;
  filter: brightness(0) invert(1); opacity: 0.50;
}
.d-hero__badges {
  padding-left: 2px;
  border-left: 1.5px solid rgba(255,255,255,0.22);
  padding-left: 16px;
}

@media (max-width: 900px) {
  .d-hero { min-height: 80vh; }
  .d-hero__inner { padding: 64px var(--d-sh) 80px; }
  .d-hero__h1 { letter-spacing: -1.8px; }
}
@media (max-width: 600px) {
  .d-hero__btns { flex-direction: column; align-items: flex-start; }
  .d-hero__badge { font-size: 10.5px; }
}


/* ════════════════════════════════════════════════════════════
   INNER PAGE HERO (service / about / contact pages)
   ════════════════════════════════════════════════════════════ */
.d-hero-inner {
  padding: 160px var(--d-sh) 96px;
  background: #09243D;
  position: relative; overflow: hidden;
}
.d-hero-inner::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(11,218,238,0.06) 1px, transparent 1px);
  background-size: 44px 44px; pointer-events: none;
}
.d-hero-inner::after {
  content: ''; position: absolute; top: -120px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(11,218,238,0.07) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.d-hero-inner > * { position: relative; z-index: 1; }
.d-hero-inner__inner {
  max-width: var(--d-maxw); margin: 0 auto;
}
.d-hero-inner h1 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 700; letter-spacing: -1.5px; line-height: 1.07;
  color: #fff; max-width: 820px; margin-bottom: 22px;
}
.d-hero-inner h1 .accent { color: var(--d-cyan); }
.d-hero-inner p {
  font-size: 17.5px; line-height: 1.82;
  color: rgba(255,255,255,0.82);
  max-width: 620px; margin-bottom: 36px; font-weight: 400;
}

@media (max-width: 900px) {
  .d-hero-inner { padding: 120px var(--d-sh) 64px; }
}


/* ════════════════════════════════════════════════════════════
   SERVICE LIST (numbered editorial)
   ════════════════════════════════════════════════════════════ */
.d-svc-list { border-top: 1px solid var(--d-border); }
.d-svc-row {
  display: grid;
  grid-template-columns: 52px 260px 1fr 28px;
  align-items: center; gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--d-border);
  text-decoration: none; color: inherit;
  position: relative; cursor: pointer;
  transition: background var(--d-t);
  border-radius: 4px;
}
.d-svc-row::after {
  content: ''; position: absolute; bottom: -1px; left: 0;
  width: 0; height: 1.5px;
  background: linear-gradient(90deg, var(--d-teal), transparent);
  transition: width 0.38s var(--d-ease);
}
.d-svc-row:hover { background: rgba(0,153,184,0.022); }
.d-svc-row:hover::after { width: 100%; }

.d-svc-num {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--d-muted); padding-left: 4px;
  transition: color var(--d-t);
}
.d-svc-row:hover .d-svc-num { color: var(--d-teal); }

.d-svc-title-wrap { display: flex; align-items: center; gap: 14px; }
.d-svc-icon { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.d-svc-title {
  font-size: 18px; font-weight: 700; color: var(--d-ink);
  transition: color var(--d-t); line-height: 1.3;
}
.d-svc-row:hover .d-svc-title { color: var(--d-teal); }

.d-svc-desc {
  font-size: 13.5px; line-height: 1.65;
  color: var(--d-muted); font-weight: 400;
}
.d-svc-arrow {
  font-size: 18px; color: var(--d-muted); text-align: right;
  transition: transform var(--d-t), color var(--d-t);
}
.d-svc-row:hover .d-svc-arrow {
  transform: translate(4px,-4px); color: var(--d-teal);
}

@media (max-width: 1000px) {
  .d-svc-row { grid-template-columns: 44px 240px 1fr 24px; gap: 20px; }
}
@media (max-width: 820px) {
  .d-svc-row { grid-template-columns: 36px 1fr 20px; gap: 14px; }
  .d-svc-desc { display: none; }
}


/* ════════════════════════════════════════════════════════════
   WHY SPLIT (dark section, photo + stats)
   ════════════════════════════════════════════════════════════ */
.d-why {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 580px;
}
.d-why__photo {
  position: relative; overflow: hidden; background: #09243D;
}
.d-why__photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  filter: grayscale(1) contrast(1.04) brightness(0.82);
}
/* gradient overlay removed — photo displays clean */
.d-why__content {
  background: var(--d-dark);
  padding: 72px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.d-why__heading {
  font-size: clamp(26px, 3vw, 38px); font-weight: 700;
  letter-spacing: -0.8px; line-height: 1.15;
  color: #fff; margin-bottom: 18px;
}
.d-why__body {
  font-size: 16px; line-height: 1.82;
  color: rgba(255,255,255,0.78); font-weight: 400;
  max-width: 420px; margin-bottom: 40px;
}
.d-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 40px;
}
.d-stat__num {
  font-size: 44px; font-weight: 700; letter-spacing: -1.5px;
  line-height: 1; margin-bottom: 7px;
  background: linear-gradient(120deg, var(--d-teal) 0%, var(--d-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.d-stat__num.wh { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.d-stat__label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
  line-height: 1.4;
}
.d-why__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--d-cyan);
  transition: gap var(--d-t);
}
.d-why__link:hover { gap: 14px; }

@media (max-width: 900px) {
  .d-why { grid-template-columns: 1fr; }
  .d-why__photo { height: 340px; }
  .d-why__photo::after { background: none; }
  .d-why__content { padding: 48px var(--d-sh); }
}


/* ════════════════════════════════════════════════════════════
   PROCESS CARDS (4 steps)
   ════════════════════════════════════════════════════════════ */
.d-process {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 20px; margin-top: 52px;
}
.d-process-card {
  background: var(--d-white); border: 1px solid var(--d-border);
  border-radius: var(--d-r); padding: 32px 26px;
  transition: border-color var(--d-t), transform var(--d-t);
}
.d-process-card:hover {
  border-color: rgba(0,153,184,0.28); transform: translateY(-3px);
}
.d-process-card__num {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--d-teal);
  display: block; margin-bottom: 18px;
}
.d-process-card__title {
  font-size: 17px; font-weight: 700; color: var(--d-ink);
  margin-bottom: 5px; line-height: 1.25;
}
.d-process-card__sub {
  font-size: 12px; font-weight: 600; color: var(--d-teal);
  letter-spacing: 0.04em; display: block; margin-bottom: 12px;
}
.d-process-card__body {
  font-size: 13.5px; line-height: 1.68;
  color: var(--d-muted); font-weight: 400;
}
@media (max-width: 960px) { .d-process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .d-process { grid-template-columns: 1fr; } }


/* ════════════════════════════════════════════════════════════
   TESTIMONIAL CARDS (3 static)
   ════════════════════════════════════════════════════════════ */
.d-testimonials {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 20px; margin-top: 48px; align-items: start;
}
.d-t-card {
  background: var(--d-white); border: 1px solid var(--d-border);
  border-radius: var(--d-r); padding: 32px 28px;
  transition: border-color var(--d-t), transform var(--d-t);
  display: flex; flex-direction: column;
}
.d-t-card:hover { border-color: rgba(0,153,184,0.24); transform: translateY(-3px); }
.d-t-card--lead { background: var(--d-bg2); }
.d-t-card__quote {
  font-size: 14.5px; line-height: 1.80; color: var(--d-body);
  font-weight: 400; font-style: normal; margin-bottom: 24px; flex: 1;
}
.d-t-card__quote::before {
  content: '\201C'; color: var(--d-teal);
  font-size: 30px; line-height: 0;
  vertical-align: -11px; margin-right: 3px; font-style: normal;
}
.d-t-card__rule { height: 1px; background: var(--d-border); margin-bottom: 18px; }
.d-t-card__author { font-size: 13px; font-weight: 700; color: var(--d-ink); }
.d-t-card__role { font-size: 11.5px; color: var(--d-muted); margin-top: 3px; }
.d-t-card__logo { margin-top: 16px; height: 26px; }
.d-t-card__logo img { height: 100%; width: auto; mix-blend-mode: multiply; opacity: 0.70; }
@media (max-width: 960px) {
  .d-testimonials { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .d-testimonials { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════════════════
   GENERIC CARD GRID
   ════════════════════════════════════════════════════════════ */
.d-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.d-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
/* Sticky aside — right column follows scroll when left column is longer */
.d-grid-2--sticky > :last-child { position: sticky; top: 88px; }
.d-card {
  background: var(--d-white); border: 1px solid var(--d-border);
  border-radius: var(--d-r); padding: 28px 24px;
  transition: border-color var(--d-t), transform var(--d-t), box-shadow var(--d-t), border-left-color var(--d-t);
  cursor: pointer; border-left: 3px solid transparent;
}
.d-card:hover { border-color: rgba(0,153,184,0.26); border-left-color: var(--d-teal); transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.09); }
.d-card__icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(0,153,184,0.13); border: 1px solid rgba(0,153,184,0.22); margin-bottom: 18px; }
.d-card__icon img { width: 24px; height: 24px; object-fit: contain; }
.d-card h3 { font-size: 16px; font-weight: 700; color: var(--d-ink); margin-bottom: 10px; }
.d-card p { font-size: 13.5px; line-height: 1.70; color: var(--d-muted); font-weight: 400; }
@media (max-width: 900px) { .d-grid-3 { grid-template-columns: 1fr 1fr; } .d-grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 500px) { .d-grid-3 { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════
   SUB-SERVICE LIST  (editorial strip — no orphan on 5 items)
   Used on managed-services overview sub-nav
   ════════════════════════════════════════════════════════════ */
.d-sub-svc {
  display: flex; flex-direction: column;
  border: 1px solid var(--d-border);
  border-radius: 16px; overflow: hidden;
  margin-top: 32px;
}
.d-sub-svc__item {
  display: grid;
  grid-template-columns: 44px 44px 1fr auto;
  align-items: center; gap: 18px;
  padding: 22px 28px;
  text-decoration: none; color: inherit;
  background: var(--d-white);
  border-bottom: 1px solid var(--d-border);
  transition: background var(--d-t);
}
.d-sub-svc__item:last-child { border-bottom: none; }
.d-sub-svc__item:hover { background: var(--d-bg2); }
.d-sub-svc__num {
  font-size: 10px; font-weight: 800; letter-spacing: 0.22em;
  color: var(--d-teal); text-transform: uppercase;
}
.d-sub-svc__icon {
  width: 40px; height: 40px;
  background: rgba(0,153,184,0.08); border: 1px solid rgba(0,153,184,0.16);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.d-sub-svc__icon img { width: 22px; height: 22px; object-fit: contain; }
.d-sub-svc__content { display: flex; flex-direction: column; gap: 3px; }
.d-sub-svc__name { font-size: 15px; font-weight: 700; color: var(--d-ink); line-height: 1.3; }
.d-sub-svc__desc { font-size: 13px; color: var(--d-body); font-weight: 400; line-height: 1.5; }
.d-sub-svc__arrow {
  font-size: 20px; color: var(--d-teal); font-weight: 700;
  opacity: 0; transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}
.d-sub-svc__item:hover .d-sub-svc__arrow { opacity: 1; transform: translateX(0); }
@media (max-width: 700px) {
  .d-sub-svc__item { grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 20px; }
  .d-sub-svc__num { display: none; }
  .d-sub-svc__arrow { display: none; }
}

/* ════════════════════════════════════════════════════════════
   ARTICLE CARDS  (editorial vertical card for blog index)
   ════════════════════════════════════════════════════════════ */
.d-article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.d-article-card {
  display: flex; flex-direction: column;
  background: var(--d-white);
  border: 1px solid var(--d-border);
  border-radius: 14px; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}
.d-article-card:hover { border-color: rgba(0,153,184,0.30); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
.d-article-card__img {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9;
}
.d-article-card__img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(0.15);
  transition: transform 0.55s ease;
}
.d-article-card:hover .d-article-card__img img { transform: scale(1.04); }
.d-article-card__img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(9,36,61,0.22));
  pointer-events: none;
}
.d-article-card__body {
  padding: 22px 22px 20px;
  display: flex; flex-direction: column; flex: 1;
}
.d-article-card__meta {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--d-teal);
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 10px;
}
.d-article-card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
.d-article-card h3 {
  font-size: 15px; font-weight: 700; line-height: 1.35;
  color: var(--d-ink); margin-bottom: 10px; letter-spacing: -0.2px;
}
.d-article-card:hover h3 { color: var(--d-teal); }
.d-article-card__preview {
  font-size: 13px; line-height: 1.65; color: var(--d-muted);
  font-weight: 400; margin-bottom: 14px; flex: 1;
}
.d-article-card__byline {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--d-border);
}
.d-article-card__byline .byline-av {
  width: 88px; height: 88px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0; filter: grayscale(1);
}
.d-article-card__byline .byline-info strong {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--d-ink); letter-spacing: 0; line-height: 1.3; text-transform: none;
}
.d-article-card__byline .byline-info span {
  font-size: 11px; color: var(--d-muted); letter-spacing: 0;
}
/* Responsive */
@media (max-width: 900px) { .d-article-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .d-article-grid { grid-template-columns: 1fr; } }


/* ════════════════════════════════════════════════════════════
   FEATURE CARD (highlighted)
   ════════════════════════════════════════════════════════════ */
.d-feature-card {
  background: rgba(0,153,184,0.05);
  border: 1px solid rgba(0,153,184,0.18);
  border-radius: var(--d-rl); padding: 36px 32px;
  transition: border-color var(--d-t), transform var(--d-t), box-shadow var(--d-t);
}
.d-feature-card:hover { border-color: rgba(0,153,184,0.35); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,153,184,0.08); }
.d-feature-card h3 { font-size: 18px; font-weight: 700; color: var(--d-ink); margin-bottom: 12px; }
.d-feature-card p { font-size: 14px; line-height: 1.75; color: var(--d-muted); font-weight: 400; }
/* Fix 1/2: BEM child classes used by agent-built pages */
.d-feature-card__icon { width: 44px; height: 44px; object-fit: contain; margin-bottom: 18px; display: block; }
.d-feature-card__h { font-size: 18px; font-weight: 700; color: var(--d-ink); margin-bottom: 12px; line-height: 1.25; }
.d-feature-card__p { font-size: 14px; line-height: 1.75; color: var(--d-muted); font-weight: 400; margin-bottom: 16px; }
/* Fix 2: Downer logos row — clean left-aligned flex layout */
.d-feature-card__clients {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 18px 0 4px; border-top: 1px solid var(--d-border); margin-top: 16px;
}
.d-feature-card__clients img { flex-shrink: 0; }

/* Fix 1: checklist BEM variants */
.d-checklist__item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; line-height: 1.65; color: var(--d-body); font-weight: 400;
}
.d-checklist__bar {
  width: 6px; height: 6px; border-radius: 50%; background: var(--d-teal);
  flex-shrink: 0; margin-top: 8px;
}

/* Small button variant */
.d-btn--sm { padding: 10px 22px !important; font-size: 13px !important; min-height: 44px; }


/* ════════════════════════════════════════════════════════════
   CHECK LIST
   ════════════════════════════════════════════════════════════ */
/* ── Checklist — clean row layout ──────────────────────────── */
.d-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  padding: 0;
  margin-top: 8px;
  border-top: 1px solid var(--d-border);
}
.d-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px 36px 20px 0;
  border-bottom: 1px solid var(--d-border);
  background: none;
  font-size: 17px; line-height: 1.6; color: var(--d-body); font-weight: 400;
}
/* Left-column items get a right divider */
.d-checklist li:nth-child(odd) {
  padding-right: 36px;
  border-right: 1px solid var(--d-border);
}
/* Right-column items get left padding */
.d-checklist li:nth-child(even) {
  padding-left: 28px;
  padding-right: 0;
}
/* Remove bottom border from last row */
.d-checklist li:nth-last-child(-n+2) { border-bottom: none; }
/* Teal circle-check icon */
.d-checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 22px; height: 22px; min-width: 22px;
  border-radius: 50%;
  background:
    var(--d-teal)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 12px no-repeat;
  margin-top: 2px;
}
/* JS-split content wrapper — keeps heading+desc stacked in the flex row */
.d-checklist-content {
  display: block;
  flex: 1;
  min-width: 0;
}
.d-checklist-heading {
  display: block;
  font-weight: 700;
  font-size: 17px;
  color: var(--d-ink);
  line-height: 1.3;
  margin-bottom: 5px;
}
.d-checklist-desc {
  display: block;
  font-size: 16px;
  color: var(--d-body);
  line-height: 1.58;
  font-weight: 400;
}
@media (max-width: 767px) {
  .d-checklist { grid-template-columns: 1fr; border-top: 1px solid var(--d-border); }
  .d-checklist li { padding-right: 0 !important; padding-left: 0 !important; border-right: none !important; }
  .d-checklist li:nth-last-child(-n+2) { border-bottom: 1px solid var(--d-border); }
  .d-checklist li:last-child { border-bottom: none; }
}


/* ════════════════════════════════════════════════════════════
   HOW WE ENGAGE (homepage 4-step process)
   ════════════════════════════════════════════════════════════ */
.d-engage { background: var(--d-bg); padding: 96px var(--d-sh); position: relative; overflow: hidden; }
.d-engage__inner { position: relative; z-index: 1; }
.d-engage__header { margin-bottom: 72px; }
.d-engage__label {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--d-teal); border-left: 2px solid var(--d-teal); padding-left: 14px;
  display: inline-block; margin-bottom: 24px;
}
.d-engage__heading {
  font-size: clamp(28px, 3.5vw, 42px); font-weight: 700; letter-spacing: -0.8px;
  color: var(--d-ink); margin-bottom: 14px; line-height: 1.2;
}
.d-engage__heading .accent { color: var(--d-teal); }
.d-engage__sub { font-size: 16px; line-height: 1.75; color: var(--d-body); font-weight: 400; max-width: 520px; margin: 0; }
.d-engage__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--d-border); border-radius: var(--d-r); overflow: hidden;
}
.d-engage__step {
  padding: 52px 40px; border-right: 1px solid var(--d-border); transition: background var(--d-t);
}
.d-engage__step:last-child { border-right: none; }
.d-engage__step:hover { background: rgba(26,26,46,0.02); }
.d-engage__step--finale { background: rgba(0,153,184,0.05); border-right: none; }
.d-engage__step--finale:hover { background: rgba(0,153,184,0.09); }
.d-engage__num {
  font-size: clamp(40px, 4.5vw, 56px); font-weight: 800; color: var(--d-teal);
  letter-spacing: -2px; line-height: 1; margin-bottom: 28px; display: block;
}
.d-engage__title { font-size: 20px; font-weight: 700; color: var(--d-ink); margin-bottom: 10px; line-height: 1.25; }
.d-engage__tag {
  font-size: 12px; font-weight: 600; color: var(--d-teal); letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 20px; display: block;
}
.d-engage__body { font-size: 15px; line-height: 1.82; color: var(--d-muted); font-weight: 400; }
@media (max-width: 900px) {
  .d-engage__grid { grid-template-columns: 1fr 1fr; }
  .d-engage__step { border-right: 1px solid var(--d-border); }
  .d-engage__step:nth-child(2), .d-engage__step:nth-child(4) { border-right: none; }
  .d-engage__step:nth-child(1), .d-engage__step:nth-child(2) { border-bottom: 1px solid var(--d-border); }
  .d-engage__step--finale { border-right: none; }
}
@media (max-width: 540px) {
  .d-engage__grid { grid-template-columns: 1fr; }
  .d-engage__step { border-right: none; border-bottom: 1px solid var(--d-border); }
  .d-engage__step:last-child { border-bottom: none; }
}


/* ════════════════════════════════════════════════════════════
   CTA SECTION
   ════════════════════════════════════════════════════════════ */
.d-cta {
  background: #09243D;
  text-align: center;
  padding: 100px var(--d-sh);
  position: relative; overflow: hidden;
}
.d-cta::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(11,218,238,0.03) 1px, transparent 1px);
  background-size: 32px 32px; pointer-events: none;
}
.d-cta__glow {
  position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 420px;
  background: radial-gradient(ellipse, rgba(11,218,238,0.18) 0%, rgba(11,218,238,0.06) 40%, transparent 70%);
  pointer-events: none;
}
.d-cta > * { position: relative; z-index: 1; }
/* Restore absolute positioning for glow: .d-cta > * above overrides it via equal specificity + cascade */
.d-cta__glow { position: absolute; }
/* Fix 5: replace pill/capsule badge with left-border overline — more considered */
.d-cta__eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--d-cyan);
  margin-bottom: 24px;
  text-align: left;
}
.d-cta__pulse { display: none; } /* removed with pill style */
@keyframes d-pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
/* Fix 3: add missing class aliases used by agent-built pages */
.d-cta__h { font-size: clamp(28px,4vw,46px); font-weight: 700; letter-spacing: -1.2px; color: #fff; margin-bottom: 16px; max-width: 600px; margin-left: auto; margin-right: auto; }
.d-cta__h .accent { color: var(--d-cyan); }
.d-cta__p { font-size: 16.5px; line-height: 1.80; color: rgba(255,255,255,0.72); max-width: 460px; margin: 0 auto 40px; font-weight: 400; }
.d-cta__inner { position: relative; z-index: 1; }
.d-cta__heading {
  font-size: clamp(28px, 4vw, 46px); font-weight: 700; letter-spacing: -1.2px;
  color: #fff; margin-bottom: 16px;
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.d-cta__heading .accent { color: var(--d-cyan); }
.d-cta__body {
  font-size: 16.5px; line-height: 1.80; color: rgba(255,255,255,0.72);
  max-width: 460px; margin: 0 auto 40px; font-weight: 400;
}
.d-cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }


/* ════════════════════════════════════════════════════════════
   PARTNERS STRIP (bottom of page) — scrolling carousel
   ════════════════════════════════════════════════════════════ */
.d-partners {
  background: var(--d-bg2);
  border-top: 1px solid var(--d-border);
  padding: 28px 0 32px;
}
.d-partners__label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--d-muted);
  text-align: center; margin-bottom: 20px;
}
.d-partners-carousel {
  overflow: hidden;
  position: relative;
  max-width: 1560px;
  margin: 0 auto;
}
.d-partners-carousel::before,
.d-partners-carousel::after {
  content: ''; position: absolute;
  top: 0; bottom: 0; width: 100px;
  z-index: 2; pointer-events: none;
}
.d-partners-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--d-bg2) 15%, transparent 100%);
}
.d-partners-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--d-bg2) 15%, transparent 100%);
}
.d-partners-carousel__track {
  display: flex; align-items: center;
  gap: 52px; width: max-content;
  animation: partnersScroll 85s linear infinite;
  padding: 4px 56px;
}
@keyframes partnersScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.d-partners-carousel__item {
  display: inline-flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.d-partners-carousel__item img {
  width: auto; object-fit: contain; display: block;
  filter: grayscale(1); opacity: 0.55;
  transition: opacity 0.2s ease;
}
.d-partners-carousel__item img:hover { opacity: 0.85; }
/* Certifications */
.d-partners-carousel__item--iso img       { height: 52px; }
.d-partners-carousel__item--ms img        { height: 72px; }
/* Cloud & platform */
.d-partners-carousel__item--aws img       { height: 38px; }
.d-partners-carousel__item--azure img     { height: 46px; }
.d-partners-carousel__item--m365 img      { height: 34px; }
/* Security */
.d-partners-carousel__item--huntress img  { height: 34px; }
.d-partners-carousel__item--checkpoint img{ height: 38px; }
.d-partners-carousel__item--airlock img   { height: 30px; }
.d-partners-carousel__item--keeper img    { height: 34px; }
/* Infrastructure & networking */
.d-partners-carousel__item--hpe img       { height: 50px; }
.d-partners-carousel__item--dell img      { height: 32px; }
.d-partners-carousel__item--lenovo img    { height: 26px; }
.d-partners-carousel__item--aruba img     { height: 36px; }
.d-partners-carousel__item--apc img       { height: 34px; }
.d-partners-carousel__item--nutanix img   { height: 28px; }
/* Comms & productivity */
.d-partners-carousel__item--3cx img       { height: 46px; }
.d-partners-carousel__item--yealink img   { height: 28px; }
.d-partners-carousel__item--vocus img     { height: 26px; }
/* Managed services tooling */
.d-partners-carousel__item--veeam img     { height: 30px; }
.d-partners-carousel__item--nable img     { height: 28px; }
.d-partners-carousel__item--exclaimer img { height: 26px; }
/* AI */
.d-partners-carousel__item--anthropic img { height: 26px; }
@media (prefers-reduced-motion: reduce) {
  .d-partners-carousel__track { animation: none; }
  .d-partners-carousel { overflow-x: auto; }
}
@media (max-width: 900px) {
  .d-partners-carousel::before,
  .d-partners-carousel::after { width: 50px; }
}


/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.d-footer {
  background: var(--d-footer);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 64px var(--d-sh) 36px;
}
.d-footer__grid {
  max-width: var(--d-maxw); margin: 0 auto;
  display: grid; grid-template-columns: 230px 1fr 1fr 1fr;
  gap: 52px; margin-bottom: 48px;
}
.d-footer__logo {
  font-size: 22px; font-weight: 800; letter-spacing: -0.5px;
  display: block; margin-bottom: 14px; text-decoration: none;
}
.d-footer__logo .inter { color: var(--d-blue); }
.d-footer__logo .intra { color: var(--d-cyan); }
.d-footer__desc {
  font-size: 13px; line-height: 1.75;
  color: rgba(255,255,255,0.70); font-weight: 400;
}
.d-footer__socials { display: flex; gap: 10px; margin-top: 20px; }
.d-footer__social {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(11,218,238,0.07); border: 1px solid rgba(11,218,238,0.14);
  color: rgba(255,255,255,0.45); transition: var(--d-t); text-decoration: none;
}
.d-footer__social:hover { color: var(--d-cyan); border-color: rgba(11,218,238,0.40); }
.d-footer__col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--d-cyan); margin-bottom: 18px;
}
.d-footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.d-footer__col ul a {
  font-size: 13px; color: rgba(255,255,255,0.68);
  transition: color var(--d-t); font-weight: 300;
}
.d-footer__col ul a:hover { color: #fff; }
.d-footer__col ul span { font-size: 13px; color: rgba(255,255,255,0.62); font-weight: 300; }
.d-footer__bottom {
  max-width: var(--d-maxw); margin: 0 auto;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 12px;
}
.d-footer__copy { font-size: 12px; color: rgba(255,255,255,0.50); }
.d-footer__copy a { color: rgba(255,255,255,0.50); border-bottom: 1px solid rgba(255,255,255,0.20); }
.d-footer__ack {
  font-size: 10.5px; color: #C47A3A;
  max-width: 600px; line-height: 1.7;
}
@media (max-width: 900px) {
  .d-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 500px) {
  .d-footer__grid { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════════════════
   FAQ ACCORDION
   ════════════════════════════════════════════════════════════ */
/* ════ FAQ ACCORDION — rebuilt clean (Fix 2) ════ */
.faq-list { margin-top: 40px; }
.faq-item {
  border-left: 3px solid transparent;
  border-bottom: 1px solid rgba(26,26,46,0.12);
  padding-left: 18px;
  transition: border-left-color 0.2s ease;
}
.faq-item:first-child { border-top: 1px solid rgba(26,26,46,0.12); }
.faq-item:hover,
.faq-item.faq-open { border-left-color: var(--d-teal); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 22px 0;
  background: none; border: none;
  text-align: left; cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1.05rem; font-weight: 600; color: var(--d-ink);
  line-height: 1.4; transition: color 0.2s ease;
}
.faq-question:hover,
.faq-item.faq-open .faq-question { color: var(--d-teal); }
.faq-icon {
  width: 24px; height: 24px;
  border: 1.5px solid var(--d-teal);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 400; color: var(--d-teal);
  flex-shrink: 0; margin-left: 20px;
  transition: transform 0.25s ease;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: block;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  font-size: 0.95rem; line-height: 1.80;
  color: var(--d-muted); font-weight: 400;
}
.faq-answer p { padding-bottom: 22px; margin: 0; }


/* ════════════════════════════════════════════════════════════
   RELATIONSHIP PANEL (photo + stats — service pages)
   ════════════════════════════════════════════════════════════ */
.d-rel {
  display: grid; grid-template-columns: 1.1fr 1fr;
  border-radius: var(--d-rl); overflow: hidden;
  border: 1px solid var(--d-border);
  background: var(--d-bg3);
  min-height: 480px;
}
/* Fix 1: aliases for both naming conventions */
.d-rel.flip,
.d-rel.d-rel--flip { grid-template-columns: 1fr 1.1fr; }
.d-rel.flip .d-rel__photo,
.d-rel.d-rel--flip .d-rel__photo { order: 2; }
.d-rel.flip .d-rel__side,
.d-rel.d-rel--flip .d-rel__side { order: 1; }
.d-rel__photo { position: relative; background: #09243D; overflow: hidden; }
.d-rel__photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.04); display: block;
}
.d-rel__side {
  padding: clamp(32px,4vw,52px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  background: var(--d-white);
}
.d-rel__eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--d-teal); display: block; margin-bottom: 10px;
}
/* Fix 1: support both d-rel__heading and d-rel__headline */
.d-rel__heading,
.d-rel__headline {
  font-size: clamp(20px,2.2vw,28px); font-weight: 700; color: var(--d-ink);
  letter-spacing: -0.015em; line-height: 1.3;
}
.d-rel__heading .accent,
.d-rel__headline .accent { color: var(--d-teal); }
.d-rel__stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px;
  padding: 24px 0; border-top: 1px solid var(--d-border); border-bottom: 1px solid var(--d-border);
}
/* Fix 1: d-rel__stat wrapper (used by agent-built pages) */
.d-rel__stat { display: flex; flex-direction: column; }
.d-rel__stat-num {
  font-size: clamp(26px,2.8vw,36px); font-weight: 700; letter-spacing: -1px;
  line-height: 1; margin-bottom: 6px; color: var(--d-ink);
}
.d-rel__stat-num.cyan,
.d-rel__stat-num.d-rel__stat-num--cyan { color: var(--d-teal); }
/* Fix 1: d-rel__stat-num--sm alias */
.d-rel__stat-num.sm,
.d-rel__stat-num--sm { font-size: clamp(18px,1.8vw,22px); }
.d-rel__stat-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--d-muted);
}
.d-rel__team { display: flex; align-items: center; gap: 16px; }
.d-rel__avatars { display: flex; }
/* Fix 3: avatar circles — use top-center crop for face photos */
.d-rel__av {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--d-white);
  background: #2a3540 center top / cover no-repeat;
  filter: grayscale(1) contrast(1.04); margin-left: -10px;
}
.d-rel__av:first-child { margin-left: 0; }
/* Fix 3: support both .more and --more naming */
.d-rel__av.more,
.d-rel__av--more {
  background: rgba(0,153,184,0.10) !important;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--d-teal); filter: none;
}
/* Fix 1: caption overlay inside rel photo */
.d-rel__caption {
  position: absolute; left: 28px; bottom: 24px; right: 28px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.70); z-index: 1;
}
.d-rel__caption-accent { color: var(--d-cyan); }
.d-rel__team-label strong {
  font-size: 14px; font-weight: 700; color: var(--d-ink); display: block; margin-bottom: 3px;
}
.d-rel__team-label a {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--d-muted);
  text-decoration: none; transition: color var(--d-t);
}
.d-rel__team-label a:hover { color: var(--d-teal); }
@media (max-width: 880px) {
  .d-rel,.d-rel.flip { grid-template-columns: 1fr; }
  .d-rel.flip .d-rel__photo { order: 0; }
  .d-rel__photo { min-height: 280px; }
}


/* ════════════════════════════════════════════════════════════
   CONTACT FORM
   ════════════════════════════════════════════════════════════ */
.d-form { background: var(--d-white); border: 1px solid var(--d-border); border-radius: var(--d-rl); padding: 40px 36px; }
.d-form-group { margin-bottom: 20px; }
.d-form-group label {
  display: block; font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--d-muted); margin-bottom: 8px;
}
.d-form-group input,
.d-form-group select,
.d-form-group textarea {
  width: 100%; background: var(--d-bg); border: 1px solid var(--d-border);
  border-radius: 8px; padding: 13px 16px;
  font-family: 'DM Sans', system-ui, sans-serif; font-size: 14px; color: var(--d-ink);
  transition: border-color var(--d-t), box-shadow var(--d-t); outline: none;
}
.d-form-group input:focus,
.d-form-group select:focus,
.d-form-group textarea:focus {
  border-color: var(--d-teal);
  box-shadow: 0 0 0 3px rgba(0, 153, 184, 0.22);
}
.d-form-group input::placeholder,
.d-form-group textarea::placeholder { color: var(--d-muted); }
.d-form-group textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.d-form-submit {
  width: 100%; padding: 15px 32px; border-radius: 100px;
  background: var(--d-teal); color: #fff;
  font-family: 'DM Sans', system-ui, sans-serif; font-size: 15px; font-weight: 700;
  cursor: pointer; border: none; transition: var(--d-t);
}
.d-form-submit:hover { background: #007A94; transform: translateY(-2px); }
@media (max-width: 600px) { .d-form { padding: 28px 20px; } }


/* ════════════════════════════════════════════════════════════
   REVEAL ANIMATION
   ════════════════════════════════════════════════════════════ */
.d-reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.60s cubic-bezier(0,0,0.2,1),
              transform 0.60s cubic-bezier(0,0,0.2,1);
}
.d-reveal.visible { opacity: 1; transform: none; }

/* Timeline reveal animation */
.timeline-item {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.timeline-item.revealed { opacity: 1; transform: translateX(0); }
.timeline-item:nth-child(1) { transition-delay: 0s; }
.timeline-item:nth-child(2) { transition-delay: 0.10s; }
.timeline-item:nth-child(3) { transition-delay: 0.15s; }
.timeline-item:nth-child(4) { transition-delay: 0.20s; }
.timeline-item:nth-child(5) { transition-delay: 0.25s; }
.timeline-item:nth-child(6) { transition-delay: 0.30s; }
.timeline-item:last-child {
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: 0.35s;
  transform: translateX(-24px) scale(0.97);
}
.timeline-item:last-child.revealed { transform: translateX(0) scale(1); }
@media (max-width: 600px) {
  .timeline-item { transform: translateX(-12px); }
  .timeline-item:last-child { transform: translateX(-12px) scale(0.97); }
}
.timeline-line {
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform 1.2s ease;
}
.timeline-line.revealed { transform: scaleY(1); }

.d-d1 { transition-delay: 0.08s; }
.d-d2 { transition-delay: 0.16s; }
.d-d3 { transition-delay: 0.24s; }
.d-d4 { transition-delay: 0.32s; }

/* ── Reduced motion — respect user preference ─────────────── */
@media (prefers-reduced-motion: reduce) {
  .d-reveal {
    opacity: 1; transform: none;
    transition: none;
  }
  .timeline-item,
  .timeline-item:last-child {
    opacity: 1; transform: none;
    transition: none; transition-delay: 0s;
  }
  .timeline-line {
    transform: scaleY(1); transition: none;
  }
  .d-marquee-track { animation: none; }
}


/* ════════════════════════════════════════════════════════════
   PAGE-NEXT (service page bottom nav)
   ════════════════════════════════════════════════════════════ */
/* Fix 4: reduce padding from 96px to 56px — was creating a massive gap before CTA */
.d-page-next {
  background: var(--d-bg2);
  padding: 56px 0;
}
.d-page-next__grid {
  max-width: var(--d-maxw); margin: 0 auto; padding: 0 var(--d-sh);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,80px); align-items: center;
}
.d-page-next__quote {
  font-size: clamp(15px,1.6vw,18px); line-height: 1.72;
  color: var(--d-body); font-style: italic; font-weight: 400;
  border-left: 2px solid var(--d-teal); padding-left: 22px; margin: 0 0 18px;
}
.d-page-next__author { padding-left: 22px; }
.d-page-next__author strong { font-size: 14px; font-weight: 700; color: var(--d-ink); display: block; }
.d-page-next__author span { font-size: 12px; color: var(--d-muted); }
.d-page-next__nav { display: flex; flex-direction: column; }
.d-page-next__link {
  font-size: 16px; font-weight: 600; color: var(--d-body);
  text-decoration: none; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--d-border);
  transition: color var(--d-t);
}
.d-page-next__link:first-child { border-top: 1px solid var(--d-border); }
.d-page-next__link span { color: var(--d-teal); flex-shrink: 0; transition: transform var(--d-t); }
.d-page-next__link:hover { color: var(--d-ink); }
.d-page-next__link:hover span { transform: translateX(4px); }
@media (max-width: 900px) { .d-page-next__grid { grid-template-columns: 1fr; } }


/* ════════════════════════════════════════════════════════════
   MISC UTILITIES
   ════════════════════════════════════════════════════════════ */
.d-sep { height: 1px; background: var(--d-border); margin: 0; }
.d-text-center { text-align: center; }
.d-text-center .d-heading,
.d-text-center .d-body { margin-left: auto; margin-right: auto; }
.d-mb-8  { margin-bottom: 8px; }
.d-mb-16 { margin-bottom: 16px; }
.d-mb-24 { margin-bottom: 24px; }
.d-mb-32 { margin-bottom: 32px; }
.d-mb-40 { margin-bottom: 40px; }
.d-mb-52 { margin-bottom: 52px; }
.d-mt-32 { margin-top: 32px; }
.d-mt-40 { margin-top: 40px; }
.d-mt-52 { margin-top: 52px; }


/* ════════════════════════════════════════════════════════════
   VIDEO HERO (homepage)
   ════════════════════════════════════════════════════════════ */
.d-hero--video {
  background: #09243D; /* fallback while video loads */
}
.d-hero__video-bg {
  position: absolute; inset: 0; z-index: 0;
}
.d-hero__video-bg video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.d-hero__video-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    108deg,
    rgba(9,36,61,0.90) 0%,
    rgba(9,36,61,0.72) 52%,
    rgba(9,36,61,0.40) 100%
  );
}
.d-hero--video .d-hero__inner { position: relative; z-index: 2; }
/* dot grid sits on top of overlay */
.d-hero--video::before { z-index: 2; }
.d-hero--video::after  { z-index: 2; }


/* ════════════════════════════════════════════════════════════
   FEATURE SPLIT CARDS (Warehouse / Data Lake)
   ════════════════════════════════════════════════════════════ */
.d-feat-card {
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.d-feat-card--blue {
  background: var(--d-bg2);
  border-color: rgba(43,155,234,0.22);
  box-shadow: 0 4px 24px rgba(0,149,235,0.05);
}
.d-feat-card--blue:hover {
  transform: translateY(-4px);
  border-color: rgba(43,155,234,0.50);
  box-shadow: 0 20px 56px rgba(0,149,235,0.14);
}
.d-feat-card--teal {
  background: var(--d-bg2);
  border-color: rgba(0,153,184,0.22);
  box-shadow: 0 4px 24px rgba(0,153,184,0.05);
}
.d-feat-card--teal:hover {
  transform: translateY(-4px);
  border-color: rgba(0,153,184,0.50);
  box-shadow: 0 20px 56px rgba(0,153,184,0.14);
}
.d-feat-card__head {
  padding: 32px 36px 26px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.d-feat-card--blue .d-feat-card__head {
  background: linear-gradient(145deg, rgba(0,149,235,0.08) 0%, rgba(0,149,235,0.02) 100%);
  border-bottom-color: rgba(43,155,234,0.14);
}
.d-feat-card--teal .d-feat-card__head {
  background: linear-gradient(145deg, rgba(0,153,184,0.08) 0%, rgba(0,153,184,0.02) 100%);
  border-bottom-color: rgba(0,153,184,0.14);
}
.d-feat-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.d-feat-card--blue .d-feat-card__icon { background: rgba(0,149,235,0.12); color: #0095EB; }
.d-feat-card--teal .d-feat-card__icon { background: rgba(0,153,184,0.12); color: #0099B8; }
.d-feat-card__label {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 12px;
}
.d-feat-card--blue .d-feat-card__label { color: var(--d-blue); }
.d-feat-card--teal .d-feat-card__label { color: #0099B8; }
.d-feat-card__title {
  font-size: 23px; font-weight: 700; color: var(--d-ink);
  margin-bottom: 8px; line-height: 1.2;
}
.d-feat-card__sub {
  font-size: 15px; color: var(--d-body); letter-spacing: 0.03em; opacity: 0.85;
}
.d-feat-card__body {
  padding: 28px 36px 36px;
}


/* ════════════════════════════════════════════════════════════
   MARS STREAM ANIMATION (data-intelligence page)
   ════════════════════════════════════════════════════════════ */
.mars-stream {
  position: relative;
  background: #09243D;
  border: 1px solid rgba(11,218,238,0.12);
  border-radius: 24px;
  padding: 52px 40px 48px;
  overflow: hidden;
}
.mars-stream::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle,rgba(11,218,238,0.04) 1px,transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.mars-stream__tag {
  position: absolute; top: 18px; right: 24px;
  font-size: 10px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: #0BDAEE; opacity: 0.7; z-index: 5;
}
.mars-stream__narrative {
  position: absolute; top: 18px; left: 24px;
  font-size: 10px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: #FF7F4C;
  opacity: 0; transition: opacity .4s ease; z-index: 5; max-width: 62%;
}
.mars-stream__narrative.show { opacity: 0.85; }
.mars-stream__pipeline {
  position: relative;
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 32px; z-index: 1;
}
.mars-stream__lane {
  position: relative;
  display: flex; flex-direction: column;
  padding: 28px 24px 26px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.012);
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.mars-stream__lane.lit-l1 { background:rgba(0,149,235,0.06);border-color:rgba(0,149,235,0.32);box-shadow:0 0 0 1px rgba(0,149,235,0.12),0 16px 36px rgba(0,149,235,0.10); }
.mars-stream__lane.lit-l2 { background:rgba(11,218,238,0.06);border-color:rgba(11,218,238,0.32);box-shadow:0 0 0 1px rgba(11,218,238,0.12),0 16px 36px rgba(11,218,238,0.10); }
.mars-stream__lane.lit-l3 { background:rgba(11,218,238,0.06);border-color:rgba(11,218,238,0.32);box-shadow:0 0 0 1px rgba(11,218,238,0.12),0 16px 36px rgba(11,218,238,0.10); }
.mars-stream__lane.lit-l4 { background:rgba(255,127,76,0.06);border-color:rgba(255,127,76,0.32);box-shadow:0 0 0 1px rgba(255,127,76,0.12),0 16px 36px rgba(255,127,76,0.10); }
.mars-stream__lane-h {
  font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; margin-bottom: 6px;
}
.mars-stream__lane.l1 .mars-stream__lane-h { color: #0095EB; }
.mars-stream__lane.l2 .mars-stream__lane-h { color: #0BDAEE; }
.mars-stream__lane.l3 .mars-stream__lane-h { color: #0BDAEE; }
.mars-stream__lane.l4 .mars-stream__lane-h { color: #FF7F4C; }
.mars-stream__lane-sub {
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  margin-bottom: 18px; color: #FFFFFF;
}
.mars-stream__nodes { display: flex; flex-direction: column; gap: 9px; width: 100%; }
.mars-stream__node {
  position: relative;
  font-size: 13px; font-weight: 600;
  padding: 10px 14px; border-radius: 9px;
  letter-spacing: .02em; text-align: left;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.45);
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease, border-color .35s ease, color .35s ease;
}
.mars-stream__lane.l1 .mars-stream__node.lit { background:rgba(0,149,235,0.18);border-color:rgba(0,149,235,0.65);color:#A8D5F5;transform:translateX(3px);box-shadow:0 0 0 1px rgba(0,149,235,0.35),0 6px 18px rgba(0,149,235,0.30); }
.mars-stream__lane.l2 .mars-stream__node.lit { background:rgba(11,218,238,0.18);border-color:rgba(11,218,238,0.65);color:#7EFFF9;transform:translateX(3px);box-shadow:0 0 0 1px rgba(11,218,238,0.35),0 6px 18px rgba(11,218,238,0.30); }
.mars-stream__lane.l3 .mars-stream__node.lit { background:rgba(11,218,238,0.18);border-color:rgba(11,218,238,0.65);color:#A8FFD9;transform:translateX(3px);box-shadow:0 0 0 1px rgba(11,218,238,0.35),0 6px 18px rgba(11,218,238,0.30); }
.mars-stream__lane.l4 .mars-stream__node.lit { background:rgba(255,127,76,0.18);border-color:rgba(255,127,76,0.65);color:#FFC9A8;transform:translateX(3px);box-shadow:0 0 0 1px rgba(255,127,76,0.35),0 6px 18px rgba(255,127,76,0.30); }
.mars-stream__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.mars-stream__legend {
  display: flex; justify-content: space-between; margin-top: 20px;
  font-size: 10px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,0.40);
}
.mars-stream__legend span { display: inline-flex; align-items: center; gap: 8px; }
.mars-stream__legend .dot { width: 8px; height: 8px; border-radius: 50%; }
.mars-stream__legend .dot.cy { background:#0BDAEE; box-shadow: 0 0 8px #0BDAEE; }
.mars-stream__legend .dot.bl { background:#0095EB; box-shadow: 0 0 8px #0095EB; }
.mars-stream__legend .dot.or { background:#FF7F4C; box-shadow: 0 0 8px #FF7F4C; }
.mars-stream__legend .dot.gn { background:#0BDAEE; box-shadow: 0 0 8px #0BDAEE; }
@media(max-width:760px) {
  .mars-stream__pipeline { grid-template-columns: 1fr; }
  .mars-stream__canvas { display: none; }
  .mars-stream__narrative { display: none; }
}


/* ════════════════════════════════════════════════════════════
   SPLIT SECTION (photo left + text right, full-width)
   ════════════════════════════════════════════════════════════ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 600px;
  max-height: 600px;
  width: 100%;
  max-width: var(--d-maxw);
  margin: 0 auto;
  overflow: hidden;
  border-top: 1px solid rgba(26,26,46,0.08);
}
.split-section--portrait {
  height: 760px;
  max-height: 760px;
}
@media (max-width: 800px) {
  .split-section,
  .split-section--portrait {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    overflow: visible;
  }
  .split-section > *:first-child {
    min-height: 260px;
  }
}


/* ════════════════════════════════════════════════════════════
   PHOTO BREAK (full-width team photo with quote overlay)
   ════════════════════════════════════════════════════════════ */
.d-photo-break {
  position: relative; overflow: hidden;
  height: clamp(320px, 40vw, 480px);
}
.d-photo-break img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: grayscale(1) contrast(1.04) brightness(0.72);
}
.d-photo-break__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(9,36,61,0.88) 0%,
    rgba(9,36,61,0.55) 55%,
    rgba(9,36,61,0.20) 100%
  );
}
.d-photo-break__content {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 0 max(var(--d-sh), calc((100% - var(--d-maxw)) / 2));
}
.d-photo-break__quote {
  max-width: 620px;
}
.d-photo-break__quote p {
  font-size: clamp(18px,2.2vw,26px);
  font-weight: 700; line-height: 1.40;
  color: #FFFFFF; font-style: italic;
  margin-bottom: 20px;
}
.d-photo-break__quote cite {
  display: flex; align-items: center; gap: 18px;
  margin-top: 8px; font-style: normal;
}
.d-photo-break__quote cite img {
  width: 120px; height: 120px;
  border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.32);
}
.d-photo-break__quote .cite-name {
  font-size: 17px; font-weight: 700; color: #fff;
  letter-spacing: -0.2px; text-transform: none; margin-bottom: 5px; line-height: 1.2;
}
.d-photo-break__quote .cite-role {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--d-cyan);
}

/* ════════════════════════════════════════════════════════════
   HERO PORTRAIT (human face in homepage hero)
   ════════════════════════════════════════════════════════════ */
.d-hero__portrait {
  position: absolute; right: 0; bottom: 0; top: 0;
  width: clamp(240px, 30vw, 460px);
  z-index: 2; overflow: hidden; pointer-events: none;
}
.d-hero__portrait img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: grayscale(0.12); display: block;
}
.d-hero__portrait::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg,
    rgba(9,36,61,1.00) 0%,
    rgba(9,36,61,0.65) 28%,
    rgba(9,36,61,0.18) 68%,
    transparent 100%
  );
}
.d-hero--video .d-hero__inner { position: relative; z-index: 3; }
@media (max-width: 1100px) { .d-hero__portrait { display: none; } }

/* ════════════════════════════════════════════════════════════
   SCROLLING TESTIMONIALS MARQUEE
   ════════════════════════════════════════════════════════════ */
.d-marquee-wrap {
  overflow: hidden;
  padding: 64px 0;
  background: var(--d-bg2);
  border-top: 1px solid var(--d-border);
  border-bottom: 1px solid var(--d-border);
}
.d-marquee-header {
  max-width: var(--d-maxw); margin: 0 auto;
  padding: 0 var(--d-sh) 40px;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.d-marquee-track {
  display: flex; gap: 20px;
  animation: d-marquee 90s linear infinite;
  width: max-content;
}
.d-marquee-wrap:hover .d-marquee-track { animation-play-state: paused; }
@keyframes d-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.d-m-card {
  background: #FFFFFF;
  border: 1px solid var(--d-border);
  border-radius: var(--d-r);
  padding: 32px 28px 24px;
  width: 380px; flex-shrink: 0;
  position: relative;
  display: flex; flex-direction: column;
  transition: border-color var(--d-t), transform var(--d-t), box-shadow var(--d-t);
}
.d-m-card:hover { border-color: rgba(0,153,184,0.28); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.10); }
.d-m-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; width: 3px; height: 100%;
  border-radius: 3px 0 0 3px;
}
.d-m-card:nth-child(6n+1)::before { background: #0BDAEE; }
.d-m-card:nth-child(6n+2)::before { background: #0095EB; }
.d-m-card:nth-child(6n+3)::before { background: #FF7F4C; }
.d-m-card:nth-child(6n+4)::before { background: #0099B8; }
.d-m-card:nth-child(6n+5)::before { background: #0BDAEE; }
.d-m-card:nth-child(6n+6)::before { background: #7C3AED; }
/* Decorative large opening quote */
.d-m-card::after {
  content: '\201C';
  position: absolute; top: 18px; right: 22px;
  font-size: 72px; line-height: 1; color: rgba(0,153,184,0.18);
  font-family: Georgia, serif; pointer-events: none; font-style: normal;
}
.d-m-quote {
  font-size: 13.5px; line-height: 1.82; color: #3D3D4E;
  font-weight: 400; font-style: normal; margin-bottom: 0;
  flex: 1; position: relative; z-index: 1;
}
.d-m-quote::before { content: none; }
.d-m-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--d-border);
}
.d-m-meta { flex: 1; min-width: 0; }
.d-m-company { font-size: 13px; font-weight: 700; color: #1A1A2E; line-height: 1.3; }
.d-m-author { font-size: 11.5px; color: #6A6A7E; margin-top: 2px; font-weight: 400; }
.d-m-logo { height: 22px; flex-shrink: 0; }
.d-m-logo img { height: 100%; width: auto; max-width: 80px; mix-blend-mode: multiply; opacity: 0.65; }
/* Legacy divider — hidden in new layout */
.d-m-divider { display: none; }

/* ════════════════════════════════════════════════════════════
   LOGO SIZING UTILITIES (certification / partner logos)
   ════════════════════════════════════════════════════════════ */
.d-logo-iso       { height: 44px; width: auto; display: block; }
.d-logo-bsi       { height: 48px; width: auto; display: block; }
.d-logo-aws       { height: 24px; width: auto; display: block; mix-blend-mode: multiply; }
.d-logo-ms        { height: 36px; width: auto; display: block; }
.d-logo-client    { height: 32px; width: auto; display: block; mix-blend-mode: multiply; opacity: 0.80; }
.d-logo-client-sm { height: 22px; width: auto; display: block; mix-blend-mode: multiply; opacity: 0.75; }


/* ════════════════════════════════════════════════════════════
   SERVICE DETAIL BLOCK — enhanced checklist + feature card
   Replaces flat .d-grid-2 / .d-checklist / .d-feature-card
   pattern across all cyber sub-pages. Apply via:
     <div class="d-sdb">
       <div class="d-sdb__list"> ... </div>
       <div class="d-sdb__aside"> ... </div>
     </div>
   ════════════════════════════════════════════════════════════ */

/* ── Wrapper ─────────────────────────────────────────────── */
.d-sdb {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) { .d-sdb { grid-template-columns: 1fr; } .d-sdb__aside { position: static; } }

/* ── Left: checklist panel ───────────────────────────────── */
.d-sdb__list-head {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--d-teal);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.d-sdb__list-head::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--d-teal);
  opacity: 0.55;
  flex-shrink: 0;
}

.d-sdb__items {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.d-sdb__items li {
  display: flex;
  align-items: flex-start;
  gap: 0;
  border-radius: 10px;
  padding: 11px 14px 11px 0;
  border-left: 2px solid transparent;
  transition: border-color 0.22s ease, background 0.22s ease, padding-left 0.22s ease;
  cursor: default;
}
.d-sdb__items li:hover {
  border-left-color: var(--d-teal);
  background: rgba(0,153,184,0.04);
  padding-left: 12px;
}

/* SVG circle-check icon drawn in CSS */
.d-sdb__items li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  margin-right: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,153,184,0.45);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3.5 3.5L13 4.5' stroke='%230099B8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E")
    center / 12px 12px no-repeat,
    rgba(0,153,184,0.06);
  transition: border-color 0.22s ease, background-color 0.22s ease;
}
.d-sdb__items li:hover::before {
  border-color: rgba(0,153,184,0.75);
  background-color: rgba(0,153,184,0.10);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3.5 3.5L13 4.5' stroke='%230099B8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}

.d-sdb__items li span {
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--d-body);
  font-weight: 400;
}

/* ── Right: aside ────────────────────────────────────────── */
.d-sdb__aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: center;
  justify-content: center;
}

/* ── Feature callout card (upgraded) ────────────────────── */
.d-sdb__card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(0,153,184,0.16);
  border-radius: 18px;
  padding: 34px 30px 28px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,153,184,0.07), 0 1px 3px rgba(26,26,46,0.05);
  transition: border-color 0.26s ease, box-shadow 0.26s ease, transform 0.26s ease;
}
.d-sdb__card:hover {
  border-color: rgba(0,153,184,0.32);
  box-shadow: 0 8px 32px rgba(0,153,184,0.13), 0 2px 6px rgba(26,26,46,0.06);
  transform: translateY(-3px);
}
/* Top accent bar */
.d-sdb__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0099B8 0%, rgba(0,153,184,0.18) 100%);
  border-radius: 18px 18px 0 0;
}

/* Icon badge inside card */
.d-sdb__card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0,153,184,0.08);
  border: 1px solid rgba(0,153,184,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.d-sdb__card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.d-sdb__card h3 {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--d-ink);
  margin-bottom: 12px;
  line-height: 1.25;
}
.d-sdb__card p {
  font-size: 15px;
  line-height: 1.78;
  color: var(--d-body);
  font-weight: 400;
}

/* ── Cross-sell insight strip ────────────────────────────── */
.d-sdb__insight {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(0,153,184,0.03);
  border: 1px solid rgba(0,153,184,0.12);
  border-radius: 14px;
  padding: 18px 20px;
  text-decoration: none;
  transition: border-color 0.22s ease, background 0.22s ease;
}
.d-sdb__insight:hover {
  border-color: rgba(0,153,184,0.28);
  background: rgba(0,153,184,0.055);
}
.d-sdb__insight::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--d-teal);
  margin-top: 8px;
  opacity: 0.7;
}
.d-sdb__insight p {
  font-size: 15px;
  line-height: 1.72;
  color: var(--d-body);
  margin: 0;
}
.d-sdb__insight p a,
.d-sdb__insight a {
  color: var(--d-teal);
  font-weight: 500;
  text-decoration: none;
}
.d-sdb__insight p a:hover,
.d-sdb__insight a:hover {
  text-decoration: underline;
}

/* END SERVICE DETAIL BLOCK */

/* Page-next navigation links */
.d-page-next__link           { font-size: 16.5px !important; }

/* ═══════════════════════════════════════════════════════
   VENDOR TICKER — infinite scroll logo strip
   ═══════════════════════════════════════════════════════ */
.vendor-ticker {
  overflow: hidden;
  position: relative;
  margin: 48px auto 0;
  max-width: 1520px;
  padding: 22px 0;
  border-top: 1px solid rgba(0,0,0,0.09);
  border-bottom: 1px solid rgba(0,0,0,0.09);
  background: #FAF8F4; /* match d-section--warm so mix-blend-mode multiply works */
}
/* Gradient fade overlays — sit above logos without breaking blend mode */
.vendor-ticker::before,
.vendor-ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.vendor-ticker::before {
  left: 0;
  background: linear-gradient(to right, #FAF8F4 10%, transparent 100%);
}
.vendor-ticker::after {
  right: 0;
  background: linear-gradient(to left, #FAF8F4 10%, transparent 100%);
}
.vendor-ticker__track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: vendorScroll 55s linear infinite;
  padding: 0 40px;
}
@keyframes vendorScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* Logo wrapper — background matches warm section so any white box is invisible */
.vendor-ticker__logo-wrap {
  width: 150px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #FAF8F4;
  border-radius: 4px;
  padding: 6px 10px;
}
.vendor-ticker__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(0.85);
  opacity: 0.6;
}
@media (prefers-reduced-motion: reduce) {
  .vendor-ticker__track { animation: none; }
  .vendor-ticker { overflow-x: auto; }
}
/* ═══════════════════════════════════════════════════════
   END VENDOR TICKER
   ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   TYPOGRAPHY SCALE — final authoritative values
   (v2–v6 consolidated; only the winning values remain)
   ═══════════════════════════════════════════════════════ */
.d-body                        { font-size: 17px !important; line-height: 1.82 !important; max-width: 640px !important; }
.d-body--narrow                { max-width: 560px !important; }
.d-why__body                   { font-size: 17px !important; }
.d-card p                      { font-size: 16px !important; line-height: 1.80 !important; font-weight: 400 !important; }
.d-feature-card p,
.d-feature-card__p             { font-size: 16px !important; line-height: 1.80 !important; font-weight: 400 !important; }
.d-checklist li                { font-size: 16px !important; line-height: 1.78 !important; }
.d-sdb__items li               { font-size: 16px !important; }
.d-sdb__items li span          { font-size: 16px !important; line-height: 1.78 !important; }
.d-sdb__card p                 { font-size: 16px !important; line-height: 1.80 !important; }
.d-sdb__insight p              { font-size: 15px !important; line-height: 1.78 !important; }
.d-sdb__list-head              { font-size: 12px !important; }
.faq-question                  { font-size: 17px !important; font-weight: 700 !important; }
.faq-question span:first-child { font-size: 17px !important; font-weight: 700 !important; }
.faq-answer p                  { font-size: 15px !important; line-height: 1.84 !important; }
.d-process-card__body          { font-size: 15px !important; line-height: 1.80 !important; }
.d-cta__body, .d-cta__p        { font-size: 16px !important; max-width: 700px !important; }
.d-cta__heading, .d-cta__h     { max-width: 860px !important; }
/* ═══════════════════════════════════════════════════════
   END TYPOGRAPHY SCALE
   ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   CHECKLIST TEXT SIZE — JS-split heading + desc spans
   These are child elements set by site.js; they need their
   own !important overrides — the li rule above doesn't
   cascade into them when they have explicit font-size set.
   ═══════════════════════════════════════════════════════ */
.d-checklist-heading           { font-size: 16px !important; line-height: 1.3 !important; margin-bottom: 6px !important; }
.d-checklist-desc              { font-size: 15px !important; line-height: 1.62 !important; }
/* ═══════════════════════════════════════════════════════
   END CHECKLIST TEXT SIZE
   ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   HEADING SIZE BUMP — increase all headings site-wide
   ═══════════════════════════════════════════════════════ */
/* Section headings (h2-style) */
.d-heading                   { font-size: clamp(38px, 4.8vw, 62px) !important; }
/* Inner page hero h1 */
.d-hero-inner h1             { font-size: clamp(42px, 5.8vw, 72px) !important; }
/* Homepage hero h1 */
.d-hero__h1                  { font-size: clamp(52px, 7.2vw, 92px) !important; }
/* Why / stats section heading */
.d-why__heading              { font-size: clamp(32px, 3.8vw, 50px) !important; }
/* Card titles */
.d-card h3                   { font-size: 17px !important; }
.d-feature-card h3           { font-size: 19px !important; }
.d-process-card__title       { font-size: 17px !important; }
.d-sdb__card h3              { font-size: 19px !important; }
/* ═══════════════════════════════════════════════════════
   END HEADING SIZE BUMP
   ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   NAV LOGO SIZE — bigger brand wordmark
   ═══════════════════════════════════════════════════════ */
.d-nav__logo                 { font-size: 27px !important; }
/* ═══════════════════════════════════════════════════════
   END NAV LOGO SIZE
   ═══════════════════════════════════════════════════════ */

/* Hero body text */
.d-hero__body                { font-size: 20px !important; line-height: 1.80 !important; max-width: 760px !important; }
/* Inner page hero paragraph */
.d-hero-inner p              { font-size: 20px !important; line-height: 1.80 !important; max-width: 820px !important; }
/* ═══════════════════════════════════════════════════════
   END CONSISTENCY FIX
   ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   MISSED COMPONENTS — engage steps + services list
   Both had 13.5px body text not caught by previous passes
   ═══════════════════════════════════════════════════════ */
/* Engage / process steps (homepage 4-step section) */
.d-engage__body              { font-size: 17px !important; line-height: 1.78 !important; }
.d-engage__sub               { font-size: 18px !important; line-height: 1.78 !important; }
.d-engage__heading           { font-size: clamp(32px, 3.8vw, 50px) !important; }

/* Services list (homepage numbered rows) */
.d-svc-title                 { font-size: 20px !important; }
.d-svc-desc                  { font-size: 17px !important; line-height: 1.72 !important; }
/* ═══════════════════════════════════════════════════════
   END MISSED COMPONENTS
   ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   TESTIMONIAL QUOTE TEXT — was 13.5px
   ═══════════════════════════════════════════════════════ */
.d-m-quote                   { font-size: 17px !important; line-height: 1.78 !important; }
/* ═══════════════════════════════════════════════════════
   END TESTIMONIAL QUOTE TEXT
   ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   NAV LINK SIZE — 14.5px → 17px
   ═══════════════════════════════════════════════════════ */
.d-nav__link                 { font-size: 14.5px !important; }
/* ═══════════════════════════════════════════════════════
   END NAV LINK SIZE
   ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   LABEL + CHECKLIST VISUAL POLISH
   — labels used as section headings were 11px (too small)
   — checklist gap was 10px (cramped at 20px font)
   — checkmark icon was 13px (too light)
   ═══════════════════════════════════════════════════════ */
/* Section labels — clean text, no uppercase decoration */
.d-label                     { font-size: 13px !important; letter-spacing: 0.02em !important; text-transform: none !important; font-weight: 600 !important; }

/* Checklist overrides retired — new card-grid design handles spacing */
/* ═══════════════════════════════════════════════════════
   END LABEL + CHECKLIST VISUAL POLISH
   ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   STRUCTURAL FIXES v10
   — d-quote-panel: semantic quote callout (replaces d-cta
     misuse on about/team page)
   ═══════════════════════════════════════════════════════ */
.d-quote-panel {
  background: var(--d-dark);
  padding: 52px 40px 64px;
  position: relative; overflow: hidden;
  text-align: center;
}
.d-quote-panel::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(11,218,238,0.03) 1px, transparent 1px);
  background-size: 32px 32px; pointer-events: none;
}
.d-quote-panel > * { position: relative; z-index: 1; }
.d-quote-panel .d-cta__glow { position: absolute; }
/* ═══════════════════════════════════════════════════════
   END STRUCTURAL FIXES v10
   ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   CASE STUDY PAGES  (d-cs-*)
   — Replaces legacy cs-* classes from premium.css
   — Used on all /about/work/* pages
   ═══════════════════════════════════════════════════════ */

/* Hero */
.d-cs-hero {
  background: var(--d-dark);
  border-bottom: none;
  padding: 140px var(--d-sh) 64px;
  position: relative; overflow: hidden;
}
.d-cs-hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 55%; height: 100%;
  background: radial-gradient(ellipse at 80% 40%, rgba(0,153,184,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.d-cs-hero__inner { max-width: 1120px; margin: 0 auto; position: relative; }
.d-cs-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
  text-decoration: none; margin-bottom: 32px;
  transition: color 0.2s;
}
.d-cs-back:hover { color: var(--d-teal); }

/* Hero layout: full-width text (logo moved to sidebar) */
.d-cs-hero__layout {
  display: block;
  max-width: 720px;
}
/* Logo card in sidebar */
.d-cs-hero__logo-box {
  background: #FFFFFF;
  border: 1px solid rgba(26,26,46,0.10);
  border-radius: 16px;
  padding: 28px;
  display: flex; align-items: center; justify-content: center;
  min-height: 96px;
}
.d-cs-hero__logo {
  max-width: 160px; max-height: 56px;
  width: auto; height: auto;
  object-fit: contain;
}
.d-cs-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px;
  margin-bottom: 18px;
}
.d-cs-badge--teal  { background: rgba(0,153,184,0.20); border: 1px solid rgba(0,153,184,0.40); color: #4DD9F0; }
.d-cs-badge--blue  { background: rgba(0,149,235,0.20); border: 1px solid rgba(0,149,235,0.40); color: #80C8FF; }
.d-cs-hero__title {
  font-size: clamp(32px,4vw,52px); font-weight: 700;
  letter-spacing: -0.03em; color: #FFFFFF;
  line-height: 1.08; margin-bottom: 22px;
}
.d-cs-hero__tagline {
  font-size: clamp(16px,1.6vw,20px); line-height: 1.65;
  color: rgba(255,255,255,0.78); font-weight: 400; max-width: 640px;
}

/* Body section wrapper */
.d-cs-body-wrap {
  background: #FFFFFF;
  border-bottom: 1px solid rgba(26,26,46,0.07);
}

/* Body layout */
.d-cs-body {
  max-width: 1120px; margin: 0 auto;
  padding: 72px var(--d-sh) 80px;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px;
  align-items: start;
}
.d-cs-main h2 {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 22px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--d-ink); margin: 0 0 14px;
}
.d-cs-main h2:not(:first-child) { margin-top: 40px; }
.d-cs-main p {
  font-size: 17px; line-height: 1.82;
  color: var(--d-body); font-weight: 400; margin-bottom: 18px;
}
.d-cs-main ul { margin: 0 0 18px 22px; padding: 0; }
.d-cs-main li { font-size: 16px; line-height: 1.75; color: var(--d-body); font-weight: 400; margin-bottom: 8px; }

/* Sidebar — sticky on desktop so cards follow scroll */
.d-cs-aside {
  display: flex; flex-direction: column; gap: 20px;
  position: sticky; top: 96px;
}
.d-cs-card {
  background: var(--d-bg2);
  border: 1px solid rgba(26,26,46,0.10);
  border-radius: 16px; padding: 28px;
}
.d-cs-card__label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--d-teal); margin-bottom: 16px;
}
.d-cs-card ul { list-style: none; margin: 0; padding: 0; }
.d-cs-card li {
  font-size: 14px; line-height: 1.65; color: var(--d-body);
  padding: 9px 0; border-top: 1px solid rgba(26,26,46,0.08);
  display: flex; align-items: flex-start; gap: 10px;
}
.d-cs-card li:first-child { border-top: none; padding-top: 0; }
.d-cs-card li::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--d-teal); margin-top: 8px; flex-shrink: 0;
}

/* Quote block */
.d-cs-quote {
  background: var(--d-bg);
  border: 1px solid rgba(26,26,46,0.08);
  border-left: 3px solid var(--d-teal);
  border-radius: 0 16px 16px 0;
  padding: 24px 28px; margin-top: 32px;
}
.d-cs-quote p, .d-cs-quote blockquote {
  font-size: 16px; font-weight: 400; line-height: 1.6;
  color: var(--d-ink); margin: 0 0 12px; font-style: italic;
}
.d-cs-quote__attr, .d-cs-quote-attr {
  font-size: 12px; font-weight: 700; color: var(--d-body);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* Responsive */
@media (max-width: 860px) {
  .d-cs-hero__layout { max-width: 100%; }
  .d-cs-body { grid-template-columns: 1fr; gap: 32px; padding: 40px var(--d-sh) 56px; }
  .d-cs-aside { position: static; }
  .d-cs-hero { padding: 110px var(--d-sh) 48px; }
}

/* ─────────────────────────────────────────────────────────
   CASE STUDY REFERENCE EMBED  (d-cs-ref)
   — White card with teal top accent for embedding case
     study teasers on service pages
   ───────────────────────────────────────────────────────── */
.d-cs-ref {
  background: #FFFFFF;
  border: 1px solid rgba(26,26,46,0.11);
  border-top: 3px solid var(--d-teal);
  border-radius: 14px;
  padding: 24px 22px 20px;
  margin-top: 28px;
  display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow 0.25s, transform 0.2s;
}
.d-cs-ref:hover {
  box-shadow: 0 8px 32px rgba(26,26,46,0.10);
  transform: translateY(-2px);
}
.d-cs-ref__label {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--d-teal);
  display: flex; align-items: center; gap: 10px;
}
.d-cs-ref__label::after {
  content: ''; flex: 1; height: 1px; background: rgba(0,153,184,0.22);
}
.d-cs-ref__name {
  font-size: 20px; font-weight: 700; color: var(--d-ink);
  line-height: 1.15; letter-spacing: -0.025em; margin-top: 2px;
}
.d-cs-ref__desc {
  font-size: 14px; line-height: 1.65; color: var(--d-body); margin: 0;
}
.d-cs-ref__meta {
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--d-teal); margin-top: 2px;
  display: flex; align-items: center; gap: 6px;
}
.d-cs-ref__meta::before {
  content: ''; display: inline-block; width: 16px; height: 1.5px;
  background: var(--d-teal); flex-shrink: 0;
}
.d-cs-ref__link {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--d-dark); color: #FFFFFF;
  font-size: 12px; font-weight: 700; letter-spacing: 0.03em;
  text-decoration: none; padding: 10px 18px; border-radius: 100px;
  margin-top: 6px;
  transition: background 0.2s, transform 0.15s;
}
.d-cs-ref__link:hover { background: var(--d-teal); transform: translateY(-1px); }

/* Grid of cs-ref cards side by side */
.d-cs-ref-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 28px; align-items: start;
}
@media (max-width: 640px) { .d-cs-ref-grid { grid-template-columns: 1fr; } }
.d-cs-ref-grid .d-cs-ref { margin-top: 0; }

/* Logo slot inside d-cs-ref cards */
.d-cs-ref__logo-box {
  display: inline-flex; align-items: center;
  padding: 7px 14px; background: var(--d-bg);
  border: 1px solid rgba(26,26,46,0.09); border-radius: 8px;
  align-self: flex-start; margin-top: 2px; margin-bottom: 2px;
}
.d-cs-ref__logo { height: 24px; width: auto; max-width: 96px; object-fit: contain; }

/* ═══════════════════════════════════════════════════════
   BLOG POST HERO & BODY  (d-blog-hero / d-blog-body)
   ═══════════════════════════════════════════════════════ */
.d-blog-hero {
  background: var(--d-dark);
  padding: 110px var(--d-sh) 60px;
  position: relative;
  overflow: hidden;
}
.d-blog-hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 55%; height: 100%;
  background: radial-gradient(ellipse at 80% 40%, rgba(0,153,184,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.d-blog-hero__inner { max-width: 780px; margin: 0 auto; position: relative; }
.d-blog-hero__breadcrumb { margin-bottom: 22px; }
.d-blog-hero__breadcrumb a {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.d-blog-hero__breadcrumb a:hover { color: var(--d-teal); }
.d-blog-hero .post-tag { margin-bottom: 18px; display: inline-flex; align-items: center; gap: 8px; }
.d-blog-hero .post-tag.cyan,
.d-blog-hero .post-tag.blue,
.d-blog-hero .post-tag.orange {
  color: #4DD9F0;
}
.d-blog-hero__title {
  font-size: clamp(26px, 3.6vw, 46px);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.03em;
  color: #FFFFFF; margin-bottom: 20px;
}
.d-blog-hero__meta {
  display: flex; align-items: center; gap: 14px;
}
.d-blog-hero__meta img {
  width: 110px; height: 110px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.24);
  filter: grayscale(1);
}
.d-blog-meta-info strong {
  display: block; font-size: 15px; font-weight: 700;
  color: #fff; letter-spacing: 0; text-transform: none; line-height: 1.25;
}
.d-blog-meta-info span {
  font-size: 12px; color: rgba(255,255,255,0.50);
  letter-spacing: 0; text-transform: none;
}
.d-blog-body {
  background: #FFFFFF;
  padding: 64px var(--d-sh) 80px;
}
.d-blog-body > .blog-post-body {
  max-width: 740px;
  margin: 0 auto;
}
.blog-post-body ul {
  list-style: disc;
  margin: 0 0 22px 24px;
  padding: 0;
}
.blog-post-body ol {
  list-style: decimal;
  margin: 0 0 22px 24px;
  padding: 0;
}
.blog-post-body li {
  font-size: 17px;
  line-height: 1.80;
  color: var(--d-body);
  font-weight: 400;
  margin-bottom: 8px;
}
.blog-post-body ul ul,
.blog-post-body ol ol { margin-top: 8px; margin-bottom: 8px; }

/* ═══════════════════════════════════════════════════════
   END CASE STUDY / BLOG STYLES
   ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   MOBILE AUDIT FIXES — 375px optimisations
   All issues identified in mobile audit 2026-05-31
   ═══════════════════════════════════════════════════════ */

/* ── Hero padding reductions at small screens ─────── */
@media (max-width: 600px) {
  .d-hero-inner  { padding: 92px var(--d-sh) 48px; }
  .d-cs-hero     { padding: 88px var(--d-sh) 36px; }
  .d-blog-hero   { padding: 88px var(--d-sh) 40px; }
}

/* ── Tighter site gutter at very small screens ────── */
@media (max-width: 480px) {
  :root { --d-sh: 16px !important; }
}

/* ── Service row: hide number column on tiny screens ─ */
@media (max-width: 500px) {
  .d-svc-row { grid-template-columns: 1fr 20px; gap: 10px; }
  .d-svc-num { display: none; }
}

/* ── Marquee card: narrower at 375px ─────────────── */
@media (max-width: 480px) {
  .d-m-card { width: 300px; padding: 22px 20px 18px; }
}

/* ── Hero badges: reduce gap so logos don't orphan ── */
@media (max-width: 600px) {
  .d-hero__badges { gap: 20px !important; }
}

/* ── Mobile type scale — reduce oversized text ──────
   Desktop overrides push .d-body to 22px, headings to
   38px min. At 375px these create very short lines.   */
@media (max-width: 480px) {
  .d-heading                { font-size: 26px !important; }
  .d-body                   { font-size: 16px !important; }
  .d-card p                 { font-size: 15px !important; }
  .d-checklist li           { font-size: 16px !important; }
  .d-checklist-heading      { font-size: 16px !important; }
  .d-checklist-desc         { font-size: 14px !important; }
  .d-sdb__items li          { font-size: 15px !important; }
  .d-sdb__items li span     { font-size: 15px !important; }
  .faq-answer p             { font-size: 15px !important; }
  .faq-question             { font-size: 18px !important; }
  .d-process-card__body     { font-size: 16px !important; }
  .d-cta__body, .d-cta__p   { font-size: 17px !important; }
  .d-hero__body             { font-size: 17px !important; }
  .d-hero-inner p           { font-size: 17px !important; }
  .faq-question             { align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════
   END MOBILE AUDIT FIXES
   ═══════════════════════════════════════════════════════ */
