/* ============================================================
   Agilisys Website v6 — Styles
   Typography: Instrument Serif (display) + Outfit (body)
   Design: Editorial Precision
   v6: Sector pages — routing cards, sector-specific patterns
   ============================================================ */

:root {
  --navy: #001B6B;
  --blue: #0047BB;
  --sky: #41B6E6;
  --gold: #D4A853;
  --warm-white: #FAFAF7;
  --cool-grey: #F0F2F5;
  --ink: #1A1A2E;
  --text: #3A3A4A;
  --text-muted: #6B6B7B;
  --border: rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.08);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-height: 68px;
}

/* ========== SELF-HOSTED FONTS ========== */
/* Instrument Serif — normal */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/instrument-serif-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/instrument-serif-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Instrument Serif — italic */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/instrument-serif-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/instrument-serif-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Outfit — variable weight (300-800) */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(assets/fonts/outfit-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(assets/fonts/outfit-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ========== RESET ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  line-height: 1.75;
  font-size: 17px;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Instrument Serif', serif;
  color: var(--ink);
  line-height: 1.2;
  font-weight: 400;
}
h2 { font-size: 36px; letter-spacing: -0.01em; }
h3 { font-size: 22px; }
p + p { margin-top: 16px; }
h2 + p, h3 + p { margin-top: 12px; }
a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
/* Prose links need underline to meet WCAG 2.1 AA link-in-text-block */
p a, li a, td a, dd a, blockquote a { text-decoration: underline; }
p a:hover, li a:hover, td a:hover, dd a:hover, blockquote a:hover { text-decoration: none; }
a:hover { color: #0A6E9E; }

/* ========== SKIP LINK ========== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--blue);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus {
  top: 0;
  color: #fff;
}

/* ========== FOCUS INDICATORS ========== */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.bg-navy :focus-visible,
.bg-navy-solid :focus-visible {
  outline-color: var(--sky);
}
img { max-width: 100%; display: block; border-radius: 12px; }
ul { list-style: none; }

/* ========== UTILITY ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.container--narrow { max-width: 800px; margin: 0 auto; padding: 0 40px; }

/* Long-form content (legal, policy pages) */
.container--narrow h2 { font-size: 24px; margin-top: 40px; font-family: 'Outfit', sans-serif; font-weight: 600; }
.container--narrow h3 { font-size: 18px; margin-top: 28px; font-family: 'Outfit', sans-serif; font-weight: 600; }
.container--narrow ul { list-style: disc; padding-left: 24px; margin-top: 12px; }
.container--narrow li { margin-bottom: 6px; }
.container--narrow p + h2 { margin-top: 40px; }
.container--narrow p + h3 { margin-top: 28px; }
.container--narrow ul + h2 { margin-top: 40px; }
.container--narrow ul + h3 { margin-top: 28px; }
.container--narrow table + h2 { margin-top: 40px; }

/* Legal tables */
.legal-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.legal-table th, .legal-table td { padding: 10px 14px; border: 1px solid var(--border, #e2e2e2); text-align: left; }
.legal-table th { background: var(--navy); color: #fff; font-weight: 600; font-size: 14px; }
.legal-table tr:nth-child(even) td { background: #f8f9fa; }
.section-pad { padding: 88px 0; }
.section-pad--compact { padding: 48px 0; }
.text-center { text-align: center; }

.bg-navy {
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  position: relative;
}
.bg-navy::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  z-index: 0;
}
.bg-navy > * { position: relative; z-index: 1; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy p, .bg-navy label { color: #fff; }

/* Hero image variants — dark overlay keeps text readable over any photo */
.hero-homepage      { background-image: linear-gradient(rgba(0,27,107,0.72), rgba(0,27,107,0.82)), url('assets/images/hero-homepage.webp'); }
.hero-software      { background-image: linear-gradient(rgba(0,27,107,0.70), rgba(0,27,107,0.80)), url('assets/images/hero-software.webp'); }
.hero-send          { background-image: linear-gradient(rgba(0,27,107,0.72), rgba(0,27,107,0.82)), url('assets/images/hero-send.webp'); }
.hero-operations    { background-image: linear-gradient(rgba(0,27,107,0.70), rgba(0,27,107,0.80)), url('assets/images/hero-operations.webp'); }
.hero-solutions     { background-image: linear-gradient(rgba(0,27,107,0.68), rgba(0,27,107,0.80)), url('assets/images/hero-solutions.webp'); }
.hero-consulting    { background-image: linear-gradient(rgba(0,27,107,0.70), rgba(0,27,107,0.82)), url('assets/images/hero-consulting.webp'); }
.hero-solutions-hub { background-image: linear-gradient(rgba(0,27,107,0.70), rgba(0,27,107,0.82)), url('assets/images/hero-consulting.webp'); }
.hero-services      { background-image: linear-gradient(rgba(0,27,107,0.70), rgba(0,27,107,0.80)), url('assets/images/hero-services.webp'); }
.hero-services-detail { background-image: linear-gradient(rgba(0,27,107,0.72), rgba(0,27,107,0.82)), url('assets/images/hero-services-detail.webp'); }
.hero-about         { background-image: linear-gradient(rgba(0,27,107,0.65), rgba(0,27,107,0.78)), url('assets/images/hero-about.webp'); }
.hero-contact       { background-image: linear-gradient(rgba(0,27,107,0.68), rgba(0,27,107,0.80)), url('assets/images/hero-about.webp'); }
.hero-sector-lg     { background-image: linear-gradient(rgba(0,27,107,0.68), rgba(0,27,107,0.80)), url('assets/images/hero-sector-lg.webp'); }
.hero-sector-health { background-image: linear-gradient(rgba(0,27,107,0.70), rgba(0,27,107,0.82)), url('assets/images/hero-sector-health.webp'); }
.hero-sector-education { background-image: linear-gradient(rgba(0,27,107,0.70), rgba(0,27,107,0.82)), url('assets/images/hero-sector-education.webp'); }
.hero-sector-bluelight { background-image: linear-gradient(rgba(0,27,107,0.72), rgba(0,27,107,0.82)), url('assets/images/hero-sector-bluelight.webp'); }

.bg-navy-solid {
  background-color: var(--navy);
  color: #fff;
  position: relative;
}
.bg-navy-solid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  z-index: 0;
}
.bg-navy-solid > * { position: relative; z-index: 1; }
.bg-navy-solid h1, .bg-navy-solid h2, .bg-navy-solid h3, .bg-navy-solid p, .bg-navy-solid label { color: #fff; }
.bg-navy-solid a { color: var(--sky); }

.bg-warm { background: var(--warm-white); }
.bg-cool { background: var(--cool-grey); }
.bg-white { background: #fff; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  border: none;
  text-align: center;
  letter-spacing: 0.01em;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--blue);
  color: #fff;
}
.btn--primary:hover { background: #003da3; color: #fff; }
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--sm {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}
.btn--sm:hover { background: #003da3; color: #fff; }
.btn--submit {
  background: var(--blue);
  color: #fff;
  width: 100%;
}
.btn--submit:hover { background: #003da3; color: #fff; }

/* Inline mid-page CTA */
.inline-cta {
  padding: 32px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.inline-cta p {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0;
}
.inline-cta a {
  font-weight: 600;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo svg { height: 28px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 28px; }
@media (max-width: 1100px) {
  .nav__links { gap: 16px; }
  .nav__link, .nav__dropdown-trigger { font-size: 14px; }
  .nav__cta .btn { padding: 8px 18px; font-size: 13px; }
}
.nav__link {
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.nav__link:hover { color: #fff; }
.nav__link.active {
  color: #fff;
  border-bottom-color: var(--sky);
}
.nav__cta .btn { padding: 12px 24px; font-size: 14px; white-space: nowrap; }

/* Nav dropdown */
.nav__dropdown { position: relative; display: flex; align-items: center; }
.nav__dropdown-trigger {
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0 0 2px 0;
  text-decoration: none;
}
.nav__dropdown-trigger:hover,
.nav__dropdown-trigger.active { color: #fff; }
.nav__dropdown-trigger.active { border-bottom-color: var(--sky); }
.nav__dropdown-trigger::after {
  content: ' \25BE';
  font-size: 10px;
  opacity: 0.5;
}
.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  min-width: 240px;
  padding: 8px 0;
  padding-top: 28px;
  z-index: 1001;
}
.nav__dropdown-menu::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #fff;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu,
.nav__dropdown-menu.open { display: block; }
.nav__dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s;
}
.nav__dropdown-menu a:hover { background: var(--cool-grey); color: var(--blue); }
.nav__dropdown-menu .dropdown-divider { height: 1px; background: var(--border); margin: 6px 0; }
.nav__dropdown-menu .dropdown-status { font-size: 11px; color: var(--text-muted); margin-left: 6px; }

/* Wide two-column dropdown (AI & Automation) */
.nav__dropdown-menu--wide { min-width: 460px; padding-bottom: 12px; left: 0; transform: none; }
.nav__dropdown-menu--wide::before { left: 60px; transform: none; }
.dropdown-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.dropdown-col { padding: 4px 0; }
.dropdown-heading {
  display: block;
  padding: 8px 20px 4px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.dropdown-heading--link { cursor: pointer; transition: color 0.15s; }
.dropdown-heading--link:hover { color: var(--blue); }
.dropdown-overview {
  display: block;
  padding: 10px 20px 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.dropdown-overview:hover { background: var(--cool-grey); }

/* Hamburger */
.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: all 0.3s var(--ease-out);
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: var(--navy);
  z-index: 2000;
  padding: 80px 32px 32px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu__link {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s;
}
.mobile-menu__link:hover,
.mobile-menu__link.active { color: #fff; }
.mobile-menu__sub {
  padding-left: 16px;
}
.mobile-menu__sub a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  padding: 10px 0;
  transition: color 0.2s;
}
.mobile-menu__sub a:hover { color: #fff; }
.mobile-menu__heading {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  padding: 14px 0 4px;
}
.mobile-menu__heading--link { color: rgba(255, 255, 255, 0.5); text-decoration: none; }
.mobile-menu__heading--link:hover { color: #fff; }
.mobile-menu__cta {
  margin-top: 32px;
}
.mobile-menu__cta .btn { width: 100%; text-align: center; }
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-overlay.open { opacity: 1; }
body.menu-open { overflow: hidden; }

/* ========== BREADCRUMB ========== */
.breadcrumb {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.breadcrumb a:hover { color: #fff; }
.bg-white .breadcrumb, .bg-warm .breadcrumb { color: var(--text); text-shadow: none; }
.bg-white .breadcrumb a, .bg-warm .breadcrumb a { color: var(--blue); }
.bg-white .breadcrumb a:hover, .bg-warm .breadcrumb a:hover { color: var(--ink); }

/* ========== HERO ========== */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  padding-bottom: 40px;
}
.hero--short { min-height: 50vh; }
.hero--minimal { min-height: auto; padding-top: calc(var(--nav-height) + 40px); padding-bottom: 40px; }
.hero__content { max-width: 640px; }
.hero__content h1 {
  font-size: 52px;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero__content p {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ========== SECTION HEADERS ========== */
.section-header { margin-bottom: 20px; }
.section-header h2 {
  font-size: 36px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
}
.section-header--center { text-align: center; }
.section-header--center p { margin-left: auto; margin-right: auto; }

/* ========== PROOF STRIP ========== */
.proof-strip { padding: 64px 0; border-bottom: 1px solid var(--border); }
.proof-strip__grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: nowrap;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.proof-strip__item { min-width: 0; flex: 1; }
.proof-strip__border {
  width: 32px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 12px;
}
.proof-strip__number {
  font-family: 'Outfit', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.proof-strip__label {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ========== CARDS: OFFER ========== */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.card-offer {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  border: 1px solid var(--border);
  transition: all 0.35s var(--ease-out);
  position: relative;
  display: flex;
  flex-direction: column;
}
.card-offer:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--sky);
}
.card-offer p { flex: 1; }
.card-offer .btn { align-self: flex-start; margin-top: auto; }
.card-offer--accent { border-left: 3px solid var(--blue); }
.card-offer__tag {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.card-offer h3 {
  font-size: 28px;
  margin-bottom: 8px;
}
.card-offer__subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 16px;
}
.card-offer p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}
.card-offer .btn { padding: 12px 24px; font-size: 14px; }
.card-offer__link {
  display: inline-block;
  margin-top: 10px;
  margin-left: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
}
.card-offer__link:hover { text-decoration: underline; }

/* ========== v10: TWO-DOOR ROUTING CARDS ========== */
.door-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.door-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.door-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.door-card__main {
  display: block;
  padding: 48px 40px;
  text-decoration: none;
  color: inherit;
  flex: 1;
}
.door-card__main:hover { color: inherit; }
.door-card--left {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff;
}
.door-card--left h3,
.door-card--left p { color: #fff; }
.door-card--right {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text);
}
.door-card h3 {
  font-size: 26px;
  margin-bottom: 16px;
  line-height: 1.25;
}
.door-card p {
  font-size: 16px;
  line-height: 1.7;
}
.door-card__proof {
  margin-top: 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.6;
}
.door-card__cta {
  display: inline-block;
  margin-top: 24px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15px;
}
.door-card--left .door-card__cta { color: var(--sky); }
.door-card--right .door-card__cta { color: var(--blue); }
.door-card__routes {
  list-style: none;
  margin: 0;
  padding: 16px 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.door-card--right .door-card__routes {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
/* Role-based self-segmentation cards */
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.role-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: var(--text);
  transition: all 0.35s var(--ease-out);
}
.role-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  color: var(--text);
}
.role-card__role {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 12px;
}
.role-card__pain {
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
  opacity: 0.8;
  margin-bottom: 16px;
  flex: 1;
}
.role-card__land {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
}
.role-card__cta {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--blue);
  margin-top: auto;
}

.door-card__routes li a {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.door-card--left .door-card__routes li a {
  color: rgba(255, 255, 255, 0.75);
}
.door-card--left .door-card__routes li a:hover {
  color: #fff;
}
.door-card--right .door-card__routes li a {
  color: var(--blue);
  opacity: 0.7;
}
.door-card--right .door-card__routes li a:hover {
  opacity: 1;
}

/* Featured quote variant */
.quote-card--featured {
  background: var(--navy);
  color: #fff;
  grid-column: 1 / -1;
  padding: 40px 48px;
}
.quote-card--featured p { color: #fff; font-size: 20px; }
.quote-card--featured cite { color: rgba(255, 255, 255, 0.7); }

/* ========== v10: ARC LABELS ========== */
.arc-label {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 16px;
}
.bg-navy-solid .arc-label { color: var(--sky); }

/* ========== v10: DEPARTMENT GRID ========== */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.dept-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.35s var(--ease-out);
}
.dept-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.dept-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.dept-card__header h3 {
  font-size: 20px;
  color: #fff;
  margin: 0;
}
.dept-card__type {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.dept-card__type--product {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
}
.dept-card__type--model {
  background: rgba(65, 182, 230, 0.15);
  color: var(--sky);
}
.dept-card__pain {
  font-size: 15px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 20px;
}
.dept-card__products {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}
.dept-card__products li {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dept-card__products li:last-child { border-bottom: none; }
.dept-card__model {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 16px;
}
.dept-card__link {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--sky);
  text-decoration: none;
}
.dept-card__link:hover { color: #fff; }

/* Clickable card variant */
a.dept-card--clickable {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
a.dept-card--clickable:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
.dept-card__cta {
  display: inline-block;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--sky);
  transition: color 0.2s;
}
a.dept-card--clickable:hover .dept-card__cta { color: #fff; }

/* Maturity badges */
.maturity-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 3px;
  flex-shrink: 0;
}
.maturity-badge--live { background: rgba(74, 222, 128, 0.2); color: #166534; }
.maturity-badge--early { background: rgba(212, 168, 83, 0.2); color: #854d0e; }
.maturity-badge--dev { background: rgba(65, 182, 230, 0.2); color: #0369a1; }
.maturity-badge--new { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.5); }

/* Maturity legend */
.dept-legend {
  margin-top: 24px;
  display: flex;
  gap: 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.maturity-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}
.maturity-dot--live { background: #4ade80; }
.maturity-dot--early { background: #D4A853; }
.maturity-dot--dev { background: var(--sky); }
.maturity-dot--new { background: rgba(255, 255, 255, 0.2); }

/* ========== v3: ANTI-PATTERN CARDS ========== */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.card-anti {
  background: var(--cool-grey);
  border-radius: 16px;
  padding: 32px 28px;
  border-left: 3px solid #C23B22;
  transition: all 0.35s var(--ease-out);
}
.card-anti:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.card-anti h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.card-anti p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ========== v6: SECTOR ROUTING CARDS ========== */
.sector-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  transition: all 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--sky);
  border-top-color: var(--sky);
}
.sector-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.sector-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}
.sector-card__stat {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 4px;
}
.sector-card__stat-label {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.sector-card .btn--sm { align-self: flex-start; }

/* ========== v3: QUOTES GRID ========== */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* ========== PERSONA CARDS ========== */
.persona-scroll {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.persona-card {
  flex: none;
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  scroll-snap-align: start;
  transition: all 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.persona-card .btn--sm { align-self: flex-start; margin-top: auto; padding-top: 12px; }
.persona-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--sky);
}
.persona-card--primary { border-top: 3px solid var(--blue); }
.persona-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ink);
}
.persona-card__hook {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--blue);
  margin-bottom: 14px;
  line-height: 1.5;
}
.persona-card p { flex: 1; font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ========== NARRATIVE / STORY ========== */
.narrative h2 {
  font-size: 36px;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.narrative h3 { font-size: 22px; margin-bottom: 12px; }
.narrative p { font-size: 17px; margin-bottom: 18px; line-height: 1.8; color: var(--text); }

.story-body { max-width: 720px; margin: 0 auto; }
.story-body p { margin-bottom: 22px; font-size: 17px; line-height: 1.85; }

/* ========== PULL QUOTE ========== */
.pull-quote {
  position: relative;
  padding: 32px 40px 32px 48px;
  margin: 48px 0;
  background: rgba(65, 182, 230, 0.04);
  border-radius: 12px;
}
.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  left: 12px;
  font-family: 'Instrument Serif', serif;
  font-size: 80px;
  color: var(--sky);
  opacity: 0.3;
  line-height: 1;
}
.pull-quote p {
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 16px;
}
.pull-quote cite {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-style: normal;
  color: var(--text-muted);
  display: block;
}
.pull-quote cite::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 10px;
}

/* ========== QUOTE CARD ========== */
.quote-card {
  position: relative;
  background: var(--cool-grey);
  border-radius: 12px;
  padding: 28px 28px 28px 40px;
  margin-top: 20px;
}
.quote-card::before {
  content: '\201C';
  position: absolute;
  top: 4px;
  left: 10px;
  font-family: 'Instrument Serif', serif;
  font-size: 56px;
  color: var(--sky);
  opacity: 0.3;
  line-height: 1;
}
.quote-card p {
  font-family: 'Instrument Serif', serif;
  font-size: 16px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 12px;
}
.quote-card cite {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-style: normal;
  color: var(--text-muted);
  display: block;
}
.quote-card cite::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 8px;
}

/* v3: quote-card inside quotes-grid needs no extra top margin */
.quotes-grid .quote-card { margin-top: 0; }

/* ========== FULL-WIDTH QUOTE STRIP ========== */
.quote-strip {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 64px;
}
.quote-strip blockquote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.quote-strip blockquote::before {
  content: '\201C';
  display: block;
  font-family: 'Instrument Serif', serif;
  font-size: 72px;
  color: var(--sky);
  opacity: 0.25;
  line-height: 0.5;
  margin-bottom: 16px;
}
.quote-strip blockquote p,
.quote-strip blockquote {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
}
.quote-strip cite {
  display: block;
  margin-top: 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-style: normal;
  color: var(--text-muted);
}
.quote-strip cite::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 12px;
}

/* ========== LOGO ROW ========== */
.logo-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
  align-items: center;
}
.council-logo {
  height: 48px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.3s var(--ease-out);
  border-radius: 0;
}
.council-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact-text h2 { margin-bottom: 20px; }
.contact-text p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.7;
}
.contact-text a { color: var(--sky); } /* on navy background — sky passes at 3.7:1 on #001B6B */
/* Contact form fields */
.contact-form label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.7);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  margin-bottom: 20px;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-color: var(--sky);
  background: rgba(255, 255, 255, 0.1);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form__notice {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}
.contact-form__notice a { color: var(--sky); }
.contact-form .field-error { color: #ff6b6b; font-size: 13px; margin: -14px 0 16px; display: none; }
.contact-form input.invalid,
.contact-form textarea.invalid { border-color: #ff6b6b !important; }
.hp-wrap { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.contact-success {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 0;
}
.contact-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--navy);
  font-size: 32px;
  font-weight: 700;
  line-height: 64px;
  text-align: center;
  margin: 0 auto 24px;
}
.contact-success h2 {
  color: #fff;
  margin-bottom: 16px;
}
.contact-success p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.contact-success a {
  color: var(--sky);
}

/* ========== TWO-COL LAYOUT ========== */
.two-col {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 72px;
  align-items: start;
}
.two-col--55-45 { grid-template-columns: 55fr 45fr; }

/* ========== PROOF CARD ========== */
.proof-card {
  background: var(--cool-grey);
  border-radius: 16px;
  padding: 36px 32px;
}
.proof-card__stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.proof-card__stat:last-child { border-bottom: none; }
.proof-card__num {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  min-width: 80px;
}
.proof-card__text {
  font-size: 14px;
  color: var(--text-muted);
}

/* ========== STEPS ========== */
.steps-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--border);
}
.step { text-align: center; }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}
.step h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ========== CALLOUT STRIP ========== */
.callout-strip {
  background: var(--blue);
  border-radius: 12px;
  padding: 32px 40px;
  margin-top: 48px;
  color: #fff;
}
.callout-strip p { font-size: 17px; color: #fff; line-height: 1.6; }
.callout-strip strong { font-weight: 700; }
.callout-strip .maturity-badge { background: rgba(255,255,255,0.2); color: #fff; }

/* ========== GENIE CARDS / GRIDS ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.genie-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: all 0.35s var(--ease-out);
}
.genie-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--sky);
}
.genie-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.genie-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 12px; }
.genie-card__numbers {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.genie-card__codes {
  font-family: 'Outfit', monospace;
  font-size: 12px;
  color: var(--blue);
  font-weight: 600;
  margin-top: 6px;
  letter-spacing: 0.02em;
}
.genie-icon { width: 48px; height: 48px; margin-bottom: 12px; border-radius: 0; }
.genie-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* Status badges with dot */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}
.badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.badge--green { color: #1A7A3A; }
.badge--green::before { background: #1A7A3A; }
.badge--amber { color: #9A5C00; }
.badge--amber::before { background: #9A5C00; }
.badge--blue { color: var(--blue); }
.badge--blue::before { background: var(--blue); }

.catalogue-footer {
  margin-top: 40px;
  padding: 24px 32px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========== SWITCH IT ON LIST ========== */
.switch-list { margin-top: 48px; }
.switch-item {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.switch-item:last-child { border-bottom: none; }
.switch-icon {
  flex: 0 0 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: var(--cool-grey);
  border-radius: 12px;
}
.switch-item h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}
.switch-item p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* ========== WIGAN CARD ========== */
.wigan-card {
  background: var(--cool-grey);
  border-radius: 16px;
  padding: 36px 32px;
}
.wigan-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--blue);
}
.wigan-card__stat {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.wigan-card__stat:last-child { border-bottom: none; }
.wigan-card__num {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--blue);
}
.wigan-card__label { font-size: 13px; color: var(--text-muted); }

/* ========== CTA SECTION ========== */
.cta-section { text-align: center; }
.cta-section h2 { margin-bottom: 20px; }
.cta-section p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 17px;
  line-height: 1.7;
}

/* ========== FOOTER ========== */
.footer {
  padding: 56px 0 32px;
  background: #0D1117;
  color: rgba(255, 255, 255, 0.5);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__heading {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}
.footer__col a {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}
.footer__col a:hover { color: var(--sky); }
.footer__brand {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}
.footer__address, .footer__contact {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}
.footer__contact a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}
.footer__contact a:hover { color: var(--sky); }
.footer__offices {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  margin-top: 8px;
}
.footer__offices a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}
.footer__offices a:hover { color: var(--sky); }

/* Accreditation badges */
.footer__accreditations {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__badge-img {
  height: 40px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.footer__badge-img:hover { opacity: 1; }
.footer__badge {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 6px 14px;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__bottom span {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ========== SCROLL REVEAL ========== */
/* Scoped under .js so content is visible if JavaScript fails to load */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.js .reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.js .reveal-delay-1 { transition-delay: 0.1s; }
.js .reveal-delay-2 { transition-delay: 0.2s; }
.js .reveal-delay-3 { transition-delay: 0.3s; }
.js .reveal-delay-4 { transition-delay: 0.4s; }
.js .reveal-delay-5 { transition-delay: 0.5s; }

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .js .reveal-delay-1, .js .reveal-delay-2, .js .reveal-delay-3,
  .js .reveal-delay-4, .js .reveal-delay-5 { transition-delay: 0s; }
  .mobile-menu { transition: none; }
  .mobile-overlay { transition: none; }
  .btn:hover { transform: none; }
  .card-offer:hover,
  .door-card:hover,
  .dept-card:hover,
  a.dept-card--clickable:hover { transform: none; }
}

/* ========== REQUIRED FIELD MARKER ========== */
.required-mark { color: #c00; font-weight: 700; }

/* ========== RUNBOOK SECTIONS (Consulting pages) ========== */
.runbook {
  border-top: 1px solid var(--border);
}
.runbook__header {
  margin-bottom: 48px;
}
.runbook__header h3 {
  font-size: 28px;
  margin-bottom: 8px;
}
.runbook__header p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.7;
}
.runbook__label {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 16px;
}

/* Feature grid — 3-col cards for "What you get" */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--sky);
}
.bg-warm .feature-card { background: #fff; }
.bg-white .feature-card { background: var(--cool-grey); }
.feature-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Phase strip — numbered delivery methodology */
.phase-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.phase {
  position: relative;
  padding-left: 0;
  text-align: center;
}
.phase__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}
.phase h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.phase p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Certification row */
.cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.cert-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--cool-grey);
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--border);
}
.cert-pill__icon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* Pricing callout inside trust section */
.pricing-band {
  display: inline-block;
  margin-top: 24px;
  padding: 16px 28px;
  background: var(--blue);
  border-radius: 8px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
}

/* Training compact list */
.training-list {
  list-style: none;
  padding: 0;
}
.training-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}
.training-list li:last-child { border-bottom: none; }
.training-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sky);
  opacity: 0.6;
}

/* Two-col inside runbook — results + training side by side */
.runbook__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
.runbook__detail-card {
  background: var(--cool-grey);
  border-radius: 12px;
  padding: 28px 24px;
}
.bg-warm .runbook__detail-card { background: #fff; }
.runbook__detail-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 16px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .mobile-menu { display: block; }
  .cards-3, .cards-grid, .three-col-grid { grid-template-columns: 1fr 1fr; }
  .cards-4 { grid-template-columns: 1fr 1fr; }
  .role-grid { grid-template-columns: 1fr 1fr; }
  .steps-strip { grid-template-columns: 1fr 1fr; }
  .two-col, .two-col--55-45, .contact-grid { grid-template-columns: 1fr; }
  .door-cards { gap: 24px; }
  .door-card__main { padding: 40px 32px; }
  .door-card__routes { padding: 16px 32px 28px; }
  .door-card h3 { font-size: 24px; }
  .dept-grid { grid-template-columns: 1fr 1fr; }
  .hero__content h1 { font-size: 40px; }
  h2 { font-size: 34px; }
  .proof-strip__number { font-size: 44px; }
  .proof-strip__grid { gap: 40px; }
  .persona-scroll { grid-template-columns: repeat(3, 1fr); }
  .quotes-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .phase-strip { grid-template-columns: 1fr 1fr; }
  .runbook__details { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {

  .cards-3, .cards-grid, .steps-strip, .genie-grid, .three-col-grid { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr; }
  .role-grid { grid-template-columns: 1fr; }
  .door-cards { grid-template-columns: 1fr; }
  .door-card__main { padding: 36px 28px; }
  .door-card__routes { padding: 12px 28px 24px; }
  .door-card h3 { font-size: 22px; }
  .dept-grid { grid-template-columns: 1fr; }
  .dept-card__header { flex-direction: column; align-items: flex-start; }
  .dept-legend { flex-wrap: wrap; gap: 16px; }
  .quote-card--featured { padding: 32px 28px; grid-column: auto; }
  .quote-card--featured p { font-size: 17px; }
  .quotes-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .phase-strip { grid-template-columns: 1fr 1fr; }
  .runbook__details { grid-template-columns: 1fr; }
  .proof-strip__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .proof-strip__number { font-size: 40px; }
  .hero__content h1 { font-size: 36px; }
  .hero__content p { font-size: 16px; }
  h2 { font-size: 28px; }
  .container, .container--narrow { padding: 0 24px; }
  .section-pad { padding: 72px 0; }
  .section-pad--compact { padding: 40px 0; }
  .card-offer, .genie-card { padding: 28px 24px; }

  .persona-scroll {
    grid-template-columns: 1fr;
  }
  .persona-card { width: 100%; }

  .pull-quote { padding: 28px 24px 28px 36px; }
  .pull-quote::before { font-size: 60px; left: 6px; }
  .quote-strip blockquote, .quote-strip blockquote p { font-size: 18px; }

  .two-col, .two-col--55-45 { gap: 40px; }
  .contact-grid { gap: 48px; }
}

@media (max-width: 480px) {
  .hero__content h1 { font-size: 30px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; text-align: center; }
  .proof-strip__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .proof-strip__number { font-size: 36px; }
  h2 { font-size: 26px; }
  .section-pad { padding: 56px 0; }
  /* Force inline grids to single column at very small viewports / high zoom */
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--navy);
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.35s var(--ease-out);
}
.cookie-banner--visible {
  transform: translateY(0);
}
.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.cookie-banner__text {
  flex: 1;
}
.cookie-banner__text p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}
.cookie-banner__text strong {
  color: #fff;
}
.cookie-banner__text a {
  color: var(--sky);
  text-decoration: underline;
}
.cookie-banner__text a:hover {
  color: #fff;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner__btn {
  padding: 10px 24px;
  font-size: 14px;
  white-space: nowrap;
}
.btn--ghost-dark {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.btn--ghost-dark:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
@media (max-width: 768px) {
  .cookie-banner__inner {
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
  }
  .cookie-banner__actions {
    width: 100%;
  }
  .cookie-banner__btn {
    flex: 1;
    text-align: center;
  }
}

/* ========== RATE TABLE (Consulting Pricing) ========== */
.rate-table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.rate-table thead {
  background: var(--navy);
  color: #fff;
}
.rate-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rate-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.rate-table tbody tr:last-child td { border-bottom: none; }
.rate-table tbody tr:hover { background: rgba(65, 182, 230, 0.04); }
.rate-table__highlight {
  background: rgba(0, 71, 187, 0.04);
}
.rate-table__highlight td { font-weight: 500; }
.sfia-level {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-right: 8px;
}
.rate-cell {
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  white-space: nowrap;
}
.rate-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.rate-note {
  flex: 1;
  min-width: 280px;
  padding: 16px 20px;
  background: var(--cool-grey);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

/* ========== PRICING CARDS ========== */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.pricing-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  background: #fff;
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.pricing-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.pricing-card__header {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.pricing-card__header h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.pricing-card__range {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
}
.pricing-card__range span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}
.pricing-card ul {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}
.pricing-card li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.pricing-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
}
.pricing-card__note {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}

/* ========== PRICING GRID (IT landing tiered pricing) ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.pricing-card__tier {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.pricing-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.pricing-card__prices {
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.pricing-card__line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text);
}
.pricing-card__line strong {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
}
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pricing-card__features li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.pricing-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
}
.pricing-card--highlight {
  border-color: var(--blue);
  border-width: 2px;
  position: relative;
}
.pricing-card__popular {
  position: absolute;
  top: -11px;
  left: 20px;
  background: var(--blue);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 12px;
  border-radius: 4px;
}
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ========== FRAMEWORK CARDS ========== */
.framework-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.framework-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  background: #fff;
  position: relative;
}
.framework-card--primary {
  border-color: var(--blue);
  border-width: 2px;
}
.framework-card__badge {
  position: absolute;
  top: -10px;
  left: 20px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 4px;
}
.framework-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.framework-card__ref {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.framework-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}
.framework-card li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.framework-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
}
.framework-card__action {
  font-size: 14px;
  color: var(--blue);
  font-weight: 500;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ========== STEPS STRIP ========== */
.steps-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.step {
  text-align: center;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.step h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

/* ========== TIMELINE BAR (Run-book enhancement) ========== */
.timeline-bar {
  margin: 2rem 0;
  padding: 24px 28px;
  background: var(--cool-grey);
  border-radius: 12px;
  border-left: 4px solid var(--blue);
}
.timeline-bar__header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}
.timeline-bar__duration {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}
.timeline-bar__label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.timeline-bar__phases {
  display: flex;
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  height: 32px;
}
.timeline-bar__segment {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  padding: 0 8px;
  white-space: nowrap;
}
.timeline-bar__segment:nth-child(1) { background: var(--navy); }
.timeline-bar__segment:nth-child(2) { background: var(--blue); }
.timeline-bar__segment:nth-child(3) { background: #2468b0; }
.timeline-bar__segment:nth-child(4) { background: var(--sky); color: var(--navy); }

/* ========== TEAM SHAPE CARD ========== */
.team-shape {
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.team-shape__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.team-shape__roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.team-shape__role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--cool-grey);
  border-radius: 6px;
  font-size: 13px;
  color: var(--ink);
}
.team-shape__role .sfia-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

/* ========== PROOF CARD (inside run-book) ========== */
.runbook__proof {
  margin-top: 1.5rem;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(0, 27, 107, 0.03), rgba(0, 71, 187, 0.06));
  border: 1px solid rgba(0, 71, 187, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.runbook__proof-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.runbook__proof-icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}
.runbook__proof-content {
  flex: 1;
}
.runbook__proof-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  margin-bottom: 4px;
}
.runbook__proof-stat {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.runbook__proof-context {
  font-size: 13px;
  color: var(--text-muted);
}

/* ========== RUN-BOOK CODE LABEL ========== */
.runbook__code {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Outfit', monospace;
  color: var(--blue);
  background: rgba(0, 71, 187, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  margin-right: 8px;
  letter-spacing: 0.02em;
}

/* ========== ENHANCED RUNBOOK DETAILS GRID ========== */
.runbook__details--three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* ========== PRICING PAGE RESPONSIVE ========== */
@media (max-width: 768px) {
  .rate-table th, .rate-table td { padding: 10px 12px; font-size: 13px; }
  .rate-cell { font-size: 15px; }
  .sfia-level { width: 20px; height: 20px; font-size: 10px; }
  .pricing-cards { grid-template-columns: 1fr; }
  .framework-cards { grid-template-columns: 1fr; }
  .steps-strip { grid-template-columns: 1fr; }
  .rate-notes { flex-direction: column; }
  .timeline-bar__phases { flex-direction: column; height: auto; }
  .timeline-bar__segment { height: 28px; }
  .team-shape__roles { flex-direction: column; }
  .runbook__proof { flex-direction: column; }
  .runbook__details--three { grid-template-columns: 1fr; }
  .tier-table { font-size: 0.82rem; }
  .tier-table thead th, .tier-table tbody td { padding: 8px 10px; }
  .tier-table thead th:first-child { display: none; }
  .tier-table tbody td:first-child { display: none; }
}

/* ========== TIER COMPARISON TABLES (services pages) ========== */
.tier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  margin-top: 28px;
}
.tier-table thead th {
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
  font-family: 'Outfit', sans-serif;
}
.tier-table thead th:not(:first-child) { text-align: center; }
.tier-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: top;
}
.tier-table tbody td:not(:first-child) { text-align: center; font-size: 0.84rem; }
.tier-table tbody td:first-child { font-weight: 500; }
.tier-table tbody tr:last-child td { border-bottom: none; }
.tier-table .inc { color: var(--blue); font-weight: 600; }
.tier-table .not { color: #888; }

/* ========== USP STRIP (services detail pages) ========== */
.usp-strip {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.usp-strip__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.usp-strip__item {
  text-align: center;
}
.usp-strip__title {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.usp-strip__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}
@media (max-width: 768px) {
  .usp-strip__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== OUTCOME STRIP (services detail pages) ========== */
.outcome-strip {
  padding: 48px 0;
  text-align: center;
}
.outcome-strip__text {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 720px;
  margin: 0 auto;
}

/* ========== PROOF BLOCK (services detail pages) ========== */
.proof-block {
  padding: 48px 0;
}
.proof-block__quote {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text);
  max-width: 680px;
  margin: 0 auto 32px;
  text-align: center;
  line-height: 1.7;
}
.proof-block__stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px 48px;
}
.proof-block__stat {
  text-align: center;
}
.proof-block__num {
  font-family: 'Instrument Serif', serif;
  font-size: 2.2rem;
  color: var(--blue);
  line-height: 1.1;
}
.proof-block__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ========== OBJECTION CARDS (why councils switch) ========== */
.objections {
  padding: 64px 0;
}
.objections__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.objection-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
}
.objection-card__q {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 12px;
}
.objection-card__a {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.7;
}

/* ========== ONBOARDING STEPS (what happens next) ========== */
.onboarding {
  padding: 64px 0;
}
.onboarding__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.onboarding__step {
  text-align: center;
  position: relative;
}
.onboarding__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.onboarding__title {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.onboarding__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.onboarding__desc a {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .objections__grid { grid-template-columns: 1fr; }
  .onboarding__steps { grid-template-columns: repeat(2, 1fr); }
  .proof-block__stats { gap: 20px 32px; }
}

/* ========== CAPABILITY TABS (services detail pages) ========== */
.cap-tabs__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 32px;
}
.cap-tabs__tab {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.2s;
}
.cap-tabs__tab:hover {
  color: var(--blue);
  border-color: var(--blue);
}
.cap-tabs__tab.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.cap-tabs__panel {
  display: none;
  background: #fff;
  border-radius: 10px;
  padding: 36px 32px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.cap-tabs__panel.active {
  display: block;
}
.cap-tabs__panel h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.cap-tabs__panel > p {
  max-width: 700px;
}
/* Inline variant — tab bar inside each panel */
.cap-tabs--inline > .cap-tabs__bar { display: none; }
.cap-tabs--inline .cap-tabs__panel .cap-tabs__bar {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.cap-tabs--inline .cap-tabs__panel {
  padding: 28px 32px;
}
.cap-tabs--inline .cap-tabs__panel h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.cap-tabs--inline .cap-tabs__panel p {
  font-size: 15px;
  line-height: 1.7;
}

.cap-tabs__next {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(0, 71, 187, 0.06);
  border: 1px solid rgba(0, 71, 187, 0.15);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.cap-tabs__next:hover {
  background: rgba(0, 71, 187, 0.12);
  border-color: var(--blue);
  color: var(--blue);
}
@media (max-width: 768px) {
  .cap-tabs__bar { gap: 4px; }
  .cap-tabs__tab { font-size: 0.8rem; padding: 6px 12px; }
  .cap-tabs__panel { padding: 24px 16px; }
}

/* ========== PRODUCT CATALOGUE SUMMARY (solutions category pages) ========== */
.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.catalogue-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
  color: inherit;
}
.catalogue-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--sky);
}
.bg-white .catalogue-card { background: var(--cool-grey); }
.catalogue-card__code {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  background: rgba(0, 71, 187, 0.08);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  align-self: flex-start;
}
.catalogue-card__name {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}
.catalogue-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: auto;
  padding-bottom: 16px;
}
.catalogue-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
}
.catalogue-card__timeline {
  color: var(--text-muted);
  font-weight: 500;
}
.catalogue-card__price {
  font-weight: 700;
  color: var(--navy);
}
.catalogue-card__link {
  display: block;
  margin-top: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}
.catalogue-card__link::after {
  content: ' \2193';
}
.catalogue-grid__group {
  grid-column: 1 / -1;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 12px 0 -8px;
  padding: 0;
}
.catalogue-grid__group:first-child { margin-top: 0; }
.catalogue-card--also {
  border-style: dashed;
  border-color: var(--sky);
}
.catalogue-card--also:hover {
  border-color: var(--blue);
  border-style: dashed;
}
.catalogue-card__also-link {
  display: block;
  margin-top: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #0e7490;
  text-decoration: none;
}
.catalogue-card__also-link::after {
  content: ' \2192';
}
@media (max-width: 1024px) {
  .catalogue-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .catalogue-grid { grid-template-columns: 1fr; }
}
