/* ─── Inevitable Infotech — Shared Design System ─── */

:root {
  --navy: #0D1F3C;
  --blue: #1E3A5F;
  --teal: #2EC4B6;
  --teal-soft: rgba(46,196,182,0.10);
  --teal-mid: rgba(46,196,182,0.20);
  --green: #22C55E;
  --white: #FFFFFF;
  --off-white: #F7F9FC;
  --slate: #64748B;
  --border: #E2E8F0;
  --text: #0F172A;
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  /* ─── Type scale (spec) ─── */
  --fs-h1: clamp(2.5rem, 4.5vw, 3rem);    /* 40–48px */
  --fs-h2: clamp(1.875rem, 3vw, 2.125rem); /* 30–34px */
  --fs-h3: clamp(1.375rem, 1.8vw, 1.5rem); /* 22–24px */
  --fs-body: 1rem;       /* 16px */
  --fs-body-lg: 1.125rem; /* 18px */
  --fs-small: 0.875rem;  /* 14px */
  --lh-heading: 1.25;
  --lh-body: 1.6;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--text);
  background: var(--white);
  line-height: var(--lh-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }

/* ─── BASE TYPOGRAPHY (spec) ─── */
h1, .h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy);
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy);
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy);
}
h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
}
p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
}
p + p { margin-top: 1em; }
small, .small { font-size: var(--fs-small); line-height: 1.5; }

/* ─── NAV ─── */
/* Nav bar is full-width visually, but its inner content is bound to the same
   1400px max-width as .container. Padding is computed: it floors at 64px on
   smaller viewports, then grows so the content edges align with the centered
   container. */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(64px, calc((100vw - 1400px) / 2 + 64px));
  height: 72px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.site-nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  height: 40px;
}
.nav-logo img { height: 100%; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }

/* ─── SUBMENU (Services dropdown) ─── */
.has-submenu { position: relative; }
.has-submenu > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.has-submenu .caret {
  font-size: 0.65rem;
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-block;
}
.has-submenu:hover > a .caret,
.has-submenu:focus-within > a .caret { transform: rotate(180deg); color: var(--teal); }

.submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  min-width: 256px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 18px 44px rgba(13,31,60,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 110;
}
.submenu::before {
  content: '';
  position: absolute;
  top: -6px; left: 28px;
  width: 12px; height: 12px;
  background: var(--white);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu li { margin: 0; }
.submenu a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.submenu a:hover {
  background: var(--teal-soft);
  color: var(--teal);
  transform: translateX(2px);
}
.submenu a.is-current {
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 600;
}
.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 8px 24px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s !important;
  box-shadow: 0 4px 14px rgba(30,58,95,0.22);
}
.nav-cta:hover { background: var(--navy); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(13,31,60,0.28); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); margin: 4px 0; transition: 0.2s;
}

/* ─── BUTTONS (refined: multi-layer shadows, internal highlight) ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  letter-spacing: -0.005em;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s, background 0.2s, border-color 0.2s;
}

/* Primary — Deep Blue with internal highlight + layered depth */
.btn-primary {
  background: linear-gradient(180deg, #2A4670 0%, var(--blue) 100%);
  color: var(--white);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 0 0 1px rgba(13,31,60,0.5),
    0 4px 12px rgba(13,31,60,0.18),
    0 12px 24px -8px rgba(13,31,60,0.28);
}
.btn-primary:hover {
  background: linear-gradient(180deg, var(--blue) 0%, var(--navy) 100%);
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.14) inset,
    0 0 0 1px rgba(13,31,60,0.6),
    0 8px 18px rgba(13,31,60,0.24),
    0 20px 40px -12px rgba(13,31,60,0.4);
}
.btn-primary:active { transform: translateY(0); transition-duration: 0.1s; }

/* Secondary — outline with Deep Blue text, subtle inner glass */
.btn-ghost {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--blue);
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(13,31,60,0.04);
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow:
    0 4px 8px rgba(13,31,60,0.06),
    0 12px 24px -8px rgba(13,31,60,0.12);
}
.btn-ghost:active { transform: translateY(0); transition-duration: 0.1s; }

/* Light-bg secondary alternative */
.btn-soft {
  background: var(--off-white);
  color: var(--blue);
  border: 1px solid var(--border);
}
.btn-soft:hover { background: var(--white); border-color: var(--blue); transform: translateY(-2px); }

/* Inverse (on dark backgrounds) */
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
}
.btn-outline-light:hover { border-color: var(--white); transform: translateY(-2px); background: rgba(255,255,255,0.06); }

/* ─── LAYOUT ─── */
.container { max-width: 1400px; margin: 0 auto; padding: 0 64px; }
section { padding: 64px 0; }

/* ─── TYPOGRAPHY HELPERS ─── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 20px;
}
.section-sub {
  font-size: var(--fs-body-lg);
  color: var(--slate);
  max-width: 620px;
  line-height: var(--lh-body);
}
.centered { text-align: center; }
.centered .section-sub { margin: 0 auto; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--teal-mid);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px 8px 10px;
  border-radius: 100px;
  margin-bottom: 24px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 4px 12px rgba(46,196,182,0.10),
    0 1px 2px rgba(13,31,60,0.04);
}
.eyebrow-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(46,196,182,0.18);
  animation: pulseDot 1.8s infinite ease-out;
}

/* Gradient text utility — for emphasis spans */
.text-gradient {
  background: linear-gradient(135deg, var(--teal) 0%, #1a8f87 60%, var(--blue) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}

/* Section accent — subtle vertical bar to flag a major area */
.section-accent {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.section-accent::before {
  content: '';
  width: 32px; height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
  border-radius: 2px;
}

/* ─── PAGE HERO (sub-pages) ─── */
.page-hero {
  padding: 128px 0 64px;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(46,196,182,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 20px;
  max-width: 820px;
}
.page-hero h1 em { font-style: normal; color: var(--teal); }
.page-hero p {
  font-size: var(--fs-body-lg);
  color: var(--slate);
  max-width: 640px;
  line-height: var(--lh-body);
  margin-bottom: 32px;
}
.page-hero .btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.crumb {
  font-size: var(--fs-small);
  color: var(--slate);
  margin-bottom: 16px;
}
.crumb a { color: var(--slate); text-decoration: none; }
.crumb a:hover { color: var(--teal); }

/* ─── ICONS (Lucide outline) ─── */
/* Sizing scale per spec: 16 / 20 / 24 px */
.icon { width: 20px; height: 20px; stroke-width: 2; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 24px; height: 24px; }
.icon-xl { width: 32px; height: 32px; stroke-width: 1.75; }

/* Lucide replaces <i data-lucide="..."> with <svg>; inherit color */
[data-lucide], svg.lucide { stroke: currentColor; fill: none; }

/* Icon container theming — teal for accents, sparingly */
.pain-icon, .sol-icon, .service-icon, .card-icon, .do-icon,
.b-icon, .filter-icon, .value-icon, .method-icon { color: var(--teal); }
.risk-icon { color: var(--teal); }

/* Default SVG size inside icon containers */
.pain-icon svg, .sol-icon svg, .service-icon svg, .card-icon svg,
.do-icon svg, .b-icon svg, .filter-icon svg, .value-icon svg,
.method-icon svg, .risk-icon svg, .scenario svg { width: 24px; height: 24px; stroke-width: 2; }

/* Footer social icons: render small */
.footer-social svg { width: 16px; height: 16px; stroke-width: 2; }

/* ─── CARDS (layered shadow system) ─── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  box-shadow:
    0 1px 0 rgba(13,31,60,0.04),
    0 1px 2px rgba(13,31,60,0.04);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s, border-color 0.25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(13,31,60,0.04),
    0 4px 12px rgba(13,31,60,0.06),
    0 16px 36px rgba(13,31,60,0.10),
    0 28px 64px -12px rgba(46,196,182,0.12);
  border-color: rgba(46,196,182,0.4);
}
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--teal-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card-title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 8px;
}
.card-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 12px;
}
.card-desc { font-size: 0.9rem; color: var(--slate); line-height: 1.65; }

/* ─── GRIDS ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ─── PROOF BAR (reusable trust strip) ─── */
.proof-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.proof-stat {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.proof-stat span { color: var(--teal); }
.proof-label { font-size: 0.82rem; color: var(--slate); margin-top: 8px; }

/* Proof checklist (3 spec items, centered) */
.proof-list {
  list-style: none;
  margin: 32px auto 0;
  max-width: 560px;
  display: flex; flex-direction: column;
  gap: 12px;
}
.proof-list li {
  display: flex; align-items: center; gap: 14px;
  font-size: 1.0625rem;
  color: var(--navy);
  font-weight: 500;
  padding: 14px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.proof-check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.proof-check svg { width: 16px; height: 16px; stroke-width: 3; }

/* ─── FINAL CTA BAND (reusable) ─── */
.cta-band {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 64px 0;
}
.cta-band::before {
  content: '';
  position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(46,196,182,0.14) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-band > .container { position: relative; }
.cta-band .cta-eyebrow { color: var(--teal); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.cta-band h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.25;
}
.cta-band p {
  font-size: var(--fs-body-lg);
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: var(--lh-body);
}
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* Light variant — for sections that need a softer break from surrounding white */
.cta-band--light { background: var(--off-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-band--light::before { background: radial-gradient(circle, rgba(46,196,182,0.10) 0%, transparent 60%); }
.cta-band--light h2 { color: var(--text); }
.cta-band--light p { color: var(--slate); }

/* ─── FOOTER ─── */
footer.site-footer {
  background: var(--blue);
  color: rgba(255,255,255,0.55);
  padding: 64px 64px 32px;
  font-size: var(--fs-body);
}
.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .footer-logo {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 6px;
  line-height: 1;
}
.footer-brand .footer-logo span { color: var(--teal); }
.footer-brand .footer-tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(46,196,182,0.7);
  margin-bottom: 16px;
}
.footer-tag { color: rgba(255,255,255,0.5); font-size: var(--fs-small); line-height: var(--lh-body); max-width: 320px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--teal); color: var(--white); }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.4);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46,196,182,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(46,196,182,0); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.animate { opacity: 0; }
.animate.visible { animation: fadeUp 0.65s cubic-bezier(0.22,1,0.36,1) forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ─── RESPONSIVE BREAKPOINTS ─── */
/* Desktop: > 1024px (default rules above)
   Tablet:  ≤ 1024px (proportional scaling)
   Mobile:  ≤ 768px  (single column, mobile nav)
   Small:   ≤ 540px  (tightest spacing) */

/* TABLET-ONLY (769–1024px) — proportional scale, no clash with inline mobile */
@media (min-width: 769px) and (max-width: 1024px) {
  nav.site-nav { padding: 0 40px; }
  .container { padding: 0 40px; }
  section { padding: 56px 0; }
  .page-hero { padding: 112px 0 56px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .proof-bar { gap: 24px; }
  footer.site-footer { padding: 56px 40px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  /* Page-specific multi-column grids reflow to 2-col on tablet */
  .pain-grid,
  .solution-cards,
  .trust-grid,
  .filter-grid,
  .engage-grid,
  .do-grid,
  .risks-grid,
  .values-grid,
  .tech-grid,
  .industries-grid,
  .posts-grid,
  .model-grid,
  .benefits-grid,
  .what-grid,
  .coverage-grid,
  .matters-grid { grid-template-columns: repeat(2, 1fr) !important; }
  /* 5-col process bars reflow to 3-col on tablet */
  .process-steps { grid-template-columns: repeat(3, 1fr) !important; }
  /* Hero / split layouts: tighten gaps */
  .hero-grid,
  .why-grid,
  .intro-grid,
  .story-grid,
  .method-grid,
  .report-grid,
  .contact-grid,
  .featured-post,
  .feature-cs,
  .newsletter { gap: 40px !important; }
}

/* MOBILE (≤ 768px) — single column, mobile nav */
@media (max-width: 768px) {
  nav.site-nav { padding: 0 24px; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(13,31,60,0.10);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.2s ease, visibility 0s linear 0.3s;
    margin: 0;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.3s ease, opacity 0.2s ease, visibility 0s linear 0s;
  }
  .nav-links > li { width: 100%; }
  .nav-links > li > a {
    display: flex; align-items: center;
    padding: 12px 8px;
    font-size: var(--fs-body);
    color: var(--navy);
    border-radius: 8px;
  }
  .nav-links > li > a:hover { background: var(--off-white); }
  .nav-links .nav-cta {
    margin-top: 8px;
    padding: 14px 24px !important;
    text-align: center;
    justify-content: center;
  }
  /* Hamburger → X animation */
  .nav-toggle { display: block; position: relative; width: 38px; height: 38px; }
  .nav-toggle span {
    position: absolute; left: 8px; right: 8px; margin: 0;
    transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
  }
  .nav-toggle span:nth-child(1) { top: 13px; }
  .nav-toggle span:nth-child(2) { top: 19px; }
  .nav-toggle span:nth-child(3) { top: 25px; }
  .nav-toggle.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }
  /* Lock body scroll when drawer open */
  body.nav-open { overflow: hidden; }
  .has-submenu > a .caret { margin-left: auto; }
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--off-white);
    padding: 4px;
    margin: 4px 0 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .submenu::before { display: none; }
  .has-submenu.open > .submenu { max-height: 360px; }
  .has-submenu.open > a .caret { transform: rotate(180deg); color: var(--teal); }
  .submenu a { padding: 12px 16px; font-size: var(--fs-body); }
  .container { padding: 0 24px; }
  section { padding: 40px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .page-hero { padding: 88px 0 32px; }
  /* Typography: lower bound of spec scale */
  .page-hero h1 { font-size: 2.5rem; line-height: 1.2; }
  .section-title { font-size: 1.875rem; line-height: 1.25; }
  .cta-band h2 { font-size: 1.875rem; line-height: 1.25; }
  .proof-bar { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 24px 0; }
  footer.site-footer { padding: 40px 24px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding-bottom: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  /* Buttons: full-width-friendly on small screens */
  .btn { padding: 16px 24px; }
  .cta-btns .btn { flex: 1 1 auto; min-width: 200px; justify-content: center; }
}

/* SMALL MOBILE (≤ 540px) — tightest */
@media (max-width: 540px) {
  .container { padding: 0 16px; }
  section { padding: 32px 0; }
  .page-hero { padding: 80px 0 24px; }
  .page-hero h1 { font-size: 2.25rem; }
  .section-title { font-size: 1.625rem; }
  .cta-band h2 { font-size: 1.625rem; }
  .proof-bar { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .btn { padding: 14px 20px; font-size: var(--fs-small); }
  .eyebrow-pill { font-size: 0.7rem; padding: 6px 12px; }
}

/* ─── INLINE STYLE UTILITIES (replace style="…" attributes) ─── */
.mb-0 { margin-bottom: 0 !important; }
.nowrap { white-space: nowrap; }
.fill-8 { width: 8%; }
.fill-18 { width: 18%; }
.fill-92 { width: 92%; }

/* ─── SERVICE TILE ILLUSTRATIONS (services.html) ─── */
.svc-visual-illus {
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  padding: 32px;
  background: linear-gradient(160deg, var(--off-white) 0%, var(--white) 70%);
}
.svc-block.highlight .svc-visual-illus {
  background: linear-gradient(160deg, var(--white) 0%, var(--teal-soft) 100%);
}
.svc-illustration {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 12px 28px rgba(13,31,60,0.10));
}
.svc-illus-caption {
  font-size: 0.85rem;
  color: var(--slate);
  text-align: center;
  line-height: 1.5;
  margin: 8px auto 0;
  max-width: 320px;
}

/* ─── ENGAGEMENT MODELS — services.html "How We Work With You" ─── */
#engage .section-label { color: var(--teal); }
#engage > .container > .centered { max-width: 720px; margin: 0 auto; }
#engage .section-sub { margin: 0 auto; }

#engage .engage-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
#engage .engage-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
#engage .engage-card:hover::before { transform: scaleX(1); }

.engage-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.engage-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.engage-icon svg { width: 24px; height: 24px; stroke-width: 2; }
.engage-card:hover .engage-icon { background: var(--teal); color: var(--white); transform: scale(1.06); }
.engage-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 6px 12px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 100px;
  white-space: nowrap;
}

#engage .engage-card > p {
  color: var(--slate);
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0;
}

.engage-list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 10px;
  padding: 16px 0 0;
  margin: 4px 0 0;
  border-top: 1px dashed var(--border);
}
.engage-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}
.engage-list li svg {
  width: 16px; height: 16px;
  color: var(--teal);
  stroke-width: 2.5;
  flex-shrink: 0;
}

.engage-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.engage-fit { font-size: 0.82rem; color: var(--slate); }
.engage-fit strong { color: var(--navy); font-weight: 600; }

/* Featured (middle) card */
.engage-card-featured {
  border-color: var(--teal) !important;
  background: linear-gradient(165deg, var(--teal-soft) 0%, var(--white) 60%) !important;
  box-shadow:
    0 1px 0 rgba(46,196,182,0.25) inset,
    0 1px 2px rgba(13,31,60,0.04),
    0 18px 40px -12px rgba(46,196,182,0.22) !important;
}
#engage .engage-card-featured::before { transform: scaleX(1); }
.engage-card-featured .engage-icon { background: var(--teal); color: var(--white); }
.engage-card-featured .engage-tag {
  background: var(--white);
  border-color: var(--teal-mid);
  color: var(--teal);
}
.engage-badge {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--teal);
  padding: 5px 11px;
  border-radius: 100px;
  box-shadow: 0 6px 14px rgba(46,196,182,0.40);
  z-index: 2;
}

/* Closing CTA strip */
.engage-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(13,31,60,0.04), 0 12px 32px -12px rgba(13,31,60,0.10);
}
.engage-cta-text { display: flex; flex-direction: column; gap: 4px; }
.engage-cta-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.engage-cta-text span {
  font-size: 0.88rem;
  color: var(--slate);
}
.engage-cta .btn svg { width: 16px; height: 16px; stroke-width: 2.4; }

@media (max-width: 1024px) {
  .engage-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .engage-tag { align-self: flex-start; }
}
@media (max-width: 768px) {
  .engage-cta { flex-direction: column; gap: 20px; padding: 24px; text-align: center; align-items: center; }
  .engage-cta-text { align-items: center; }
}

/* ─── HOMEPAGE (index.html) ─── */
#hero {
  padding: 128px 0 96px;
  position: relative;
  overflow: hidden;
  background: var(--white);
  isolation: isolate;
}

/* Hero background system — cinematic */
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.hero-bg::before {
  content: '';
  position: absolute;
  top: -300px; right: -200px;
  width: 1100px; height: 1100px;
  background: conic-gradient(from 180deg at 50% 50%,
    rgba(46,196,182,0.10) 0deg,
    rgba(46,196,182,0.16) 45deg,
    rgba(13,31,60,0.04) 120deg,
    rgba(46,196,182,0.10) 200deg,
    rgba(13,31,60,0.06) 280deg,
    rgba(46,196,182,0.10) 360deg);
  filter: blur(40px);
  border-radius: 50%;
  opacity: 0.85;
  animation: conicSpin 40s linear infinite;
}
@keyframes conicSpin { to { transform: rotate(360deg); } }

.hero-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.85;
  animation: orbDrift 18s ease-in-out infinite;
}
.hero-bg .orb-1 {
  top: -180px; right: -120px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(46,196,182,0.50) 0%, rgba(46,196,182,0) 70%);
}
.hero-bg .orb-2 {
  bottom: -200px; left: -140px;
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(30,58,95,0.40) 0%, rgba(30,58,95,0) 70%);
  animation-delay: -7s;
}
.hero-bg .orb-4 {
  top: 55%; right: 20%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(34,197,94,0.16) 0%, rgba(34,197,94,0) 70%);
  animation-delay: -3s;
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(50px, -40px) scale(1.08); }
  66%      { transform: translate(-40px, 30px) scale(0.94); }
}

.hero-bg .grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(13,31,60,0.10) 1px, transparent 0);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 75%);
  animation: gridDrift 60s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0; }
  to   { background-position: 32px 32px; }
}

.hero-bg::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--white));
  pointer-events: none;
}

#hero > .container { position: relative; z-index: 2; }
.hero-grid > * { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1); font-weight: 800;
  line-height: 1.08; letter-spacing: -0.03em;
  color: var(--navy); margin-bottom: 24px;
}
.hero-h1 em { font-style: normal; }
.hero-h1 em:not(.text-gradient) { color: var(--teal); }
.hero-sub {
  font-size: 1.1rem; color: var(--slate); line-height: 1.7;
  max-width: 480px; margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero Release Dashboard */
.hero-visual-wrap { position: relative; perspective: 1600px; }
.dash-glow {
  position: absolute;
  inset: -56px;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(46,196,182,0.30), transparent 55%),
    radial-gradient(ellipse at 70% 70%, rgba(30,58,95,0.18), transparent 55%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.release-dash {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 30px 60px -20px rgba(13,31,60,0.30),
    0 12px 24px -10px rgba(13,31,60,0.18),
    0 2px 6px rgba(13,31,60,0.05);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-4deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.release-dash:hover {
  transform: perspective(1600px) rotateY(-2deg) rotateX(1deg) translateY(-4px);
}

.float-card {
  position: absolute;
  z-index: 3;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 12px 32px -8px rgba(13,31,60,0.18),
    0 4px 8px rgba(13,31,60,0.06);
  font-size: 0.78rem;
  color: var(--navy);
  font-weight: 500;
  white-space: nowrap;
  animation: floatBob 5s ease-in-out infinite;
}
.float-card.f-1 {
  top: 10%; left: -36px;
  animation-delay: 0s;
}
.float-card.f-1 .fc-text strong { font-size: 0.95rem; letter-spacing: -0.01em; }
@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.float-card .fc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
  animation: pulseDotGreen 1.6s infinite;
  flex-shrink: 0;
}
.float-card .fc-text { line-height: 1.3; }
.float-card .fc-text strong { font-family: var(--font-display); font-weight: 700; color: var(--navy); display: block; font-size: 0.82rem; }
.float-card .fc-text small { color: var(--slate); font-size: 0.7rem; font-weight: 500; }

.hero-btns { position: relative; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-btns::before {
  content: '';
  position: absolute;
  top: 50%; left: 32px; transform: translateY(-50%);
  width: 240px; height: 56px;
  background: radial-gradient(ellipse at center, rgba(30,58,95,0.30), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
}

.scroll-cue {
  position: absolute;
  bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  z-index: 4;
  animation: scrollBounce 1.8s ease-in-out infinite;
  transition: color 0.2s ease;
}
.scroll-cue:hover { color: var(--navy); }
.scroll-cue:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 6px;
  border-radius: 4px;
}
.scroll-cue svg { width: 20px; height: 20px; stroke-width: 2.5; }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* Dashboard chrome */
.dash-header {
  display: flex; align-items: center; gap: 16px;
  padding: 16px;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.dash-dots span:nth-child(3) { background: var(--green); }
.dash-title {
  flex: 1;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  letter-spacing: -0.005em;
}
.dash-title em { font-style: normal; color: var(--slate); font-weight: 500; }
.dash-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--green);
  background: rgba(34,197,94,0.1);
  padding: 4px 10px;
  border-radius: 100px;
}
.dash-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulseDotGreen 1.6s infinite;
}
@keyframes pulseDotGreen {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
  50%      { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

/* Pipeline */
.dash-pipeline {
  display: flex; align-items: center;
  padding: 24px;
  gap: 8px;
  background: var(--white);
}
.pipe-node { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 0 0 auto; }
.pipe-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--off-white);
  border: 2px solid var(--border);
  color: var(--slate);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.pipe-circle svg { width: 18px; height: 18px; }
.pipe-node.is-done .pipe-circle {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.pipe-node.is-active .pipe-circle {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  animation: pulseRing 2s infinite;
}
@keyframes pulseRing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46,196,182,0.5); }
  50%      { box-shadow: 0 0 0 8px rgba(46,196,182,0); }
}
.pipe-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}
.pipe-node.is-done .pipe-label,
.pipe-node.is-active .pipe-label { color: var(--navy); }
.pipe-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.pipe-line.is-done { background: var(--green); }
.pipe-line.is-active { background: var(--border); }
.pipe-line.is-active::after {
  content: '';
  position: absolute; top: 0; left: 0; height: 100%; width: 50%;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  animation: pipeFlow 1.6s infinite linear;
}
@keyframes pipeFlow {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

/* Metrics row */
.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 24px 24px;
}
.metric {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.metric-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}
.metric-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.metric-unit { font-size: 0.65rem; font-weight: 600; color: var(--slate); margin-left: 2px; }
.metric-value.risk-pill {
  display: inline-block;
  font-size: 0.85rem;
  padding: 4px 10px;
  background: rgba(34,197,94,0.12);
  color: var(--green);
  border-radius: 6px;
  letter-spacing: 0.06em;
  align-self: flex-start;
}
.metric-bar {
  height: 4px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.metric-bar i {
  display: block; height: 100%;
  background: var(--teal);
  border-radius: 100px;
  animation: barGrow 1.2s cubic-bezier(0.22,1,0.36,1) forwards;
}
.metric:first-child .metric-bar i { background: var(--green); }
.metric:last-child .metric-bar i { background: var(--green); }
@keyframes barGrow {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}

/* Verdict banner */
.dash-verdict {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--navy), #14264a);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.dash-verdict::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(46,196,182,0.25), transparent 60%);
  pointer-events: none;
}
.verdict-icon {
  width: 32px; height: 32px;
  color: var(--green);
  flex-shrink: 0;
  position: relative;
}
.verdict-icon svg { width: 32px; height: 32px; }
.verdict-text {
  flex: 1;
  display: flex; flex-direction: column; gap: 2px;
  position: relative;
  min-width: 0;
}
.verdict-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.verdict-line {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}
.verdict-stamp {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--white);
  background: var(--green);
  padding: 6px 14px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(34,197,94,0.4);
  position: relative;
}

/* Problem section */
#problem {
  background: var(--white);
  position: relative;
  overflow: hidden;
  padding: 96px 0 112px;
}
.problem-grid-bg {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, #000 35%, transparent 100%);
          mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, #000 35%, transparent 100%);
}
#problem::before,
#problem::after {
  content: '';
  position: absolute;
  width: 640px; height: 640px;
  background: radial-gradient(circle at center, var(--teal-soft) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
#problem::before { top: -240px; left: -240px; }
#problem::after  { bottom: -240px; right: -240px; }
#problem .container { position: relative; z-index: 1; }
#problem .section-label { color: var(--teal); }
#problem .section-title { color: var(--navy); }
#problem .section-title em { font-style: normal; color: var(--teal); }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 64px 0 0;
  position: relative;
}
.pain-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  min-height: 180px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(13,31,60,0.04),
    0 4px 12px rgba(13,31,60,0.05);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), border-color 0.3s, box-shadow 0.3s;
}
.pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.pain-card:hover {
  border-color: var(--teal);
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(13,31,60,0.04),
    0 8px 16px rgba(13,31,60,0.06),
    0 24px 48px -12px rgba(46,196,182,0.18);
}
.pain-card:hover::before { transform: scaleX(1); }
.pain-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.pain-icon svg { width: 26px; height: 26px; }
.pain-card:hover .pain-icon {
  background: var(--teal);
  color: var(--white);
  transform: scale(1.06);
}
.pain-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.005em;
  line-height: 1.35;
}
.pain-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 28px; right: 28px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.pain-card:hover::after { transform: scaleX(1); }

.problem-punch {
  position: relative;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.875rem);
  font-weight: 500;
  color: var(--navy);
  padding: 80px 32px 0;
  margin: 64px auto 0;
  letter-spacing: -0.015em;
  line-height: 1.4;
  max-width: 760px;
}
.problem-punch .quote-mark {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  opacity: 0.4;
}
.problem-punch em {
  font-style: normal;
  font-weight: 700;
  color: var(--teal);
}
.problem-punch::after {
  content: '';
  display: block;
  width: 40px; height: 2px;
  background: var(--teal);
  margin: 32px auto 0;
  border-radius: 2px;
}

/* Solution */
#solution { position: relative; }
.solution-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 48px 0; position: relative; }
.sol-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px 24px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(13,31,60,0.04),
    0 1px 2px rgba(13,31,60,0.04);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s, border-color 0.25s;
}
.sol-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  opacity: 0;
  transition: opacity 0.3s;
}
.sol-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(13,31,60,0.04),
    0 4px 12px rgba(13,31,60,0.06),
    0 16px 36px rgba(13,31,60,0.10),
    0 28px 64px -12px rgba(46,196,182,0.18);
  border-color: rgba(46,196,182,0.4);
}
.sol-card:hover::before { opacity: 1; }
.sol-num {
  font-family: var(--font-display);
  font-size: 3.5rem; font-weight: 800;
  background: linear-gradient(135deg, rgba(46,196,182,0.18), rgba(13,31,60,0.05));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  position: absolute;
  top: 16px; right: 24px; line-height: 1;
  letter-spacing: -0.04em;
}
.sol-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal);
  display: inline-flex;
  align-items: center; justify-content: center;
  margin-bottom: 16px;
  transition: background 0.25s, color 0.25s;
}
.sol-icon svg { width: 22px; height: 22px; }
.sol-card:hover .sol-icon { background: var(--teal); color: var(--white); }
.sol-title {
  font-family: var(--font-display);
  font-size: var(--fs-h3); font-weight: 700;
  color: var(--navy); margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.sol-outcome {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 4px 10px;
  background: var(--teal-soft);
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 16px;
}
.sol-card-feature {
  border-color: var(--teal);
  background: linear-gradient(155deg, var(--teal-soft) 0%, var(--white) 60%);
  box-shadow:
    0 1px 0 rgba(46,196,182,0.2) inset,
    0 1px 0 rgba(13,31,60,0.04),
    0 1px 2px rgba(13,31,60,0.04),
    0 12px 32px -8px rgba(46,196,182,0.16);
}
.sol-card-feature::before { opacity: 1; }
.sol-card-feature .sol-icon { background: var(--teal); color: var(--white); }
.sol-card-feature .sol-num {
  background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  opacity: 0.45;
}
.centered-cta { text-align: center; margin-top: 16px; }

/* Services */
#services { background: var(--off-white); }
.services-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  cursor: pointer; text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(13,31,60,0.04),
    0 1px 2px rgba(13,31,60,0.04);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s, border-color 0.25s;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle at top right, rgba(46,196,182,0.10), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(13,31,60,0.04),
    0 4px 12px rgba(13,31,60,0.06),
    0 16px 36px rgba(13,31,60,0.10),
    0 28px 64px -12px rgba(46,196,182,0.18);
  border-color: rgba(46,196,182,0.4);
}
.service-card:hover::after { opacity: 1; }
.service-card.featured {
  border-color: var(--teal);
  background: linear-gradient(155deg, var(--teal-soft) 0%, var(--white) 60%);
  box-shadow:
    0 1px 0 rgba(46,196,182,0.2) inset,
    0 1px 0 rgba(13,31,60,0.04),
    0 1px 2px rgba(13,31,60,0.04),
    0 12px 32px -8px rgba(46,196,182,0.16);
}
.service-card.featured::before {
  content: 'Signature';
  position: absolute;
  top: 16px; right: -32px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--teal);
  padding: 4px 32px;
  transform: rotate(35deg);
  box-shadow: 0 4px 12px rgba(46,196,182,0.35);
}
.service-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--off-white);
  color: var(--teal);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card:hover .service-icon { background: var(--teal); color: var(--white); transform: scale(1.06); }
.service-card.featured .service-icon { background: var(--teal); color: var(--white); }
.service-name {
  font-family: var(--font-display);
  font-size: var(--fs-h3); font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.service-tagline {
  font-size: 0.78rem;
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--navy); margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
  transition: color 0.2s;
}
.service-link::after {
  content: '→';
  display: inline-block;
  font-weight: 800;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1);
}
.service-card:hover .service-link { color: var(--teal); }
.service-card:hover .service-link::after { transform: translateX(6px); }

/* Why Inevitable — 4 differentiator cards */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.why-card {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46,196,182,0.4);
  box-shadow: 0 16px 40px rgba(13,31,60,0.08);
}
.why-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-soft);
  color: var(--teal);
  flex-shrink: 0;
}
.why-icon svg { width: 24px; height: 24px; stroke-width: 2; }
.why-card-body { flex: 1; min-width: 0; }
.why-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.01em;
}

/* Trust */
#trust { background: var(--off-white); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.trust-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.trust-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.08); }
.trust-metric {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 800;
  color: var(--navy); margin-bottom: 8px; line-height: 1.1;
}
.trust-metric span { color: var(--teal); }
.trust-desc { font-size: 0.9rem; color: var(--slate); line-height: 1.6; }

/* Homepage tablet */
@media (max-width: 1024px) {
  #hero { padding: 112px 0 80px; }
  .hero-grid { gap: 48px; }
  .hero-bg::before { width: 800px; height: 800px; right: -150px; }
  .hero-bg .orb-4 { display: none; }
  .float-card.f-1 { left: 4px; }
  .float-card { font-size: 0.72rem; padding: 10px 12px; }
  .float-card.f-1 .fc-text strong { font-size: 0.85rem; }
  .release-dash { transform: perspective(1600px) rotateY(-2deg) rotateX(1deg); }
}

/* Homepage mobile */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-h1 { font-size: clamp(2.25rem, 8vw, 2.75rem); line-height: 1.1; margin-bottom: 16px; }
  .hero-sub { font-size: 1rem; margin-bottom: 24px; }
  #hero { padding: 88px 0 32px; }
  .section-sub { margin-bottom: 24px !important; }
  .solution-cards { margin: 24px 0; gap: 16px; }
  .services-grid { margin-top: 24px; gap: 16px; }
  .trust-grid { margin-top: 24px; gap: 16px; }
  .why-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .why-card { padding: 20px; gap: 16px; }
  .why-icon { width: 40px; height: 40px; border-radius: 10px; }
  .why-icon svg { width: 20px; height: 20px; }
  .hero-bg::before { display: none; }
  .hero-bg .orb { filter: blur(48px); }
  .hero-bg .orb-1 { width: 320px; height: 320px; top: -60px; right: -80px; }
  .hero-bg .orb-2 { width: 280px; height: 280px; bottom: -60px; left: -80px; }
  .hero-bg .orb-4 { display: none; }
  .hero-bg .grid { -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black 10%, transparent 75%); }
  .release-dash { transform: none; }
  .float-card { display: none; }
  .scroll-cue { display: none; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { justify-content: center; width: 100%; }
  .hero-btns::before { display: none; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0 0; }
  .solution-cards { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .pain-card { padding: 24px 16px; min-height: 160px; gap: 14px; }
  .pain-card .pain-icon { width: 52px; height: 52px; }
  .pain-card .pain-icon svg { width: 22px; height: 22px; }
  .pain-card .pain-title { font-size: 0.95rem; }
  .problem-punch { font-size: clamp(1.25rem, 5vw, 1.5rem); padding-top: 48px; }
  .problem-punch .quote-mark { font-size: 4rem; }
  .dash-pipeline { padding: 20px 16px; gap: 4px; }
  .pipe-circle { width: 34px; height: 34px; }
  .pipe-circle svg { width: 16px; height: 16px; }
  .pipe-label { font-size: 0.65rem; }
  .pipe-line { margin-bottom: 18px; }
  .dash-metrics { padding: 0 16px 16px; gap: 8px; }
  .metric { padding: 12px; }
  .metric-value { font-size: 1.25rem; }
  .dash-verdict { padding: 16px; gap: 10px; }
  .verdict-line { font-size: 0.85rem; }
}

/* Homepage small mobile */
@media (max-width: 540px) {
  #hero { padding: 80px 0 24px; }
  .hero-h1 { font-size: clamp(2rem, 9vw, 2.5rem); margin-bottom: 12px; }
  .hero-sub { margin-bottom: 20px; }
  .hero-grid { gap: 24px; }
  .why-grid { gap: 10px; margin-top: 20px; }
  .why-card { padding: 16px; gap: 14px; }
  .section-sub { margin-bottom: 20px !important; }
  .solution-cards { margin: 20px 0; }
  .services-grid, .trust-grid { margin-top: 20px; }
  .problem-punch { padding-top: 40px; }
  .hero-bg .orb-1 { width: 240px; height: 240px; }
  .hero-bg .orb-2 { width: 220px; height: 220px; }
  .pain-grid { grid-template-columns: 1fr; }
}

/* =================================================================
   PAGE-SPECIFIC STYLES — moved from inline <style> blocks
   Conflicting selectors (.intro-grid, .do-*, #process, .process-*)
   are scoped under body classes (.p-cloud, .p-func, .p-dqr,
   .p-manual, .p-rrt) to prevent collisions.
   ================================================================= */

/* ─── 404 PAGE (404.html) ─── */
.notfound {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 96px 24px;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}
.notfound-inner { max-width: 560px; }
.notfound-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 8rem);
  font-weight: 800;
  line-height: 1;
  color: var(--teal);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.notfound h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.notfound p { color: var(--slate); font-size: var(--fs-body-lg); line-height: var(--lh-body); margin-bottom: 32px; }
.notfound .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── ABOUT (about.html) ─── */
.story-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
.story-text h2 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 700; color: var(--navy); line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 24px; }
.story-text p { color: var(--slate); line-height: 1.75; font-size: 1.05rem; margin-bottom: 16px; }
.story-text strong { color: var(--navy); }
.story-visual { background: var(--navy); border-radius: 24px; padding: 48px 40px; color: var(--white); }
.story-visual h4 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.story-visual .sub { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 24px; }
.story-stat { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; align-items: flex-end; gap: 6px; }
.story-stat:last-child { border-bottom: none; }
.story-stat .num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--teal); line-height: 1; }
.story-stat .unit { font-size: 0.95rem; font-weight: 600; color: var(--teal); margin-bottom: 4px; }
.story-stat .lbl { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin-left: auto; text-align: right; max-width: 160px; line-height: 1.4; }

#values { background: var(--off-white); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.value-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 24px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.value-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); border-color: var(--teal); }
.value-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 20px; }
.value-card h3 { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--navy); margin-bottom: 8px; }
.value-card p { color: var(--slate); font-size: 0.9rem; line-height: 1.65; }

.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.method-list { display: flex; flex-direction: column; gap: 16px; }
.method-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 24px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); }
.method-row .num { font-family: var(--font-display); font-size: 0.9rem; font-weight: 800; color: var(--teal); flex-shrink: 0; min-width: 28px; }
.method-row strong { font-family: var(--font-display); color: var(--navy); display: block; margin-bottom: 4px; }
.method-row span { color: var(--slate); font-size: 0.88rem; line-height: 1.55; }

#tech { background: var(--navy); color: var(--white); }
#tech .section-label { color: var(--teal); }
#tech .section-title { color: var(--white); }
#tech .section-sub { color: rgba(255,255,255,0.6); }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.tech-pill { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 16px 24px; font-size: 0.92rem; color: var(--white); font-weight: 600; text-align: center; transition: background 0.2s, border-color 0.2s; }
.tech-pill:hover { background: rgba(46,196,182,0.12); border-color: var(--teal); }

.industries-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 48px; }
.ind-pill { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 24px 16px; text-align: center; font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--navy); transition: transform 0.2s, border-color 0.2s, color 0.2s; }
.ind-pill:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-3px); }

.shift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.shift-col { padding: 32px; border-radius: 16px; }
.shift-col.before { background: var(--off-white); border: 1px solid var(--border); }
.shift-col.after { background: linear-gradient(135deg, var(--teal-soft), var(--white)); border: 1px solid var(--teal-mid); }
.shift-col h4 { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.shift-col.before h4 { color: var(--slate); }
.shift-col.after h4 { color: var(--teal); }
.shift-col ul { list-style: none; }
.shift-col li { padding: 10px 0; padding-left: 28px; position: relative; color: var(--text); font-size: 0.95rem; border-bottom: 1px solid rgba(0,0,0,0.05); }
.shift-col li:last-child { border-bottom: none; }
.shift-col.before li::before { content: '\2717'; position: absolute; left: 0; color: var(--slate); font-weight: 700; }
.shift-col.after li::before { content: '\2713'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* About process intro (replaces inline-styled h2/p block) */
.process-intro h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.process-intro p {
  color: var(--slate);
  line-height: 1.75;
  font-size: 1rem;
  margin-bottom: 16px;
}
.process-intro p:last-child { margin-bottom: 0; }

/* ─── BLOG (blog.html) ─── */
.featured-post { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; margin-top: 48px; padding: 48px; border: 1px solid var(--border); border-radius: 24px; background: linear-gradient(135deg, var(--off-white), var(--white)); }
.featured-post .meta-row { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.tag-pill { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; background: var(--teal-soft); color: var(--teal); border-radius: 6px; }
.tag-pill.alt { background: var(--off-white); color: var(--slate); }
.read-time { font-size: 0.82rem; color: var(--slate); }
.featured-post h2 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 800; color: var(--navy); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 16px; }
.featured-post p { color: var(--slate); line-height: 1.7; margin-bottom: 24px; font-size: 1rem; }
.author-row { display: flex; gap: 12px; align-items: center; padding-top: 16px; border-top: 1px solid var(--border); }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; }
.author-name { font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.author-date { font-size: 0.78rem; color: var(--slate); }
.featured-cover { background: var(--navy); border-radius: 16px; aspect-ratio: 4/3; padding: 32px; color: var(--white); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.featured-cover::before { content: ''; position: absolute; top: -100px; right: -100px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(46,196,182,0.25) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.featured-cover .cover-num { font-family: var(--font-display); font-size: 4rem; font-weight: 800; color: var(--teal); line-height: 1; opacity: 0.85; position: relative; }
.featured-cover .cover-text { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; line-height: 1.2; position: relative; }

.cats { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 48px; margin-bottom: 48px; }
.cat-btn { padding: 8px 16px; border-radius: 100px; border: 1px solid var(--border); background: var(--white); color: var(--slate); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: var(--font-body); }
.cat-btn:hover, .cat-btn.active { border-color: var(--teal); color: var(--teal); background: var(--teal-soft); }
.cat-btn .count { display: inline-block; margin-left: 6px; font-size: 0.72rem; padding: 1px 7px; border-radius: 100px; background: var(--off-white); color: var(--slate); font-weight: 700; }
.cat-btn:hover .count, .cat-btn.active .count { background: var(--teal); color: var(--white); }

.post-card.is-hidden { display: none !important; }
.post-card.is-fresh {
  opacity: 0;
  transform: translateY(24px);
  animation: postFadeUp 0.55s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes postFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.load-more-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 48px; transition: opacity 0.3s; }
.load-more-wrap.is-done { opacity: 0; pointer-events: none; height: 0; margin-top: 0; overflow: hidden; }
.load-more-status { font-size: 0.88rem; color: var(--slate); font-weight: 500; letter-spacing: 0.02em; transition: color 0.3s; }
.load-more-status strong { color: var(--navy); font-weight: 700; transition: color 0.3s; }

.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 38px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  position: relative;
  min-width: 220px;
  justify-content: center;
}
.load-more-btn .lm-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 18px; height: 18px;
  font-weight: 800;
  font-size: 1rem;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1);
}
.load-more-btn:hover .lm-icon { transform: translateY(3px); }
.load-more-btn.is-loading { pointer-events: none; }
.load-more-btn.is-loading .lm-icon {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  font-size: 0;
  animation: lmSpin 0.7s linear infinite;
  transform: none;
}
@keyframes lmSpin { to { transform: rotate(360deg); } }

.load-more-progress {
  width: 260px;
  height: 4px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.load-more-progress-bar {
  position: absolute; top: 0; left: 0; bottom: 0;
  background: linear-gradient(90deg, var(--teal), #1fa295);
  border-radius: 100px;
  width: 0;
  transition: width 0.55s cubic-bezier(0.22,1,0.36,1);
}

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; cursor: pointer; text-decoration: none; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); border-color: var(--teal); }
.post-thumb { aspect-ratio: 16/9; padding: 24px; display: flex; align-items: flex-end; position: relative; overflow: hidden; }
.post-thumb.t1 { background: linear-gradient(135deg, var(--navy), var(--blue)); color: var(--white); }
.post-thumb.t2 { background: linear-gradient(135deg, var(--blue), var(--teal)); color: var(--white); }
.post-thumb.t3 { background: linear-gradient(135deg, #14503f, var(--green)); color: var(--white); }
.post-thumb.t4 { background: linear-gradient(135deg, var(--navy), var(--teal)); color: var(--white); }
.post-thumb.t5 { background: linear-gradient(135deg, var(--teal), var(--green)); color: var(--white); }
.post-thumb.t6 { background: linear-gradient(135deg, var(--blue), #14264a); color: var(--white); }
.post-thumb-tag { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,0.2); backdrop-filter: blur(8px); color: white; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.2); }
.post-thumb-num { font-family: var(--font-display); font-size: 3rem; font-weight: 800; opacity: 0.85; line-height: 1; }
.post-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.post-body h3 { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.post-body p { color: var(--slate); font-size: 0.88rem; line-height: 1.65; flex-grow: 1; margin-bottom: 16px; }
.post-meta { display: flex; gap: 10px; align-items: center; padding-top: 16px; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--slate); }

.newsletter { background: var(--navy); border-radius: 24px; padding: 56px; color: var(--white); display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; margin: 64px 0; position: relative; overflow: hidden; }
.newsletter::before { content: ''; position: absolute; top: -100px; left: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(46,196,182,0.2) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.newsletter h3 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 700; color: var(--white); margin-bottom: 16px; line-height: 1.2; position: relative; }
.newsletter p { color: rgba(255,255,255,0.7); font-size: 0.95rem; line-height: 1.65; position: relative; }
.newsletter-form { display: flex; gap: 10px; position: relative; }
.newsletter-form input { flex-grow: 1; padding: 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.05); color: var(--white); font-family: var(--font-body); font-size: 0.95rem; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { outline: none; border-color: var(--teal); }
.newsletter-success { color: var(--teal); font-weight: 600; padding: 16px; }

/* ─── CASE STUDIES (case-studies.html) ─── */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 48px; margin-bottom: 48px; justify-content: center; }
.filter-btn { padding: 8px 16px; border-radius: 100px; border: 1px solid var(--border); background: var(--white); color: var(--slate); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: var(--font-body); }
.filter-btn:hover, .filter-btn.active { border-color: var(--teal); color: var(--teal); background: var(--teal-soft); }

.cs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cs-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; cursor: pointer; text-decoration: none; display: flex; flex-direction: column; }
.cs-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.08); border-color: var(--teal); }
.cs-thumb { height: 200px; background: linear-gradient(135deg, var(--navy), var(--blue)); position: relative; overflow: hidden; }
.cs-thumb.t-saas   { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.cs-thumb.t-ecom   { background: linear-gradient(135deg, var(--blue), var(--teal)); }
.cs-thumb.t-bank   { background: linear-gradient(135deg, #14503f, var(--green)); }
.cs-thumb.t-health { background: linear-gradient(135deg, var(--navy), var(--teal)); }
.cs-thumb.t-edu    { background: linear-gradient(135deg, var(--teal), var(--green)); }
.cs-thumb.t-gaming { background: linear-gradient(135deg, var(--blue), #14264a); }
.cs-thumb-tag { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,0.18); backdrop-filter: blur(8px); color: var(--white); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 12px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.2); }
.cs-thumb-result { position: absolute; bottom: 20px; left: 20px; right: 20px; color: var(--white); }
.cs-thumb-result .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.cs-thumb-result .lbl { font-size: 0.82rem; opacity: 0.85; margin-top: 4px; }
.cs-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.cs-body h3 { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--navy); margin-bottom: 12px; line-height: 1.3; }
.cs-body p { color: var(--slate); font-size: 0.9rem; line-height: 1.65; margin-bottom: 16px; flex-grow: 1; }
.cs-meta { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--border); }
.cs-tag { font-size: 0.72rem; font-weight: 600; color: var(--slate); padding: 4px 10px; background: var(--off-white); border-radius: 100px; }

.feature-cs { background: linear-gradient(135deg, var(--navy), #14264a); border-radius: 24px; padding: 56px; color: var(--white); margin-top: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; position: relative; overflow: hidden; }
.feature-cs::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(46,196,182,0.2) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.feature-cs .tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; padding: 6px 12px; background: var(--teal); color: var(--white); border-radius: 6px; margin-bottom: 16px; position: relative; }
.feature-cs h2 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; color: var(--white); margin-bottom: 20px; position: relative; }
.feature-cs p { color: rgba(255,255,255,0.7); line-height: 1.7; font-size: 1rem; margin-bottom: 24px; position: relative; }
.feature-cs .stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; position: relative; }
.feature-cs .stat { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 24px; }
.feature-cs .stat-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--teal); line-height: 1; margin-bottom: 8px; }
.feature-cs .stat-lbl { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.4; }

.testimonial-block { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 32px; position: relative; }
.testimonial-eyebrow { font-family: var(--font-display); font-size: 0.78rem; color: var(--teal); letter-spacing: 0.1em; margin-bottom: 16px; text-transform: uppercase; }
.testimonial-quote { color: rgba(255,255,255,0.85); font-size: 1rem; line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; color: var(--white); }
.testimonial-name { color: var(--white); font-weight: 700; font-size: 0.92rem; }
.testimonial-meta { color: rgba(255,255,255,0.55); font-size: 0.82rem; }

/* ─── CONTACT (contact.html) ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: flex-start; }
.contact-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 40px; box-shadow: 0 24px 60px rgba(0,0,0,0.06); }
.contact-form-wrap h2 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.contact-form-wrap > p { color: var(--slate); font-size: 0.95rem; margin-bottom: 24px; line-height: 1.6; }
.field-row { margin-bottom: 16px; }
.field-row.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; letter-spacing: 0.02em; }
.field-row input, .field-row textarea, .field-row select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body); font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field-row input:focus, .field-row textarea:focus, .field-row select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
}
.field-row textarea { resize: vertical; min-height: 110px; font-family: var(--font-body); }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
.checkbox-row input { margin-top: 4px; }
.checkbox-row label { font-size: 0.82rem; color: var(--slate); line-height: 1.5; }
.btn-submit { width: 100%; }

.contact-info > .section-label { margin-bottom: 12px; }
.contact-info h2 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 800; color: var(--navy); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 16px; }
.contact-info .lead { color: var(--slate); font-size: 1.02rem; line-height: 1.7; margin-bottom: 32px; }

.method-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 24px; margin-bottom: 16px; display: flex; gap: 16px; align-items: center; transition: border-color 0.2s, transform 0.2s; }
.method-card:hover { border-color: var(--teal); transform: translateX(4px); }
.method-card .method-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.method-card .lbl { font-size: 0.78rem; color: var(--slate); margin-bottom: 2px; letter-spacing: 0.04em; text-transform: uppercase; }
.method-card .val { font-family: var(--font-display); font-size: 1rem; color: var(--navy); font-weight: 700; text-decoration: none; }

.contact-info-h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); margin-top: 32px; margin-bottom: 4px; }
.contact-info-sub { color: var(--slate); font-size: 0.9rem; }

.offices-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
.office-card { background: var(--off-white); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.office-flag { font-size: 1.6rem; margin-bottom: 8px; }
.office-card h4 { font-family: var(--font-display); font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.office-card p { color: var(--slate); font-size: 0.85rem; line-height: 1.55; }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.faq-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.faq-card h4 { font-family: var(--font-display); font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.faq-card p { color: var(--slate); font-size: 0.92rem; line-height: 1.65; }

.form-success {
  display: none;
  margin-top: 16px;
  padding: 16px;
  background: rgba(34,197,94,0.08);
  border-left: 3px solid var(--green);
  border-radius: 0 8px 8px 0;
  color: var(--navy);
  font-size: 0.92rem;
}

/* ─── SHARED service-detail intro/do/process (cloud + functional defaults) ─── */
.intro-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
.intro-text h2 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 700; color: var(--navy); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 20px; }
.intro-text p { color: var(--slate); line-height: 1.75; font-size: 1.02rem; margin-bottom: 16px; }
.intro-text strong { color: var(--navy); }
.intro-visual { background: var(--off-white); border: 1px solid var(--border); border-radius: 20px; padding: 32px; }

#what-we-do { background: var(--off-white); }
.do-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.do-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 24px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.do-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); border-color: var(--teal); }
.do-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; }
.do-card h3 { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--navy); margin-bottom: 8px; }
.do-card p { color: var(--slate); font-size: 0.88rem; line-height: 1.65; }

#process { background: var(--navy); color: var(--white); }
#process .section-label { color: var(--teal); }
#process .section-title { color: var(--white); }
#process .section-sub { color: rgba(255,255,255,0.6); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; counter-reset: step; }
.process-step { counter-increment: step; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 24px; }
.process-step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--teal); letter-spacing: 0.1em; display: block; margin-bottom: 8px; }
.process-step h4 { font-family: var(--font-display); font-size: 0.95rem; color: var(--white); margin-bottom: 8px; }
.process-step p { color: rgba(255,255,255,0.55); font-size: 0.82rem; line-height: 1.55; }

/* ─── CLOUD MIGRATION TESTING (cloud-migration-testing.html → body.p-cloud) ─── */
.cluster { display: grid; grid-template-columns: 1fr 36px 1fr; gap: 12px; align-items: center; padding: 16px 0; }
.cluster:not(:last-child) { border-bottom: 1px solid var(--border); }
.cluster-side { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 16px; text-align: center; }
.cluster-side h4 { font-family: var(--font-display); font-size: 0.82rem; color: var(--navy); margin-bottom: 4px; }
.cluster-side p { color: var(--slate); font-size: 0.74rem; margin: 0; }
.cluster-side.target { border-color: var(--teal); background: var(--teal-soft); }
.cluster-side.target h4 { color: var(--teal); }
.cluster-arrow { text-align: center; color: var(--teal); font-weight: 800; font-size: 1.1rem; }

.scenarios-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.scenario { padding: 32px; border: 1px solid var(--border); border-radius: 16px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.scenario:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: 0 12px 36px rgba(0,0,0,0.06); }
.scenario-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; background: var(--teal-soft); color: var(--teal); border-radius: 6px; margin-bottom: 16px; }
.scenario h3 { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.scenario p { color: var(--slate); font-size: 0.92rem; line-height: 1.65; margin-bottom: 16px; }
.scenario ul { list-style: none; }
.scenario ul li { padding: 8px 0; padding-left: 22px; position: relative; font-size: 0.85rem; color: var(--text); }
.scenario ul li::before { content: '\2192'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

.risks-section { background: var(--navy); color: var(--white); }
.risks-section .section-label { color: var(--teal); }
.risks-section .section-title { color: var(--white); }
.risks-section .section-sub { color: rgba(255,255,255,0.6); }
.risks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.risk-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 24px; transition: background 0.2s, transform 0.2s; }
.risk-card:hover { background: rgba(46,196,182,0.08); transform: translateY(-4px); }
.risks-section .risk-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.risk-card h4 { font-family: var(--font-display); font-size: 0.98rem; color: var(--white); margin-bottom: 8px; }
.risk-card p { color: rgba(255,255,255,0.6); font-size: 0.85rem; line-height: 1.6; }

/* Cloud-specific: process becomes light, 5-col steps */
.p-cloud #process { background: var(--off-white); color: var(--text); }
.p-cloud #process .section-title { color: var(--navy); }
.p-cloud #process .section-sub { color: var(--slate); }
.p-cloud .process-steps { grid-template-columns: repeat(5, 1fr); }
.p-cloud .process-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: transform 0.2s, border-color 0.2s;
}
.p-cloud .process-step:hover { transform: translateY(-3px); border-color: var(--teal); }
.p-cloud .process-step h4 { color: var(--navy); }
.p-cloud .process-step p { color: var(--slate); }

/* ─── FUNCTIONAL TESTING (functional-testing.html → body.p-func) ─── */
.p-func .intro-visual { padding: 40px; }
.fact { padding: 16px 0; border-bottom: 1px solid var(--border); }
.fact:last-child { border-bottom: none; }
.fact-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--teal); line-height: 1; margin-bottom: 4px; }
.fact-label { font-size: 0.88rem; color: var(--slate); }

.coverage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.coverage-row { display: flex; gap: 16px; padding: 16px 24px; border: 1px solid var(--border); border-radius: 10px; background: var(--white); }
.coverage-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; margin-top: 8px; }
.coverage-row strong { font-family: var(--font-display); color: var(--navy); display: block; margin-bottom: 4px; }
.coverage-row span { color: var(--slate); font-size: 0.88rem; line-height: 1.55; }

/* ─── DEDICATED QA RESOURCES (dedicated-qa-resources.html → body.p-dqr) ─── */
.p-dqr .intro-grid { grid-template-columns: 1fr 1fr; }
.intro-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat-tile { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 24px; text-align: center; }
.stat-tile.pink { background: var(--teal); color: var(--white); border: none; }
.stat-tile.navy { background: var(--navy); color: var(--white); border: none; }
.stat-tile .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; line-height: 1; margin-bottom: 8px; color: var(--navy); }
.stat-tile.pink .num, .stat-tile.navy .num { color: var(--white); }
.stat-tile .lbl { font-size: 0.85rem; color: var(--slate); }
.stat-tile.pink .lbl, .stat-tile.navy .lbl { color: rgba(255,255,255,0.75); }

#models { background: var(--off-white); }
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.model-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 24px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; display: flex; flex-direction: column; }
.model-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); border-color: var(--teal); }
.model-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); padding: 4px 10px; background: var(--teal-soft); border-radius: 6px; margin-bottom: 16px; align-self: flex-start; }
.model-card h3 { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--navy); margin-bottom: 12px; }
.model-card p { color: var(--slate); font-size: 0.92rem; line-height: 1.7; margin-bottom: 20px; }
.model-list { list-style: none; }
.model-list li { padding: 8px 0; padding-left: 24px; position: relative; font-size: 0.88rem; color: var(--text); }
.model-list li::before { content: '\2713'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.benefit { display: flex; gap: 16px; padding: 24px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); }
.benefit .b-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; font-weight: 700; flex-shrink: 0; }
.benefit h4 { font-family: var(--font-display); font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.benefit p { color: var(--slate); font-size: 0.88rem; line-height: 1.6; }

.process-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; counter-reset: step; }
.process-3 .step { counter-increment: step; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 32px; }
.process-3 .step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--teal); display: block; margin-bottom: 16px; line-height: 1; }
.process-3 .step h4 { font-family: var(--font-display); font-size: 1.1rem; color: var(--white); margin-bottom: 8px; }
.process-3 .step p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.65; }

/* ─── MANUAL QA SERVICES (manual-qa-services.html → body.p-manual) ─── */
.p-manual .do-grid { gap: 16px; margin-top: 32px; }
.p-manual .do-card { display: flex; align-items: center; gap: 16px; border-radius: 12px; padding: 20px 24px; }
.p-manual .do-icon { width: 40px; height: 40px; margin-bottom: 0; }
.p-manual .do-icon svg { width: 20px; height: 20px; stroke-width: 2; }
.p-manual .do-card h3 { font-family: var(--font-display); font-size: 1rem; color: var(--navy); margin: 0; letter-spacing: -0.005em; }

.matters-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 32px; }
.matter-row { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; }
.matter-row .x { width: 28px; height: 28px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.matter-row .x svg { width: 16px; height: 16px; stroke-width: 3; }
.matter-row h4 { font-family: var(--font-display); font-size: 1rem; color: var(--navy); margin: 0; letter-spacing: -0.005em; }

.p-manual .process-steps { grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 32px; }
.p-manual .process-step { border-radius: 12px; padding: 20px; }
.p-manual .process-step::before { margin-bottom: 10px; }
.p-manual .process-step h4 { margin: 0; }

/* ─── RELEASE READINESS TESTING (release-readiness-testing.html → body.p-rrt) ─── */
.signature-hero { padding: 128px 0 64px; background: linear-gradient(180deg, #FFFFFF 0%, var(--teal-soft) 100%); position: relative; overflow: hidden; }
.signature-hero::before { content: ''; position: absolute; top: -200px; right: -200px; width: 800px; height: 800px; background: radial-gradient(circle, rgba(46,196,182,0.15) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.signature-hero::after { content: 'SIGNATURE SERVICE'; position: absolute; top: 110px; right: 60px; font-family: var(--font-display); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.2em; color: var(--teal); padding: 8px 16px; background: var(--white); border: 1px solid var(--teal-mid); border-radius: 100px; }
.signature-hero h1 { font-family: var(--font-display); font-size: var(--fs-h1); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; color: var(--navy); margin-bottom: 24px; max-width: 880px; position: relative; }
.signature-hero h1 em { font-style: normal; color: var(--teal); }
.signature-hero p { font-size: 1.15rem; color: var(--slate); max-width: 680px; line-height: 1.7; margin-bottom: 32px; position: relative; }

.decision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 64px; }
.decision-card { padding: 48px 40px; border-radius: 20px; position: relative; }
.decision-card.go { background: linear-gradient(180deg, rgba(34,197,94,0.08), rgba(34,197,94,0.02)); border: 1px solid rgba(34,197,94,0.25); }
.decision-card.hold { background: linear-gradient(180deg, rgba(46,196,182,0.06), rgba(46,196,182,0.02)); border: 1px solid var(--teal-mid); }
.decision-tag { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; padding: 6px 12px; border-radius: 6px; margin-bottom: 16px; }
.decision-card.go .decision-tag { background: var(--green); color: var(--white); }
.decision-card.hold .decision-tag { background: var(--teal); color: var(--white); }
.decision-card h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 800; color: var(--navy); margin-bottom: 16px; line-height: 1.2; }
.decision-card p { color: var(--slate); font-size: 0.95rem; line-height: 1.65; }

#what { background: var(--off-white); }
.what-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.what-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 24px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.what-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); border-color: var(--teal); }
.what-card.is-decision { border-color: var(--teal); background: var(--teal-soft); }
.what-card-num { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; color: var(--teal); margin-bottom: 16px; }
.what-card h3 { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--navy); margin-bottom: 12px; }
.what-card p { color: var(--slate); font-size: 0.92rem; line-height: 1.7; }

.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.report-text h2 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 700; color: var(--navy); margin-bottom: 20px; line-height: 1.15; }
.report-text p { color: var(--slate); line-height: 1.7; margin-bottom: 16px; }
.report-mock { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 32px; box-shadow: 0 24px 60px rgba(0,0,0,0.08); }
.report-mock-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.report-mock-head h4 { font-family: var(--font-display); font-size: 0.95rem; color: var(--navy); }
.report-mock-head .stamp { background: var(--green); color: var(--white); padding: 4px 10px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; border-radius: 6px; }
.report-mock-meta { font-size: 0.78rem; color: var(--slate); margin-top: 4px; }
.report-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 0.88rem; border-bottom: 1px dashed var(--border); }
.report-row:last-child { border-bottom: none; }
.report-row span:first-child { color: var(--slate); }
.report-row span:last-child { color: var(--navy); font-weight: 600; }
.report-mock .risk-pill { padding: 2px 10px; border-radius: 100px; font-size: 0.72rem; font-weight: 700; background: transparent; color: inherit; align-self: auto; display: inline-block; }
.risk-low { background: rgba(34,197,94,0.15); color: var(--green); }
.risk-med { background: rgba(245,158,11,0.15); color: #d97706; }
.risk-high { background: rgba(46,196,182,0.15); color: var(--teal); }

.report-recommendation {
  padding: 16px;
  background: rgba(34,197,94,0.08);
  border-left: 3px solid var(--green);
  margin-top: 16px;
  border-radius: 0 8px 8px 0;
  font-size: 0.88rem;
  color: var(--navy);
}

.p-rrt .process-step::before { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.p-rrt .process-step h4 { font-size: 1rem; }
.p-rrt .process-step p { font-size: 0.85rem; line-height: 1.6; }

/* ─── SERVICES (services.html — remaining rules) ─── */
.page-hero.svc-hero { padding: 128px 0 80px; }
.svc-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.page-hero.svc-hero h1 { max-width: none; }
.page-hero.svc-hero p { max-width: none; margin-bottom: 28px; }

.lifecycle {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 24px 60px rgba(13,31,60,0.10),
    0 4px 12px rgba(13,31,60,0.06);
}
.lifecycle-step { display: flex; align-items: center; gap: 16px; padding: 14px 0; position: relative; }
.lifecycle-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 23px; top: 56px; bottom: -10px;
  width: 2px;
  background: linear-gradient(180deg, var(--teal-mid), var(--teal-soft));
}
.step-dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step-dot svg { width: 22px; height: 22px; stroke-width: 2; }
.step-label { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--navy); letter-spacing: -0.005em; }
.lifecycle-step.is-final .step-dot { background: var(--green); color: var(--white); box-shadow: 0 0 0 4px rgba(34,197,94,0.18); }
.lifecycle-step.is-final .step-label { color: var(--green); }

.filter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.filter-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.filter-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); border-color: var(--teal); }
.filter-card.featured { border-color: var(--teal); background: linear-gradient(135deg, var(--teal-soft), var(--white)); }
.filter-icon { font-size: 1.6rem; margin-bottom: 4px; }
.filter-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--navy); }
.filter-desc { font-size: 0.88rem; color: var(--slate); line-height: 1.55; }

.svc-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 88px;
}
.svc-block:last-child { border-bottom: none; }
.svc-block.reverse > .svc-text { order: 2; }
.svc-block.reverse > .svc-visual { order: 1; }
.svc-block.highlight {
  background: linear-gradient(180deg, var(--teal-soft), var(--white));
  border-radius: 24px;
  padding: 64px 48px;
  margin: 40px 0;
  border: 1px solid var(--teal-mid);
}
.svc-block h2 {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 16px;
}
.svc-desc { color: var(--slate); font-size: 1rem; line-height: 1.7; margin-bottom: 20px; }
.svc-list-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.005em;
  margin-bottom: 8px;
}
.svc-list { list-style: none; margin-bottom: 24px; }
.svc-list li {
  font-size: 0.92rem;
  color: var(--text);
  padding-left: 28px;
  position: relative;
  margin-bottom: 8px;
}
.svc-list li::before { content: '\2713'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.svc-outcome {
  display: inline-block;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-display);
  margin-bottom: 24px;
  padding: 10px 16px;
  background: var(--off-white);
  border-left: 3px solid var(--teal);
  border-radius: 0 8px 8px 0;
}
.svc-visual {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  min-height: 320px;
  display: flex; flex-direction: column; gap: 16px;
}
.svc-block.highlight .svc-visual { background: var(--white); }
.checklist-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
}
.checklist-row .tick {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(34,197,94,0.15);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
  flex-shrink: 0;
}

#engage { background: var(--off-white); }
.engage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.engage-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.engage-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); border-color: var(--teal); }

/* ─── MORE INLINE STYLE UTILITIES ─── */
.bg-off-white { background: var(--off-white); }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }

/* ─── PAGE-SPECIFIC RESPONSIVE ─── */
@media (max-width: 1024px) {
  .svc-hero-grid { gap: 40px; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  /* about */
  .story-grid, .method-grid { grid-template-columns: 1fr; gap: 40px; }
  .values-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .shift-grid { grid-template-columns: 1fr; }
  /* blog */
  .featured-post { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; }
  .featured-post h2 { font-size: 1.6rem; }
  .featured-cover { aspect-ratio: 16/9; padding: 24px; }
  .posts-grid { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; padding: 40px 28px; gap: 24px; }
  .newsletter-form { flex-direction: column; }
  .newsletter h3 { font-size: 1.5rem; }
  /* case-studies */
  .cs-grid { grid-template-columns: 1fr; }
  .feature-cs { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; }
  .feature-cs h2 { font-size: 1.7rem; }
  /* contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .field-row.split { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  /* shared service-detail */
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .do-grid { grid-template-columns: 1fr; }
  .scenarios-grid { grid-template-columns: 1fr; }
  .risks-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .p-cloud .process-steps { grid-template-columns: 1fr; }
  .p-manual .process-steps { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .process-3 { grid-template-columns: 1fr; }
  .matters-grid { grid-template-columns: 1fr; }
  /* release-readiness */
  .signature-hero h1 { font-size: 2.4rem; }
  .signature-hero::after { display: none; }
  .decision-grid { grid-template-columns: 1fr; }
  .what-grid { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: 1fr; gap: 40px; }
  /* services */
  .filter-grid { grid-template-columns: 1fr; }
  .engage-grid { grid-template-columns: 1fr; }
  .svc-block { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .svc-block.reverse > .svc-text { order: 1; }
  .svc-block.reverse > .svc-visual { order: 2; }
  .svc-block.highlight { padding: 32px 20px; }
  .svc-visual { padding: 24px; min-height: 0; }
  .svc-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero.svc-hero { padding: 88px 0 32px; }
  .lifecycle { padding: 24px; }
}
