:root {
  --ink: #102033;
  --muted: #617083;
  --line: #dde6f0;
  --paper: #f6f8fb;
  --white: #ffffff;
  --teal: #1f5fbf;
  --teal-dark: #0b3470;
  --blue: #4f8fd6;
  --gold: #4f75a3;
  --accent-soft: #edf4ff;
  --shadow: 0 16px 38px rgba(16, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(221, 230, 240, 0.95);
  backdrop-filter: blur(16px);
}

.nav-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-height: 40px;
  padding: 7px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.82);
  background: #0d2038;
  font-size: 0.82rem;
  font-weight: 700;
  overflow: hidden;
  transition: max-height 220ms ease, padding-top 220ms ease, padding-bottom 220ms ease, opacity 180ms ease;
}

.site-header.meta-hidden .nav-meta {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

.nav-meta a {
  color: rgba(255, 255, 255, 0.9);
}

.nav-meta a:hover {
  color: var(--white);
}

.nav-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:not(.nav-cta),
.nav-item > a,
.nav-dropdown-toggle {
  position: relative;
  padding: 8px 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: inherit;
  cursor: pointer;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a.active,
.nav-item:hover > a,
.nav-item.active > a,
.nav-item:hover > .nav-dropdown-toggle,
.nav-item.active > .nav-dropdown-toggle,
.nav-item.open > .nav-dropdown-toggle {
  color: var(--ink);
}

.site-nav > a:not(.nav-cta)::after,
.nav-item > a::after,
.nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav > a:not(.nav-cta):hover::after,
.site-nav > a:not(.nav-cta).active::after,
.nav-item:hover > a::after,
.nav-item.active > a::after,
.nav-item:hover > .nav-dropdown-toggle::after,
.nav-item.active > .nav-dropdown-toggle::after,
.nav-item.open > .nav-dropdown-toggle::after {
  transform: scaleX(1);
}

.nav-item {
  position: relative;
}

.has-dropdown > a,
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.has-dropdown > a::before,
.nav-dropdown-toggle::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  order: 2;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 30;
  display: grid;
  gap: 4px;
  min-width: 300px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -16px;
  right: 0;
  left: 0;
  height: 16px;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown,
.has-dropdown.open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.site-nav .nav-dropdown a {
  padding: 12px 16px;
  color: var(--ink);
  border-radius: 6px;
  font-size: 0.93rem;
  line-height: 1.25;
}

.site-nav .nav-dropdown a:hover {
  color: var(--teal-dark);
  background: var(--accent-soft);
}

.site-nav .nav-dropdown a::after {
  display: none;
}

.nav-cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px !important;
  color: var(--white) !important;
  background: linear-gradient(var(--teal), var(--teal)) left / 0 100% no-repeat, var(--teal-dark);
  border: 1px solid var(--teal-dark);
  border-radius: 999px;
  transition: background-size 220ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
  isolation: isolate;
}

.nav-cta::after,
.footer-cta::after {
  content: "→";
  width: 0;
  opacity: 0;
  overflow: hidden;
  transition: width 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.nav-cta:hover {
  background-size: 100% 100%;
  border-color: var(--teal);
  transform: translateY(-1px);
}

.nav-cta:hover::after,
.footer-cta:hover::after {
  width: 18px;
  opacity: 1;
  transform: translateX(2px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 9px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 720px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #0b1f3a;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 26, 52, 0.86) 0%, rgba(8, 26, 52, 0.66) 46%, rgba(8, 26, 52, 0.18) 100%);
}

.hero-content {
  position: relative;
  width: min(730px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 78px);
  color: var(--white);
  padding-bottom: 34px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 840px;
  font-size: clamp(2.35rem, 5.4vw, 5rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 3rem);
}

h3 {
  font-size: 1.25rem;
}

.hero-copy,
.page-hero p,
.intro-grid p,
.split p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.86);
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-proof span {
  padding: 7px 11px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--white);
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: background-size 220ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
  isolation: isolate;
  text-align: center;
}

.button::after {
  content: "→";
  width: 0;
  opacity: 0;
  overflow: hidden;
  transition: width 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.button:hover::after {
  width: 18px;
  opacity: 1;
  transform: translateX(2px);
}

.button.primary {
  color: var(--white);
  background: linear-gradient(var(--teal), var(--teal)) left / 0 100% no-repeat, var(--teal-dark);
}

.button.primary:hover {
  color: var(--white);
  background-size: 100% 100%;
  border-color: var(--white);
  transform: translateY(-1px);
}

.button.secondary {
  color: var(--white);
  border-color: var(--white);
  background: linear-gradient(var(--white), var(--white)) left / 0 100% no-repeat, rgba(255, 255, 255, 0.08);
}

.button.secondary:hover {
  color: var(--teal-dark);
  background-size: 100% 100%;
  border-color: var(--white);
  transform: translateY(-1px);
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading p:last-child {
  color: var(--muted);
}

.intro-grid,
.split,
.contact-layout,
.about-story,
.operating-band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.industry-grid,
.values-grid,
.service-list,
.problem-grid,
.capability-grid,
.package-grid,
.team-grid,
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.focus-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.industry-grid article,
.values-grid article,
.service-list article,
.contact-panel,
.problem-grid article,
.capability-grid article,
.package-grid article,
.industry-strip a,
.team-grid article,
.focus-grid article {
  min-height: 100%;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(16, 32, 51, 0.04);
}

.service-list article {
  scroll-margin-top: 120px;
}

.industry-grid p,
.values-grid p,
.service-list p,
.contact-panel p,
.problem-grid p,
.capability-grid p,
.timeline p,
.team-grid p,
.story-copy p,
.focus-grid p {
  color: var(--muted);
}

.industry-intro {
  padding-bottom: 0;
}

.industry-index {
  padding-top: clamp(30px, 5vw, 52px);
}

.industry-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.industry-card p {
  margin: 0;
}

.industry-card ul {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.industry-card li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.industry-card li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
}

.industry-card .text-link {
  margin-top: 2px;
}

.industry-fit {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding-top: clamp(28px, 5vw, 60px);
}

.fit-grid {
  display: grid;
  gap: 16px;
}

.fit-grid article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(16, 32, 51, 0.04);
}

.fit-grid p {
  color: var(--muted);
}

.about-story {
  padding-top: clamp(36px, 6vw, 70px);
}

.story-copy {
  display: grid;
  gap: 16px;
}

.story-copy p {
  margin: 0;
  font-size: 1.05rem;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 28px;
}

.trust-row div {
  min-height: 150px;
  padding: 24px;
  background: var(--white);
  border-top: 3px solid var(--teal);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 6px;
}

.trust-row strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.trust-row span {
  color: var(--muted);
}

.problem-section,
.capability-section,
.timeline-section,
.package-section,
.industries-preview,
.team-section,
.local-focus {
  padding-top: clamp(40px, 6vw, 74px);
}

.operating-band {
  width: min(1160px, calc(100% - 36px));
  padding: clamp(34px, 5vw, 52px);
  color: var(--white);
  background: linear-gradient(135deg, #0b2448, #123b71);
  border-radius: 6px;
}

.operating-band .eyebrow {
  color: #a9c6ef;
}

.operating-list {
  display: grid;
  gap: 12px;
}

.operating-list div {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}

.operating-list span {
  color: rgba(255, 255, 255, 0.76);
}

.team-grid article {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.team-avatar {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border-radius: 50%;
  font-weight: 800;
}

.team-grid span {
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-grid h3 {
  font-size: 1.35rem;
}

.team-experience {
  margin: 0;
  padding: 7px 10px;
  color: var(--teal-dark) !important;
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.problem-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.problem-grid article {
  padding: 24px;
}

.capability-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capability-grid article {
  position: relative;
  overflow: hidden;
}

.capability-grid article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--teal);
}

.package-grid article {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.package-grid p {
  margin: 0;
  color: var(--muted);
}

.package-grid ul {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.package-grid li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.package-grid li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
}

.package-label {
  align-self: flex-start;
  padding: 6px 9px;
  color: var(--teal-dark);
  background: var(--accent-soft);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-package {
  border-top: 3px solid var(--teal);
  box-shadow: var(--shadow);
}

.industry-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.industry-strip a {
  display: grid;
  gap: 10px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.industry-strip a:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.industry-strip strong {
  font-size: 1.08rem;
}

.industry-strip span {
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.timeline div {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(16, 32, 51, 0.04);
}

.timeline span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.check-list {
  display: grid;
  gap: 14px;
}

.check-list span,
.metric-row div {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.metric-row span {
  color: var(--muted);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 36px));
  margin-bottom: 70px;
  padding: clamp(32px, 5vw, 48px);
  color: var(--white);
  background: linear-gradient(120deg, #0b3470, #315f9d);
  border-radius: 6px;
}

.cta-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero {
  width: min(1060px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(76px, 10vw, 128px) 0 clamp(42px, 8vw, 78px);
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

.image-page-hero {
  position: relative;
  width: 100%;
  min-height: clamp(430px, 58vh, 620px);
  display: grid;
  align-content: center;
  margin: 0;
  padding: clamp(72px, 10vw, 118px) clamp(18px, 6vw, 78px);
  overflow: hidden;
  color: var(--white);
  background: #0b1f3a;
}

.image-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(8, 26, 52, 0.88) 0%, rgba(8, 26, 52, 0.68) 48%, rgba(8, 26, 52, 0.24) 100%), url("assets/msp-operations-hero.jpg");
  background-position: center;
  background-size: cover;
}

.about-hero::before {
  background-image: linear-gradient(90deg, rgba(8, 26, 52, 0.88) 0%, rgba(8, 26, 52, 0.68) 48%, rgba(8, 26, 52, 0.22) 100%), url("assets/about-team-hero.jpg");
  background-position: center;
}

.service-hero::before {
  background-image: linear-gradient(90deg, rgba(8, 26, 52, 0.9) 0%, rgba(8, 26, 52, 0.74) 46%, rgba(8, 26, 52, 0.34) 100%), url("assets/service-support-hero.jpg");
  background-position: center;
}

.image-page-hero > * {
  position: relative;
  max-width: 820px;
}

.image-page-hero h1 {
  color: var(--white);
}

.image-page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.metric-row strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.managed-service {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-top: clamp(36px, 6vw, 70px);
}

.managed-service-copy {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.managed-service-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.managed-service-panel {
  padding: clamp(26px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.managed-service-panel h3 {
  margin-top: 0;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 14px;
  height: 14px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--accent-soft);
}

.managed-heading {
  padding-bottom: 0;
}

.service-list {
  counter-reset: service-card;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-list article {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 188px;
  padding: 34px 30px 30px;
  background: linear-gradient(135deg, rgba(237, 244, 255, 0.78), rgba(255, 255, 255, 0.96) 46%), var(--white);
  border-color: rgba(31, 95, 191, 0.16);
  box-shadow: 0 14px 34px rgba(16, 32, 51, 0.07);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-list article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--teal), var(--blue));
}

.service-list article::after {
  counter-increment: service-card;
  content: "0" counter(service-card);
  position: absolute;
  top: 22px;
  right: 24px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--teal-dark);
  background: var(--accent-soft);
  border: 1px solid rgba(31, 95, 191, 0.18);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.service-list article:hover {
  border-color: rgba(31, 95, 191, 0.34);
  box-shadow: 0 18px 42px rgba(16, 32, 51, 0.1);
  transform: translateY(-2px);
}

.service-list h2 {
  max-width: calc(100% - 58px);
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.service-list p {
  margin: 0;
  max-width: 62ch;
}

.service-list .text-link {
  align-self: end;
  margin-top: 4px;
}

.service-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: clamp(30px, 5vw, 56px);
}

.service-paths article {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(16, 32, 51, 0.04);
  scroll-margin-top: 120px;
}

.service-paths p {
  color: var(--muted);
}

.service-next {
  padding-top: 0;
}

.service-next article {
  max-width: 760px;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding-top: clamp(30px, 5vw, 60px);
}

.service-detail-copy {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.service-detail-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-detail-panel {
  padding: clamp(26px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.service-detail-panel h2,
.service-detail-panel h3 {
  margin-top: 0;
}

.service-detail .button {
  margin-top: 4px;
}

.related-services {
  padding-top: 0;
}

.related-services .package-grid article {
  min-height: auto;
}

.text-link {
  color: var(--teal-dark);
  font-weight: 800;
}

.text-link:hover {
  color: var(--teal);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.contact-panel dl {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
}

.contact-panel div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #0d2038;
  border-top: 4px solid var(--teal);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(160px, 0.7fr));
  gap: clamp(28px, 5vw, 64px);
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(46px, 7vw, 74px) 0 36px;
}

.footer-brand p {
  max-width: 430px;
  margin: 18px 0 22px;
}

.footer-logo {
  color: var(--white);
}

.footer-logo .brand-mark {
  background: #2b74d6;
}

.footer-cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  color: var(--white);
  background: linear-gradient(var(--teal), var(--teal)) left / 0 100% no-repeat, rgba(37, 99, 235, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-weight: 800;
  transition: background-size 220ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
  isolation: isolate;
}

.footer-cta:hover {
  background-size: 100% 100%;
  border-color: var(--white);
  transform: translateY(-1px);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 20px 0 24px;
  color: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 6px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.faq-list summary {
  padding: 16px 0;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary {
  position: relative;
  padding-right: 30px;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 14px;
  right: 0;
  color: var(--teal);
  font-size: 1.3rem;
  font-weight: 700;
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-list p {
  margin: 0;
  padding: 16px 0 20px;
  color: var(--muted);
}

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  margin: 40px 0 12px;
  font-size: 1.3rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

@media (max-width: 880px) {
  .nav-meta {
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 2px;
    padding: 7px 18px;
    text-align: center;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: var(--shadow);
  }

  .site-nav a:not(.nav-cta)::after,
  .nav-item > a::after,
  .nav-dropdown-toggle::after {
    display: none;
  }

  .nav-item {
    display: grid;
    gap: 6px;
  }

  .has-dropdown > a::before,
  .nav-dropdown-toggle::before {
    display: none;
  }

  .nav-dropdown {
    position: static;
    min-width: 0;
    padding: 6px 0 0 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

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

  .nav-dropdown a {
    padding: 8px 10px;
    color: var(--muted);
    background: transparent;
  }

  .site-nav.open {
    display: flex;
  }

  .intro-grid,
  .split,
  .contact-layout,
  .about-story,
  .operating-band,
  .managed-service,
  .service-detail,
  .industry-fit,
  .industry-grid,
  .values-grid,
  .service-list,
  .service-paths,
  .metric-row,
  .trust-row,
  .problem-grid,
  .capability-grid,
  .package-grid,
  .team-grid,
  .focus-grid,
  .industry-strip,
  .fit-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 640px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(8, 26, 52, 0.92) 0%, rgba(8, 26, 52, 0.78) 58%, rgba(8, 26, 52, 0.34) 100%);
  }

  .hero-content {
    margin: 0 auto;
    padding-top: 48px;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand span:last-child {
    max-width: 180px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .industry-grid article,
  .fit-grid article,
  .values-grid article,
  .service-list article,
  .service-paths article,
  .problem-grid article,
  .capability-grid article,
  .package-grid article,
  .team-grid article,
  .focus-grid article,
  .industry-strip a,
  .timeline div,
  .contact-panel,
  .contact-form {
    padding: 22px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }
}
