/* ============================================================
   CC STAFFING INTERNATIONAL — Main Stylesheet
   ============================================================ */



:root {
  --navy:   #071D3B;
  --blue:   #1175BC;
  --cyan:   #39B6E8;
  --soft:   #EAF3F8;
  --paper:  #F7FAFD;
  --text:   #29394A;
  --muted:  #637383;
  --gold:   #C8A451;
  --green:  #1FA67A;
  --white:  #ffffff;
  --shadow: 0 24px 70px rgba(7,29,59,.10);
  --radius: 24px;
  --radius-sm: 12px;
  --max-w:  1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── Layout ─────────────────────────────────────────────── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 80px 0; }
section.dark { background: var(--navy); color: var(--white); }
section.soft { background: var(--soft); }

/* ── Typography ─────────────────────────────────────────── */
h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.05em;
  color: var(--navy);
}
h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--navy);
}
h3 {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.dark h1, .dark h2, .dark h3 { color: var(--white); }
p { color: var(--muted); line-height: 1.7; }
.dark p { color: rgba(255,255,255,0.72); }

/* ── Kicker / Eyebrow ───────────────────────────────────── */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.dark .kicker {
  background: rgba(255,255,255,0.1);
  color: var(--cyan);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 30px rgba(17,117,188,.28);
}
.btn-primary:hover {
  background: #0e5fa0;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(17,117,188,.36);
}
.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid rgba(7,29,59,.14);
}
.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 8px 28px rgba(200,164,81,.3);
}
.btn-gold:hover {
  background: #b8923e;
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 40px; font-size: 17px; }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(7,29,59,.07);
  padding: 32px;
  transition: box-shadow .25s, transform .25s;
}
.card:hover {
  box-shadow: 0 12px 48px rgba(7,29,59,.13);
  transform: translateY(-4px);
}

/* ── Gold metric highlight ───────────────────────────────── */
.metric-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #e8b860);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 5px 12px;
  border-radius: 999px;
}

/* ── Industry pill ───────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tag-blue { background: var(--soft); color: var(--blue); }
.tag-gold { background: rgba(200,164,81,.12); color: #9a7530; }
.tag-green { background: rgba(31,166,122,.1); color: #166f52; }

/* ── Section header ──────────────────────────────────────── */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.section-head p { max-width: 480px; font-size: 17px; }
.section-head h2 { margin-top: 8px; }

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

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(247,250,253,.88);
  border-bottom: 1px solid rgba(7,29,59,.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--navy);
  white-space: nowrap;
}
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 0 2.5px var(--blue), 0 2px 8px rgba(7,29,59,.15);
  overflow: hidden;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.16); /* crops the soft white edge of the source image */
  border-radius: 50%;
}
.logo-text small {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--muted);
  margin-top: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .15s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  border-bottom-color: var(--blue);
}
.nav-cta { flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .25s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 72px;
  background: var(--white);
  z-index: 99;
  flex-direction: column;
  padding: 40px 24px;
  gap: 8px;
  border-top: 1px solid rgba(7,29,59,.08);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  padding: 14px 0;
  border-bottom: 1px solid rgba(7,29,59,.07);
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.9fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo { margin-bottom: 16px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.6; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: grid; place-items: center;
  color: var(--white);
  font-size: 14px;
  transition: background .2s;
}
.footer-social a:hover { background: var(--blue); }
.footer-col h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  transition: color .15s;
}
.footer-col ul a:hover { color: var(--white); }
.footer-col address {
  font-style: normal;
  font-size: 14px;
  color: rgba(255,255,255,.7);
  line-height: 1.8;
}
.footer-col address a { transition: color .15s; }
.footer-col address a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.4); }
.footer-bottom a { font-size: 12px; color: rgba(255,255,255,.4); transition: color .15s; }
.footer-bottom a:hover { color: var(--white); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: 80px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { margin: 16px 0 24px; }
.hero-lead { font-size: 17px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(7,29,59,.08);
  flex-wrap: wrap;
}
.stat-item .stat-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.04em;
}
.stat-item .stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

/* Hero visual */
.hero-visual {
  position: relative;
}
.hero-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--soft) 0%, #d0e8f5 50%, rgba(57,182,232,.15) 100%);
  display: grid;
  place-items: center;
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-placeholder {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 32px;
  width: 100%;
}
.hero-placeholder span {
  aspect-ratio: 1;
  border-radius: 16px;
  opacity: .7;
}
.hero-placeholder span:nth-child(1) { background: var(--blue); }
.hero-placeholder span:nth-child(2) { background: var(--cyan); border-radius: 50%; }
.hero-placeholder span:nth-child(3) { background: var(--navy); }
.hero-placeholder span:nth-child(4) { background: var(--gold); border-radius: 50%; }
.hero-placeholder span:nth-child(5) { background: var(--soft); border: 3px solid var(--blue); }
.hero-placeholder span:nth-child(6) { background: var(--green); }
.hero-placeholder span:nth-child(7) { background: var(--cyan); }
.hero-placeholder span:nth-child(8) { background: var(--blue); border-radius: 50%; }
.hero-placeholder span:nth-child(9) { background: var(--gold); border-radius: 50%; }

.hero-badge {
  position: absolute;
  bottom: -16px;
  left: -20px;
  background: var(--white);
  border-radius: 999px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(7,29,59,.14);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.hero-badge-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── Logo strip ──────────────────────────────────────────── */
.logo-strip {
  padding: 40px 0;
  background: var(--white);
  border-top: 1px solid rgba(7,29,59,.06);
  border-bottom: 1px solid rgba(7,29,59,.06);
  overflow: hidden;
}
.logo-strip-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.logo-strip-track {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: scroll-logos 30s linear infinite;
  width: max-content;
}
.logo-strip-track:hover { animation-play-state: paused; }
.logo-placeholder {
  width: 120px;
  height: 36px;
  background: var(--soft);
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .06em;
}
@keyframes scroll-logos {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Services ────────────────────────────────────────────── */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid rgba(7,29,59,.07);
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0;
  transition: opacity .25s;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--soft);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 24px; height: 24px; color: var(--blue); }
.service-card h3 { margin-bottom: 10px; font-size: 18px; }
.service-card p { font-size: 14px; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}
.service-link:hover { gap: 10px; }

/* ── Industries ──────────────────────────────────────────── */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.industry-pill {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--white);
  border: 1.5px solid rgba(7,29,59,.1);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: default;
  transition: all .2s;
  position: relative;
}
.industry-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--soft);
}
.industry-pill .tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
}
.industry-pill:hover .tooltip { display: block; }

/* ── Case Study Cards ────────────────────────────────────── */
.cs-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(7,29,59,.07);
  transition: all .25s;
  display: flex;
  flex-direction: column;
}
.cs-card:hover { box-shadow: 0 16px 56px rgba(7,29,59,.13); transform: translateY(-4px); }
.cs-card-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--soft), #d0e8f5);
  position: relative;
  overflow: hidden;
}
.cs-card-img img { width: 100%; height: 100%; object-fit: cover; }
.cs-card-img picture { display:block; width:100%; height:100%; }
.cs-card-img picture img { width:100%; height:100%; object-fit:cover; display:block; }
.cs-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--soft) 0%, rgba(17,117,188,.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-pdf-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--white);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 4px;
}
.cs-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.cs-card-body h3 { margin: 10px 0 8px; font-size: 18px; }
.cs-card-body p { font-size: 14px; flex: 1; }
.cs-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(7,29,59,.07);
}
.cs-read-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap .15s;
}
.cs-read-link:hover { gap: 10px; }

/* ── Proposals ────────────────────────────────────────────── */
.proposal-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: background .2s;
}
.proposal-card:hover { background: rgba(255,255,255,.1); }
.proposal-card h3 { color: var(--white); margin: 12px 0 16px; }
.proposal-card ul { list-style: none; }
.proposal-card ul li {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  gap: 10px;
}
.proposal-card ul li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

/* ── CTA Band ─────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #0a2a52 100%);
  border-radius: 32px;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  margin: 0 24px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57,182,232,.15), transparent 70%);
}
.cta-band h2 { color: var(--white); max-width: 560px; }
.cta-band p { color: rgba(255,255,255,.65); margin-top: 12px; font-size: 17px; }

/* ── CTA Band — photo variant (matches Workforce Solutions Portfolio
     reference page look: text + photo side by side, plain-text kicker) ── */
.cta-band-photo { grid-template-columns: 1fr 1fr; padding: 0; gap: 0; }
.cta-band-photo .cta-copy { padding: 56px; }
.cta-band-photo .kicker { background: none; padding: 0; border-radius: 0; color: var(--blue); width: auto; margin-bottom: 12px; }
.cta-band-photo .cta-img { min-height: 420px; padding: 24px; display: flex; align-items: center; }
.cta-band-photo .cta-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; box-shadow: 0 16px 44px rgba(0,0,0,.28); }
@media (max-width: 900px) {
  .cta-band-photo { grid-template-columns: 1fr; }
  .cta-band-photo .cta-img { min-height: 240px; order: -1; }
  .cta-band-photo .cta-copy { padding: 40px 28px; }
}

/* ── CTA Band — light blue variant (scoped override) ───────── */
.cta-band-light {
  background: linear-gradient(135deg, var(--soft) 0%, #D5E8F2 100%);
}
.cta-band-light::before {
  background: radial-gradient(circle, rgba(17,117,188,.12), transparent 70%);
}
.cta-band-light h2 { color: var(--navy); }
.cta-band-light p { color: var(--muted); }

/* ── Book Page ────────────────────────────────────────────── */
.book-hero {
  text-align: center;
  padding: 80px 0 64px;
  max-width: 760px;
  margin: 0 auto;
}
.book-hero h1 { margin: 16px 0 24px; }
.urgency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,164,81,.12);
  color: #9a7530;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 20px;
}
.value-props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-prop {
  text-align: center;
  padding: 36px 28px;
}
.value-prop-icon {
  width: 64px; height: 64px;
  border-radius: 20px;
  background: var(--soft);
  display: grid; place-items: center;
  margin: 0 auto 20px;
}
.value-prop-icon svg { width: 28px; height: 28px; color: var(--blue); }
.value-prop h3 { font-size: 17px; margin-bottom: 8px; }

/* ── "What We'll Cover" list (ported from VSL page, used on book.html) ── */
.vsl-cover-list { display: flex; flex-direction: column; gap: 18px; margin: 28px 0; }
.vsl-cover-item { background: #fff; border-radius: 14px; padding: 20px 22px; border: 1px solid rgba(7,29,59,.08); }
.vsl-cover-item h3 { font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.vsl-cover-item p { font-size: 14px; color: var(--muted); margin: 0; }
.book-cta-section {
  text-align: center;
  padding: 64px 0;
}
.reassurance {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Testimonial card */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border-left: 4px solid var(--gold);
  box-shadow: 0 4px 20px rgba(7,29,59,.07);
}
.testimonial-quote { font-size: 16px; color: var(--text); font-style: italic; line-height: 1.7; }
.testimonial-author { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--soft);
  display: grid; place-items: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--blue);
  flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.testimonial-role { font-size: 13px; color: var(--muted); }

/* Team cards */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(7,29,59,.07);
}
.team-photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--soft);
  margin: 0 auto 16px;
  object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 900; color: var(--blue);
}
.team-card h3 { font-size: 17px; margin-bottom: 4px; }
.team-card .team-role { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.team-card .team-exp {
  display: inline-block;
  background: var(--soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

/* ── Jobs page ───────────────────────────────────────────── */
.jobs-hero { padding: 64px 0 48px; }
.value-props-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.vp-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 24px;
  border: 1px solid rgba(7,29,59,.07);
}
.vp-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--soft);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.vp-icon svg { width: 20px; height: 20px; color: var(--blue); }
.vp-item h3 { font-size: 15px; margin-bottom: 4px; }
.vp-item p { font-size: 13px; }
.manatal-wrap {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(7,29,59,.08);
  min-height: 800px;
  position: relative;
}
.manatal-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--muted);
  font-size: 15px;
}
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--soft);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.manatal-wrap iframe { display: block; width: 100%; min-height: 800px; border: none; }

/* ── Contact page ────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: stretch; }
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: 0 4px 24px rgba(7,29,59,.07);
}
.contact-form-wrap h2 { margin-bottom: 8px; }
.contact-form-wrap > p { margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
input, select, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(7,29,59,.12);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(17,117,188,.1);
  background: var(--white);
}
textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; margin-top: 8px; }
.form-success {
  display: none;
  background: rgba(31,166,122,.1);
  border: 1px solid rgba(31,166,122,.3);
  border-radius: 12px;
  padding: 16px 20px;
  color: #0f5e3e;
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
  align-items: center;
  gap: 10px;
}
.form-success.show { display: flex; }
.form-error {
  display: none;
  background: rgba(220,53,69,.08);
  border: 1px solid rgba(220,53,69,.2);
  border-radius: 12px;
  padding: 16px 20px;
  color: #9b1c2a;
  font-size: 14px;
  margin-top: 16px;
}
.form-error.show { display: block; }

.contact-info-wrap { padding-top: 0; display: flex; flex-direction: column; min-height: 100%; }
.contact-info-details { margin-top: auto; }
.contact-info-wrap h3 { margin-bottom: 36px; }
.contact-page-image {
  width: 100%;
  max-width: 520px;
  display: block;
  border-radius: 24px;
  margin: 0 0 28px;
  box-shadow: 0 18px 42px rgba(7,29,59,.14);
  object-fit: cover;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 34px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(7,29,59,.07);
}
.contact-item:last-of-type { border-bottom: none; margin-bottom: 0; }
.contact-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--soft);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 21px; height: 21px; color: var(--blue); }
.contact-item-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-item-value { font-size: 17px; font-weight: 600; color: var(--navy); }
.contact-item-value a { transition: color .15s; }
.contact-item-value a:hover { color: var(--blue); }
.map-wrap {
  margin-top: 32px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--soft);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ── Case Study Detail ───────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb-sep { color: var(--muted); opacity: .5; }
.cs-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 28px 0 40px;
  background: linear-gradient(135deg, var(--soft), #d0e8f5);
}
.metrics-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(7,29,59,.08);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 56px;
}
.metric-item {
  background: var(--white);
  padding: 28px 24px;
  text-align: center;
}
.metric-item .metric-value {
  font-size: 32px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.04em;
}
.metric-item .metric-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}
.cs-body { max-width: 760px; }
.cs-body h2 { font-size: 24px; margin: 40px 0 16px; color: var(--navy); }
.cs-body p { font-size: 16px; color: var(--text); margin-bottom: 16px; }
.cs-body ul { padding-left: 20px; margin-bottom: 16px; }
.cs-body ul li { font-size: 16px; color: var(--text); margin-bottom: 8px; }

/* Attachments */
.attachments-section { margin-top: 56px; }
.attachments-section h2 { font-size: 22px; margin-bottom: 24px; }
.attachment-list { display: flex; flex-direction: column; gap: 12px; }
.attachment-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid rgba(7,29,59,.08);
  border-radius: 12px;
  padding: 16px 20px;
  transition: all .2s;
}
.attachment-item:hover { border-color: var(--blue); }
.attachment-icon {
  width: 40px; height: 40px;
  background: rgba(17,117,188,.1);
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.attachment-icon svg { width: 18px; height: 18px; color: var(--blue); }
.attachment-name { font-weight: 600; font-size: 14px; color: var(--navy); }
.attachment-desc { font-size: 12px; color: var(--muted); }
.attachment-download {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}
.img-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.img-thumb {
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--soft);
}
.img-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.img-thumb:hover img { transform: scale(1.05); }

/* References */
.references-section { margin-top: 56px; }
.references-section h2 { font-size: 22px; margin-bottom: 28px; }
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--navy);
  margin-bottom: 24px;
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7,29,59,.9);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: 12px; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  background: rgba(255,255,255,.15);
  border: none;
  color: var(--white);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }

/* Related case studies */
.related-section { margin-top: 64px; padding-top: 48px; border-top: 1px solid rgba(7,29,59,.08); }
.related-section h2 { font-size: 22px; margin-bottom: 28px; }

/* ── Case Studies Listing ─────────────────────────────────── */
.cs-listing-hero { padding: 64px 0 48px; }
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 48px;
}
.filter-pill {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(7,29,59,.12);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
}
.filter-pill:hover, .filter-pill.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.filter-search {
  margin-left: auto;
  position: relative;
}
.filter-search input {
  padding: 9px 16px 9px 38px;
  width: 240px;
  border-radius: 999px;
}
.filter-search svg {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--muted);
}
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cs-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 80px 24px;
  color: var(--muted);
}

/* ── Sanity loading state ─────────────────────────────────── */
.loading-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--muted);
}
.skeleton {
  background: linear-gradient(90deg, var(--soft) 25%, #ddeaf4 50%, var(--soft) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.skeleton-card {
  border-radius: var(--radius);
  height: 320px;
}

/* ── 404 page ────────────────────────────────────────────── */
.not-found {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.not-found-code {
  font-size: 120px;
  font-weight: 900;
  color: var(--soft);
  letter-spacing: -0.06em;
  line-height: 1;
  margin-bottom: 8px;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > *:first-child { grid-column: 1/-1; }
  .footer-grid > *:nth-child(2) { grid-column: 1/2; }
  .footer-grid > *:nth-child(3) { grid-column: 2/3; }
  .footer-grid > *:nth-child(4) { grid-column: 1/-1; }
  .metrics-band { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; text-align: center; margin: 0; }
  .cta-band::before { display: none; }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-badge { left: 12px; bottom: -12px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .cs-grid { grid-template-columns: 1fr; }
  .value-props, .value-props-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > *:nth-child(n) { grid-column: auto; }
  .metrics-band { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .img-gallery { grid-template-columns: repeat(2, 1fr); }
  .filter-search { margin-left: 0; width: 100%; }
  .filter-search input { width: 100%; }
  .contact-form-wrap { padding: 28px 20px; }
  .hero-stats { gap: 20px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .cta-band { padding: 40px 28px; }
  .book-cta-section .btn-lg { width: 100%; }
  .logo-full-img { height: 46px; }
  .btn { max-width: 100%; white-space: normal; }
}

/* ── About Page: Mission/Vision/Values ──────────────────── */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 0;
}
.mv-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: 0 4px 24px rgba(7,29,59,.07);
  position: relative;
  overflow: hidden;
}
.mv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
}
.mv-card.mission::before { background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.mv-card.vision::before { background: linear-gradient(90deg, var(--gold), #e8b860); }
.mv-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.mission .mv-icon { background: var(--soft); }
.vision .mv-icon { background: rgba(200,164,81,.12); }
.mv-icon svg { width: 26px; height: 26px; }
.mission .mv-icon svg { color: var(--blue); }
.vision .mv-icon svg { color: var(--gold); }
.mv-card h2 { font-size: 24px; margin-bottom: 14px; }
.mv-card p { font-size: 15.5px; line-height: 1.75; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid rgba(7,29,59,.07);
  transition: all .25s;
}
.value-card:hover {
  box-shadow: 0 12px 40px rgba(7,29,59,.1);
  transform: translateY(-4px);
  border-color: transparent;
}
.value-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.value-card h3 { font-size: 17px; margin-bottom: 10px; line-height: 1.3; }
.value-card p { font-size: 14px; }

/* ── Services Page ───────────────────────────────────────── */
.services-subnav {
  position: sticky;
  top: 72px;
  z-index: 50;
  background: rgba(247,250,253,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(7,29,59,.08);
  padding: 16px 0;
}
.subnav-inner {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav-link {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--white);
  border: 1px solid rgba(7,29,59,.1);
  white-space: nowrap;
  transition: all .2s;
}
.subnav-link:hover, .subnav-link.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.service-block {
  padding: 72px 0;
  border-bottom: 1px solid rgba(7,29,59,.06);
  scroll-margin-top: 150px;
}
.service-block:last-child { border-bottom: none; }
.service-block.alt { background: var(--soft); }
.service-block-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.service-block-grid.reverse { direction: rtl; }
.service-block-grid.reverse > * { direction: ltr; }
.service-num-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.service-num-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.service-block h2 { font-size: 32px; margin-bottom: 16px; }
.service-block-lead { font-size: 16.5px; color: var(--text); margin-bottom: 20px; line-height: 1.7; }
.service-block p.muted-text { font-size: 14.5px; margin-bottom: 24px; }
.service-feature-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.service-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--text);
}
.service-feature svg {
  width: 18px; height: 18px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}
.service-visual {
  border-radius: var(--radius);
  aspect-ratio: 4/3.2;
  background: linear-gradient(135deg, var(--soft) 0%, #d0e8f5 60%, rgba(57,182,232,.18) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-visual-icon {
  width: 96px; height: 96px;
  opacity: .9;
}
.service-visual-icon svg { width: 100%; height: 100%; color: var(--blue); opacity: .35; }
.service-visual img { width: 100%; height: 100%; object-fit: cover; }

/* Consultancy sub-cards */
.consultancy-subgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.consultancy-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(7,29,59,.07);
  scroll-margin-top: 150px;
}
.consultancy-card .cc-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--soft);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.consultancy-card .cc-icon svg { width: 22px; height: 22px; color: var(--blue); }
.consultancy-card h3 { font-size: 17px; margin-bottom: 10px; }
.consultancy-card p { font-size: 13.5px; margin-bottom: 16px; }
.consultancy-card ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.consultancy-card ul li {
  font-size: 13px;
  color: var(--text);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.consultancy-card ul li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .mv-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .service-block-grid { grid-template-columns: 1fr; }
  .service-block-grid.reverse { direction: ltr; }
  .service-visual { order: -1; aspect-ratio: 16/10; }
  .consultancy-subgrid { grid-template-columns: 1fr; }
  .services-subnav { top: 0; }
}

.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ══════════════════════════════════════════════════════════
   PREVIEW SITE ADDITIONS — version toggle, dropdown nav,
   profile pages, timelines, carousels
   ══════════════════════════════════════════════════════════ */

/* Version toggle pill (shown only on Home/About pages) */
.version-toggle {
  display: inline-flex;
  background: var(--soft);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
  margin-bottom: 24px;
}
.version-toggle a {
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  transition: all .2s;
}
.version-toggle a.active {
  background: var(--navy);
  color: var(--white);
}

/* Nav dropdown */
.nav-links li { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(7,29,59,.16);
  padding: 10px;
  min-width: 220px;
  display: none;
  z-index: 200;
}
.nav-links li:last-child .nav-dropdown {
  left: auto;
  right: 0;
  transform: none;
}

.nav-links li:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.nav-dropdown a:hover { background: var(--soft); color: var(--blue); }
.nav-dropdown .dropdown-divider { height: 1px; background: rgba(7,29,59,.07); margin: 6px 4px; }
.nav-dropdown .dropdown-label { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px 14px 4px; }

/* Logo lockup (full horizontal with ring-masked mark) */
.logo-full-img { height: 58px; width: auto; display: block; }
.logo-lockup { display: flex; align-items: center; gap: 13px; }
.logo-icon-img { width: 54px; height: 54px; display: block; flex-shrink: 0; object-fit: contain; }
.logo-text { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.logo-tagline {
  display: flex; align-items: center; gap: 6px;
  width: 100%;
  font-size: 7.2px; font-style: italic; font-weight: 600;
  letter-spacing: .01em; color: var(--navy); white-space: nowrap;
  opacity: .9;
}
.logo-tagline::before, .logo-tagline::after {
  content: ""; height: 1.5px; flex: 1 1 auto; min-width: 9px; background: #BB2729;
}
.logo-ring-mark {
  width: 42px; height: 42px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 2.5px var(--blue), 0 2px 8px rgba(7,29,59,.15);
  flex-shrink: 0;
  background: var(--white);
}
.logo-ring-mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.16); }
.logo-script-img { height: 27px; width: auto; display: block; }
.footer-logo .logo-ring-mark { box-shadow: 0 0 0 2.5px var(--cyan), 0 2px 8px rgba(0,0,0,.2); }
.footer-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.06);
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
}
.footer-logo-badge .logo-icon-img { width: 38px; height: 38px; }
.footer-logo-text {
  color: #fff; font-weight: 800; font-size: 16px;
  letter-spacing: .03em; white-space: nowrap; line-height: 1;
}
.footer-logo-text .fl-thin { font-weight: 800; opacity: 1; }

/* Stat band (mockup-style bordered grid) */
.stat-band-bordered {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(7,29,59,.08);
  padding-top: 28px;
  margin-top: 32px;
}
.stat-band-bordered .stat-item { border-right: 1px solid rgba(7,29,59,.08); padding-right: 16px; }
.stat-band-bordered .stat-item:last-child { border-right: none; }

/* Operating promise band */
.promise-band {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 36px 40px;
  display: flex;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
  margin: 48px 0;
}
.promise-item {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}
.promise-item::before { content: '✓'; color: var(--gold); font-weight: 900; }

/* Service architecture numbered cards (Home V2) */
.arch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.arch-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid rgba(7,29,59,.08);
}
.arch-num { font-size: 28px; font-weight: 900; color: rgba(7,29,59,.12); margin-bottom: 12px; }
.arch-card h3 { font-size: 17px; margin-bottom: 8px; }
.arch-card p { font-size: 13px; margin-bottom: 14px; }

/* Talent Impact Framework horizontal flow */
.flow-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.flow-step { text-align: center; padding: 0 12px; position: relative; }
.flow-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  font-size: 18px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 2;
}
.flow-row .flow-step:nth-child(2) .flow-circle { background: var(--cyan); }
.flow-row .flow-step:nth-child(3) .flow-circle { background: var(--gold); }
.flow-row .flow-step:nth-child(4) .flow-circle { background: var(--green); }
.flow-step::before {
  content: '';
  position: absolute;
  top: 28px; left: -50%; right: 50%;
  height: 2px;
  background: rgba(7,29,59,.12);
  z-index: 1;
}
.flow-step:first-child::before { display: none; }
.flow-step h4 { font-size: 14px; margin-bottom: 6px; color: var(--navy); }
.flow-step p { font-size: 12px; }

/* Vertical process timeline (About V2) */
.process-timeline { display: flex; flex-direction: column; gap: 0; max-width: 760px; margin: 0 auto; }
.process-step {
  display: flex;
  gap: 24px;
  padding-bottom: 36px;
  position: relative;
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 23px; top: 50px;
  width: 2px;
  height: calc(100% - 30px);
  background: rgba(7,29,59,.1);
}
.process-circle {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  z-index: 1;
}
.process-step h3 { font-size: 17px; margin-bottom: 6px; }
.process-step p { font-size: 14px; }

/* Differentiator cards */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.diff-card {
  background: var(--soft);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.diff-card .diff-icon { font-size: 28px; margin-bottom: 12px; }
.diff-card h3 { font-size: 15px; margin-bottom: 8px; }
.diff-card p { font-size: 13px; }

/* Testimonial carousel */
.carousel-wrap { max-width: 680px; margin: 0 auto; text-align: center; position: relative; }
.carousel-slide { display: none; }
.carousel-slide.active { display: block; }
.carousel-slide p { font-size: 18px; color: var(--white); font-style: italic; line-height: 1.7; margin-bottom: 24px; }
.carousel-author { display: flex; align-items: center; justify-content: center; gap: 12px; }
.carousel-avatar { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--cyan); font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.carousel-name { color: var(--white); font-weight: 700; font-size: 14px; }
.carousel-role { color: rgba(255,255,255,.5); font-size: 12px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); border: none; cursor: pointer; transition: all .2s; }
.carousel-dot.active { background: var(--cyan); width: 24px; border-radius: 4px; }

/* Profile page hero with deck-style badge */
.profile-hero { background: var(--navy); padding: 72px 0; text-align: center; }
.profile-hero .kicker { background: rgba(255,255,255,.1); color: var(--cyan); }
.profile-hero h1 { color: var(--white); margin-top: 16px; }
.profile-hero p { color: rgba(255,255,255,.6); margin-top: 14px; max-width: 600px; margin-left: auto; margin-right: auto; }

.profile-section { padding: 56px 0; border-bottom: 1px solid rgba(7,29,59,.06); }
.profile-section.alt { background: var(--soft); }
.profile-section-num { font-size: 12px; font-weight: 800; color: var(--blue); letter-spacing: .1em; margin-bottom: 10px; }

/* Framed image card */
.framed-image { border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 48px rgba(7,29,59,.14); }
.framed-image img { width: 100%; height: auto; display: block; }
/* Softer, more rounded framing for the About mission/vision photo */
.framed-image.soft-edge { border-radius: 32px; box-shadow: 0 24px 64px -12px rgba(7,29,59,.22), 0 6px 20px rgba(7,29,59,.10); }

/* Sandbox preview banner */
.preview-banner {
  background: linear-gradient(90deg, var(--gold), #e8b860);
  color: var(--white);
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 999;
}

@media (max-width: 900px) {
  .arch-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-row { grid-template-columns: 1fr; gap: 32px; }
  .flow-step::before { display: none; }
  .diff-grid { grid-template-columns: 1fr; }
  .stat-band-bordered { grid-template-columns: 1fr; gap: 16px; }
  .stat-band-bordered .stat-item { border-right: none; border-bottom: 1px solid rgba(7,29,59,.08); padding-bottom: 16px; }
}
@media (max-width: 640px) {
  .nav-dropdown { display: none !important; }
}

/* ══════════════════════════════════════════════════════════
   PDF VIEWER MODAL — view-only case study PDFs, no download
   ══════════════════════════════════════════════════════════ */
.cs-card-img-placeholder img { transition: transform .25s; }
.cs-card-img[role="button"]:hover .cs-card-img-placeholder img { transform: scale(1.08); }
.cs-card-img[role="button"]:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.pdf-viewer-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7,29,59,.92);
  z-index: 1000;
  flex-direction: column;
  align-items: center;
  padding: 24px;
}
.pdf-viewer-modal.open { display: flex; }
.pdf-viewer-bar {
  width: 100%;
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 14px;
}
.pdf-viewer-title { color: #fff; font-weight: 700; font-size: 15px; }
.pdf-viewer-close {
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s;
}
.pdf-viewer-close:hover { background: rgba(255,255,255,.25); }
.pdf-viewer-stage {
  position: relative;
  width: 100%;
  max-width: 900px;
  flex: 1;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.4);
}
.pdf-viewer-stage iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  overflow: auto;
}
.pdf-viewer-note {
  color: rgba(255,255,255,.55);
  font-size: 12.5px;
  margin-top: 14px;
  text-align: center;
}
@media (max-width: 640px) {
  .pdf-viewer-modal { padding: 12px; }
  .pdf-viewer-stage { border-radius: 8px; }
}

/* ══════════════════════════════════════════════════════════
   MERGED ABOUT PAGE — sliding differentiators
   ══════════════════════════════════════════════════════════ */

/* Sliding key differentiators carousel */
.diff-slider-section { overflow: hidden; }
.diff-slider-track-wrap {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}
.diff-slider-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: diff-scroll 32s linear infinite;
}
.diff-slider-track:hover { animation-play-state: paused; }
.diff-slide-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 28px 26px;
  width: 300px;
  flex-shrink: 0;
}
.diff-slide-card .diff-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(57,182,232,.12);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.diff-slide-card .diff-icon-wrap svg { width: 22px; height: 22px; color: var(--cyan); }
.diff-slide-card h3 { color: #fff; font-size: 16px; margin-bottom: 8px; line-height: 1.35; }
.diff-slide-card p { color: rgba(255,255,255,.6); font-size: 13.5px; line-height: 1.6; margin: 0; }

@keyframes diff-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .diff-slider-track { animation: none; }
  .diff-slider-track-wrap { overflow-x: auto; }
}
@media (max-width: 640px) {
  .diff-slide-card { width: 250px; }
}

/* ── Detailed Case Study Cards (ported from Workforce Solutions
     Portfolio reference page, used on case-studies.html) ────── */
.cs-detailed-title { margin: 8px 0 28px; }
.cases { display: grid; gap: 24px; }
.case {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 0;
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(7,29,59,.07);
}
.case:nth-child(even) { grid-template-columns: 1.1fr .9fr; }
.case:nth-child(even) .case-img { order: 2; }
.case-img { min-height: 370px; background-size: cover; background-position: center; }
.case-body { padding: 40px; }
.case-title { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.case-title b { color: var(--blue); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.case-body h3 { font-size: 34px; line-height: 1; letter-spacing: -.04em; margin: 0 0 20px; }
.case-body p { font-size: 16px; }
.metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 24px; }
.metric { border-radius: 18px; padding: 16px; background: var(--soft); }
.metric strong { display: block; font-size: 24px; color: var(--blue); }
.metric span { font-size: 12px; color: var(--muted); }

@media (max-width: 940px) {
  .case, .case:nth-child(even) { grid-template-columns: 1fr; }
  .case:nth-child(even) .case-img { order: 0; }
  .metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .metrics { grid-template-columns: 1fr; }
  .case-img { min-height: 260px; }
}

/* ── Section sub-description (gray text directly under a section
     title, wraps to roughly the title's own width) ──────────── */
.section-subdesc {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 920px;
  margin-top: 12px;
}

/* ── Workforce solutions feature band image card (ported from
     Workforce Solutions Portfolio reference page, used on home.html) ── */
.wf-feature-image {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow);
}
.wf-feature-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wf-feature-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,29,59,0) 38%, rgba(7,29,59,.72));
}
.wf-feature-card {
  position: absolute; left: 28px; right: 28px; bottom: 28px; z-index: 2;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 22px;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}
.wf-feature-card strong { display: block; font-size: 26px; color: var(--blue); }
.wf-feature-card span { font-size: 12px; color: var(--muted); }
@media (max-width: 940px) {
  .wf-feature-image { min-height: 320px; }
}
@media (max-width: 620px) {
  .wf-feature-card { grid-template-columns: 1fr; }
}

/* ── Client testimonials — sliding carousel (Case Studies page) ── */
.testimonial-slider-track-wrap {
  overflow: hidden;
  width: 100%;
  margin: 8px 0 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}
.testimonial-slider-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 4px 24px;
  animation: testimonial-scroll 42s linear infinite;
}
.testimonial-slider-track:hover { animation-play-state: paused; }
.testimonial-card {
  background: #fff;
  border: 1px solid rgba(7,29,59,.08);
  border-radius: 18px;
  padding: 26px 24px;
  width: 360px;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(7,29,59,.05);
}
.testimonial-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial-name { font-weight: 700; color: var(--navy); font-size: 14px; }
.testimonial-role { font-size: 12.5px; color: var(--muted); }
.testimonial-card p { font-size: 14px; line-height: 1.65; color: var(--text); font-style: italic; margin: 0; }
@keyframes testimonial-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-slider-track { animation: none; }
  .testimonial-slider-track-wrap { overflow-x: auto; }
}
@media (max-width: 640px) {
  .testimonial-card { width: 290px; }
}
.testimonial-disclaimer {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Static testimonial grid (no sliding) — used on VSL pages ── */
.testimonial-static-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--max-w);
  margin: 8px auto 0;
  padding: 4px 24px;
}
.testimonial-static-grid .testimonial-card { width: auto; }
@media (max-width: 900px) {
  .testimonial-static-grid { grid-template-columns: 1fr; max-width: 480px; }
}

/* ── Industries grid (ported from Workforce Solutions Portfolio
     reference page, used on home.html) ──────────────────────── */
.industries { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.industry { padding: 20px; border-radius: 20px; background: #fff; border: 1px solid rgba(7,29,59,.08); }
.industry b { color: var(--navy); }
.industry span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--muted); }

@media (max-width: 940px) {
  .industries { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .industries { grid-template-columns: 1fr; }
}

/* Updated compact operating promise band */
.promise-section {
  padding: 24px 0 32px;
}
.promise-band {
  padding: 18px 32px;
  margin: 0;
}

.promise-positioning {
  max-width: 980px;
  margin: 18px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

/* About page HTML workflow */
.approach-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  position: relative;
}
.approach-step {
  background: var(--white);
  border: 1px solid rgba(7,29,59,.10);
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: 0 8px 28px rgba(7,29,59,.07);
  position: relative;
}
.approach-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-weight: 900;
  z-index: 2;
}
.approach-step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(17,117,188,.10);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}
.approach-step strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.25;
  margin-bottom: 8px;
}
.approach-step p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 980px) {
  .approach-flow { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .approach-step:not(:last-child)::after {
    content: '↓';
    right: auto;
    left: 50%;
    top: auto;
    bottom: -18px;
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {
  .contact-page-image { border-radius: 18px; margin-bottom: 28px; }
}

@media (max-width: 768px) {
  .contact-info-wrap { min-height: auto; }
  .contact-info-details { margin-top: 0; }
}

/* Reduced main page title size site-wide, excluding Contact page */
body:not(.contact-page) h1 {
  font-size: clamp(36px, 5.2vw, 62px);
}

/* About page opening layout aligned with Home hero */
.about-hero {
  padding: 64px 0 56px;
}
.about-hero h1 {
  margin: 16px 0 20px;
}
.about-hero .hero-img-wrap {
  aspect-ratio: 4/3;
}
@media (max-width: 980px) {
  .about-hero { padding: 48px 0 40px; }
}

/* Ensure gray section descriptions span under full section titles without affecting centered section labels */
.section-head p,
.section-head .section-subdesc {
  max-width: 920px;
}

/* Fix WebP <picture> wrappers inside image cards so the image fills the frame
   and no background band appears above or below the visual. */
.hero-img-wrap picture,
.service-visual picture,
.wf-feature-image picture,
.framed-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-img-wrap picture img,
.service-visual picture img,
.wf-feature-image picture img,
.framed-image picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.framed-image picture img {
  height: auto;
}

/* Rendered case-study document viewer - replaces native PDF iframe for stronger download resistance. */
.case-doc-stage {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #f4f7fb;
  padding: 22px;
}
.case-doc-pages {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  min-height: 100%;
}
.case-doc-page {
  display: block;
  width: min(100%, 980px);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(7,29,59,.14);
  user-select: none;
  -webkit-user-select: none;
}
.case-doc-page img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: auto;
  user-select: none;
  -webkit-user-drag: none;
}
@media (max-width: 640px) {
  .case-doc-stage { padding: 10px; }
  .case-doc-pages { gap: 12px; }
}

/* No-JS navigation fallback */
.noscript-nav { display:flex; gap:18px; flex-wrap:wrap; align-items:center; justify-content:center; padding:14px 20px; background:#fff; border-bottom:1px solid rgba(7,29,59,.08); }
.noscript-nav a { color:var(--navy); font-weight:700; text-decoration:none; }
.noscript-nav a:hover { color:var(--blue); }
