/* ============================================================
   CLOUDISM — SHARED STYLES   [v2: mobile dropdown fix]
   Brand palette derived from Coredex deck.
   Edit variables in :root to retheme the entire site.
============================================================ */

:root {
  /* Brand colors */
  --bg: #ffffff;
  --bg-soft: #e6eef9;
  --bg-tinted: #dde8f5;
  --bg-deep: #0f1f3d;
  --bg-deeper: #061230;

  --blue-cyan: #00d4ff;
  --blue-sky: #1ea7e8;
  --blue-mid: #1e6bd6;
  --blue-deep: #1e40af;
  --blue-navy: #0f1f3d;
  --blue-darknavy: #061230;

  --accent-pink: #d946ef;
  --accent-magenta: #c026d3;
  --accent-indigo: #6366f1;

  /* Supporting accents */
  --pink-light: #f0abfc;     /* engage card 2 accent (light magenta) */
  --indigo-light: #a5b4fc;   /* engage card 3 accent (light indigo) */
  --star-gold: #fbbf24;      /* review stars */
  --code-text: #d4e4ff;      /* code block text on dark surfaces */

  --text: #0a1628;
  --text-soft: #2d3a52;
  --text-mid: #5a6b85;
  --text-light: #94a3b8;

  --line: #c5d3e5;
  --line-soft: #d8e1ee;

  --gradient-cloud: linear-gradient(135deg, #22d3ee 0%, #1e6bd6 50%, #1e40af 100%);
  --gradient-icon: linear-gradient(135deg, #d946ef 0%, #6366f1 50%, #22d3ee 100%);
  --gradient-card: linear-gradient(135deg, #1e40af 0%, #0f1f3d 100%);
  --gradient-bright: linear-gradient(90deg, #00d4ff 0%, #1e40af 100%);

  --shadow-soft: 0 4px 24px rgba(30, 64, 175, 0.08);
  --shadow-medium: 0 12px 40px rgba(30, 64, 175, 0.12);
  --shadow-blue: 0 20px 60px rgba(30, 64, 175, 0.20);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============ NAVIGATION ============ */
nav.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
  transition: padding 0.3s ease;
}

nav.site-nav.scrolled { padding: 12px 56px; }

.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-link img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-cloud);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.nav-links a:hover { color: var(--blue-deep); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--gradient-cloud);
  color: white;
  padding: 11px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: var(--shadow-soft);
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-blue); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

/* ============ NAV DROPDOWNS ============ */
.nav-item-dropdown {
  position: relative;
}

.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-caret {
  transition: transform 0.25s ease;
  opacity: 0.7;
}

/* Caret rotation on desktop hover/focus. Mobile uses .expanded class. */
@media (min-width: 1101px) {
  .nav-item-dropdown:hover .nav-caret,
  .nav-item-dropdown:focus-within .nav-caret {
    transform: rotate(180deg);
    opacity: 1;
  }
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  box-shadow: 0 24px 56px -16px rgba(15, 31, 61, 0.18), 0 8px 24px -8px rgba(15, 31, 61, 0.10);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.25s ease, visibility 0s linear 0.2s;
  z-index: 999;
}

/* invisible bridge so the cursor can travel from trigger to dropdown
   without exiting the hover region. */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}

/* Desktop-only: hover and focus reveal the floating dropdown.
   Wrapped in a media query so iOS Safari doesn't fire :focus-within
   on tap and conflict with the mobile .expanded inline accordion. */
@media (min-width: 1101px) {
  .nav-item-dropdown:hover .nav-dropdown,
  .nav-item-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.2s ease, transform 0.25s ease, visibility 0s linear 0s;
  }
}

.nav-dropdown-narrow { width: 320px; }
.nav-dropdown-wide   { width: 620px; }

.nav-dropdown-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.nav-dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s ease, transform 0.15s ease;
}

.nav-dropdown-item:hover,
.nav-dropdown-item:focus-visible {
  background: var(--bg-soft);
  outline: none;
}

.nav-dropdown-item::after {
  display: none;
}

.nav-dropdown-eyebrow {
  font-family: 'Sora', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--blue-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-dropdown-title {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.nav-dropdown-item:hover .nav-dropdown-title,
.nav-dropdown-item:focus-visible .nav-dropdown-title {
  color: var(--blue-deep);
}

.nav-dropdown-desc {
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.45;
  font-weight: 400;
}

.nav-dropdown-footer {
  display: block;
  margin-top: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--line-soft);
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-deep);
  text-decoration: none;
  text-align: center;
  border-radius: 0 0 8px 8px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-dropdown-footer:hover,
.nav-dropdown-footer:focus-visible {
  color: var(--blue-cyan);
  background: var(--bg-soft);
  outline: none;
}

.nav-dropdown-footer::after {
  display: none;
}

/* parent link should not show the underline pseudo-element since the
   dropdown is the dominant affordance */
.nav-item-dropdown > .nav-parent::after {
  display: none;
}

/* ============ BUTTONS ============ */
.btn-primary {
  background: var(--gradient-cloud);
  color: white;
  padding: 16px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  box-shadow: var(--shadow-soft);
  border: none;
  cursor: pointer;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-blue); }

.btn-secondary {
  background: white;
  color: var(--blue-deep);
  padding: 16px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid var(--line);
  transition: all 0.3s;
}

.btn-secondary:hover { border-color: var(--blue-deep); background: var(--bg-tinted); }

/* ============ SECTION SHELL ============ */
section { padding: 120px 56px; position: relative; }
.section-inner { max-width: 1400px; margin: 0 auto; }

/* Subtle separator between consecutive sections */
section + section {
  border-top: 1px solid var(--line-soft);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-deep);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 6px 16px;
  background: rgba(30, 107, 214, 0.08);
  border-radius: 999px;
}

.section-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: var(--text);
}

.section-title .italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--blue-deep);
}

.section-title .gradient-text {
  background: var(--gradient-cloud);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-intro {
  font-size: 18px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ============ HEXAGON ICON (Coredex-style) ============ */
.hex-icon {
  width: 64px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--gradient-icon);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  box-shadow: 0 8px 24px rgba(217, 70, 239, 0.25);
}

.hex-icon svg {
  width: 28px;
  height: 28px;
  fill: white;
  stroke: white;
}

.hex-icon-sm {
  width: 48px;
  height: 54px;
}

.hex-icon-sm svg { width: 22px; height: 22px; }

.hex-icon-lg {
  width: 80px;
  height: 92px;
}

.hex-icon-lg svg { width: 36px; height: 36px; }

/* Hexagon outline variant */
.hex-icon-outline {
  background: transparent;
  border: 2px solid var(--blue-mid);
  box-shadow: none;
}

.hex-icon-outline svg { fill: var(--blue-deep); stroke: var(--blue-deep); }

/* ============ FOOTER ============ */
footer {
  background: var(--bg-deeper);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 56px 32px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
}

.footer-brand img {
  height: 56px;
  width: auto;
  margin-bottom: 20px;
  display: block;
}

.footer-brand p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 320px;
  line-height: 1.5;
}

.footer-col h5 {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }

.footer-col a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--blue-cyan); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-social { display: flex; gap: 12px; }

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: white;
}

.footer-social a:hover { background: var(--blue-cyan); color: var(--blue-darknavy); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

/* ============ FOOTER CERTIFICATIONS ============ */
.footer-certs {
  padding: 8px 0 28px;
}

.footer-certs-label {
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  text-align: center;
}

.footer-certs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.footer-cert {
  background: #ffffff;
  border-radius: 8px;
  padding: 10px 18px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-cert:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.18);
}

.footer-cert img {
  max-height: 44px;
  width: auto;
  display: block;
}

.footer-cert.is-wide img { max-height: 36px; }

@media (max-width: 720px) {
  .footer-certs-row { gap: 10px; }
  .footer-cert { height: 56px; padding: 8px 14px; }
  .footer-cert img { max-height: 38px; }
  .footer-cert.is-wide img { max-height: 30px; }
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulseSoft {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 0.9; }
}

/* ============ RESPONSIVE BASE ============ */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: white; padding: 16px 20px 24px; gap: 4px;
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav-toggle { display: block; }

  /* Mobile dropdown accordion behavior */
  .nav-item-dropdown { width: 100%; }

  /* Suppress desktop underline-on-hover inside the mobile accordion */
  .nav-links a::after { display: none !important; }
  .nav-links a:hover { color: inherit; }

  .nav-parent {
    width: 100%;
    justify-content: space-between;
    padding: 16px 0;
    font-weight: 600;
    font-size: 16px;
    color: var(--text);
    min-height: 48px;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(30, 107, 214, 0.1);
  }

  /* Plain top-level links (Why Cloudism, Insights) carry no class, so they
     were inheriting the desktop default (14px / weight 500 / muted grey).
     Match them to .nav-parent so every top-level menu item is identical. */
  .nav-links > li > a:not(.nav-parent) {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px 0;
    min-height: 48px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    -webkit-tap-highlight-color: rgba(30, 107, 214, 0.1);
  }

  .nav-caret {
    width: 14px;
    height: 9px;
    flex-shrink: 0;
    margin-left: 12px;
  }

  /* Dropdown — inline accordion on mobile */
  .nav-dropdown {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 8px 12px;
    margin-bottom: 4px;
    border-left: 2px solid var(--line);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.2s ease, max-height 0.3s ease, visibility 0s linear 0.3s;
  }

  .nav-dropdown::before { display: none; }

  /* On mobile, only .expanded controls visibility — no hover/focus-within
     fight, which was causing the flicker on tap. */
  .nav-item-dropdown.expanded .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 1000px;
    transition: opacity 0.2s ease, max-height 0.4s ease, visibility 0s linear 0s;
  }

  .nav-item-dropdown.expanded .nav-caret {
    transform: rotate(180deg);
  }

  .nav-dropdown-grid {
    grid-template-columns: 1fr;
  }

  .nav-dropdown-item {
    padding: 14px 12px;
    min-height: 48px;
    -webkit-tap-highlight-color: rgba(30, 107, 214, 0.1);
  }

  .nav-dropdown-footer {
    margin-top: 4px;
    padding: 14px 12px;
    min-height: 48px;
    text-align: left;
    border-top: 1px dashed var(--line-soft);
    -webkit-tap-highlight-color: rgba(30, 107, 214, 0.1);
  }

  /* "Go to section" link inside expanded panel */
  .nav-dropdown-section-link {
    display: block;
    padding: 10px 12px;
    margin-bottom: 6px;
    background: var(--bg-soft);
    border-radius: 8px;
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-deep);
    text-decoration: none;
    text-align: left;
  }
}
@media (max-width: 720px) {
  nav.site-nav { padding: 14px 20px; }
  nav.site-nav.scrolled { padding: 10px 20px; }

  section { padding: 80px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  footer { padding: 48px 20px 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   SERVICE PAGE LAYOUT
============================================================ */

.service-hero {
  padding: 160px 56px 80px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

.service-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 107, 214, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.service-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 32px;
  font-weight: 500;
}

.breadcrumb a {
  color: var(--blue-deep);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--blue-cyan); }

.breadcrumb-sep {
  color: var(--text-light);
}

.service-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.service-hero-eyebrow .hex-icon {
  width: 48px;
  height: 54px;
}

.service-hero-eyebrow .hex-icon svg {
  width: 22px;
  height: 22px;
}

.service-hero-eyebrow span {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-deep);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.service-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  color: var(--text);
}

.service-hero h1 .italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--blue-deep);
}

.service-hero h1 .gradient-text {
  background: var(--gradient-cloud);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.service-hero-lead {
  font-size: 20px;
  color: var(--text-soft);
  line-height: 1.6;
  max-width: 760px;
  margin-bottom: 16px;
}

.service-hero-lead-secondary {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.6;
  max-width: 760px;
}

/* Service detail body */
.service-body {
  padding: 100px 56px;
}

.service-body-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.service-section-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 48px;
  color: var(--text);
}

.service-section-title .italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--blue-deep);
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.coverage-item {
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all 0.3s;
}

.coverage-item:hover {
  border-color: var(--blue-cyan);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.coverage-item .hex-icon {
  flex-shrink: 0;
  width: 44px;
  height: 50px;
}

.coverage-item .hex-icon svg {
  width: 18px;
  height: 18px;
}

.coverage-content h4 {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.coverage-content p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
}

/* Why this service section */
.why-service {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 100px 56px;
}

.why-service-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-service-content h3 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
}

.why-service-content h3 .italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--blue-deep);
}

.why-service-content p {
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.7;
}

.why-service-points {
  display: grid;
  gap: 20px;
}

.why-service-point {
  background: white;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-service-point .check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-cloud);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(30, 107, 214, 0.25);
}

.why-service-point span:not(.check) {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.55;
  font-weight: 500;
  padding-top: 4px;
}

/* Featured case study callout on service pages */
.service-case-callout {
  padding: 60px 56px 40px;
  background: var(--bg);
}

.service-case-callout-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.service-case-card {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, #0f1f3d 0%, #061230 100%);
  border-radius: 28px;
  padding: 48px 56px;
  color: white;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 24px 70px rgba(30, 64, 175, 0.18);
}

.service-case-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(0, 212, 255, 0.16), transparent 50%),
    radial-gradient(circle at 90% 100%, rgba(217, 70, 239, 0.10), transparent 55%);
  pointer-events: none;
}

.service-case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 80px rgba(30, 64, 175, 0.28);
}

.service-case-card > * { position: relative; z-index: 1; }

.service-case-eyebrow {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-cyan);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}

.service-case-content h3 {
  font-family: 'Sora', sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
  color: white;
}

.service-case-content p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 18px;
}

.service-case-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.service-case-tags .tag {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.service-case-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-cyan);
  transition: gap 0.25s ease;
}

.service-case-card:hover .service-case-cta { gap: 14px; }

.service-case-stats {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
}

.service-case-stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, #00d4ff 0%, #6366f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.service-case-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .service-case-callout { padding: 50px 32px 30px; }
  .service-case-card { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
  .service-case-stats { grid-template-columns: repeat(3, 1fr); padding: 20px; }
}

@media (max-width: 720px) {
  .service-case-callout { padding: 40px 20px 20px; }
  .service-case-card { padding: 32px 24px; border-radius: 22px; }
  .service-case-content h3 { font-size: 22px; }
  .service-case-stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; padding: 16px; }
  .service-case-stat-num { font-size: 24px; }
}

/* CTA at end of service page */
.service-cta {
  padding: 100px 56px;
  background: var(--bg);
}

.service-cta-card {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--gradient-card);
  border-radius: 32px;
  padding: 72px 64px;
  color: white;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: center;
}

.service-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 0%, rgba(0, 212, 255, 0.18), transparent 50%),
    radial-gradient(circle at 70% 100%, rgba(217, 70, 239, 0.12), transparent 50%);
  pointer-events: none;
}

.service-cta-card > * { position: relative; z-index: 1; }

.service-cta-card h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.service-cta-card h2 .italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(90deg, #00d4ff, #d946ef);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.service-cta-card p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.service-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-cta-actions .btn-primary {
  background: white;
  color: var(--blue-deep);
  justify-content: center;
}

.service-cta-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  text-align: center;
  justify-content: center;
}

.service-cta-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
}

/* Service page responsive */
@media (max-width: 1100px) {
  .why-service-inner { grid-template-columns: 1fr; gap: 40px; }
  .service-cta-card { grid-template-columns: 1fr; padding: 56px 48px; }
}

@media (max-width: 720px) {
  .service-hero { padding: 110px 20px 60px; }
  .service-body, .why-service, .service-cta { padding: 60px 20px; }
  .coverage-grid { grid-template-columns: 1fr; }
  .service-cta-card { padding: 48px 24px; }
}

/* ============================================================
   CASE STUDY PAGES
============================================================ */

.cs-hero {
  padding: 160px 56px 60px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

.cs-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 107, 214, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cs-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cs-hero-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.cs-meta-pill {
  background: white;
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-soft);
}

.cs-meta-pill strong {
  color: var(--blue-deep);
  font-weight: 700;
  margin-right: 4px;
}

.cs-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  color: var(--text);
}

.cs-hero h1 .gradient-text {
  background: var(--gradient-cloud);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cs-hero h1 .italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--blue-deep);
}

.cs-hero-lead {
  font-size: 19px;
  color: var(--text-soft);
  line-height: 1.6;
  max-width: 760px;
  margin-bottom: 48px;
}

/* Image placeholders */
.cs-hero-image-placeholder,
.cs-arch-placeholder,
.blog-post-cover-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 500px;
  background: var(--bg-tinted);
  border: 2px dashed var(--line);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-mid);
  margin: 48px 0 0;
}

.cs-arch-placeholder {
  aspect-ratio: 16 / 7;
  margin: 32px 0;
}

.blog-post-cover-placeholder {
  aspect-ratio: 16 / 8;
  margin-top: 48px;
}

.cs-hero-image-placeholder svg,
.cs-arch-placeholder svg,
.blog-post-cover-placeholder svg {
  width: 56px;
  height: 56px;
  opacity: 0.6;
}

.cs-hero-image-placeholder span,
.cs-arch-placeholder span,
.blog-post-cover-placeholder span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Real images for case studies (replace placeholders when images exist) */
.cs-hero-image {
  width: 100%;
  max-height: 500px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 24px;
  margin: 48px 0 0;
  display: block;
  box-shadow: var(--shadow-medium);
}

.cs-arch-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  margin: 32px 0;
  display: block;
  background: var(--bg-soft);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  box-sizing: border-box;
}

.cs-quote-author {
  margin-top: 24px;
}

/* Results band */
.cs-results {
  background: var(--gradient-card);
  padding: 80px 56px;
  color: white;
  position: relative;
  overflow: hidden;
}

.cs-results::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.15), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(217, 70, 239, 0.10), transparent 50%);
  pointer-events: none;
}

.cs-results-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cs-results-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 48px;
  color: white;
}

.cs-results-title .italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(90deg, #00d4ff, #d946ef);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cs-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cs-result-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
}

.cs-result-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
}

.cs-result-num {
  font-family: 'Sora', sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.cs-result-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Case study sections */
.cs-section {
  padding: 100px 56px;
  background: var(--bg);
}

.cs-section-light {
  background: var(--bg-soft);
}

.cs-section-inner {
  max-width: 880px;
  margin: 0 auto;
}

.cs-section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-deep);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 6px 14px;
  background: rgba(30, 107, 214, 0.08);
  border-radius: 999px;
}

.cs-section-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 28px;
  color: var(--text);
}

.cs-section-inner p {
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 18px;
}

.cs-detail-h {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin: 40px 0 16px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.cs-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}

.cs-list li {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.65;
  padding: 8px 0 8px 28px;
  position: relative;
}

.cs-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-cloud);
}

.cs-list-checked li::before {
  content: '✓';
  width: auto;
  height: auto;
  background: transparent;
  color: var(--blue-deep);
  font-weight: 700;
  top: 8px;
  font-size: 16px;
}

.cs-list code {
  background: var(--bg-tinted);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
  color: var(--blue-deep);
  font-family: 'Inter', sans-serif;
}

/* Tech tags */
.cs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cs-tags .tag {
  font-size: 14px;
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--line);
  color: var(--text-soft);
}

.cs-tags .tag-more {
  background: transparent;
  border: 1px dashed var(--line);
  color: var(--text-mid);
  font-style: italic;
}

/* Quote */
.cs-quote {
  background: var(--gradient-card);
  padding: 100px 56px;
  color: white;
  position: relative;
  overflow: hidden;
}

.cs-quote::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 0%, rgba(0, 212, 255, 0.15), transparent 50%),
    radial-gradient(circle at 70% 100%, rgba(217, 70, 239, 0.10), transparent 50%);
  pointer-events: none;
}

.cs-quote-inner {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.cs-quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 120px;
  line-height: 0.5;
  color: var(--blue-cyan);
  margin-bottom: 24px;
  font-weight: 500;
}

.cs-quote blockquote {
  font-family: 'Sora', sans-serif;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: white;
  margin-bottom: 32px;
  font-style: italic;
}

.cs-quote-author-name {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}

.cs-quote-author-title {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Case study responsive */
@media (max-width: 1100px) {
  .cs-results-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .cs-hero { padding: 110px 20px 40px; }
  .cs-results, .cs-section, .cs-quote { padding: 60px 20px; }
  .cs-results-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cs-result-card { padding: 24px 16px; }
  .cs-quote-mark { font-size: 80px; }
  .cs-hero-image { margin-top: 32px; border-radius: 16px; max-height: 320px; }
  .cs-arch-image { margin: 24px 0; border-radius: 14px; padding: 14px; }
}

/* ============================================================
   BLOG POST PAGES
============================================================ */

.blog-post-hero {
  padding: 160px 56px 60px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

.blog-post-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 107, 214, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.blog-post-hero-inner {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.blog-post-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text-mid);
}

.blog-post-cat {
  background: var(--bg-tinted);
  color: var(--blue-deep);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}

.blog-post-dot {
  color: var(--text-light);
}

.blog-post-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  color: var(--text);
}

.blog-post-hero h1 .gradient-text {
  background: var(--gradient-cloud);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.blog-post-hero h1 .italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--blue-deep);
}

.blog-post-lead {
  font-size: 20px;
  color: var(--text-soft);
  line-height: 1.55;
  font-weight: 400;
}

/* Body */
.blog-post-body {
  padding: 80px 56px;
  background: var(--bg);
}

.blog-post-body-inner {
  max-width: 720px;
  margin: 0 auto;
}

.blog-post-body-inner .blog-lede {
  font-size: 22px;
  line-height: 1.55;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}

.blog-post-body-inner h2 {
  font-family: 'Sora', sans-serif;
  font-size: 30px;
  font-weight: 700;
  margin: 56px 0 20px;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.blog-post-body-inner h3 {
  font-family: 'Sora', sans-serif;
  font-size: 21px;
  font-weight: 600;
  margin: 36px 0 14px;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.blog-post-body-inner p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 22px;
}

.blog-post-body-inner ul,
.blog-post-body-inner ol {
  margin: 12px 0 24px;
  padding-left: 28px;
}

.blog-post-body-inner li {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.blog-post-body-inner li::marker {
  color: var(--blue-deep);
  font-weight: 700;
}

.blog-post-body-inner strong {
  color: var(--text);
  font-weight: 600;
}

.blog-post-body-inner code {
  background: var(--bg-tinted);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 15px;
  color: var(--blue-deep);
  font-family: 'Menlo', 'Monaco', monospace;
}

.blog-post-body-inner pre {
  background: var(--bg-deeper);
  color: var(--code-text);
  padding: 24px;
  border-radius: 14px;
  overflow-x: auto;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.6;
}

.blog-post-body-inner pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  font-family: 'Menlo', 'Monaco', monospace;
  font-size: 14px;
}

/* Related posts */
.blog-related {
  background: var(--bg-soft);
  padding: 80px 56px;
  border-top: 1px solid var(--line-soft);
}

.blog-related-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.blog-related-h {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 48px;
  color: var(--text);
}

.blog-related-h .italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--blue-deep);
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.blog-related-card {
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
  border-color: transparent;
}

.blog-related-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-deep);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.blog-related-title {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* Blog post responsive */
@media (max-width: 1100px) {
  .blog-related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .blog-post-hero { padding: 110px 20px 40px; }
  .blog-post-body { padding: 56px 20px; }
  .blog-related { padding: 56px 20px; }
  .blog-related-grid { grid-template-columns: 1fr; }
  .blog-post-body-inner h2 { font-size: 26px; margin-top: 40px; }
  .blog-post-body-inner h3 { font-size: 19px; }
  .blog-post-body-inner p, .blog-post-body-inner li { font-size: 16px; }
}

/* ============================================================
   PILLAR PAGES (Skill Force / Transformation Partners / Learning Launchpad)
============================================================ */

.pillar-hero {
  padding: 160px 56px 80px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

.pillar-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
}

.pillar-hero-cyan::before {
  background: radial-gradient(circle, rgba(0, 212, 255, 0.10) 0%, transparent 70%);
}

.pillar-hero-magenta::before {
  background: radial-gradient(circle, rgba(217, 70, 239, 0.10) 0%, transparent 70%);
}

.pillar-hero-indigo::before {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.10) 0%, transparent 70%);
}

.pillar-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.pillar-hero-badge {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
}

.pillar-hero-eyebrow {
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-deep);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.pillar-hero-pillar {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.pillar-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  color: var(--text);
}

.pillar-hero h1 .gradient-text {
  background: var(--gradient-cloud);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pillar-hero h1 .italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--blue-deep);
}

.pillar-hero-lead {
  font-size: 21px;
  color: var(--text-soft);
  line-height: 1.55;
  max-width: 820px;
  margin-bottom: 16px;
  font-weight: 400;
}

.pillar-hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--blue-deep);
  font-weight: 500;
}

/* Creed (brochure bullets) */
.pillar-creed {
  background: var(--gradient-card);
  padding: 100px 56px;
  color: white;
  position: relative;
  overflow: hidden;
}

.pillar-creed::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.15), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(217, 70, 239, 0.10), transparent 50%);
  pointer-events: none;
}

.pillar-creed-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pillar-creed .cs-section-eyebrow {
  background: rgba(0, 212, 255, 0.12);
  color: var(--blue-cyan);
  border: 1px solid rgba(0, 212, 255, 0.25);
}

.pillar-creed .service-section-title {
  color: white;
}

.pillar-creed .service-section-title .italic {
  background: linear-gradient(90deg, #00d4ff, #d946ef);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pillar-creed-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}

.pillar-creed-list li {
  font-family: 'Sora', sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.95);
  padding: 22px 0 22px 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.pillar-creed-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 30px;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, #00d4ff, #d946ef);
}

.pillar-creed-list li:last-child {
  border-bottom: none;
}

/* Pillar sections */
.pillar-section {
  padding: 100px 56px;
  background: var(--bg);
}

.pillar-section-light {
  background: var(--bg-soft);
}

.pillar-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Scenarios */
.pillar-scenarios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pillar-scenario {
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s;
}

.pillar-scenario:hover {
  border-color: var(--blue-cyan);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.pillar-scenario-num {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: white;
  background: var(--gradient-cloud);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.pillar-scenario h4 {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.pillar-scenario p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* Deliverables */
.pillar-deliverables {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pillar-deliverable {
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all 0.3s;
}

.pillar-deliverable:hover {
  border-color: var(--blue-cyan);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.pillar-deliverable .hex-icon {
  flex-shrink: 0;
}

.pillar-deliverable h4 {
  font-family: 'Sora', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.pillar-deliverable p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
}

/* Linked services */
.pillar-linked-intro {
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.65;
  max-width: 800px;
  margin-bottom: 40px;
}

.pillar-linked-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar-linked-card {
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s;
  position: relative;
}

.pillar-linked-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
  border-color: transparent;
}

.pillar-linked-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-deep);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.pillar-linked-card h4 {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 8px;
}

.pillar-linked-card p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
  flex-grow: 1;
  margin-bottom: 8px;
}

.pillar-linked-arrow {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--blue-deep);
  align-self: flex-end;
  transition: transform 0.2s ease;
}

.pillar-linked-card:hover .pillar-linked-arrow {
  transform: translateX(4px);
}

/* Pillar responsive */
@media (max-width: 1100px) {
  .pillar-scenarios { grid-template-columns: 1fr; }
  .pillar-deliverables { grid-template-columns: 1fr; }
  .pillar-linked-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .pillar-hero { padding: 110px 20px 60px; }
  .pillar-creed, .pillar-section { padding: 60px 20px; }
  .pillar-linked-grid { grid-template-columns: 1fr; }
  .pillar-hero-badge { gap: 14px; }
  .pillar-hero-pillar { font-size: 18px; }
  .pillar-creed-list li { font-size: 17px; padding: 18px 0 18px 36px; }
  .pillar-creed-list li::before { top: 27px; width: 18px; }
  .pillar-scenario { padding: 24px; flex-direction: column; gap: 14px; }
}

/* ============ BACK-TO-TOP BUTTON ============ */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  /* Respect mobile safe-area (iPhones with home indicator bar) */
  bottom: max(28px, env(safe-area-inset-bottom, 0px));
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(135deg, #0f1f3d 0%, #061230 100%);
  color: var(--blue-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  box-shadow: 0 12px 30px rgba(6, 18, 48, 0.32);
  /* Hidden by default; pointer-events off so it doesn't intercept clicks */
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  padding: 0;
  font-family: inherit;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover {
  background: linear-gradient(135deg, #1e40af 0%, #0f1f3d 100%);
  color: #ffffff;
  transform: translateY(-2px) scale(1.04);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--blue-cyan);
  outline-offset: 3px;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
}

@media (max-width: 720px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    width: 44px;
    height: 44px;
  }
  .back-to-top svg { width: 18px; height: 18px; }
}

/* Respect user's motion preference */
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity 0.15s ease; }
  .back-to-top:hover { transform: none; }
}

/* ============================================================
   SITE ANNOUNCEMENT BAR  (in-flow, homepage — above #why)
   ------------------------------------------------------------
   Injected by initAnnouncement() in script.js. Off by default.
   Navy band with a cyan accent so white text stays legible
   (white on the brand cyan would fail contrast). Text scrolls
   right-to-left in a seamless loop and pauses on hover/focus.
   ============================================================ */
.site-announcement {
  width: 100%;
  background: linear-gradient(90deg, var(--blue-deep) 0%, var(--blue-navy) 100%);
  border-top: 2px solid var(--blue-cyan);
  color: #fff;
  overflow: hidden;
}

.site-announcement__viewport {
  width: 100%;
  overflow: hidden;
}

.site-announcement__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation-name: ann-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.site-announcement__group { display: flex; flex: 0 0 auto; }

.site-announcement__unit {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 13px 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.site-announcement__text {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.site-announcement__text--link:hover { text-decoration: underline; }

/* divider dot between repeats (brand cyan) */
.site-announcement__sep {
  display: inline-block;
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin: 0 30px;
  border-radius: 50%;
  background: var(--blue-cyan);
}

/* let people read it: pause while hovered or keyboard-focused */
.site-announcement:hover .site-announcement__track,
.site-announcement:focus-within .site-announcement__track {
  animation-play-state: paused;
}

/* static fallback: reduced-motion users get one centered, still line */
.site-announcement__track.is-static {
  width: 100%;
  animation: none;
  transform: none;
  justify-content: center;
}
.site-announcement__track.is-static .site-announcement__sep { display: none; }

/* screen-reader copy (the animated text is aria-hidden to avoid repeats) */
.site-announcement__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@keyframes ann-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 720px) {
  .site-announcement__unit { font-size: 14px; padding: 11px 0; }
  .site-announcement__sep  { margin: 0 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-announcement__track { animation: none; transform: none; }
}

/* ============================================================
   FRAUD WARNING BANNER  (fixed, every page, dismissible)
   ------------------------------------------------------------
   Injected by initFraudBanner() in script.js. Sits above the nav
   on every page and reserves space (--fraud-h, measured by JS) so
   it never covers content. The ✕ dismisses it for the browser
   session; it returns on the visitor's next visit.
   TO REMOVE: set enabled:false in script.js (or delete that
   block) and delete this CSS block.
   ============================================================ */
:root { --fraud-h: 0px; }

html.fraud-banner-on body         { padding-top: var(--fraud-h); }
html.fraud-banner-on nav.site-nav { top: var(--fraud-h); }
html.fraud-banner-on              { scroll-padding-top: calc(90px + var(--fraud-h)); }

.fraud-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;                 /* above the nav (1000) */
  display: flex;
  align-items: stretch;
  min-height: 46px;
  background: linear-gradient(90deg, #9f1239 0%, #7f1d1d 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 2px 12px rgba(127, 29, 29, 0.32);
  color: #fff;
  overflow: hidden;
}

.fraud-banner__icon {
  flex: 0 0 auto;
  width: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fde68a;                /* amber warning glyph */
}
.fraud-banner__icon svg { width: 20px; height: 20px; }

.fraud-banner__viewport {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.fraud-banner__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation-name: fraud-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.fraud-banner__group { display: flex; flex: 0 0 auto; }
.fraud-banner__unit  { display: inline-flex; align-items: center; flex: 0 0 auto; }

.fraud-banner__link {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  padding: 12px 0;
}
.fraud-banner__link:hover { color: #fff; }
.fraud-banner__more {
  margin-left: 10px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fraud-banner__sep {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  margin: 0 34px;
}

/* pause so people can read it */
.fraud-banner:hover .fraud-banner__track,
.fraud-banner:focus-within .fraud-banner__track { animation-play-state: paused; }

.fraud-banner__close {
  flex: 0 0 auto;
  width: 46px;
  align-self: stretch;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.fraud-banner__close:hover { background: rgba(0, 0, 0, 0.22); color: #fff; }
.fraud-banner__close:focus-visible { outline: 2px solid #fde68a; outline-offset: -3px; }
.fraud-banner__close svg { width: 16px; height: 16px; }

/* reduced-motion / no-scroll fallback: centered, wrapping, no animation */
.fraud-banner--static .fraud-banner__viewport { justify-content: center; }
.fraud-banner--static .fraud-banner__track { width: 100%; animation: none; transform: none; }
.fraud-banner--static .fraud-banner__link { white-space: normal; padding: 9px 0; }
.fraud-banner--static .fraud-banner__sep { display: none; }

/* screen-reader copy; the visible marquee is aria-hidden. Reveals on focus. */
.fraud-banner__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.fraud-banner__sr a { color: #fff; }
.fraud-banner__sr a:focus {
  position: fixed;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: auto;
  height: auto;
  clip: auto;
  overflow: visible;
  white-space: normal;
  margin: 0;
  padding: 7px 14px;
  background: #7f1d1d;
  border: 1px solid #fde68a;
  border-radius: 8px;
  z-index: 1200;
}

@keyframes fraud-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 720px) {
  .fraud-banner { min-height: 54px; }
  .fraud-banner__icon { width: 40px; }
  .fraud-banner__icon svg { width: 18px; height: 18px; }
  .fraud-banner__link { font-size: 13px; padding: 11px 0; }
  .fraud-banner__sep { margin: 0 24px; }
  .fraud-banner__close { width: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .fraud-banner__track { animation: none; transform: none; }
}

/* ============================================================
   FOOTER CERTS — uniform boxes (appended override)
   Every badge gets an identical frame; logos scale to fit.
   Tune the look with the two width/height pairs below.
   ============================================================ */
.footer-certs-row .footer-cert {
  width: 132px;
  height: 64px;
  padding: 11px 14px;
}
.footer-certs-row .footer-cert img,
.footer-certs-row .footer-cert.is-wide img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}
@media (max-width: 720px) {
  .footer-certs-row .footer-cert {
    width: 118px;
    height: 56px;
    padding: 9px 12px;
  }
}

/* ============================================================
   HOMEPAGE — Government & Public Sector strip (appended)
   ============================================================ */
.gov-strip-card {
  margin-top: 56px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, #0f1f3d 0%, #1e40af 100%);
  border-radius: 22px; padding: 46px 52px; color: #fff;
}
.gov-strip-card .section-eyebrow { color: #00d4ff; }
.gov-strip-text h3 { font-family: 'Sora', sans-serif; font-size: 30px; line-height: 1.2; margin: 10px 0 14px; color: #fff; }
.gov-strip-text p { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.82); margin: 0; max-width: 560px; }
.gov-strip-side { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; justify-self: end; }
.gov-strip-badges { display: flex; gap: 12px; }
.gov-strip-badges img { width: 92px; height: 52px; object-fit: contain; background: #fff; border-radius: 10px; padding: 7px 9px; }
@media (max-width: 900px) {
  .gov-strip-card { margin-top: 36px; }
  .gov-strip-card { grid-template-columns: 1fr; padding: 32px 26px; gap: 26px; }
  .gov-strip-side { justify-self: start; }
}

/* ============================================================
   MOBILE NAV — dense, uniform rows (appended override)
   Every top-level row is the same height whether or not it has
   a submenu; the collapsed submenu takes zero space; rows are
   separated by a hairline. Sub-items follow the same rhythm.
   ============================================================ */
@media (max-width: 1100px) {
  .nav-links.open { gap: 0; padding: 4px 20px 12px; }
  .nav-links > li { width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav-links > li:last-child { border-bottom: none; }

  /* one identical row for every top-level item */
  .nav-parent,
  .nav-links > li > a:not(.nav-parent) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 50px;
    min-height: 0;
    padding: 0 2px;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--text);
  }
  .nav-caret { width: 12px; height: 8px; margin-left: 12px; }

  /* collapsed submenu: no footprint at all */
  .nav-dropdown { padding: 0; margin: 0; border-left: none; }

  /* expanded submenu: same dense rhythm, lightly indented */
  .nav-item-dropdown.expanded .nav-dropdown {
    padding: 0 0 8px 14px;
    margin: 0 0 4px;
    border-left: 2px solid var(--line);
  }
  .nav-dropdown-item { padding: 9px 10px; min-height: 42px; }
  .nav-dropdown-desc { display: none; }              /* titles only on phones */
  .nav-dropdown-eyebrow { font-size: 10.5px; }
  .nav-dropdown-title { font-size: 14.5px; }
  .nav-dropdown-footer { margin-top: 2px; padding: 10px; min-height: 40px; font-size: 13.5px; }
  .nav-dropdown-section-link { padding: 8px 10px; margin-bottom: 4px; }
}



/* ============================================================
   HERO — full-bleed photo + navy overlay, centered copy
   Shared by government.html and the case-study pages.
   ============================================================ */
.hero-bleed{background:#0f1f3d;color:#fff;position:relative;overflow:hidden;min-height:680px;display:flex;align-items:center;padding-top:150px;padding-bottom:88px}
.hero-bleed::before{display:none}
.hero-bleed-bg{position:absolute;inset:0;z-index:0}
.hero-bleed-bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.hero-bleed-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,31,61,.62) 0%,rgba(15,31,61,.80) 45%,rgba(15,31,61,.94) 100%)}
.hero-bleed-bg.no-img{background:linear-gradient(135deg,#0f1f3d 0%,#16306b 55%,#1e40af 100%)}
.hero-bleed-bg.no-img .hero-bleed-overlay{background:radial-gradient(circle at 50% 60%,rgba(0,212,255,.16) 0%,transparent 55%)}
.hero-bleed-inner{position:relative;z-index:1;display:block;width:100%;max-width:1400px;margin:0 auto}
.hero-bleed-copy{max-width:940px;margin:0 auto;text-align:center}
.hero-bleed-copy .breadcrumb{justify-content:center}
.hero-bleed .breadcrumb,.hero-bleed .breadcrumb a{color:rgba(255,255,255,.7)}
.hero-bleed .breadcrumb a:hover{color:#fff}
.hero-bleed h1,.hero-bleed h1 .italic{color:#fff}
.hero-bleed .gradient-text{background:linear-gradient(90deg,#00d4ff 0%,#9ee2ff 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.hero-bleed .pillar-hero-eyebrow{color:#00d4ff}
.hero-bleed .pillar-hero-pillar{color:#fff}
.hero-bleed .pillar-hero-lead,.hero-bleed .cs-hero-lead{color:rgba(255,255,255,.84);margin-left:auto;margin-right:auto;max-width:820px}
.hero-bleed .pillar-hero-tagline,.hero-bleed .pillar-hero-tagline em{color:#00d4ff}
.hero-bleed .pillar-hero-badge{justify-content:center}
.hero-bleed .pillar-hero-badge > div:last-child{text-align:left}
.hero-bleed .cs-hero-meta{justify-content:center}
.hero-bleed .cs-meta-pill{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.32);color:#fff}
.hero-bleed .cs-meta-pill strong{color:#fff}
.hero-bleed .btn-secondary{color:#fff;border-color:rgba(255,255,255,.55);background:transparent}
.hero-bleed .btn-secondary:hover{background:rgba(255,255,255,.1);border-color:#fff}
.hero-bleed .gov-hero-actions{justify-content:center}
@media (max-width:1000px){.hero-bleed{min-height:0}.hero-bleed-overlay{background:linear-gradient(180deg,rgba(15,31,61,.8) 0%,rgba(15,31,61,.94) 100%)}}

/* ============================================================
   E-VERIFY (footer on every page, Careers section)
   The E-Verify logo shows itself automatically once a file named
   everify-logo.png sits in the site folder. Until then it stays hidden
   and only the wording shows. No code edit needed to switch it on.
   ============================================================ */
.ev-logo{flex:none;display:inline-flex;text-decoration:none;border-radius:10px}
.ev-logo[hidden]{display:none !important}
.ev-logo img{display:block;width:160px;height:auto}
.ev-logo:focus-visible{outline:2px solid var(--blue-cyan,#00d4ff);outline-offset:3px}
.nw{white-space:nowrap}
.ev-tm{font-size:12px;color:var(--text-muted,#5a6b85);margin:0;line-height:1.5}
.footer-ev{display:flex;align-items:center;gap:16px;margin-top:26px;max-width:440px}
.footer-ev .ev-logo{background:#fff;padding:6px}
.footer-brand .footer-ev .ev-logo img{width:160px;height:auto;margin:0}
.footer-ev-text{display:flex;flex-direction:column;gap:5px}
.footer-ev-text span{font-size:14px;color:rgba(255,255,255,.82)}
.footer-ev-text small{font-size:11.5px;line-height:1.45;color:rgba(255,255,255,.5)}
@media (max-width:900px){.footer-ev{flex-direction:column;align-items:flex-start;gap:12px}}


/* ============================================================
   TABLET MENU (721–1100px): the full menu doesn't fit on one line
   below 1101px, so tablets use the phone-style menu. Keep the open
   panel on the same side margins as the logo.
   ============================================================ */
@media (min-width: 721px) and (max-width: 1100px) {
  .nav-links.open { padding-left: 56px; padding-right: 56px; }
  /* keep Get in touch beside the menu button instead of floating mid-bar */
  .nav-cta { margin-left: auto; margin-right: 20px; }
}

/* ============================================================
   NEXT-SECTION BUTTON (added Nov 2026)
   Down arrow on long pages, tablets and computers only.
   The up arrow sits above the down arrow on those pages.
   ============================================================ */
.next-section {
  position: fixed;
  right: 28px;
  bottom: 28px;
  bottom: max(28px, env(safe-area-inset-bottom, 0px));
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(135deg, #0f1f3d 0%, #061230 100%);
  color: var(--blue-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  box-shadow: 0 12px 30px rgba(6, 18, 48, 0.32);
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  padding: 0;
  font-family: inherit;
}
.next-section.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.next-section:hover {
  background: linear-gradient(135deg, #1e40af 0%, #0f1f3d 100%);
  color: #ffffff;
  transform: translateY(2px) scale(1.04);
}
.next-section:focus-visible { outline: 2px solid var(--blue-cyan); outline-offset: 3px; }
.next-section svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.4; fill: none; }

/* On long pages the up arrow uses the slot above the down arrow, so the
   two buttons never trade places under the pointer */
.has-next-section .back-to-top { bottom: calc(max(28px, env(safe-area-inset-bottom, 0px)) + 60px); }

/* Phones: down arrow off */
@media (max-width: 720px) {
  .next-section { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .next-section { transition: opacity 0.15s ease; }
  .next-section:hover { transform: none; }
}
