@font-face {
  font-family: 'Yapari';
  src: url('assets/Yapari.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'CabinLocal';
  src: url('assets/Cabin.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #053f82;
  --navy-deep: #061f45;
  --sky: #009fe3;
  --sky-soft: #e6f7ff;
  --ink: #101828;
  --muted: #667085;
  --line: #d9e6f2;
  --soft: #f4f9fd;
  --white: #ffffff;
  --shadow: 0 20px 54px rgba(6, 35, 75, 0.14);
  --header-height: 116px;
  --transparent: transparent;
  --aurora-white: rgba(255, 255, 255, 0.88);
  --aurora-blue-500: #0062ff;
  --aurora-indigo-300: #2455ff;
  --aurora-blue-300: #00a7e8;
  --aurora-violet-200: #7fdcff;
  --aurora-blue-400: #008fd5;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'CabinLocal', Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

body.home-body {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-height);
  z-index: 50;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(217, 230, 242, 0.95);
  box-shadow: 0 12px 35px rgba(6, 35, 75, 0.08);
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(246,251,255,0.70));
  pointer-events: none;
}

.header-aurora {
  position: absolute;
  inset: -26px;
  z-index: 0;
  opacity: 0.72;
  filter: blur(13px);
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      100deg,
      var(--aurora-white) 0%,
      var(--aurora-white) 7%,
      var(--transparent) 10%,
      var(--transparent) 12%,
      var(--aurora-white) 16%
    ),
    repeating-linear-gradient(
      100deg,
      var(--aurora-blue-500) 10%,
      var(--aurora-indigo-300) 15%,
      var(--aurora-blue-300) 20%,
      var(--aurora-violet-200) 25%,
      var(--aurora-blue-400) 30%
    );
  background-size: 300% 300%, 220% 220%;
  background-position: 50% 50%, 50% 50%;
  mask-image: radial-gradient(ellipse at 100% 0%, black 8%, transparent 78%);
  animation: headerAuroraMove 18s ease-in-out infinite alternate;
}

.header-aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      100deg,
      var(--aurora-white) 0%,
      var(--aurora-white) 7%,
      var(--transparent) 10%,
      var(--transparent) 12%,
      var(--aurora-white) 16%
    ),
    repeating-linear-gradient(
      100deg,
      var(--aurora-blue-500) 10%,
      var(--aurora-indigo-300) 15%,
      var(--aurora-blue-300) 20%,
      var(--aurora-violet-200) 25%,
      var(--aurora-blue-400) 30%
    );
  background-size: 200% 200%, 120% 120%;
  mix-blend-mode: difference;
  opacity: 0.28;
  animation: headerAuroraMove 14s ease-in-out infinite alternate-reverse;
}

@keyframes headerAuroraMove {
  0% { background-position: 20% 50%, 50% 50%; transform: translate3d(-2%, -1%, 0) scale(1.02); }
  50% { background-position: 80% 45%, 40% 70%; transform: translate3d(2%, 1%, 0) scale(1.04); }
  100% { background-position: 50% 60%, 75% 35%; transform: translate3d(1%, -2%, 0) scale(1.03); }
}

.header-inner {
  position: relative;
  z-index: 2;
  max-width: 1820px;
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 370px 1fr 370px;
  align-items: center;
  padding: 0 clamp(42px, 4.5vw, 86px);
  gap: 28px;
}

.brand {
  justify-self: start;
  display: flex;
  align-items: center;
  height: 100%;
}

.brand img {
  width: 292px;
  height: auto;
  max-height: 96px;
  object-fit: contain;
}

.site-nav-pill {
  justify-self: center;
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 7px;
  border: 2px solid rgba(6, 31, 69, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(6, 35, 75, 0.08);
  overflow: hidden;
}

.nav-tab {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--navy-deep);
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
  transition: color 0.18s ease;
}

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

.nav-tab.is-active {
  color: var(--white);
}

.nav-cursor {
  position: absolute;
  z-index: 1;
  top: 7px;
  left: 7px;
  width: 0;
  height: 44px;
  border-radius: 999px;
  background: var(--navy-deep);
  opacity: 0;
  pointer-events: none;
  transition:
    left 0.24s ease,
    width 0.24s ease,
    opacity 0.18s ease;
}

.nav-cta {
  justify-self: end;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(5, 63, 130, 0.24);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
  justify-self: end;
}

.nav-toggle span {
  width: 30px;
  height: 2px;
  display: block;
  background: var(--navy);
  margin: 7px 0;
}

.home-page {
  height: 100vh;
  overflow: hidden;
}

.hero-full-image {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background-image: url("assets/heroimage.webp");
  background-size: cover;
  background-position: center right;
}

.hero-full-image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 8, 12, 0.16) 0%, rgba(5, 8, 12, 0.30) 38%, rgba(5, 8, 12, 0.18) 62%, rgba(5, 8, 12, 0.10) 100%),
    radial-gradient(circle at 50% 48%, rgba(5, 8, 12, 0.44), rgba(5, 8, 12, 0.18) 34%, transparent 58%);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(5, 8, 12, 0.08) 0%, rgba(5, 8, 12, 0.14) 56%, rgba(5, 8, 12, 0.36) 100%);
}

.hero-panel {
  position: absolute;
  left: 50%;
  top: 51%;
  z-index: 5;
  width: min(760px, 52vw);
  max-width: 760px;
  transform: translate(-50%, -34%);
  color: var(--white);
  text-align: center;
}

.hero-panel h1 {
  margin: 0 auto;
  max-width: 760px;
  font-family: 'Yapari', Impact, sans-serif;
  font-size: clamp(39px, 3.95vw, 56px);
  line-height: 1.18;
  letter-spacing: 0.012em;
  word-spacing: 0.02em;
  font-weight: 900;
  font-kerning: normal;
  font-feature-settings: "kern" 1;
  text-rendering: geometricPrecision;
}

.hero-panel h1 span {
  display: block;
  white-space: nowrap;
}

.hero-panel p {
  max-width: 680px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.56;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--sky);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-panel .eyebrow {
  display: inline-flex;
  align-items: center;
  color: #8bddff;
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-curve {
  position: absolute;
  z-index: 6;
  left: -8%;
  right: -8%;
  bottom: -82px;
  height: 170px;
  background: var(--white);
  border-radius: 50% 50% 0 0 / 52% 52% 0 0;
  transform: rotate(-1.7deg);
  box-shadow: 0 -18px 44px rgba(6, 31, 69, 0.08);
}

.page-main {
  padding-top: var(--header-height);
}

.page-hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 82% 22%, rgba(0, 159, 227, 0.16), transparent 35%),
    linear-gradient(135deg, #ffffff 0%, #f4f9fd 100%);
  border-bottom: 1px solid var(--line);
}

.page-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(26px, 4vw, 48px);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 70px;
  align-items: center;
}

.page-hero h1 {
  max-width: 920px;
  margin: 0;
  color: var(--navy-deep);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: clamp(50px, 6vw, 82px);
  line-height: 1.06;
  letter-spacing: 0.025em;
  word-spacing: 0.06em;
  font-weight: 900;
}

.page-hero p {
  max-width: 780px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 21px;
  font-weight: 600;
}

.hero-summary-card {
  padding: 32px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-summary-card strong {
  display: block;
  color: var(--navy-deep);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: 0.02em;
}

.hero-summary-card span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}

.content-section {
  padding: 108px 0;
  background: var(--white);
}

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

.dark-section {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: var(--white);
}

.two-column {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 86px;
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--navy-deep);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: 0.025em;
  word-spacing: 0.06em;
  font-weight: 900;
}

.copy-block p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 19px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.service-card,
.team-card,
.step-card {
  display: block;
  min-height: 280px;
  padding: 34px;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(6, 35, 75, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 62px rgba(6, 35, 75, 0.13);
}

.service-card span,
.step-card span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 24px;
  border-radius: 16px;
  color: var(--white);
  background: var(--navy);
  font-weight: 900;
}

.service-card h2,
.team-card h2,
.step-card h2 {
  font-size: 28px;
}

.service-card p,
.team-card p,
.step-card p {
  color: var(--muted);
  font-size: 17px;
}

.dark-section .step-card {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
}

.dark-section .step-card h2 {
  color: var(--white);
}

.dark-section .step-card p {
  color: rgba(255,255,255,0.74);
}

.steps-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

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

.team-card strong {
  display: block;
  margin: 12px 0 14px;
  color: var(--sky);
}

.feature-list {
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 18px 0 18px 34px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 19px;
  font-weight: 750;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 27px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--sky);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
  border: 1px solid transparent;
  cursor: pointer;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  box-shadow:
    0 16px 32px rgba(5, 63, 130, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.10) inset;
}

.contact-form {
  max-width: 980px;
  display: grid;
  gap: 20px;
  padding: 42px;
  border-radius: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 9px;
  color: var(--navy-deep);
  font-weight: 850;
  font-size: 15px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 17px;
  font: inherit;
  color: var(--ink);
  background: #fbfdff;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(0,159,227,0.12);
}

.site-footer {
  background: var(--navy-deep);
  color: var(--white);
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 30px clamp(26px, 4vw, 48px);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-inner p {
  margin: 4px 0 0;
  color: rgba(255,255,255,0.65);
}

.footer-inner a {
  color: #8bddff;
  font-weight: 800;
}

@media (max-width: 1450px) {
  .header-inner {
    grid-template-columns: 310px 1fr 310px;
    padding: 0 38px;
  }

  .brand img {
    width: 250px;
    max-height: 90px;
  }

  .site-nav-pill {
    padding: 6px;
  }

  .nav-tab {
    min-height: 42px;
    padding: 0 15px;
    font-size: 15px;
  }

  .nav-cursor {
    top: 6px;
    height: 42px;
  }
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .site-nav-pill,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .brand img {
    width: 220px;
  }

  .card-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1060px) {
  .page-hero-grid,
  .two-column {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-summary-card {
    max-width: 520px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  body.home-body {
    overflow: auto;
  }

  .site-nav-pill {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 104px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .nav-tab {
    justify-content: flex-start;
    height: auto;
    min-height: auto;
    padding: 14px 12px;
    color: var(--navy-deep);
  }

  .nav-tab:hover,
  .nav-tab.is-active {
    color: var(--navy-deep);
  }

  .nav-cursor {
    display: none;
  }

  .hero-panel {
    left: 24px;
    right: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 92px;
  }

  .header-inner {
    padding: 0 18px;
  }

  .brand img {
    width: 170px;
    max-height: 70px;
  }

  .hero-panel h1,
  .page-hero h1 {
    font-size: 38px;
  }

  .hero-panel h1 span {
    white-space: normal;
  }

  .hero-panel p,
  .page-hero p {
    font-size: 17px;
  }

  .hero-full-image {
    background-position: center;
  }

  .card-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 76px 0;
  }

  .contact-form {
    padding: 26px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .header-aurora,
  .header-aurora::after,
  .nav-cursor { animation: none; transition: none; }
}


/* V17 Services Hub Layout */
.services-hero .page-hero-grid {
  align-items: center;
}

.services-hub-section {
  padding: 96px 0;
  background: var(--white);
}

.services-partner-section {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.services-group-heading {
  max-width: 900px;
  margin-bottom: 38px;
}

.services-group-heading h2 {
  margin-bottom: 16px;
}

.services-group-heading p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 650;
}

.services-hub-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

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

.services-hub-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 30px;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(6, 35, 75, 0.08);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.services-hub-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 18%, rgba(0, 159, 227, 0.13), transparent 36%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.services-hub-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 159, 227, 0.34);
  box-shadow: 0 26px 64px rgba(6, 35, 75, 0.13);
}

.services-hub-card:hover::before {
  opacity: 1;
}

.service-index {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: var(--white);
  font-weight: 900;
}

.services-hub-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--navy-deep);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: 0.018em;
}

.services-hub-card p {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 650;
}

.services-hub-card strong {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 26px;
  color: var(--sky);
  font-size: 15px;
  font-weight: 900;
}

.services-bottom-cta {
  padding: 96px 0;
  background: var(--white);
}

.services-cta-card {
  padding: 46px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 10%, rgba(0, 159, 227, 0.15), transparent 34%),
    linear-gradient(135deg, #ffffff, #f4f9fd);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.services-cta-card h2 {
  max-width: 760px;
}

.services-cta-card p:not(.eyebrow) {
  max-width: 760px;
  margin: 20px 0 30px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 650;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 68px;
  align-items: start;
}

.service-detail-intro > p:not(.eyebrow) {
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 650;
}

.service-detail-card {
  padding: 38px;
  border-radius: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-detail-card h3 {
  margin: 0 0 18px;
  color: var(--navy-deep);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: 34px;
  letter-spacing: 0.018em;
}

.detail-note {
  margin: 0 0 28px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--sky-soft);
  border: 1px solid rgba(0, 159, 227, 0.22);
  color: var(--navy-deep);
  font-weight: 800;
}

@media (max-width: 1320px) {
  .services-hub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 980px) {
  .services-hub-grid,
  .services-hub-grid-three,
  .service-detail-layout {
    grid-template-columns: 1fr;
  }

  .services-hub-card {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .services-hub-section,
  .services-bottom-cta {
    padding: 70px 0;
  }

  .services-cta-card,
  .service-detail-card {
    padding: 26px;
  }
}


/* V18 Services Page Alternating Colour Blocks */
.services-hub-page .services-hero {
  background:
    radial-gradient(circle at 78% 12%, rgba(0, 159, 227, 0.24), transparent 34%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
}

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

.services-hub-page .services-hero p {
  color: rgba(255, 255, 255, 0.82);
}

.services-hub-page .services-hero .eyebrow {
  color: #8bddff;
}

.services-hub-page .services-hero .hero-summary-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
}

.services-hub-page .services-hero .hero-summary-card strong {
  color: var(--white);
}

.services-hub-page .services-hero .hero-summary-card span {
  color: rgba(255, 255, 255, 0.76);
}

.services-hub-page .services-partner-section {
  background:
    radial-gradient(circle at 10% 14%, rgba(0, 159, 227, 0.18), transparent 32%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-top: 0;
  border-bottom: 0;
  color: var(--white);
}

.services-hub-page .services-partner-section .services-group-heading h2 {
  color: var(--white);
}

.services-hub-page .services-partner-section .services-group-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.services-hub-page .services-partner-section .eyebrow {
  color: #8bddff;
}

.services-hub-page .services-partner-section .services-hub-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(10px);
}

.services-hub-page .services-partner-section .services-hub-card:hover {
  border-color: rgba(141, 221, 255, 0.42);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.20);
}

.services-hub-page .services-partner-section .services-hub-card::before {
  background: radial-gradient(circle at 82% 18%, rgba(141, 221, 255, 0.18), transparent 38%);
}

.services-hub-page .services-partner-section .services-hub-card h3 {
  color: var(--white);
}

.services-hub-page .services-partner-section .services-hub-card p {
  color: rgba(255, 255, 255, 0.76);
}

.services-hub-page .services-partner-section .services-hub-card strong {
  color: #8bddff;
}

.services-hub-page .services-partner-section .service-index {
  background: rgba(0, 76, 153, 0.82);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

@media (max-width: 680px) {
  .services-hub-page .services-hero,
  .services-hub-page .services-partner-section {
    background:
      radial-gradient(circle at 80% 8%, rgba(0, 159, 227, 0.20), transparent 40%),
      linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  }
}


/* V19 Services Full-Page Slides + Background Images */
.services-hub-page {
  overflow-x: hidden;
}

.services-hub-page .page-inner {
  width: 100%;
  max-width: none;
  padding-left: clamp(44px, 6vw, 116px);
  padding-right: clamp(44px, 6vw, 116px);
}

.services-hub-page .page-hero,
.services-hub-page .services-hub-section,
.services-hub-page .services-bottom-cta {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.services-hub-page .page-hero {
  padding-top: var(--header-height);
}

.services-hub-page .page-hero-grid {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: clamp(54px, 6vw, 110px);
}

.services-hub-page .page-hero h1 {
  max-width: 1120px;
}

.services-hub-page .page-hero p {
  max-width: 900px;
}

.services-hub-page .services-hub-section {
  position: relative;
  padding: calc(var(--header-height) + 42px) 0 78px;
  overflow: hidden;
}

.services-hub-page .services-hub-section > .page-inner {
  position: relative;
  z-index: 2;
}

.services-hub-page .services-hub-section:not(.services-partner-section) {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.88) 44%, rgba(255, 255, 255, 0.72) 100%),
    url("assets/service 1.webp");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.services-hub-page .services-hub-section:not(.services-partner-section)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 84% 18%, rgba(0, 159, 227, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.68));
  pointer-events: none;
}

.services-hub-page .services-partner-section {
  padding: calc(var(--header-height) + 42px) 0 78px;
}

.services-hub-page .services-bottom-cta {
  position: relative;
  padding: calc(var(--header-height) + 42px) 0 78px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 31, 69, 0.88) 0%, rgba(6, 31, 69, 0.72) 46%, rgba(6, 31, 69, 0.40) 100%),
    url("assets/service2.webp");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.services-hub-page .services-bottom-cta > .page-inner {
  position: relative;
  z-index: 2;
}

.services-hub-page .services-bottom-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 159, 227, 0.25), transparent 34%),
    linear-gradient(180deg, rgba(6, 31, 69, 0.18), rgba(6, 31, 69, 0.42));
  pointer-events: none;
}

.services-hub-page .services-cta-card {
  max-width: 920px;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
  backdrop-filter: blur(14px);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.18);
}

.services-hub-page .services-cta-card h2 {
  color: var(--white);
}

.services-hub-page .services-cta-card p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.services-hub-page .services-cta-card .eyebrow {
  color: #8bddff;
}

.services-hub-page .services-cta-card .button-primary {
  background: var(--white);
  color: var(--navy-deep);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.20);
}

.services-hub-page .services-group-heading {
  max-width: 1040px;
}

.services-hub-page .services-group-heading p:not(.eyebrow) {
  max-width: 920px;
}

.services-hub-page .services-hub-grid {
  width: 100%;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(18px, 1.6vw, 30px);
}

.services-hub-page .services-hub-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-hub-page .services-hub-card {
  min-height: 350px;
}

@media (max-width: 1320px) {
  .services-hub-page .services-hub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-hub-page .services-hub-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .services-hub-page .page-hero,
  .services-hub-page .services-hub-section,
  .services-hub-page .services-bottom-cta {
    min-height: auto;
  }

  .services-hub-page .page-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .services-hub-page .page-hero-grid,
  .services-hub-page .services-hub-grid,
  .services-hub-page .services-hub-grid-three {
    grid-template-columns: 1fr;
  }

  .services-hub-page .services-hub-section:not(.services-partner-section),
  .services-hub-page .services-bottom-cta {
    background-position: center;
  }

  .services-hub-page .services-hub-card {
    min-height: auto;
  }
}


/* V20: Increase service 1 background image visibility on the white services slide */
.services-hub-page .services-hub-section:not(.services-partner-section) {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.68) 42%, rgba(255, 255, 255, 0.52) 100%),
    url("assets/service 1.webp");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.services-hub-page .services-hub-section:not(.services-partner-section)::before {
  background:
    radial-gradient(circle at 84% 18%, rgba(0, 159, 227, 0.10), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.22));
}

/* Keep the white cards readable now the background image is more visible */
.services-hub-page .services-hub-section:not(.services-partner-section) .services-hub-card {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(8px);
}

.services-hub-page .services-hub-section:not(.services-partner-section) .services-group-heading {
  padding: 28px 32px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(217, 230, 242, 0.72);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 48px rgba(6, 35, 75, 0.06);
}

@media (max-width: 980px) {
  .services-hub-page .services-hub-section:not(.services-partner-section) {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.62)),
      url("assets/service 1.webp");
    background-size: cover;
    background-position: center;
  }
}


/* V21 Services Page Full-View Polish */
body.inner-body .services-hub-page {
  overflow-x: hidden;
}

.services-hub-page {
  scroll-snap-type: y proximity;
}

.services-hub-page .page-hero,
.services-hub-page .services-hub-section,
.services-hub-page .services-bottom-cta {
  box-sizing: border-box;
  scroll-snap-align: start;
}

/* Slide 1: Services intro now sits cleanly in the visible page area */
.services-hub-page .services-hero {
  min-height: calc(100vh - var(--header-height));
  padding: 0;
  display: flex;
  align-items: center;
}

.services-hub-page .services-hero .page-inner {
  padding-top: clamp(20px, 3vh, 40px);
  padding-bottom: clamp(24px, 4vh, 52px);
}

.services-hub-page .services-hero .page-hero-grid {
  grid-template-columns: 1fr;
  place-items: center;
  text-align: center;
  max-width: 1040px;
  margin: 0 auto;
  gap: 24px;
}

.services-hub-page .services-hero h1 {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(48px, 5.2vw, 78px);
  line-height: 1.02;
}

.services-hub-page .services-hero p {
  max-width: 820px;
  margin: 24px auto 0;
  font-size: clamp(18px, 1.35vw, 22px);
}

.services-hub-page .services-hero .hero-summary-card {
  max-width: 680px;
  margin: 10px auto 0;
  padding: 24px 30px;
  text-align: center;
}

.services-hub-page .services-hero .hero-summary-card strong {
  font-size: 22px;
}

/* Shared slide sizing: each slide should fit the viewport cleanly */
.services-hub-page .services-hub-section,
.services-hub-page .services-bottom-cta {
  min-height: 100vh;
  padding: calc(var(--header-height) + 22px) 0 42px;
  display: flex;
  align-items: center;
}

.services-hub-page .services-hub-section > .page-inner,
.services-hub-page .services-bottom-cta > .page-inner {
  width: 100%;
}

/* Slide 2 and 3 headings moved up and tightened */
.services-hub-page .services-group-heading {
  max-width: 980px;
  margin-bottom: clamp(22px, 3vh, 34px);
  padding: 0;
}

.services-hub-page .services-group-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 1.02;
}

.services-hub-page .services-group-heading p:not(.eyebrow) {
  max-width: 820px;
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.45;
}

/* On the image/white slide, keep the heading neat but not a big floating block */
.services-hub-page .services-hub-section:not(.services-partner-section) .services-group-heading {
  max-width: 980px;
  padding: 22px 26px;
  border-radius: 24px;
}

/* Cards reduced slightly so the whole slide fits */
.services-hub-page .services-hub-card {
  min-height: 265px;
  padding: clamp(22px, 1.7vw, 28px);
  border-radius: 24px;
}

.services-hub-page .services-hub-card .service-index {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
}

.services-hub-page .services-hub-card h3 {
  font-size: clamp(21px, 1.45vw, 25px);
  line-height: 1.12;
}

.services-hub-page .services-hub-card p {
  margin-top: 14px;
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.48;
}

.services-hub-page .services-hub-card strong {
  padding-top: 18px;
}

/* Direct support cards: 3-card layout with better vertical fit */
.services-hub-page .services-hub-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Partner support cards: keep five across on wide screens but tighten spacing */
.services-hub-page .services-hub-grid {
  gap: clamp(16px, 1.35vw, 24px);
}

/* Slide 4 CTA: align and size so it sits in one screen */
.services-hub-page .services-bottom-cta {
  align-items: center;
}

.services-hub-page .services-cta-card {
  max-width: 860px;
  padding: clamp(32px, 3vw, 44px);
}

.services-hub-page .services-cta-card h2 {
  max-width: 760px;
  font-size: clamp(38px, 4.3vw, 64px);
  line-height: 1.04;
}

.services-hub-page .services-cta-card p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 26px;
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.48;
}

/* Keep service backgrounds visible without making text messy */
.services-hub-page .services-hub-section:not(.services-partner-section) {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.74) 0%, rgba(255, 255, 255, 0.66) 42%, rgba(255, 255, 255, 0.50) 100%),
    url("assets/service 1.webp");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

/* Better laptop/desktop fit */
@media (max-height: 820px) and (min-width: 981px) {
  .services-hub-page .services-hero h1 {
    font-size: clamp(44px, 4.6vw, 66px);
  }

  .services-hub-page .services-hero p {
    margin-top: 18px;
  }

  .services-hub-page .services-hero .hero-summary-card {
    padding: 20px 26px;
  }

  .services-hub-page .services-hub-section,
  .services-hub-page .services-bottom-cta {
    padding-top: calc(var(--header-height) + 16px);
    padding-bottom: 28px;
  }

  .services-hub-page .services-group-heading {
    margin-bottom: 20px;
  }

  .services-hub-page .services-group-heading h2 {
    font-size: clamp(34px, 3.7vw, 52px);
  }

  .services-hub-page .services-hub-card {
    min-height: 238px;
    padding: 22px;
  }

  .services-hub-page .services-hub-card .service-index {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
  }

  .services-hub-page .services-hub-card h3 {
    font-size: 21px;
  }

  .services-hub-page .services-hub-card p {
    margin-top: 10px;
    font-size: 15px;
  }

  .services-hub-page .services-hub-card strong {
    padding-top: 12px;
  }

  .services-hub-page .services-cta-card {
    max-width: 820px;
    padding: 34px;
  }

  .services-hub-page .services-cta-card h2 {
    font-size: clamp(34px, 3.8vw, 54px);
  }
}

@media (max-width: 1320px) {
  .services-hub-page .services-hub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-hub-page .services-hub-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .services-hub-page {
    scroll-snap-type: none;
  }

  .services-hub-page .services-hero,
  .services-hub-page .services-hub-section,
  .services-hub-page .services-bottom-cta {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 70px;
  }

  .services-hub-page .services-hero .page-hero-grid {
    text-align: left;
    place-items: start;
  }

  .services-hub-page .services-hero .hero-summary-card {
    margin-left: 0;
    text-align: left;
  }

  .services-hub-page .services-hub-grid,
  .services-hub-page .services-hub-grid-three {
    grid-template-columns: 1fr;
  }

  .services-hub-page .services-hub-card {
    min-height: auto;
  }
}


/* V22 Services Hero Side Cards */
.services-hub-page .services-hero-cards-section {
  min-height: calc(100vh - var(--header-height));
  padding: var(--header-height) 0 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.services-hero-grid {
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(420px, 1.05fr) minmax(220px, 0.9fr);
  align-items: center;
  gap: clamp(24px, 3vw, 58px);
  padding: clamp(28px, 4vw, 60px) clamp(34px, 5.5vw, 106px);
}

.services-hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.services-hero-content .eyebrow {
  justify-content: center;
}

.services-hero-content h1 {
  margin: 0 auto;
  max-width: 820px;
  color: var(--white);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1.03;
  letter-spacing: 0.02em;
  word-spacing: 0.06em;
}

.services-hero-content p {
  max-width: 720px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 1.25vw, 22px);
  line-height: 1.5;
  font-weight: 650;
}

.services-hero-content .button {
  margin-top: 30px;
}

.services-side-cards {
  position: relative;
  height: min(500px, 58vh);
  min-height: 360px;
  opacity: 0;
  transform: translateX(42px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.services-side-cards-left {
  transform: translateX(-42px);
}

.services-side-cards.cards-visible {
  opacity: 1;
  transform: translateX(0);
}

.service-floating-card {
  position: absolute;
  display: block;
  width: min(310px, 22vw);
  max-width: 100%;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease;
}

.service-floating-card-logo {
  top: 0;
  left: 50%;
  z-index: 3;
  height: auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.92);
  transform: translateX(-50%) rotate(5deg);
}

.service-floating-card-image {
  left: 50%;
  bottom: 0;
  z-index: 2;
  aspect-ratio: 4 / 5;
  transform: translateX(-50%) rotate(-6deg);
}

.services-side-cards-right .service-floating-card-logo {
  transform: translateX(-50%) rotate(-5deg);
}

.services-side-cards-right .service-floating-card-image {
  transform: translateX(-50%) rotate(6deg);
}

.services-side-cards-left .service-floating-card-logo {
  top: 18px;
}

.services-side-cards-left .service-floating-card-image {
  bottom: 14px;
}

.services-side-cards-right .service-floating-card-logo {
  top: 18px;
}

.services-side-cards-right .service-floating-card-image {
  bottom: 14px;
}

.services-side-cards:hover .service-floating-card-logo {
  transform: translateX(-50%) rotate(0deg) translateY(-8px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.30);
}

.services-side-cards:hover .service-floating-card-image {
  transform: translateX(-50%) rotate(0deg) translateY(8px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.30);
}

@media (max-width: 1180px) {
  .services-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 70px;
  }

  .services-side-cards {
    display: none;
  }

  .services-hub-page .services-hero-cards-section {
    min-height: auto;
    padding: 0;
  }

  .services-hero-content {
    text-align: left;
    max-width: 860px;
  }

  .services-hero-content .eyebrow {
    justify-content: flex-start;
  }

  .services-hero-content h1,
  .services-hero-content p {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-side-cards,
  .service-floating-card {
    transition: none;
  }
}


/* V23 Services Hero Card Stack Fix */
/* Swap the visual emphasis: service image is the front card, logo is the portrait undercard. */
.services-side-cards {
  height: min(540px, 62vh);
  min-height: 410px;
}

.service-floating-card {
  border-radius: 24px;
}

/* Logo card now acts as the undercard and is portrait, not square */
.service-floating-card-logo {
  top: auto;
  bottom: 18px;
  left: 50%;
  z-index: 2;
  width: min(245px, 18vw);
  height: min(360px, 42vh);
  padding: 22px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.94);
  transform: translateX(-50%) rotate(-7deg);
}

/* Image card now sits on top but is offset so the logo card remains visible */
.service-floating-card-image {
  top: 18px;
  bottom: auto;
  left: 50%;
  z-index: 3;
  width: min(285px, 21vw);
  height: min(350px, 41vh);
  aspect-ratio: auto;
  object-fit: cover;
  transform: translateX(-38%) rotate(6deg);
}

/* Left stack: image leans one way, logo peeks from the lower-left/back */
.services-side-cards-left .service-floating-card-logo {
  transform: translateX(-66%) translateY(10px) rotate(-7deg);
}

.services-side-cards-left .service-floating-card-image {
  transform: translateX(-26%) translateY(-6px) rotate(5deg);
}

/* Right stack mirrors the layout */
.services-side-cards-right .service-floating-card-logo {
  transform: translateX(-34%) translateY(10px) rotate(7deg);
}

.services-side-cards-right .service-floating-card-image {
  transform: translateX(-72%) translateY(-6px) rotate(-5deg);
}

/* Hover keeps the stacked look but makes the separation clearer */
.services-side-cards-left:hover .service-floating-card-logo {
  transform: translateX(-70%) translateY(16px) rotate(-9deg);
}

.services-side-cards-left:hover .service-floating-card-image {
  transform: translateX(-22%) translateY(-14px) rotate(3deg);
}

.services-side-cards-right:hover .service-floating-card-logo {
  transform: translateX(-30%) translateY(16px) rotate(9deg);
}

.services-side-cards-right:hover .service-floating-card-image {
  transform: translateX(-76%) translateY(-14px) rotate(-3deg);
}

/* Keep card sizes sensible on smaller desktop screens */
@media (max-width: 1450px) {
  .service-floating-card-logo {
    width: min(220px, 18vw);
    height: min(330px, 42vh);
  }

  .service-floating-card-image {
    width: min(260px, 21vw);
    height: min(325px, 41vh);
  }
}

@media (max-width: 1180px) {
  .service-floating-card-logo,
  .service-floating-card-image {
    width: auto;
    height: auto;
  }
}


/* V24 Services Hero Alignment + More Visible Undercards */
.services-hub-page .services-hero-cards-section {
  min-height: calc(100vh - var(--header-height));
  padding: var(--header-height) 0 0;
  align-items: center;
}

.services-hero-grid {
  min-height: calc(100vh - var(--header-height));
  align-items: center;
  padding-top: clamp(18px, 2.2vh, 34px);
  padding-bottom: clamp(22px, 3vh, 46px);
  transform: translateY(-3.5vh);
}

.services-hero-content {
  transform: translateY(-1.25vh);
}

.services-hero-content h1 {
  font-size: clamp(42px, 4.65vw, 70px);
  line-height: 1.02;
}

.services-hero-content p {
  margin-top: 22px;
}

.services-hero-content .button {
  margin-top: 26px;
}

/* Lift both card stacks so they align with the central heading instead of sitting low */
.services-side-cards {
  height: min(500px, 56vh);
  min-height: 390px;
  transform: translateX(42px) translateY(-2.5vh);
}

.services-side-cards-left {
  transform: translateX(-42px) translateY(-2.5vh);
}

.services-side-cards.cards-visible {
  transform: translateX(0) translateY(-2.5vh);
}

/* Release the logo undercards so more of the logo can be seen */
.service-floating-card-logo {
  width: min(265px, 19vw);
  height: min(380px, 43vh);
  bottom: 0;
  opacity: 0.96;
}

.service-floating-card-image {
  width: min(280px, 20vw);
  height: min(330px, 38vh);
}

/* Left stack: expose logo more clearly to the left and below */
.services-side-cards-left .service-floating-card-logo {
  transform: translateX(-78%) translateY(18px) rotate(-8deg);
}

.services-side-cards-left .service-floating-card-image {
  transform: translateX(-18%) translateY(-18px) rotate(5deg);
}

/* Right stack: expose logo more clearly to the right and below */
.services-side-cards-right .service-floating-card-logo {
  transform: translateX(-22%) translateY(18px) rotate(8deg);
}

.services-side-cards-right .service-floating-card-image {
  transform: translateX(-82%) translateY(-18px) rotate(-5deg);
}

/* Hover keeps the separation but doesn't hide the undercard again */
.services-side-cards-left:hover .service-floating-card-logo {
  transform: translateX(-82%) translateY(24px) rotate(-10deg);
}

.services-side-cards-left:hover .service-floating-card-image {
  transform: translateX(-14%) translateY(-26px) rotate(3deg);
}

.services-side-cards-right:hover .service-floating-card-logo {
  transform: translateX(-18%) translateY(24px) rotate(10deg);
}

.services-side-cards-right:hover .service-floating-card-image {
  transform: translateX(-86%) translateY(-26px) rotate(-3deg);
}

/* Keep the first Services slide fitting cleanly on shorter screens */
@media (max-height: 820px) and (min-width: 1181px) {
  .services-hero-grid {
    transform: translateY(-5vh);
  }

  .services-side-cards {
    height: min(455px, 54vh);
    min-height: 350px;
  }

  .service-floating-card-logo {
    width: min(235px, 18vw);
    height: min(340px, 41vh);
  }

  .service-floating-card-image {
    width: min(250px, 19vw);
    height: min(300px, 37vh);
  }

  .services-hero-content h1 {
    font-size: clamp(38px, 4.1vw, 62px);
  }

  .services-hero-content p {
    margin-top: 18px;
  }

  .services-hero-content .button {
    margin-top: 22px;
  }
}

@media (max-width: 1180px) {
  .services-hero-grid,
  .services-hero-content,
  .services-side-cards,
  .services-side-cards-left,
  .services-side-cards.cards-visible {
    transform: none;
  }
}


/* V25 FINAL SERVICES PAGE VIEWPORT FIX */
/* Purpose: every Services page section fits cleanly beneath the fixed header. */

body.inner-body .services-hub-page {
  overflow-x: hidden;
}

/* Give the browser a clean snap target that accounts for the fixed header */
.services-hub-page .page-hero,
.services-hub-page .services-hub-section,
.services-hub-page .services-bottom-cta {
  scroll-margin-top: var(--header-height);
}

/* First Services section: exact visible height under nav, no hidden extra section below */
.services-hub-page .services-hero-cards-section {
  height: calc(100vh - var(--header-height));
  min-height: calc(100vh - var(--header-height));
  max-height: calc(100vh - var(--header-height));
  padding: 0 !important;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Force the first section content to sit neatly inside that height */
.services-hero-grid {
  height: 100%;
  min-height: 0 !important;
  width: 100%;
  align-items: center;
  padding: clamp(10px, 2vh, 22px) clamp(34px, 5.5vw, 106px) clamp(16px, 2.6vh, 30px);
  transform: none !important;
}

/* Bring the centre content up naturally without causing overflow */
.services-hero-content {
  transform: translateY(-1.2vh) !important;
}

.services-hero-content .eyebrow {
  margin-bottom: 10px;
}

.services-hero-content h1 {
  font-size: clamp(36px, 4.05vw, 62px);
  line-height: 1.01;
  max-width: 760px;
}

.services-hero-content p {
  max-width: 650px;
  margin-top: 18px;
  font-size: clamp(16px, 1.05vw, 19px);
  line-height: 1.42;
}

.services-hero-content .button {
  margin-top: 20px;
  min-height: 48px;
}

/* Card stacks: smaller, higher, visible undercards */
.services-side-cards,
.services-side-cards-left,
.services-side-cards.cards-visible {
  height: min(430px, 50vh);
  min-height: 320px;
  transform: translateY(-1vh) !important;
}

.service-floating-card-logo {
  width: min(230px, 17vw);
  height: min(330px, 38vh);
  bottom: 0;
}

.service-floating-card-image {
  width: min(250px, 18.5vw);
  height: min(295px, 35vh);
}

.services-side-cards-left .service-floating-card-logo {
  transform: translateX(-82%) translateY(10px) rotate(-8deg);
}

.services-side-cards-left .service-floating-card-image {
  transform: translateX(-14%) translateY(-20px) rotate(5deg);
}

.services-side-cards-right .service-floating-card-logo {
  transform: translateX(-18%) translateY(10px) rotate(8deg);
}

.services-side-cards-right .service-floating-card-image {
  transform: translateX(-86%) translateY(-20px) rotate(-5deg);
}

/* All other Services slides: exact visible section height under the nav */
.services-hub-page .services-hub-section,
.services-hub-page .services-bottom-cta {
  height: calc(100vh - var(--header-height));
  min-height: calc(100vh - var(--header-height));
  max-height: calc(100vh - var(--header-height));
  padding: clamp(18px, 2.6vh, 30px) 0 clamp(18px, 2.6vh, 30px) !important;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.services-hub-page .services-hub-section > .page-inner,
.services-hub-page .services-bottom-cta > .page-inner {
  width: 100%;
}

/* Heading areas tightened so cards fit in the same visible screen */
.services-hub-page .services-group-heading {
  margin-bottom: clamp(14px, 2vh, 22px);
  max-width: 980px;
}

.services-hub-page .services-group-heading .eyebrow {
  margin-bottom: 10px;
}

.services-hub-page .services-group-heading h2 {
  font-size: clamp(32px, 3.35vw, 50px);
  line-height: 1.02;
  margin-bottom: 10px;
}

.services-hub-page .services-group-heading p:not(.eyebrow) {
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.38;
}

/* Cards tightened to avoid oversized sections */
.services-hub-page .services-hub-card {
  min-height: 230px;
  padding: clamp(18px, 1.45vw, 24px);
  border-radius: 22px;
}

.services-hub-page .services-hub-card .service-index,
.services-hub-page .service-index {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 12px;
}

.services-hub-page .services-hub-card h3 {
  font-size: clamp(18px, 1.25vw, 22px);
  line-height: 1.1;
}

.services-hub-page .services-hub-card p {
  margin-top: 10px;
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 1.38;
}

.services-hub-page .services-hub-card strong {
  padding-top: 12px;
  font-size: 14px;
}

/* Keep five partner cards visible in one row on normal desktop */
.services-hub-page .services-hub-grid {
  gap: clamp(14px, 1.15vw, 20px);
}

/* CTA slide tightened and centred */
.services-hub-page .services-cta-card {
  max-width: 800px;
  padding: clamp(28px, 2.6vw, 40px);
}

.services-hub-page .services-cta-card .eyebrow {
  margin-bottom: 10px;
}

.services-hub-page .services-cta-card h2 {
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1.04;
  max-width: 700px;
}

.services-hub-page .services-cta-card p:not(.eyebrow) {
  margin: 16px 0 22px;
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.42;
}

/* Short laptop screens: reduce further so no section bleeds */
@media (max-height: 820px) and (min-width: 1181px) {
  .services-hero-content h1 {
    font-size: clamp(34px, 3.6vw, 54px);
  }

  .services-hero-content p {
    margin-top: 14px;
    font-size: 16px;
  }

  .services-hero-content .button {
    margin-top: 16px;
    min-height: 44px;
  }

  .services-side-cards,
  .services-side-cards-left,
  .services-side-cards.cards-visible {
    height: min(380px, 48vh);
    min-height: 295px;
  }

  .service-floating-card-logo {
    width: min(205px, 16vw);
    height: min(300px, 36vh);
  }

  .service-floating-card-image {
    width: min(225px, 17.5vw);
    height: min(265px, 33vh);
  }

  .services-hub-page .services-group-heading h2 {
    font-size: clamp(30px, 3vw, 44px);
  }

  .services-hub-page .services-hub-card {
    min-height: 205px;
    padding: 18px;
  }

  .services-hub-page .services-hub-card .service-index,
  .services-hub-page .service-index {
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
  }

  .services-hub-page .services-hub-card h3 {
    font-size: 18px;
  }

  .services-hub-page .services-hub-card p {
    font-size: 14px;
    line-height: 1.32;
  }

  .services-hub-page .services-hub-card strong {
    padding-top: 8px;
  }
}

/* Mobile/tablet should scroll naturally rather than forced slide height */
@media (max-width: 1180px) {
  .services-hub-page .services-hero-cards-section,
  .services-hub-page .services-hub-section,
  .services-hub-page .services-bottom-cta {
    height: auto;
    min-height: auto;
    max-height: none;
    overflow: visible;
  }

  .services-hero-grid,
  .services-hero-content,
  .services-side-cards,
  .services-side-cards-left,
  .services-side-cards.cards-visible {
    transform: none !important;
  }
}





/* V32 Mesh Removed - clean Services first section */
.services-hub-page .services-hero-cards-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(0, 159, 227, 0.24), transparent 34%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%) !important;
}

.services-hub-page .services-hero-cards-section::before,
.services-hub-page .services-hero-cards-section::after {
  content: none !important;
  display: none !important;
}

.services-hub-page .services-hero-cards-section .services-hero-grid {
  position: relative;
  z-index: 2;
}

.services-hub-page .services-hero-cards-section h1 {
  color: var(--white);
}

.services-hub-page .services-hero-cards-section p {
  color: rgba(255, 255, 255, 0.82);
}

.services-hub-page .services-hero-cards-section .eyebrow {
  color: #8bddff;
}


/* V33 Premium Services Hero Background */
/* Deep navy base + centre glow + soft edge vignette + faint grid / route lines */

.services-hub-page .services-hero-cards-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(0, 159, 227, 0.28) 0%, rgba(0, 159, 227, 0.14) 22%, transparent 44%),
    radial-gradient(circle at 18% 38%, rgba(0, 159, 227, 0.10) 0%, transparent 28%),
    radial-gradient(circle at 82% 38%, rgba(0, 159, 227, 0.10) 0%, transparent 28%),
    linear-gradient(135deg, #061f45 0%, #053f82 56%, #064b92 100%) !important;
}

/* Soft vignette and depth layer */
.services-hub-page .services-hero-cards-section::before {
  content: "" !important;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: block !important;
  background:
    radial-gradient(circle at 50% 42%, transparent 0%, transparent 44%, rgba(2, 17, 40, 0.28) 76%, rgba(2, 17, 40, 0.48) 100%),
    linear-gradient(90deg, rgba(2, 17, 40, 0.38) 0%, transparent 28%, transparent 72%, rgba(2, 17, 40, 0.34) 100%);
}

/* Faint grid and route-line layer */
.services-hub-page .services-hero-cards-section::after {
  content: "" !important;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: block !important;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(141, 221, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 221, 255, 0.075) 1px, transparent 1px),
    radial-gradient(circle at 24% 50%, rgba(141, 221, 255, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 76% 50%, rgba(141, 221, 255, 0.18) 0 2px, transparent 3px),
    linear-gradient(115deg, transparent 0%, transparent 43%, rgba(141, 221, 255, 0.13) 44%, transparent 45%, transparent 100%),
    linear-gradient(65deg, transparent 0%, transparent 52%, rgba(141, 221, 255, 0.10) 53%, transparent 54%, transparent 100%);
  background-size:
    74px 74px,
    74px 74px,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%;
}

/* A small refined glow directly behind the headline */
.services-hub-page .services-hero-content::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 44%;
  width: min(620px, 48vw);
  height: min(360px, 34vh);
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 159, 227, 0.26) 0%, rgba(0, 159, 227, 0.13) 34%, transparent 70%);
  filter: blur(20px);
}

/* Route-line accent behind the card groups */
.services-hub-page .services-side-cards::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 138%;
  height: 72%;
  transform: translate(-50%, -50%) rotate(-7deg);
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(141, 221, 255, 0.12);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 32px;
  opacity: 0.75;
}

.services-hub-page .services-side-cards-right::before {
  transform: translate(-50%, -50%) rotate(7deg);
}

/* Keep actual cards/text clearly above background layers */
.services-hub-page .services-hero-cards-section .services-hero-grid,
.services-hub-page .services-hero-cards-section .services-hero-content,
.services-hub-page .services-hub-page .services-side-cards,
.services-hub-page .services-side-cards,
.services-hub-page .service-floating-card {
  position: relative;
  z-index: 3;
}

/* Slightly sharpen card shadows against the richer background */
.services-hub-page .service-floating-card {
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.14);
}

/* Keep text readable on the deeper background */
.services-hub-page .services-hero-content h1 {
  text-shadow: 0 18px 42px rgba(2, 17, 40, 0.28);
}

.services-hub-page .services-hero-content p {
  text-shadow: 0 10px 26px rgba(2, 17, 40, 0.24);
}

.services-hub-page .services-hero-content .eyebrow {
  text-shadow: 0 8px 22px rgba(2, 17, 40, 0.30);
}

@media (max-width: 1180px) {
  .services-hub-page .services-hero-cards-section::after {
    opacity: 0.28;
  }

  .services-hub-page .services-hero-content::before {
    width: 70vw;
    height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-hub-page .services-hero-cards-section,
  .services-hub-page .services-hero-cards-section::before,
  .services-hub-page .services-hero-cards-section::after {
    animation: none !important;
  }
}


/* V34 Services Hero Card Reconnect */
/* Bring the image cards back onto the logo undercards while keeping the logo visible. */

.services-side-cards {
  height: min(470px, 54vh);
  min-height: 360px;
}

/* Keep both cards in the same stack area */
.service-floating-card-logo {
  width: min(255px, 18.5vw);
  height: min(350px, 40vh);
  bottom: 34px;
}

.service-floating-card-image {
  width: min(265px, 19.5vw);
  height: min(315px, 36vh);
  top: 72px;
}

/* Left stack: image overlaps the logo card but leaves logo edge visible */
.services-side-cards-left .service-floating-card-logo {
  transform: translateX(-62%) translateY(0) rotate(-7deg);
}

.services-side-cards-left .service-floating-card-image {
  transform: translateX(-36%) translateY(0) rotate(5deg);
}

/* Right stack mirrors the left */
.services-side-cards-right .service-floating-card-logo {
  transform: translateX(-38%) translateY(0) rotate(7deg);
}

.services-side-cards-right .service-floating-card-image {
  transform: translateX(-64%) translateY(0) rotate(-5deg);
}

/* Hover: slight separation only, no falling off */
.services-side-cards-left:hover .service-floating-card-logo {
  transform: translateX(-64%) translateY(8px) rotate(-8deg);
}

.services-side-cards-left:hover .service-floating-card-image {
  transform: translateX(-34%) translateY(-10px) rotate(4deg);
}

.services-side-cards-right:hover .service-floating-card-logo {
  transform: translateX(-36%) translateY(8px) rotate(8deg);
}

.services-side-cards-right:hover .service-floating-card-image {
  transform: translateX(-66%) translateY(-10px) rotate(-4deg);
}

/* Keep both stacks visually centred in the section */
.services-side-cards-left {
  margin-left: clamp(10px, 1.5vw, 28px);
}

.services-side-cards-right {
  margin-right: clamp(10px, 1.5vw, 28px);
}

/* Short screens: slightly smaller but still overlapped */
@media (max-height: 820px) and (min-width: 1181px) {
  .services-side-cards {
    height: min(410px, 50vh);
    min-height: 320px;
  }

  .service-floating-card-logo {
    width: min(225px, 17vw);
    height: min(315px, 38vh);
    bottom: 28px;
  }

  .service-floating-card-image {
    width: min(235px, 18vw);
    height: min(280px, 34vh);
    top: 60px;
  }
}


/* V35 Services Hero Card Stack Cleanup */
/* Fixes the side cards so each image stays attached to its logo undercard. */

.services-hero-grid {
  grid-template-columns: minmax(260px, 0.85fr) minmax(420px, 1.1fr) minmax(260px, 0.85fr);
  gap: clamp(18px, 2.2vw, 42px);
}

.services-side-cards,
.services-side-cards-left,
.services-side-cards.cards-visible {
  height: 390px;
  min-height: 390px;
  max-height: 390px;
  transform: none !important;
}

.services-side-cards {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Reset the individual card behaviour first */
.service-floating-card {
  position: absolute;
  left: 50%;
  top: 50%;
  right: auto;
  bottom: auto;
  display: block;
  border-radius: 24px;
  object-fit: cover;
  transform-origin: center;
}

/* Logo undercard: portrait, visible, behind the photo */
.service-floating-card-logo {
  z-index: 2;
  width: 245px;
  height: 320px;
  padding: 20px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

/* Photo card: front card, smaller and sitting on the logo card */
.service-floating-card-image {
  z-index: 3;
  width: 255px;
  height: 275px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

/* Left stack: connected overlap */
.services-side-cards-left .service-floating-card-logo {
  transform: translate(-58%, -48%) rotate(-7deg);
}

.services-side-cards-left .service-floating-card-image {
  transform: translate(-34%, -36%) rotate(5deg);
}

/* Right stack: mirrored connected overlap */
.services-side-cards-right .service-floating-card-logo {
  transform: translate(-42%, -48%) rotate(7deg);
}

.services-side-cards-right .service-floating-card-image {
  transform: translate(-66%, -36%) rotate(-5deg);
}

/* Hover: only a tiny premium lift, not a split */
.services-side-cards-left:hover .service-floating-card-logo {
  transform: translate(-60%, -46%) rotate(-8deg);
}

.services-side-cards-left:hover .service-floating-card-image {
  transform: translate(-32%, -39%) rotate(4deg);
}

.services-side-cards-right:hover .service-floating-card-logo {
  transform: translate(-40%, -46%) rotate(8deg);
}

.services-side-cards-right:hover .service-floating-card-image {
  transform: translate(-68%, -39%) rotate(-4deg);
}

/* Make sure stacks are not pushed to awkward edges */
.services-side-cards-left {
  margin-left: 0;
}

.services-side-cards-right {
  margin-right: 0;
}

/* Keep the first services hero vertically clean */
.services-hero-grid {
  transform: translateY(-1.8vh) !important;
}

.services-hero-content {
  transform: none !important;
}

/* Shorter desktop screens */
@media (max-height: 820px) and (min-width: 1181px) {
  .services-side-cards,
  .services-side-cards-left,
  .services-side-cards.cards-visible {
    height: 335px;
    min-height: 335px;
    max-height: 335px;
  }

  .service-floating-card-logo {
    width: 210px;
    height: 280px;
    padding: 18px;
  }

  .service-floating-card-image {
    width: 220px;
    height: 235px;
  }

  .services-side-cards-left .service-floating-card-logo {
    transform: translate(-58%, -48%) rotate(-7deg);
  }

  .services-side-cards-left .service-floating-card-image {
    transform: translate(-34%, -36%) rotate(5deg);
  }

  .services-side-cards-right .service-floating-card-logo {
    transform: translate(-42%, -48%) rotate(7deg);
  }

  .services-side-cards-right .service-floating-card-image {
    transform: translate(-66%, -36%) rotate(-5deg);
  }
}

/* Medium desktop */
@media (max-width: 1450px) and (min-width: 1181px) {
  .service-floating-card-logo {
    width: 220px;
    height: 300px;
  }

  .service-floating-card-image {
    width: 230px;
    height: 250px;
  }
}


/* V36 FINAL SERVICES HERO CARD STACK FIX */
/* Hard override all earlier V22/V23/V24/V34/V35 side-card positioning. */

.services-hub-page .services-hero-cards-section .services-hero-grid {
  grid-template-columns: minmax(360px, 0.95fr) minmax(520px, 1.05fr) minmax(360px, 0.95fr) !important;
  gap: clamp(38px, 4vw, 78px) !important;
  align-items: center !important;
}

/* Keep side stacks as their own fixed composition boxes, away from the centre text */
.services-hub-page .services-hero-cards-section .services-side-cards,
.services-hub-page .services-hero-cards-section .services-side-cards-left,
.services-hub-page .services-hero-cards-section .services-side-cards-right,
.services-hub-page .services-hero-cards-section .services-side-cards.cards-visible {
  position: relative !important;
  display: block !important;
  width: 430px !important;
  height: 430px !important;
  min-width: 430px !important;
  min-height: 430px !important;
  max-width: 430px !important;
  max-height: 430px !important;
  opacity: 1 !important;
  transform: none !important;
  margin: 0 !important;
  z-index: 4 !important;
}

/* Left card group stays in the left column. Right card group stays in the right column. */
.services-hub-page .services-hero-cards-section .services-side-cards-left {
  justify-self: end !important;
}

.services-hub-page .services-hero-cards-section .services-side-cards-right {
  justify-self: start !important;
}

/* Total reset for the two card images */
.services-hub-page .services-hero-cards-section .service-floating-card {
  position: absolute !important;
  display: block !important;
  max-width: none !important;
  border-radius: 24px !important;
  object-fit: cover !important;
  transform-origin: center center !important;
  opacity: 1 !important;
  margin: 0 !important;
  inset: auto !important;
  transition: transform 0.28s ease, box-shadow 0.28s ease !important;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.14) !important;
}

/* Logo undercard: portrait, behind, visible */
.services-hub-page .services-hero-cards-section .service-floating-card-logo {
  z-index: 2 !important;
  width: 270px !important;
  height: 350px !important;
  padding: 22px !important;
  object-fit: contain !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.34) !important;
}

/* Photo front card: slightly smaller and overlapping, not separated */
.services-hub-page .services-hero-cards-section .service-floating-card-image {
  z-index: 3 !important;
  width: 270px !important;
  height: 285px !important;
  padding: 0 !important;
  object-fit: cover !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
}

/* LEFT STACK: logo behind, photo in front, both attached */
.services-hub-page .services-hero-cards-section .services-side-cards-left .service-floating-card-logo {
  left: 32px !important;
  top: 42px !important;
  transform: rotate(-7deg) !important;
}

.services-hub-page .services-hero-cards-section .services-side-cards-left .service-floating-card-image {
  left: 132px !important;
  top: 138px !important;
  transform: rotate(5deg) !important;
}

/* RIGHT STACK: mirrored */
.services-hub-page .services-hero-cards-section .services-side-cards-right .service-floating-card-logo {
  right: 32px !important;
  top: 42px !important;
  transform: rotate(7deg) !important;
}

.services-hub-page .services-hero-cards-section .services-side-cards-right .service-floating-card-image {
  right: 132px !important;
  top: 138px !important;
  transform: rotate(-5deg) !important;
}

/* Hover is tiny. It must not pull the cards apart again. */
.services-hub-page .services-hero-cards-section .services-side-cards-left:hover .service-floating-card-logo {
  transform: translateY(4px) rotate(-8deg) !important;
}

.services-hub-page .services-hero-cards-section .services-side-cards-left:hover .service-floating-card-image {
  transform: translateY(-6px) rotate(4deg) !important;
}

.services-hub-page .services-hero-cards-section .services-side-cards-right:hover .service-floating-card-logo {
  transform: translateY(4px) rotate(8deg) !important;
}

.services-hub-page .services-hero-cards-section .services-side-cards-right:hover .service-floating-card-image {
  transform: translateY(-6px) rotate(-4deg) !important;
}

/* Centre content stays clear and cannot be overlapped by side cards */
.services-hub-page .services-hero-cards-section .services-hero-content {
  position: relative !important;
  z-index: 6 !important;
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Medium desktop / laptop sizing */
@media (max-width: 1450px) and (min-width: 1181px) {
  .services-hub-page .services-hero-cards-section .services-hero-grid {
    grid-template-columns: minmax(300px, 0.9fr) minmax(470px, 1fr) minmax(300px, 0.9fr) !important;
    gap: clamp(24px, 3vw, 56px) !important;
  }

  .services-hub-page .services-hero-cards-section .services-side-cards,
  .services-hub-page .services-hero-cards-section .services-side-cards-left,
  .services-hub-page .services-hero-cards-section .services-side-cards-right,
  .services-hub-page .services-hero-cards-section .services-side-cards.cards-visible {
    width: 360px !important;
    height: 375px !important;
    min-width: 360px !important;
    min-height: 375px !important;
    max-width: 360px !important;
    max-height: 375px !important;
  }

  .services-hub-page .services-hero-cards-section .service-floating-card-logo {
    width: 225px !important;
    height: 300px !important;
    padding: 18px !important;
  }

  .services-hub-page .services-hero-cards-section .service-floating-card-image {
    width: 230px !important;
    height: 245px !important;
  }

  .services-hub-page .services-hero-cards-section .services-side-cards-left .service-floating-card-logo {
    left: 24px !important;
    top: 42px !important;
  }

  .services-hub-page .services-hero-cards-section .services-side-cards-left .service-floating-card-image {
    left: 104px !important;
    top: 128px !important;
  }

  .services-hub-page .services-hero-cards-section .services-side-cards-right .service-floating-card-logo {
    right: 24px !important;
    top: 42px !important;
  }

  .services-hub-page .services-hero-cards-section .services-side-cards-right .service-floating-card-image {
    right: 104px !important;
    top: 128px !important;
  }
}

/* Short laptop screens: compact stack, still attached */
@media (max-height: 820px) and (min-width: 1181px) {
  .services-hub-page .services-hero-cards-section .services-side-cards,
  .services-hub-page .services-hero-cards-section .services-side-cards-left,
  .services-hub-page .services-hero-cards-section .services-side-cards-right,
  .services-hub-page .services-hero-cards-section .services-side-cards.cards-visible {
    width: 330px !important;
    height: 330px !important;
    min-width: 330px !important;
    min-height: 330px !important;
    max-width: 330px !important;
    max-height: 330px !important;
  }

  .services-hub-page .services-hero-cards-section .service-floating-card-logo {
    width: 205px !important;
    height: 270px !important;
  }

  .services-hub-page .services-hero-cards-section .service-floating-card-image {
    width: 210px !important;
    height: 220px !important;
  }

  .services-hub-page .services-hero-cards-section .services-side-cards-left .service-floating-card-logo {
    left: 20px !important;
    top: 30px !important;
  }

  .services-hub-page .services-hero-cards-section .services-side-cards-left .service-floating-card-image {
    left: 92px !important;
    top: 108px !important;
  }

  .services-hub-page .services-hero-cards-section .services-side-cards-right .service-floating-card-logo {
    right: 20px !important;
    top: 30px !important;
  }

  .services-hub-page .services-hero-cards-section .services-side-cards-right .service-floating-card-image {
    right: 92px !important;
    top: 108px !important;
  }
}

/* Tablet/mobile: hide side stacks as before */
@media (max-width: 1180px) {
  .services-hub-page .services-hero-cards-section .services-side-cards {
    display: none !important;
  }
}


/* V37 Portrait Card Fix */
/* Makes the service hero card stack portrait again while keeping the fixed positioning from V36. */

/* Desktop full-size card stack */
.services-hub-page .services-hero-cards-section .services-side-cards,
.services-hub-page .services-hero-cards-section .services-side-cards-left,
.services-hub-page .services-hero-cards-section .services-side-cards-right,
.services-hub-page .services-hero-cards-section .services-side-cards.cards-visible {
  width: 430px !important;
  height: 455px !important;
  min-width: 430px !important;
  min-height: 455px !important;
  max-width: 430px !important;
  max-height: 455px !important;
}

/* Logo card stays portrait behind */
.services-hub-page .services-hero-cards-section .service-floating-card-logo {
  width: 260px !important;
  height: 370px !important;
  padding: 22px !important;
  object-fit: contain !important;
  border-radius: 26px !important;
}

/* Photo card also becomes portrait, not square */
.services-hub-page .services-hero-cards-section .service-floating-card-image {
  width: 250px !important;
  height: 340px !important;
  object-fit: cover !important;
  border-radius: 24px !important;
}

/* LEFT STACK: portrait photo sits on portrait logo */
.services-hub-page .services-hero-cards-section .services-side-cards-left .service-floating-card-logo {
  left: 34px !important;
  top: 38px !important;
  transform: rotate(-7deg) !important;
}

.services-hub-page .services-hero-cards-section .services-side-cards-left .service-floating-card-image {
  left: 140px !important;
  top: 98px !important;
  transform: rotate(5deg) !important;
}

/* RIGHT STACK: mirrored portrait stack */
.services-hub-page .services-hero-cards-section .services-side-cards-right .service-floating-card-logo {
  right: 34px !important;
  top: 38px !important;
  transform: rotate(7deg) !important;
}

.services-hub-page .services-hero-cards-section .services-side-cards-right .service-floating-card-image {
  right: 140px !important;
  top: 98px !important;
  transform: rotate(-5deg) !important;
}

/* Tiny hover only */
.services-hub-page .services-hero-cards-section .services-side-cards-left:hover .service-floating-card-logo {
  transform: translateY(4px) rotate(-8deg) !important;
}

.services-hub-page .services-hero-cards-section .services-side-cards-left:hover .service-floating-card-image {
  transform: translateY(-6px) rotate(4deg) !important;
}

.services-hub-page .services-hero-cards-section .services-side-cards-right:hover .service-floating-card-logo {
  transform: translateY(4px) rotate(8deg) !important;
}

.services-hub-page .services-hero-cards-section .services-side-cards-right:hover .service-floating-card-image {
  transform: translateY(-6px) rotate(-4deg) !important;
}

/* Medium desktop portrait stack */
@media (max-width: 1450px) and (min-width: 1181px) {
  .services-hub-page .services-hero-cards-section .services-side-cards,
  .services-hub-page .services-hero-cards-section .services-side-cards-left,
  .services-hub-page .services-hero-cards-section .services-side-cards-right,
  .services-hub-page .services-hero-cards-section .services-side-cards.cards-visible {
    width: 370px !important;
    height: 415px !important;
    min-width: 370px !important;
    min-height: 415px !important;
    max-width: 370px !important;
    max-height: 415px !important;
  }

  .services-hub-page .services-hero-cards-section .service-floating-card-logo {
    width: 225px !important;
    height: 330px !important;
    padding: 18px !important;
  }

  .services-hub-page .services-hero-cards-section .service-floating-card-image {
    width: 220px !important;
    height: 300px !important;
  }

  .services-hub-page .services-hero-cards-section .services-side-cards-left .service-floating-card-logo {
    left: 24px !important;
    top: 38px !important;
  }

  .services-hub-page .services-hero-cards-section .services-side-cards-left .service-floating-card-image {
    left: 112px !important;
    top: 92px !important;
  }

  .services-hub-page .services-hero-cards-section .services-side-cards-right .service-floating-card-logo {
    right: 24px !important;
    top: 38px !important;
  }

  .services-hub-page .services-hero-cards-section .services-side-cards-right .service-floating-card-image {
    right: 112px !important;
    top: 92px !important;
  }
}

/* Short laptop screens: compact portrait stack */
@media (max-height: 820px) and (min-width: 1181px) {
  .services-hub-page .services-hero-cards-section .services-side-cards,
  .services-hub-page .services-hero-cards-section .services-side-cards-left,
  .services-hub-page .services-hero-cards-section .services-side-cards-right,
  .services-hub-page .services-hero-cards-section .services-side-cards.cards-visible {
    width: 335px !important;
    height: 370px !important;
    min-width: 335px !important;
    min-height: 370px !important;
    max-width: 335px !important;
    max-height: 370px !important;
  }

  .services-hub-page .services-hero-cards-section .service-floating-card-logo {
    width: 205px !important;
    height: 295px !important;
  }

  .services-hub-page .services-hero-cards-section .service-floating-card-image {
    width: 200px !important;
    height: 265px !important;
  }

  .services-hub-page .services-hero-cards-section .services-side-cards-left .service-floating-card-logo {
    left: 22px !important;
    top: 30px !important;
  }

  .services-hub-page .services-hero-cards-section .services-side-cards-left .service-floating-card-image {
    left: 98px !important;
    top: 78px !important;
  }

  .services-hub-page .services-hero-cards-section .services-side-cards-right .service-floating-card-logo {
    right: 22px !important;
    top: 30px !important;
  }

  .services-hub-page .services-hero-cards-section .services-side-cards-right .service-floating-card-image {
    right: 98px !important;
    top: 78px !important;
  }
}


/* V38 What We Do section polish */
.services-hub-page .what-we-do-section {
  position: relative;
  align-items: center;
}

.services-hub-page .what-we-do-section > .page-inner {
  display: flex;
  align-items: center;
}

.what-we-do-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(720px, 1.18fr);
  gap: clamp(34px, 4vw, 72px);
  align-items: center;
}

.what-we-do-heading {
  max-width: 560px !important;
  margin: 0 !important;
  padding: clamp(26px, 2.4vw, 36px) !important;
  border-radius: 30px !important;
  background: rgba(255, 255, 255, 0.78) !important;
  border: 1px solid rgba(217, 230, 242, 0.78) !important;
  box-shadow: 0 20px 54px rgba(6, 35, 75, 0.08) !important;
  backdrop-filter: blur(10px);
}

.what-we-do-heading h2 {
  max-width: 500px;
  font-size: clamp(34px, 3.35vw, 54px) !important;
  line-height: 1.04 !important;
  margin-bottom: 16px !important;
}

.what-we-do-heading p:not(.eyebrow) {
  max-width: 500px !important;
  font-size: clamp(16px, 1.05vw, 19px) !important;
  line-height: 1.48 !important;
}

.what-we-do-card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 1.5vw, 28px);
}

.services-hub-page .what-we-do-card {
  min-height: 430px !important;
  padding: clamp(24px, 1.9vw, 34px) !important;
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.what-we-do-card .service-index {
  width: 48px !important;
  height: 48px !important;
  margin-bottom: 24px !important;
}

.what-we-do-card h3 {
  font-size: clamp(23px, 1.55vw, 30px) !important;
  line-height: 1.08 !important;
  margin-bottom: 16px !important;
}

.what-we-do-card p {
  margin: 0 !important;
  font-size: clamp(15px, 1vw, 17px) !important;
  line-height: 1.47 !important;
}

.service-card-content {
  position: relative;
  z-index: 1;
}

.service-card-points {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-card-points li {
  position: relative;
  padding-left: 22px;
  color: var(--navy-deep);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.32;
}

.service-card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--sky);
  box-shadow: 0 0 0 4px rgba(0, 159, 227, 0.12);
}

.what-we-do-card strong {
  margin-top: auto !important;
  padding-top: 24px !important;
  font-size: 15px !important;
}

.what-we-do-card:hover {
  transform: translateY(-8px);
}

/* Keep this slide fully in view on desktop/laptop */
@media (min-width: 1181px) {
  .services-hub-page .what-we-do-section {
    height: calc(100vh - var(--header-height));
    min-height: calc(100vh - var(--header-height));
    max-height: calc(100vh - var(--header-height));
    overflow: hidden;
  }
}

@media (max-height: 820px) and (min-width: 1181px) {
  .what-we-do-layout {
    grid-template-columns: minmax(310px, 0.78fr) minmax(700px, 1.22fr);
    gap: clamp(24px, 3vw, 48px);
  }

  .what-we-do-heading {
    padding: 24px !important;
  }

  .what-we-do-heading h2 {
    font-size: clamp(30px, 2.9vw, 44px) !important;
    margin-bottom: 12px !important;
  }

  .what-we-do-heading p:not(.eyebrow) {
    font-size: 16px !important;
  }

  .services-hub-page .what-we-do-card {
    min-height: 355px !important;
    padding: 22px !important;
  }

  .what-we-do-card .service-index {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 16px !important;
  }

  .what-we-do-card h3 {
    font-size: 22px !important;
    margin-bottom: 12px !important;
  }

  .what-we-do-card p {
    font-size: 14px !important;
    line-height: 1.36 !important;
  }

  .service-card-points {
    margin-top: 16px;
    gap: 7px;
  }

  .service-card-points li {
    font-size: 13px;
  }

  .what-we-do-card strong {
    padding-top: 14px !important;
  }
}

@media (max-width: 1180px) {
  .what-we-do-layout {
    grid-template-columns: 1fr;
  }

  .what-we-do-heading {
    max-width: none !important;
  }

  .what-we-do-card-row {
    grid-template-columns: 1fr;
  }

  .services-hub-page .what-we-do-card {
    min-height: auto !important;
  }
}


/* V39 What We Do Dark Background Match */
/* Makes the What We Do/services image section match the darker blue overlay style used lower down. */

.services-hub-page .what-we-do-section,
.services-hub-page .services-hub-section.what-we-do-section,
.services-hub-page .services-hub-section:not(.services-partner-section).what-we-do-section {
  position: relative;
  background:
    linear-gradient(90deg, rgba(6, 31, 69, 0.90) 0%, rgba(6, 31, 69, 0.78) 45%, rgba(6, 31, 69, 0.58) 100%),
    url("assets/service 1.webp") !important;
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
  color: var(--white);
}

/* Darken and unify the full image section, matching the partner/CTA image style */
.services-hub-page .what-we-do-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: block !important;
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 159, 227, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(6, 31, 69, 0.14), rgba(6, 31, 69, 0.38));
}

/* Keep all actual content above the overlay */
.services-hub-page .what-we-do-section > .page-inner {
  position: relative;
  z-index: 2;
}

/* Left intro panel now uses the same premium dark glass treatment */
.what-we-do-heading {
  background: rgba(255, 255, 255, 0.09) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(14px) !important;
}

.what-we-do-heading .eyebrow,
.services-hub-page .what-we-do-section .eyebrow {
  color: #8bddff !important;
}

.what-we-do-heading h2 {
  color: var(--white) !important;
}

.what-we-do-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.80) !important;
}

/* The three direct-support cards now match the darker section style */
.services-hub-page .what-we-do-section .what-we-do-card {
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.16) !important;
  backdrop-filter: blur(14px) !important;
}

.services-hub-page .what-we-do-section .what-we-do-card:hover {
  border-color: rgba(141, 221, 255, 0.40) !important;
  box-shadow: 0 32px 82px rgba(0, 0, 0, 0.22) !important;
}

.services-hub-page .what-we-do-section .what-we-do-card::before {
  background: radial-gradient(circle at 82% 18%, rgba(141, 221, 255, 0.16), transparent 38%) !important;
}

.services-hub-page .what-we-do-section .what-we-do-card h3 {
  color: var(--white) !important;
}

.services-hub-page .what-we-do-section .what-we-do-card p {
  color: rgba(255, 255, 255, 0.76) !important;
}

.services-hub-page .what-we-do-section .what-we-do-card strong {
  color: #8bddff !important;
}

.services-hub-page .what-we-do-section .service-card-points li {
  color: rgba(255, 255, 255, 0.88) !important;
}

.services-hub-page .what-we-do-section .service-card-points li::before {
  background: #8bddff !important;
  box-shadow: 0 0 0 4px rgba(141, 221, 255, 0.14) !important;
}

.services-hub-page .what-we-do-section .service-index {
  background: rgba(0, 76, 153, 0.86) !important;
  color: var(--white) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16) !important;
}

/* Prevent earlier white-overlay rules from washing this section out */
.services-hub-page .what-we-do-section .services-group-heading,
.services-hub-page .services-hub-section:not(.services-partner-section) .what-we-do-heading {
  background: rgba(255, 255, 255, 0.09) !important;
}

@media (max-width: 980px) {
  .services-hub-page .what-we-do-section,
  .services-hub-page .services-hub-section.what-we-do-section,
  .services-hub-page .services-hub-section:not(.services-partner-section).what-we-do-section {
    background:
      linear-gradient(180deg, rgba(6, 31, 69, 0.90), rgba(6, 31, 69, 0.72)),
      url("assets/service 1.webp") !important;
    background-size: cover !important;
    background-position: center !important;
  }
}


/* V40 What We Do Darker Match */
/* Tightens the What We Do section so it matches the darker blue lower section more closely. */

.services-hub-page .what-we-do-section,
.services-hub-page .services-hub-section.what-we-do-section,
.services-hub-page .services-hub-section:not(.services-partner-section).what-we-do-section {
  background:
    linear-gradient(90deg, rgba(6, 31, 69, 0.94) 0%, rgba(6, 31, 69, 0.86) 42%, rgba(6, 31, 69, 0.72) 100%),
    url("assets/service 1.webp") !important;
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
}

/* Stronger blue depth, closer to the lower CTA section */
.services-hub-page .what-we-do-section::before {
  background:
    radial-gradient(circle at 10% 22%, rgba(0, 159, 227, 0.28), transparent 34%),
    linear-gradient(180deg, rgba(6, 31, 69, 0.26), rgba(6, 31, 69, 0.58)) !important;
}

/* Add the extra navy wash the lower image section has */
.services-hub-page .what-we-do-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: block !important;
  background:
    linear-gradient(90deg, rgba(2, 17, 40, 0.42) 0%, rgba(2, 17, 40, 0.20) 42%, rgba(2, 17, 40, 0.30) 100%),
    radial-gradient(circle at 78% 18%, rgba(0, 159, 227, 0.08), transparent 36%);
}

/* Keep content above both dark overlays */
.services-hub-page .what-we-do-section > .page-inner {
  position: relative;
  z-index: 3;
}

/* Cards/panel slightly deeper and less grey-washed */
.what-we-do-heading {
  background: rgba(8, 36, 73, 0.62) !important;
  border-color: rgba(255, 255, 255, 0.20) !important;
  box-shadow: 0 30px 82px rgba(0, 0, 0, 0.22) !important;
}

.services-hub-page .what-we-do-section .what-we-do-card {
  background: rgba(8, 36, 73, 0.58) !important;
  border-color: rgba(255, 255, 255, 0.20) !important;
  box-shadow: 0 30px 82px rgba(0, 0, 0, 0.20) !important;
}

/* Sharpen text now the section is darker */
.what-we-do-heading p:not(.eyebrow),
.services-hub-page .what-we-do-section .what-we-do-card p {
  color: rgba(255, 255, 255, 0.82) !important;
}

.services-hub-page .what-we-do-section .service-card-points li {
  color: rgba(255, 255, 255, 0.90) !important;
}

.services-hub-page .what-we-do-section .what-we-do-card strong {
  color: #8bddff !important;
}

/* Match lower section's darker mobile/tablet style too */
@media (max-width: 980px) {
  .services-hub-page .what-we-do-section,
  .services-hub-page .services-hub-section.what-we-do-section,
  .services-hub-page .services-hub-section:not(.services-partner-section).what-we-do-section {
    background:
      linear-gradient(180deg, rgba(6, 31, 69, 0.94), rgba(6, 31, 69, 0.82)),
      url("assets/service 1.webp") !important;
    background-size: cover !important;
    background-position: center !important;
  }
}


/* V41 What We Do Overlay Match */
/* Pulls back V40 and mirrors the lower dark image section more closely. */

.services-hub-page .what-we-do-section,
.services-hub-page .services-hub-section.what-we-do-section,
.services-hub-page .services-hub-section:not(.services-partner-section).what-we-do-section {
  background:
    linear-gradient(90deg, rgba(6, 31, 69, 0.88) 0%, rgba(6, 31, 69, 0.72) 46%, rgba(6, 31, 69, 0.40) 100%),
    url("assets/service 1.webp") !important;
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
}

/* Same style as the lower section: blue glow plus vertical navy depth */
.services-hub-page .what-we-do-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: block !important;
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 159, 227, 0.25), transparent 34%),
    linear-gradient(180deg, rgba(6, 31, 69, 0.18), rgba(6, 31, 69, 0.42)) !important;
}

/* Remove the extra dark wash from V40 */
.services-hub-page .what-we-do-section::after {
  content: none !important;
  display: none !important;
}

/* Keep content above the matched overlay */
.services-hub-page .what-we-do-section > .page-inner {
  position: relative;
  z-index: 2;
}

/* Mirror lower card tone rather than heavy dark cards */
.what-we-do-heading {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(14px) !important;
}

.services-hub-page .what-we-do-section .what-we-do-card {
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.16) !important;
  backdrop-filter: blur(14px) !important;
}

.services-hub-page .what-we-do-section .what-we-do-card:hover {
  border-color: rgba(141, 221, 255, 0.40) !important;
  box-shadow: 0 32px 82px rgba(0, 0, 0, 0.22) !important;
}

/* Balanced text, same feel as the lower dark section */
.what-we-do-heading h2,
.services-hub-page .what-we-do-section .what-we-do-card h3 {
  color: var(--white) !important;
}

.what-we-do-heading p:not(.eyebrow),
.services-hub-page .what-we-do-section .what-we-do-card p {
  color: rgba(255, 255, 255, 0.76) !important;
}

.services-hub-page .what-we-do-section .service-card-points li {
  color: rgba(255, 255, 255, 0.88) !important;
}

.services-hub-page .what-we-do-section .what-we-do-card strong,
.what-we-do-heading .eyebrow,
.services-hub-page .what-we-do-section .eyebrow {
  color: #8bddff !important;
}

/* Mobile/tablet mirror */
@media (max-width: 980px) {
  .services-hub-page .what-we-do-section,
  .services-hub-page .services-hub-section.what-we-do-section,
  .services-hub-page .services-hub-section:not(.services-partner-section).what-we-do-section {
    background:
      linear-gradient(180deg, rgba(6, 31, 69, 0.88), rgba(6, 31, 69, 0.72)),
      url("assets/service 1.webp") !important;
    background-size: cover !important;
    background-position: center !important;
  }
}


/* V42 Partner Section Premium Navy Background Match */
/* Applies the same grid / beam / centre glow background treatment from Services section 1 to section 3. */

.services-hub-page .services-partner-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(0, 159, 227, 0.28) 0%, rgba(0, 159, 227, 0.14) 22%, transparent 44%),
    radial-gradient(circle at 18% 38%, rgba(0, 159, 227, 0.10) 0%, transparent 28%),
    radial-gradient(circle at 82% 38%, rgba(0, 159, 227, 0.10) 0%, transparent 28%),
    linear-gradient(135deg, #061f45 0%, #053f82 56%, #064b92 100%) !important;
  color: var(--white);
}

/* Soft vignette and depth layer */
.services-hub-page .services-partner-section::before {
  content: "" !important;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: block !important;
  background:
    radial-gradient(circle at 50% 42%, transparent 0%, transparent 44%, rgba(2, 17, 40, 0.28) 76%, rgba(2, 17, 40, 0.48) 100%),
    linear-gradient(90deg, rgba(2, 17, 40, 0.38) 0%, transparent 28%, transparent 72%, rgba(2, 17, 40, 0.34) 100%);
}

/* Faint grid and route-line layer */
.services-hub-page .services-partner-section::after {
  content: "" !important;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: block !important;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(141, 221, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 221, 255, 0.075) 1px, transparent 1px),
    radial-gradient(circle at 24% 50%, rgba(141, 221, 255, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 76% 50%, rgba(141, 221, 255, 0.18) 0 2px, transparent 3px),
    linear-gradient(115deg, transparent 0%, transparent 43%, rgba(141, 221, 255, 0.13) 44%, transparent 45%, transparent 100%),
    linear-gradient(65deg, transparent 0%, transparent 52%, rgba(141, 221, 255, 0.10) 53%, transparent 54%, transparent 100%);
  background-size:
    74px 74px,
    74px 74px,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%;
}

/* Keep section content above background layers */
.services-hub-page .services-partner-section > .page-inner {
  position: relative;
  z-index: 3;
}

/* Centre glow behind partner heading */
.services-hub-page .services-partner-section .services-group-heading {
  position: relative;
}

.services-hub-page .services-partner-section .services-group-heading::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(720px, 54vw);
  height: min(340px, 32vh);
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 159, 227, 0.24) 0%, rgba(0, 159, 227, 0.12) 34%, transparent 70%);
  filter: blur(22px);
}

/* Match text colours to the premium navy background */
.services-hub-page .services-partner-section .services-group-heading h2 {
  color: var(--white) !important;
}

.services-hub-page .services-partner-section .services-group-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78) !important;
}

.services-hub-page .services-partner-section .eyebrow {
  color: #8bddff !important;
}

/* Partner cards stay glassy and readable on the richer background */
.services-hub-page .services-partner-section .services-hub-card {
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    0 28px 76px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset !important;
  backdrop-filter: blur(14px);
}

.services-hub-page .services-partner-section .services-hub-card:hover {
  border-color: rgba(141, 221, 255, 0.40) !important;
  box-shadow:
    0 32px 82px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(141, 221, 255, 0.10) inset !important;
}

.services-hub-page .services-partner-section .services-hub-card h3 {
  color: var(--white) !important;
}

.services-hub-page .services-partner-section .services-hub-card p {
  color: rgba(255, 255, 255, 0.76) !important;
}

.services-hub-page .services-partner-section .services-hub-card strong {
  color: #8bddff !important;
}

.services-hub-page .services-partner-section .service-index {
  background: rgba(0, 76, 153, 0.86) !important;
  color: var(--white) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16) !important;
}

@media (max-width: 1180px) {
  .services-hub-page .services-partner-section::after {
    opacity: 0.28;
  }
}


/* V43 Partner Service Card Images */
/* Adds full-card faded background images to the What We Can Arrange Through Partners cards. */

.services-hub-page .services-partner-section .services-hub-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Each partner card gets its own full-card image */
.services-hub-page .services-partner-section .services-hub-card:nth-child(1) {
  background-image:
    linear-gradient(135deg, rgba(6, 31, 69, 0.78), rgba(6, 31, 69, 0.64)),
    url("assets/uservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(2) {
  background-image:
    linear-gradient(135deg, rgba(6, 31, 69, 0.78), rgba(6, 31, 69, 0.64)),
    url("assets/iservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(3) {
  background-image:
    linear-gradient(135deg, rgba(6, 31, 69, 0.78), rgba(6, 31, 69, 0.64)),
    url("assets/fservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(4) {
  background-image:
    linear-gradient(135deg, rgba(6, 31, 69, 0.78), rgba(6, 31, 69, 0.64)),
    url("assets/vservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(5) {
  background-image:
    linear-gradient(135deg, rgba(6, 31, 69, 0.78), rgba(6, 31, 69, 0.64)),
    url("assets/sservice.webp") !important;
}

/* Subtle image fade/wash so text remains readable */
.services-hub-page .services-partner-section .services-hub-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 18%, rgba(141, 221, 255, 0.10), transparent 38%),
    linear-gradient(180deg, rgba(6, 31, 69, 0.20), rgba(6, 31, 69, 0.42));
}

/* Keep card content above image overlays */
.services-hub-page .services-partner-section .services-hub-card > * {
  position: relative;
  z-index: 2;
}

/* Make the existing hover glow work above the image background */
.services-hub-page .services-partner-section .services-hub-card::before {
  z-index: 1;
  background: radial-gradient(circle at 82% 18%, rgba(141, 221, 255, 0.18), transparent 38%) !important;
}

/* Improve text strength over the image cards */
.services-hub-page .services-partner-section .services-hub-card h3 {
  color: #ffffff !important;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

.services-hub-page .services-partner-section .services-hub-card p {
  color: rgba(255, 255, 255, 0.84) !important;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.services-hub-page .services-partner-section .services-hub-card strong {
  color: #8bddff !important;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

/* Keep the service index chip clean over the image */
.services-hub-page .services-partner-section .service-index {
  background: rgba(0, 76, 153, 0.92) !important;
  backdrop-filter: blur(8px);
}


/* V44 Final CTA Beef Up */
.services-hub-page .services-final-cta {
  position: relative;
  overflow: hidden;
}

.services-hub-page .services-final-cta > .page-inner {
  position: relative;
  z-index: 2;
}

.final-cta-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(460px, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(34px, 4vw, 76px);
  align-items: center;
}

.services-hub-page .final-cta-card {
  max-width: none;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services-hub-page .final-cta-card h2 {
  max-width: 780px;
}

.services-hub-page .final-cta-card p:not(.eyebrow) {
  max-width: 790px;
}

.final-cta-support {
  display: grid;
  gap: 18px;
}

.final-support-card {
  position: relative;
  min-height: 150px;
  padding: 24px 28px 24px 94px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.final-support-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 10%, rgba(141, 221, 255, 0.15), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.04), transparent);
  pointer-events: none;
}

.final-support-card span {
  position: absolute;
  left: 26px;
  top: 26px;
  z-index: 1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-deep);
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.final-support-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--white);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: clamp(22px, 1.7vw, 30px);
  line-height: 1.08;
  letter-spacing: 0.018em;
}

.final-support-card p {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.42;
  font-weight: 650;
}

/* Add a subtle route line between support cards */
.final-cta-support {
  position: relative;
}

.final-cta-support::before {
  content: "";
  position: absolute;
  left: 49px;
  top: 70px;
  bottom: 70px;
  width: 1px;
  background: linear-gradient(180deg, rgba(141,221,255,0.10), rgba(141,221,255,0.42), rgba(141,221,255,0.10));
  pointer-events: none;
}

/* Keep final section in one screen on desktop */
@media (min-width: 1181px) {
  .services-hub-page .services-final-cta {
    height: calc(100vh - var(--header-height));
    min-height: calc(100vh - var(--header-height));
    max-height: calc(100vh - var(--header-height));
    padding: calc(var(--header-height) + 22px) 0 42px !important;
  }
}

@media (max-height: 820px) and (min-width: 1181px) {
  .services-hub-page .final-cta-card {
    min-height: 390px;
    padding: 30px;
  }

  .final-support-card {
    min-height: 124px;
    padding: 20px 22px 20px 82px;
  }

  .final-support-card span {
    left: 22px;
    top: 22px;
    width: 40px;
    height: 40px;
  }

  .final-support-card h3 {
    font-size: 22px;
  }

  .final-support-card p {
    margin-top: 8px;
    font-size: 14px;
  }
}

@media (max-width: 1180px) {
  .final-cta-layout {
    grid-template-columns: 1fr;
  }

  .services-hub-page .final-cta-card {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .final-support-card {
    padding: 82px 24px 24px;
  }

  .final-support-card span {
    left: 24px;
    top: 24px;
  }

  .final-cta-support::before {
    display: none;
  }
}


/* V46 Team Page - single non-scroll style section */
.team-page-main {
  padding-top: var(--header-height);
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 28%, rgba(0, 159, 227, 0.20) 0%, rgba(0, 159, 227, 0.08) 28%, transparent 52%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 58%, #064b92 100%);
  overflow: hidden;
}

.team-single-section {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.team-single-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 20%, rgba(0, 159, 227, 0.18), transparent 34%),
    radial-gradient(circle at 92% 82%, rgba(141, 221, 255, 0.14), transparent 34%),
    linear-gradient(90deg, rgba(2, 17, 40, 0.36), transparent 28%, transparent 72%, rgba(2, 17, 40, 0.30));
}

.team-single-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(141, 221, 255, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 221, 255, 0.065) 1px, transparent 1px);
  background-size: 74px 74px;
}

.team-page-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 46px) clamp(34px, 5vw, 84px);
}

.team-page-heading {
  max-width: 980px;
  margin: 0 auto clamp(28px, 3.4vh, 42px);
  text-align: center;
}

.team-page-heading .eyebrow {
  color: #8bddff;
}

.team-page-heading h1 {
  margin: 0;
  color: var(--white);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: clamp(42px, 4.8vw, 74px);
  line-height: 1.04;
  letter-spacing: 0.02em;
  word-spacing: 0.06em;
}

.team-page-heading p {
  max-width: 820px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.80);
  font-size: clamp(17px, 1.2vw, 21px);
  line-height: 1.45;
  font-weight: 650;
}

.team-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2vw, 34px);
}

.team-profile-card {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 28px 76px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(14px);
}

.team-image-wrap {
  height: 220px;
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(141, 221, 255, 0.22), transparent 40%),
    rgba(6, 31, 69, 0.40);
}

.team-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-profile-copy {
  flex: 1;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.team-profile-copy h2 {
  margin: 0;
  color: var(--white);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: clamp(30px, 2.4vw, 42px);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.team-profile-copy span {
  display: block;
  margin-top: 10px;
  color: #8bddff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.team-profile-copy p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.48;
  font-weight: 650;
}

/* Laptop height fit */
@media (max-height: 820px) and (min-width: 981px) {
  .team-page-inner {
    padding-top: 20px;
    padding-bottom: 24px;
  }

  .team-page-heading {
    margin-bottom: 24px;
  }

  .team-page-heading h1 {
    font-size: clamp(38px, 4.2vw, 62px);
  }

  .team-page-heading p {
    margin-top: 14px;
    font-size: 17px;
  }

  .team-profile-card {
    min-height: 420px;
  }

  .team-image-wrap {
    height: 170px;
  }

  .team-profile-copy {
    padding: 22px;
  }

  .team-profile-copy h2 {
    font-size: 30px;
  }

  .team-profile-copy p {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.40;
  }
}

@media (max-width: 980px) {
  .team-page-main {
    overflow: visible;
  }

  .team-single-section {
    min-height: auto;
    overflow: visible;
  }

  .team-profile-grid {
    grid-template-columns: 1fr;
  }

  .team-profile-card {
    min-height: auto;
  }

  .team-image-wrap {
    height: 280px;
  }
}

@media (max-width: 680px) {
  .team-page-inner {
    padding-left: 22px;
    padding-right: 22px;
  }

  .team-page-heading {
    text-align: left;
  }

  .team-page-heading p {
    margin-left: 0;
  }

  .team-image-wrap {
    height: 240px;
  }

  .team-profile-copy {
    padding: 24px;
  }
}


/* V47 Team Page No-Scroll Desktop Fix */
/* Forces the Team page to fit the full visible screen under the fixed nav. */

body.inner-body:has(.team-page-main) {
  overflow: hidden;
}

.team-page-main {
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  padding-top: var(--header-height);
  overflow: hidden;
}

.team-single-section {
  height: calc(100vh - var(--header-height));
  min-height: calc(100vh - var(--header-height));
  max-height: calc(100vh - var(--header-height));
  overflow: hidden;
  display: flex;
  align-items: center;
}

.team-page-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(12px, 1.6vh, 24px);
  padding-bottom: clamp(14px, 1.8vh, 26px);
}

.team-page-heading {
  margin-bottom: clamp(18px, 2.2vh, 28px);
}

.team-page-heading h1 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
}

.team-page-heading p {
  margin-top: 12px;
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.35;
}

.team-profile-grid {
  flex: 0 0 auto;
  align-items: stretch;
}

.team-profile-card {
  min-height: 0;
  height: clamp(390px, 50vh, 485px);
}

.team-image-wrap {
  height: clamp(130px, 18vh, 190px);
  flex: 0 0 auto;
}

.team-profile-copy {
  padding: clamp(18px, 1.6vw, 24px);
  overflow: hidden;
}

.team-profile-copy h2 {
  font-size: clamp(26px, 2.1vw, 36px);
}

.team-profile-copy span {
  margin-top: 6px;
  font-size: 14px;
}

.team-profile-copy p {
  margin-top: 12px;
  font-size: clamp(13px, 0.92vw, 15px);
  line-height: 1.38;
}

/* Shorter laptop screens */
@media (max-height: 820px) and (min-width: 981px) {
  .team-page-heading {
    margin-bottom: 16px;
  }

  .team-page-heading h1 {
    font-size: clamp(30px, 3.35vw, 48px);
  }

  .team-page-heading p {
    max-width: 760px;
    font-size: 15px;
  }

  .team-profile-card {
    height: clamp(330px, 48vh, 390px);
  }

  .team-image-wrap {
    height: clamp(105px, 16vh, 145px);
  }

  .team-profile-copy {
    padding: 18px;
  }

  .team-profile-copy h2 {
    font-size: 26px;
  }

  .team-profile-copy span {
    font-size: 13px;
  }

  .team-profile-copy p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.32;
  }
}

/* Very short desktop fallback */
@media (max-height: 700px) and (min-width: 981px) {
  .team-page-heading h1 {
    font-size: 38px;
  }

  .team-page-heading p {
    display: none;
  }

  .team-profile-card {
    height: 340px;
  }

  .team-image-wrap {
    height: 112px;
  }

  .team-profile-copy p {
    font-size: 12px;
    line-height: 1.28;
  }
}

/* Tablet/mobile can scroll naturally */
@media (max-width: 980px) {
  body.inner-body:has(.team-page-main) {
    overflow: auto;
  }

  .team-page-main {
    height: auto;
    min-height: 100vh;
    max-height: none;
    overflow: visible;
  }

  .team-single-section {
    height: auto;
    min-height: auto;
    max-height: none;
    overflow: visible;
  }

  .team-page-inner {
    height: auto;
  }

  .team-profile-card {
    height: auto;
  }
}


/* V48 Team Headshot + Copy Fix */
/* Replaces large top images with circular headshots and updates the team card layout. */

.team-profile-grid {
  align-items: stretch;
}

.team-profile-card {
  min-height: 0 !important;
  height: clamp(390px, 50vh, 485px) !important;
  padding: clamp(24px, 2vw, 34px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.team-image-wrap {
  display: none !important;
}

.team-headshot-wrap {
  width: clamp(112px, 9vw, 148px);
  height: clamp(112px, 9vw, 148px);
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 5px;
  background:
    linear-gradient(135deg, rgba(141, 221, 255, 0.95), rgba(255, 255, 255, 0.75)),
    rgba(255, 255, 255, 0.12);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.12);
}

.team-headshot-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 999px;
  object-fit: cover;
  object-position: center top;
  border: 3px solid rgba(6, 31, 69, 0.70);
  background: rgba(6, 31, 69, 0.40);
}

.team-profile-copy {
  flex: 1;
  padding: clamp(18px, 1.6vw, 24px) 0 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible !important;
}

.team-profile-copy h2 {
  font-size: clamp(28px, 2.3vw, 40px) !important;
}

.team-profile-copy span {
  max-width: 330px;
  margin-top: 8px !important;
  font-size: clamp(13px, 0.95vw, 15px) !important;
}

.team-profile-copy p {
  max-width: 360px;
  margin-top: 16px !important;
  font-size: clamp(13px, 0.86vw, 15px) !important;
  line-height: 1.42 !important;
}

/* Keep non-scroll layout clean on laptop screens */
@media (max-height: 820px) and (min-width: 981px) {
  .team-profile-card {
    height: clamp(335px, 48vh, 390px) !important;
    padding: 20px;
  }

  .team-headshot-wrap {
    width: 96px;
    height: 96px;
    padding: 4px;
  }

  .team-profile-copy {
    padding-top: 14px !important;
  }

  .team-profile-copy h2 {
    font-size: 26px !important;
  }

  .team-profile-copy span {
    margin-top: 5px !important;
    font-size: 12px !important;
  }

  .team-profile-copy p {
    margin-top: 10px !important;
    font-size: 12px !important;
    line-height: 1.28 !important;
  }
}

/* Very short desktop fallback */
@media (max-height: 700px) and (min-width: 981px) {
  .team-profile-card {
    height: 318px !important;
    padding: 18px;
  }

  .team-headshot-wrap {
    width: 82px;
    height: 82px;
  }

  .team-profile-copy p {
    font-size: 11.5px !important;
    line-height: 1.24 !important;
  }
}

@media (max-width: 980px) {
  .team-profile-card {
    height: auto !important;
    text-align: center;
  }

  .team-profile-copy p {
    max-width: 560px;
  }
}


/* V49 Team Card Headshot Layout */
/* Smaller top-left headshots, tighter crop, and more room for the write-ups. */

.team-profile-card {
  position: relative;
  align-items: stretch !important;
  text-align: left !important;
  padding: clamp(24px, 1.8vw, 30px) !important;
}

.team-headshot-wrap {
  position: absolute;
  left: clamp(22px, 1.7vw, 30px);
  top: clamp(22px, 1.7vw, 30px);
  width: clamp(74px, 5.5vw, 92px) !important;
  height: clamp(74px, 5.5vw, 92px) !important;
  padding: 4px !important;
  z-index: 2;
}

.team-headshot-wrap img {
  object-fit: cover !important;
  object-position: center 18% !important;
  transform: scale(1.28);
  transform-origin: center 18%;
}

.team-profile-copy {
  width: 100%;
  align-items: flex-start !important;
  text-align: left !important;
  padding: 0 !important;
  padding-top: clamp(94px, 7.5vw, 118px) !important;
  overflow: visible !important;
}

.team-profile-copy h2 {
  font-size: clamp(30px, 2.2vw, 40px) !important;
  line-height: 1 !important;
}

.team-profile-copy span {
  max-width: none !important;
  margin-top: 8px !important;
  font-size: clamp(13px, 0.92vw, 15px) !important;
  line-height: 1.22 !important;
}

.team-profile-copy p {
  max-width: none !important;
  margin-top: 16px !important;
  font-size: clamp(13px, 0.82vw, 15px) !important;
  line-height: 1.45 !important;
}

/* More useful space inside each card */
.team-profile-card {
  height: clamp(390px, 50vh, 485px) !important;
}

/* Short laptop screens */
@media (max-height: 820px) and (min-width: 981px) {
  .team-profile-card {
    height: clamp(335px, 48vh, 390px) !important;
    padding: 20px !important;
  }

  .team-headshot-wrap {
    left: 20px;
    top: 20px;
    width: 72px !important;
    height: 72px !important;
  }

  .team-headshot-wrap img {
    transform: scale(1.34);
  }

  .team-profile-copy {
    padding-top: 88px !important;
  }

  .team-profile-copy h2 {
    font-size: 27px !important;
  }

  .team-profile-copy span {
    font-size: 12px !important;
  }

  .team-profile-copy p {
    margin-top: 10px !important;
    font-size: 12px !important;
    line-height: 1.32 !important;
  }
}

/* Very short desktop fallback */
@media (max-height: 700px) and (min-width: 981px) {
  .team-headshot-wrap {
    width: 62px !important;
    height: 62px !important;
  }

  .team-profile-copy {
    padding-top: 72px !important;
  }

  .team-profile-copy h2 {
    font-size: 24px !important;
  }

  .team-profile-copy p {
    font-size: 11.5px !important;
    line-height: 1.24 !important;
  }
}

@media (max-width: 980px) {
  .team-profile-card {
    text-align: left !important;
  }

  .team-headshot-wrap {
    position: relative;
    left: auto;
    top: auto;
    width: 92px !important;
    height: 92px !important;
    margin-bottom: 18px;
  }

  .team-profile-copy {
    padding-top: 0 !important;
  }
}


/* V50 Team Headshot Zoom */
/* Tightens team profile photos so they show head and shoulders only. */

.team-headshot-wrap {
  overflow: hidden !important;
}

.team-headshot-wrap img {
  object-fit: cover !important;
  object-position: center 18% !important;
  transform: scale(1.85) !important;
  transform-origin: center 18% !important;
}

/* Individual crop tuning */
.team-profile-card:nth-child(1) .team-headshot-wrap img {
  object-position: center 16% !important;
  transform: scale(1.95) !important;
}

.team-profile-card:nth-child(2) .team-headshot-wrap img {
  object-position: center 18% !important;
  transform: scale(1.95) !important;
}

.team-profile-card:nth-child(3) .team-headshot-wrap img {
  object-position: center 12% !important;
  transform: scale(1.72) !important;
}

/* Short desktop/laptop keeps the same tight crop */
@media (max-height: 820px) and (min-width: 981px) {
  .team-headshot-wrap img {
    transform: scale(1.9) !important;
  }

  .team-profile-card:nth-child(1) .team-headshot-wrap img {
    transform: scale(2.0) !important;
  }

  .team-profile-card:nth-child(2) .team-headshot-wrap img {
    transform: scale(2.0) !important;
  }

  .team-profile-card:nth-child(3) .team-headshot-wrap img {
    transform: scale(1.78) !important;
  }
}


/* V51 About Page - single non-scroll overview */
body.inner-body:has(.about-page-main) {
  overflow: hidden;
}

.about-page-main {
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  padding-top: var(--header-height);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(0, 159, 227, 0.20) 0%, rgba(0, 159, 227, 0.08) 30%, transparent 54%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 58%, #064b92 100%);
}

.about-single-section {
  height: calc(100vh - var(--header-height));
  min-height: calc(100vh - var(--header-height));
  max-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.about-single-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 18%, rgba(0, 159, 227, 0.20), transparent 34%),
    radial-gradient(circle at 90% 78%, rgba(141, 221, 255, 0.14), transparent 34%),
    linear-gradient(90deg, rgba(2, 17, 40, 0.36), transparent 30%, transparent 70%, rgba(2, 17, 40, 0.30));
}

.about-single-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(141, 221, 255, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 221, 255, 0.065) 1px, transparent 1px);
  background-size: 74px 74px;
}

.about-page-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 46px) clamp(34px, 5vw, 84px);
}

.about-hero-block {
  max-width: 1080px;
  margin: 0 auto clamp(24px, 3vh, 38px);
  text-align: center;
}

.about-hero-block .eyebrow {
  color: #8bddff;
}

.about-hero-block h1 {
  margin: 0;
  color: var(--white);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: clamp(40px, 4.6vw, 72px);
  line-height: 1.03;
  letter-spacing: 0.02em;
  word-spacing: 0.06em;
}

.about-hero-block p {
  max-width: 920px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.80);
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.45;
  font-weight: 650;
}

.about-content-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(640px, 1.1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: stretch;
}

.about-main-card,
.about-small-card,
.about-team-strip {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 28px 76px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(14px);
}

.about-main-card {
  min-height: 340px;
  border-radius: 30px;
  padding: clamp(28px, 2.3vw, 42px);
}

.about-card-kicker {
  display: inline-flex;
  color: #8bddff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.about-main-card h2 {
  color: var(--white);
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1.04;
  margin-bottom: 18px;
}

.about-main-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.48;
  font-weight: 650;
}

.about-main-card p + p {
  margin-top: 16px;
}

.about-side-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.about-small-card {
  min-height: 102px;
  border-radius: 24px;
  padding: 20px 24px 20px 88px;
  position: relative;
}

.about-small-card span {
  position: absolute;
  left: 24px;
  top: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-deep);
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.about-small-card h3 {
  margin: 0;
  color: var(--white);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: clamp(22px, 1.7vw, 30px);
  line-height: 1.08;
  letter-spacing: 0.018em;
}

.about-small-card p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 1.38;
  font-weight: 650;
}

.about-team-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(18px, 2.2vh, 28px);
  border-radius: 24px;
  overflow: hidden;
}

.about-team-strip div {
  padding: 20px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.about-team-strip div:last-child {
  border-right: 0;
}

.about-team-strip strong {
  display: block;
  color: var(--white);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: 28px;
  letter-spacing: 0.018em;
  line-height: 1;
}

.about-team-strip span {
  display: block;
  margin-top: 8px;
  color: #8bddff;
  font-size: 14px;
  font-weight: 850;
}

/* Laptop height fit */
@media (max-height: 820px) and (min-width: 981px) {
  .about-page-inner {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .about-hero-block {
    margin-bottom: 20px;
  }

  .about-hero-block h1 {
    font-size: clamp(34px, 3.6vw, 56px);
  }

  .about-hero-block p {
    margin-top: 12px;
    font-size: 15px;
  }

  .about-main-card {
    min-height: 290px;
    padding: 26px;
  }

  .about-main-card h2 {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .about-main-card p {
    font-size: 14px;
    line-height: 1.36;
  }

  .about-small-card {
    min-height: 92px;
    padding: 16px 18px 16px 74px;
  }

  .about-small-card span {
    left: 18px;
    top: 18px;
    width: 38px;
    height: 38px;
  }

  .about-small-card h3 {
    font-size: 22px;
  }

  .about-small-card p {
    font-size: 13px;
    line-height: 1.30;
  }

  .about-team-strip {
    margin-top: 16px;
  }

  .about-team-strip div {
    padding: 14px 18px;
  }

  .about-team-strip strong {
    font-size: 23px;
  }

  .about-team-strip span {
    font-size: 12px;
  }
}

@media (max-height: 700px) and (min-width: 981px) {
  .about-hero-block p {
    display: none;
  }

  .about-main-card {
    min-height: 250px;
  }

  .about-team-strip {
    display: none;
  }
}

@media (max-width: 980px) {
  body.inner-body:has(.about-page-main) {
    overflow: auto;
  }

  .about-page-main {
    height: auto;
    min-height: 100vh;
    max-height: none;
    overflow: visible;
  }

  .about-single-section {
    height: auto;
    min-height: auto;
    max-height: none;
    overflow: visible;
  }

  .about-content-grid,
  .about-team-strip {
    grid-template-columns: 1fr;
  }

  .about-team-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .about-team-strip div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  .about-page-inner {
    padding-left: 22px;
    padding-right: 22px;
  }

  .about-hero-block {
    text-align: left;
  }

  .about-hero-block p {
    margin-left: 0;
  }

  .about-small-card {
    padding: 82px 24px 24px;
  }

  .about-small-card span {
    left: 24px;
    top: 24px;
  }
}


/* V52 About Page Fit Fix */
/* Fixes About page being hidden behind the nav and keeps the full section in view. */

.about-page-main {
  height: 100vh !important;
  min-height: 100vh !important;
  max-height: 100vh !important;
  padding-top: var(--header-height) !important;
  overflow: hidden !important;
}

.about-single-section {
  height: calc(100vh - var(--header-height)) !important;
  min-height: calc(100vh - var(--header-height)) !important;
  max-height: calc(100vh - var(--header-height)) !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
}

.about-page-inner {
  height: 100% !important;
  max-width: 1480px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding-top: clamp(10px, 1.4vh, 20px) !important;
  padding-bottom: clamp(12px, 1.6vh, 24px) !important;
}

/* Heading is now fully visible under nav */
.about-hero-block {
  margin: 0 auto clamp(16px, 2vh, 24px) !important;
}

.about-hero-block .eyebrow {
  margin-bottom: 10px !important;
}

.about-hero-block h1 {
  font-size: clamp(32px, 3.7vw, 58px) !important;
  line-height: 1.02 !important;
  max-width: 1040px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.about-hero-block p {
  margin-top: 12px !important;
  max-width: 880px !important;
  font-size: clamp(14px, 1vw, 17px) !important;
  line-height: 1.34 !important;
}

/* Main content compacted so it fits properly */
.about-content-grid {
  flex: 0 0 auto !important;
  grid-template-columns: minmax(380px, 0.88fr) minmax(600px, 1.12fr) !important;
  gap: clamp(22px, 2.4vw, 40px) !important;
  align-items: stretch !important;
}

.about-main-card {
  min-height: 0 !important;
  height: clamp(300px, 42vh, 390px) !important;
  padding: clamp(22px, 1.9vw, 32px) !important;
  overflow: hidden !important;
}

.about-card-kicker {
  margin-bottom: 12px !important;
}

.about-main-card h2 {
  font-size: clamp(30px, 3vw, 46px) !important;
  line-height: 1.03 !important;
  margin-bottom: 14px !important;
}

.about-main-card p {
  font-size: clamp(13px, 0.9vw, 16px) !important;
  line-height: 1.38 !important;
}

.about-main-card p + p {
  margin-top: 12px !important;
}

.about-side-stack {
  gap: 12px !important;
}

.about-small-card {
  min-height: 0 !important;
  height: calc((clamp(300px, 42vh, 390px) - 24px) / 3) !important;
  padding: clamp(15px, 1.2vw, 20px) clamp(18px, 1.4vw, 24px) clamp(15px, 1.2vw, 20px) clamp(70px, 5vw, 86px) !important;
  overflow: hidden !important;
}

.about-small-card span {
  left: clamp(18px, 1.4vw, 24px) !important;
  top: clamp(18px, 1.4vw, 24px) !important;
  width: clamp(36px, 2.8vw, 44px) !important;
  height: clamp(36px, 2.8vw, 44px) !important;
}

.about-small-card h3 {
  font-size: clamp(20px, 1.5vw, 28px) !important;
  line-height: 1.05 !important;
}

.about-small-card p {
  margin-top: 7px !important;
  font-size: clamp(12px, 0.82vw, 15px) !important;
  line-height: 1.28 !important;
}

/* Bottom strip tightened */
.about-team-strip {
  flex: 0 0 auto !important;
  margin-top: clamp(12px, 1.5vh, 20px) !important;
}

.about-team-strip div {
  padding: clamp(12px, 1.2vw, 18px) clamp(16px, 1.6vw, 24px) !important;
}

.about-team-strip strong {
  font-size: clamp(22px, 1.8vw, 28px) !important;
}

.about-team-strip span {
  margin-top: 6px !important;
  font-size: clamp(11px, 0.8vw, 14px) !important;
}

/* Short laptop screens */
@media (max-height: 820px) and (min-width: 981px) {
  .about-page-inner {
    padding-top: 8px !important;
    padding-bottom: 10px !important;
  }

  .about-hero-block {
    margin-bottom: 14px !important;
  }

  .about-hero-block h1 {
    font-size: clamp(30px, 3.2vw, 48px) !important;
  }

  .about-hero-block p {
    font-size: 14px !important;
    line-height: 1.28 !important;
  }

  .about-main-card {
    height: 300px !important;
    padding: 22px !important;
  }

  .about-main-card h2 {
    font-size: 33px !important;
  }

  .about-main-card p {
    font-size: 13px !important;
    line-height: 1.30 !important;
  }

  .about-small-card {
    height: 92px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  .about-small-card h3 {
    font-size: 21px !important;
  }

  .about-small-card p {
    font-size: 12px !important;
    line-height: 1.22 !important;
  }

  .about-team-strip div {
    padding: 12px 16px !important;
  }
}

/* Very short desktop screens */
@media (max-height: 700px) and (min-width: 981px) {
  .about-hero-block p {
    display: none !important;
  }

  .about-main-card {
    height: 250px !important;
  }

  .about-small-card {
    height: 76px !important;
  }

  .about-small-card p {
    display: none !important;
  }

  .about-team-strip {
    display: none !important;
  }
}


/* V53 About Page Wider Layout + First-Person Copy */
.about-page-inner {
  max-width: none !important;
  width: 100% !important;
  padding-left: clamp(48px, 6vw, 120px) !important;
  padding-right: clamp(48px, 6vw, 120px) !important;
}

.about-hero-block {
  max-width: 1240px !important;
}

.about-hero-block h1 {
  max-width: 1220px !important;
}

.about-hero-block p {
  max-width: 1040px !important;
}

.about-content-grid {
  width: 100% !important;
  grid-template-columns: minmax(470px, 0.82fr) minmax(760px, 1.18fr) !important;
  gap: clamp(32px, 4vw, 76px) !important;
}

.about-main-card {
  width: 100% !important;
}

.about-side-stack {
  width: 100% !important;
}

.about-small-card {
  width: 100% !important;
}

.about-team-strip {
  width: 100% !important;
}

/* Use the wider space without making the page scroll */
@media (max-height: 820px) and (min-width: 981px) {
  .about-page-inner {
    padding-left: clamp(42px, 5vw, 94px) !important;
    padding-right: clamp(42px, 5vw, 94px) !important;
  }

  .about-content-grid {
    grid-template-columns: minmax(430px, 0.82fr) minmax(700px, 1.18fr) !important;
    gap: clamp(26px, 3.2vw, 56px) !important;
  }
}

@media (max-width: 1180px) {
  .about-page-inner {
    padding-left: 28px !important;
    padding-right: 28px !important;
  }

  .about-content-grid {
    grid-template-columns: 1fr !important;
  }
}


/* V54 Team Page Background Image */
.team-page-main {
  background:
    linear-gradient(90deg, rgba(6, 31, 69, 0.88) 0%, rgba(6, 31, 69, 0.76) 46%, rgba(6, 31, 69, 0.58) 100%),
    url("assets/team.webp") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.team-single-section::before {
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 159, 227, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(6, 31, 69, 0.16), rgba(6, 31, 69, 0.44)) !important;
}

.team-single-section::after {
  opacity: 0.28 !important;
}

.team-profile-card {
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(14px) !important;
}

@media (max-width: 980px) {
  .team-page-main {
    background:
      linear-gradient(180deg, rgba(6, 31, 69, 0.90), rgba(6, 31, 69, 0.76)),
      url("assets/team.webp") !important;
    background-size: cover !important;
    background-position: center center !important;
  }
}


/* V55 About Page Background Image */
.about-page-main {
  background:
    linear-gradient(90deg, rgba(6, 31, 69, 0.88) 0%, rgba(6, 31, 69, 0.74) 46%, rgba(6, 31, 69, 0.56) 100%),
    url("assets/about.webp") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Match the richer Services-style depth */
.about-single-section::before {
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 159, 227, 0.24), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(141, 221, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(6, 31, 69, 0.16), rgba(6, 31, 69, 0.46)) !important;
}

.about-single-section::after {
  opacity: 0.28 !important;
}

/* Slightly deepen the cards so they sit properly over the image */
.about-main-card,
.about-small-card,
.about-team-strip {
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    0 28px 76px rgba(0, 0, 0, 0.20),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset !important;
  backdrop-filter: blur(14px) !important;
}

/* Keep the heading readable over the image */
.about-hero-block h1 {
  text-shadow: 0 18px 42px rgba(2, 17, 40, 0.28);
}

.about-hero-block p {
  text-shadow: 0 10px 26px rgba(2, 17, 40, 0.24);
}

@media (max-width: 980px) {
  .about-page-main {
    background:
      linear-gradient(180deg, rgba(6, 31, 69, 0.90), rgba(6, 31, 69, 0.76)),
      url("assets/about.webp") !important;
    background-size: cover !important;
    background-position: center center !important;
  }
}


/* V57 Nav Glitch Fix */
.nav-cursor.nav-cursor-no-transition {
  transition: none !important;
}

/* Prevent active tab text from flashing during page load */
.site-nav-pill .nav-tab.is-active {
  color: var(--white);
}

/* Keep the nav cursor stable and avoid initial visual bounce */
.nav-cursor {
  will-change: left, width, opacity;
}


/* V60 Lamp Navigation Replacement */
/* Completely replaces the old nav-cursor / nav-tab moving pill system. */

.site-nav-pill,
.nav-tab,
.nav-cursor {
  display: none !important;
}

.site-nav-lamp {
  justify-self: center;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(6, 31, 69, 0.22);
  background: rgba(255, 255, 255, 0.60);
  box-shadow:
    0 18px 42px rgba(6, 31, 69, 0.10),
    inset 0 0 0 1px rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(16px);
}

.lamp-nav-item {
  position: relative;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  color: rgba(6, 31, 69, 0.82);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
  overflow: visible;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.lamp-nav-item span {
  position: relative;
  z-index: 2;
}

.lamp-nav-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 999px;
  background: rgba(5, 63, 130, 0.08);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.lamp-nav-item::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -8px;
  width: 34px;
  height: 4px;
  z-index: 0;
  transform: translateX(-50%);
  border-radius: 999px 999px 0 0;
  background: var(--sky);
  opacity: 0;
  box-shadow:
    0 0 18px rgba(0, 159, 227, 0.72),
    0 0 34px rgba(0, 159, 227, 0.36);
  transition: opacity 0.18s ease;
}

.lamp-nav-item:hover,
.lamp-nav-item.is-active {
  color: var(--navy-deep);
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 12px 28px rgba(6, 31, 69, 0.12),
    inset 0 0 0 1px rgba(0, 159, 227, 0.18);
}

.lamp-nav-item:hover::before,
.lamp-nav-item.is-active::before {
  opacity: 1;
}

.lamp-nav-item:hover::after,
.lamp-nav-item.is-active::after {
  opacity: 1;
}

.lamp-nav-item.is-active {
  background: rgba(230, 247, 255, 0.92);
  color: var(--navy-deep);
}

.lamp-nav-item.is-active::before {
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 159, 227, 0.22), transparent 64%),
    rgba(255, 255, 255, 0.42);
}

.lamp-nav-item.is-active span {
  text-shadow: 0 0 16px rgba(0, 159, 227, 0.22);
}

@media (max-width: 1450px) {
  .site-nav-lamp {
    gap: 4px;
    padding: 5px;
  }

  .lamp-nav-item {
    min-height: 42px;
    padding: 0 15px;
    font-size: 14px;
  }
}

@media (max-width: 1180px) {
  .site-nav-lamp,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 920px) {
  .site-nav-lamp {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 104px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .lamp-nav-item {
    justify-content: flex-start;
    min-height: 44px;
    padding: 0 14px;
  }

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


/* V61 Adaptive 3D Navigation */
/* Replaces all older nav systems with a premium expanding 3D pill. */

.site-nav-pill,
.nav-tab,
.nav-cursor,
.site-nav-lamp,
.lamp-nav-item {
  display: none !important;
}

.adaptive-nav {
  justify-self: center;
  position: relative;
  width: 150px;
  height: 58px;
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  background:
    linear-gradient(135deg,
      #fcfcfd 0%,
      #f7f8fa 15%,
      #f2f3f6 30%,
      #ebeef2 48%,
      #e3e6eb 68%,
      #dde1e7 100%
    );
  border: 1px solid rgba(6, 31, 69, 0.18);
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.12),
    0 8px 16px rgba(0, 0, 0, 0.10),
    0 16px 32px rgba(0, 0, 0, 0.08),
    inset 0 2px 1px rgba(255, 255, 255, 0.82),
    inset 0 -3px 8px rgba(0, 0, 0, 0.10),
    inset 3px 3px 8px rgba(0, 0, 0, 0.08),
    inset -3px 3px 8px rgba(0, 0, 0, 0.07);
  transition:
    width 0.34s cubic-bezier(.22, .9, .24, 1),
    box-shadow 0.24s ease,
    transform 0.24s ease;
}

.adaptive-nav:hover,
.adaptive-nav:focus-within {
  width: 650px;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.12),
    0 18px 38px rgba(0, 0, 0, 0.14),
    0 28px 56px rgba(0, 0, 0, 0.10),
    inset 0 2px 2px rgba(255, 255, 255, 0.86),
    inset 0 -3px 8px rgba(0, 0, 0, 0.12),
    inset 3px 3px 8px rgba(0, 0, 0, 0.10),
    inset -3px 3px 8px rgba(0, 0, 0, 0.09);
}

/* top ridge */
.adaptive-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.58) 0%, rgba(255,255,255,0.22) 34%, transparent 64%),
    radial-gradient(ellipse at 22% 20%, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.28) 28%, transparent 62%),
    linear-gradient(135deg, rgba(255,255,255,0.42) 0%, transparent 55%);
  z-index: 1;
}

/* bottom curvature */
.adaptive-nav::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 50%;
  pointer-events: none;
  border-radius: 0 0 999px 999px;
  background:
    linear-gradient(0deg, rgba(0,0,0,0.16) 0%, rgba(0,0,0,0.06) 38%, transparent 100%);
  filter: blur(0.2px);
  z-index: 1;
}

.adaptive-active-label {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1b2430;
  font-size: 15.5px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.18),
    0 -1px 0 rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  transition:
    opacity 0.16s ease,
    transform 0.20s ease,
    filter 0.20s ease;
}

.adaptive-nav:hover .adaptive-active-label,
.adaptive-nav:focus-within .adaptive-active-label {
  opacity: 0;
  transform: translateY(-6px);
  filter: blur(2px);
}

.adaptive-nav-links {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.20s ease 0.08s,
    transform 0.24s ease 0.08s;
}

.adaptive-nav:hover .adaptive-nav-links,
.adaptive-nav:focus-within .adaptive-nav-links {
  opacity: 1;
  transform: translateY(0);
}

.adaptive-nav-item {
  position: relative;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  color: #5c6570;
  font-size: 14.5px;
  font-weight: 850;
  letter-spacing: 0.025em;
  white-space: nowrap;
  transition:
    color 0.18s ease,
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.12),
    0 -1px 0 rgba(255, 255, 255, 0.70);
}

.adaptive-nav-item:hover {
  color: #273447;
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.36);
}

.adaptive-nav-item.is-active {
  color: #061f45;
  font-weight: 950;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.68), rgba(255,255,255,0.24));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.82),
    inset 0 -1px 2px rgba(0,0,0,0.08),
    0 8px 18px rgba(6,31,69,0.10);
}

.adaptive-nav-item.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 26px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--sky);
  box-shadow:
    0 0 12px rgba(0, 159, 227, 0.50),
    0 0 22px rgba(0, 159, 227, 0.24);
}

@media (max-width: 1450px) {
  .adaptive-nav:hover,
  .adaptive-nav:focus-within {
    width: 590px;
  }

  .adaptive-nav-item {
    padding: 0 10px;
    font-size: 13.5px;
  }
}

@media (max-width: 1180px) {
  .adaptive-nav,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 920px) {
  .adaptive-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 104px;
    width: auto;
    height: auto;
    display: none;
    padding: 14px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: visible;
  }

  .adaptive-nav.is-open {
    display: block;
  }

  .adaptive-active-label {
    display: none;
  }

  .adaptive-nav-links {
    opacity: 1;
    transform: none;
    display: grid;
    gap: 8px;
    padding: 0;
  }

  .adaptive-nav-item {
    justify-content: flex-start;
    min-height: 44px;
    padding: 0 14px;
    color: var(--navy-deep);
    background: transparent;
  }

  .adaptive-nav-item.is-active {
    background: var(--sky-soft);
  }
}


/* V62 How We Help Complete Revamp */
body.inner-body:has(.how-page-main) {
  overflow: hidden;
}

.how-page-main {
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  padding-top: var(--header-height);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(0, 159, 227, 0.20) 0%, rgba(0, 159, 227, 0.08) 30%, transparent 54%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 58%, #064b92 100%);
}

.how-single-section {
  height: calc(100vh - var(--header-height));
  min-height: calc(100vh - var(--header-height));
  max-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.how-single-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 159, 227, 0.20), transparent 34%),
    radial-gradient(circle at 90% 80%, rgba(141, 221, 255, 0.14), transparent 34%),
    linear-gradient(90deg, rgba(2, 17, 40, 0.36), transparent 30%, transparent 70%, rgba(2, 17, 40, 0.30));
}

.how-single-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(141, 221, 255, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 221, 255, 0.065) 1px, transparent 1px),
    linear-gradient(115deg, transparent 0%, transparent 43%, rgba(141, 221, 255, 0.09) 44%, transparent 45%, transparent 100%),
    linear-gradient(65deg, transparent 0%, transparent 52%, rgba(141, 221, 255, 0.07) 53%, transparent 54%, transparent 100%);
  background-size: 74px 74px, 74px 74px, 100% 100%, 100% 100%;
}

.how-page-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 46px) clamp(48px, 6vw, 120px);
}

.how-hero-panel {
  max-width: 1180px;
  margin: 0 auto clamp(22px, 2.8vh, 36px);
  text-align: center;
}

.how-hero-panel .eyebrow {
  color: #8bddff;
}

.how-hero-panel h1 {
  margin: 0;
  color: var(--white);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: clamp(42px, 4.7vw, 74px);
  line-height: 1.03;
  letter-spacing: 0.02em;
  word-spacing: 0.06em;
  text-shadow: 0 18px 42px rgba(2, 17, 40, 0.28);
}

.how-hero-panel p {
  max-width: 920px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.80);
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.45;
  font-weight: 650;
}

.how-content-grid {
  display: grid;
  grid-template-columns: minmax(430px, 0.86fr) minmax(720px, 1.14fr);
  gap: clamp(28px, 3.6vw, 64px);
  align-items: stretch;
}

.how-lead-card,
.how-step-card,
.how-bottom-strip {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 28px 76px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(14px);
}

.how-lead-card {
  border-radius: 30px;
  padding: clamp(28px, 2.4vw, 42px);
}

.how-card-kicker {
  display: inline-flex;
  color: #8bddff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.how-lead-card h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1.04;
}

.how-lead-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.48;
  font-weight: 650;
}

.how-lead-card p + p {
  margin-top: 16px;
}

.how-step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.5vw, 24px);
}

.how-step-card {
  position: relative;
  min-height: 200px;
  border-radius: 26px;
  padding: 26px;
  overflow: hidden;
}

.how-step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 84% 14%, rgba(141, 221, 255, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,0.04), transparent);
}

.how-step-card span {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-deep);
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.how-step-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--white);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: clamp(23px, 1.7vw, 32px);
  line-height: 1.08;
  letter-spacing: 0.018em;
}

.how-step-card p {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 1.40;
  font-weight: 650;
}

.how-bottom-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(18px, 2.2vh, 28px);
  border-radius: 24px;
  overflow: hidden;
}

.how-bottom-strip div {
  padding: 20px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.how-bottom-strip div:last-child {
  border-right: 0;
}

.how-bottom-strip strong {
  display: block;
  color: var(--white);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: 28px;
  letter-spacing: 0.018em;
  line-height: 1;
}

.how-bottom-strip span {
  display: block;
  margin-top: 8px;
  color: #8bddff;
  font-size: 14px;
  font-weight: 850;
}

/* Laptop height fit */
@media (max-height: 820px) and (min-width: 981px) {
  .how-page-inner {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .how-hero-panel {
    margin-bottom: 18px;
  }

  .how-hero-panel h1 {
    font-size: clamp(34px, 3.7vw, 56px);
  }

  .how-hero-panel p {
    margin-top: 12px;
    font-size: 15px;
  }

  .how-content-grid {
    grid-template-columns: minmax(390px, 0.84fr) minmax(690px, 1.16fr);
    gap: clamp(24px, 3vw, 52px);
  }

  .how-lead-card {
    padding: 26px;
  }

  .how-lead-card h2 {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .how-lead-card p {
    font-size: 14px;
    line-height: 1.34;
  }

  .how-step-card {
    min-height: 160px;
    padding: 20px;
  }

  .how-step-card span {
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
  }

  .how-step-card h3 {
    font-size: 22px;
  }

  .how-step-card p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.30;
  }

  .how-bottom-strip {
    margin-top: 16px;
  }

  .how-bottom-strip div {
    padding: 14px 18px;
  }

  .how-bottom-strip strong {
    font-size: 22px;
  }

  .how-bottom-strip span {
    font-size: 12px;
  }
}

@media (max-height: 700px) and (min-width: 981px) {
  .how-hero-panel p {
    display: none;
  }

  .how-lead-card p + p {
    display: none;
  }

  .how-bottom-strip {
    display: none;
  }
}

@media (max-width: 980px) {
  body.inner-body:has(.how-page-main) {
    overflow: auto;
  }

  .how-page-main {
    height: auto;
    min-height: 100vh;
    max-height: none;
    overflow: visible;
  }

  .how-single-section {
    height: auto;
    min-height: auto;
    max-height: none;
    overflow: visible;
  }

  .how-content-grid,
  .how-step-grid,
  .how-bottom-strip {
    grid-template-columns: 1fr;
  }

  .how-bottom-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .how-bottom-strip div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  .how-page-inner {
    padding-left: 22px;
    padding-right: 22px;
  }

  .how-hero-panel {
    text-align: left;
  }

  .how-hero-panel p {
    margin-left: 0;
  }
}


/* V63 How We Help Clean Rebuild */
body.inner-body:has(.how-page-main) {
  overflow: hidden;
}

.how-page-main {
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  padding-top: var(--header-height);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 31, 69, 0.90) 0%, rgba(6, 31, 69, 0.76) 48%, rgba(6, 31, 69, 0.58) 100%),
    url("assets/how.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.how-clean-section {
  height: calc(100vh - var(--header-height));
  min-height: calc(100vh - var(--header-height));
  max-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.how-clean-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 159, 227, 0.24), transparent 34%),
    radial-gradient(circle at 88% 80%, rgba(141, 221, 255, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(6, 31, 69, 0.14), rgba(6, 31, 69, 0.44));
}

.how-clean-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(141, 221, 255, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 221, 255, 0.065) 1px, transparent 1px);
  background-size: 74px 74px;
}

.how-clean-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: clamp(18px, 2.5vw, 38px) clamp(54px, 6vw, 122px);
}

.how-clean-heading {
  max-width: 1100px;
  margin: 0 auto clamp(24px, 3vh, 38px);
  text-align: center;
}

.how-clean-heading .eyebrow {
  color: #8bddff;
}

.how-clean-heading h1 {
  margin: 0;
  color: var(--white);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: clamp(40px, 4.55vw, 72px);
  line-height: 1.03;
  letter-spacing: 0.02em;
  word-spacing: 0.06em;
  text-shadow: 0 18px 42px rgba(2, 17, 40, 0.28);
}

.how-clean-heading p {
  max-width: 850px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.80);
  font-size: clamp(16px, 1.1vw, 19px);
  line-height: 1.42;
  font-weight: 650;
}

.how-clean-grid {
  display: grid;
  grid-template-columns: minmax(430px, 0.88fr) minmax(680px, 1.12fr);
  gap: clamp(28px, 3.6vw, 68px);
  align-items: stretch;
}

.how-clean-main,
.how-clean-card,
.how-clean-strip {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 28px 76px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(14px);
}

.how-clean-main {
  border-radius: 30px;
  padding: clamp(28px, 2.4vw, 42px);
}

.how-clean-main .eyebrow {
  color: #8bddff;
}

.how-clean-main h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(34px, 3.2vw, 52px);
  line-height: 1.04;
}

.how-clean-main p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.48;
  font-weight: 650;
}

.how-clean-main p + p {
  margin-top: 16px;
}

.how-clean-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.how-clean-card {
  position: relative;
  min-height: 128px;
  border-radius: 26px;
  padding: 24px 28px 24px 94px;
  overflow: hidden;
}

.how-clean-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 84% 14%, rgba(141, 221, 255, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,0.04), transparent);
}

.how-clean-card span {
  position: absolute;
  left: 26px;
  top: 26px;
  z-index: 1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-deep);
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.how-clean-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--white);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: clamp(24px, 1.7vw, 32px);
  line-height: 1.08;
  letter-spacing: 0.018em;
}

.how-clean-card p {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 1.38;
  font-weight: 650;
}

.how-clean-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(18px, 2.2vh, 28px);
  border-radius: 24px;
  overflow: hidden;
}

.how-clean-strip div {
  padding: 20px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.how-clean-strip div:last-child {
  border-right: 0;
}

.how-clean-strip strong {
  display: block;
  color: var(--white);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: 28px;
  letter-spacing: 0.018em;
  line-height: 1;
}

.how-clean-strip span {
  display: block;
  margin-top: 8px;
  color: #8bddff;
  font-size: 14px;
  font-weight: 850;
}

/* Laptop height fit */
@media (max-height: 820px) and (min-width: 981px) {
  .how-clean-inner {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .how-clean-heading {
    margin-bottom: 18px;
  }

  .how-clean-heading h1 {
    font-size: clamp(34px, 3.7vw, 56px);
  }

  .how-clean-heading p {
    margin-top: 12px;
    font-size: 15px;
  }

  .how-clean-grid {
    grid-template-columns: minmax(390px, 0.86fr) minmax(660px, 1.14fr);
    gap: clamp(24px, 3vw, 52px);
  }

  .how-clean-main {
    padding: 26px;
  }

  .how-clean-main h2 {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .how-clean-main p {
    font-size: 14px;
    line-height: 1.34;
  }

  .how-clean-card {
    min-height: 104px;
    padding: 18px 20px 18px 78px;
  }

  .how-clean-card span {
    left: 20px;
    top: 20px;
    width: 38px;
    height: 38px;
  }

  .how-clean-card h3 {
    font-size: 22px;
  }

  .how-clean-card p {
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.30;
  }

  .how-clean-strip {
    margin-top: 16px;
  }

  .how-clean-strip div {
    padding: 14px 18px;
  }

  .how-clean-strip strong {
    font-size: 22px;
  }

  .how-clean-strip span {
    font-size: 12px;
  }
}

@media (max-height: 700px) and (min-width: 981px) {
  .how-clean-heading p {
    display: none;
  }

  .how-clean-main p + p {
    display: none;
  }

  .how-clean-strip {
    display: none;
  }
}

@media (max-width: 980px) {
  body.inner-body:has(.how-page-main) {
    overflow: auto;
  }

  .how-page-main {
    height: auto;
    min-height: 100vh;
    max-height: none;
    overflow: visible;
  }

  .how-clean-section {
    height: auto;
    min-height: auto;
    max-height: none;
    overflow: visible;
  }

  .how-clean-grid,
  .how-clean-strip {
    grid-template-columns: 1fr;
  }

  .how-clean-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .how-clean-strip div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  .how-clean-inner {
    padding-left: 22px;
    padding-right: 22px;
  }

  .how-clean-heading {
    text-align: left;
  }

  .how-clean-heading p {
    margin-left: 0;
  }

  .how-clean-card {
    padding: 82px 24px 24px;
  }

  .how-clean-card span {
    left: 24px;
    top: 24px;
  }
}


/* V64 How We Help Full Rebuild */
/* Different visual direction: clean light section + strong navy process panel. */

body.inner-body:has(.how-v64-main) {
  overflow: hidden;
}

body.inner-body:has(.how-v64-main) .site-footer {
  display: none !important;
}

.how-v64-main {
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  padding-top: var(--header-height);
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 24%, rgba(0, 159, 227, 0.18), transparent 34%),
    radial-gradient(circle at 14% 78%, rgba(5, 63, 130, 0.10), transparent 36%),
    linear-gradient(135deg, #ffffff 0%, #f4f9fd 55%, #e9f6fd 100%);
}

.how-v64-section {
  height: calc(100vh - var(--header-height));
  min-height: calc(100vh - var(--header-height));
  max-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.how-v64-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(5, 63, 130, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 63, 130, 0.055) 1px, transparent 1px);
  background-size: 74px 74px;
}

.how-v64-section::after {
  content: "";
  position: absolute;
  top: 14%;
  right: 4.5%;
  width: 43vw;
  height: 68%;
  pointer-events: none;
  border-radius: 48px;
  opacity: 0.72;
  background:
    radial-gradient(circle at 74% 18%, rgba(0, 159, 227, 0.18), transparent 34%),
    radial-gradient(circle at 24% 74%, rgba(5, 63, 130, 0.10), transparent 40%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.44), rgba(224, 243, 253, 0.16));
  box-shadow:
    0 34px 90px rgba(6, 35, 75, 0.08),
    inset 0 0 0 1px rgba(5, 63, 130, 0.075);
  transform: rotate(-1.6deg);
}

.how-v64-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  padding: clamp(24px, 3vw, 48px) clamp(52px, 6vw, 122px);
  display: grid;
  grid-template-columns: minmax(540px, 0.95fr) minmax(560px, 1.05fr);
  gap: clamp(42px, 5vw, 94px);
  align-items: center;
}

.how-v64-left {
  max-width: 820px;
}

.how-v64-left .eyebrow {
  color: var(--sky);
}

.how-v64-left h1 {
  margin: 0;
  color: var(--navy-deep);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: clamp(46px, 5.1vw, 82px);
  line-height: 1.02;
  letter-spacing: 0.018em;
  word-spacing: 0.055em;
}

.how-v64-left > p {
  max-width: 760px;
  margin: 24px 0 0;
  color: #4c607b;
  font-size: clamp(17px, 1.22vw, 21px);
  line-height: 1.52;
  font-weight: 650;
}

.how-v64-highlight {
  margin-top: 34px;
  max-width: 700px;
  padding: 24px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(217, 230, 242, 0.95);
  box-shadow: 0 20px 54px rgba(6, 35, 75, 0.10);
  backdrop-filter: blur(12px);
}

.how-v64-highlight strong {
  display: block;
  color: var(--navy-deep);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: clamp(24px, 1.8vw, 34px);
  line-height: 1.08;
  letter-spacing: 0.018em;
}

.how-v64-highlight span {
  display: block;
  margin-top: 10px;
  color: #5d6f88;
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.4;
  font-weight: 650;
}

.how-v64-right {
  display: grid;
  gap: 22px;
}

.how-v64-process-card {
  padding: clamp(28px, 2.8vw, 44px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 8%, rgba(0, 159, 227, 0.20), transparent 34%),
    linear-gradient(135deg, var(--navy-deep), var(--navy));
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow:
    0 32px 88px rgba(6, 31, 69, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.how-v64-process-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.how-v64-process-head span {
  color: #8bddff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.how-v64-process-head strong {
  color: var(--white);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: clamp(24px, 1.9vw, 36px);
  line-height: 1;
  letter-spacing: 0.018em;
  text-align: right;
}

.how-v64-step {
  display: block;
  padding: 18px 0;
}

.how-v64-step + .how-v64-step {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.how-v64-step > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-deep);
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.how-v64-step h3 {
  margin: 0;
  color: var(--white);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: clamp(23px, 1.65vw, 32px);
  line-height: 1.08;
  letter-spacing: 0.018em;
}

.how-v64-step p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 1.38;
  font-weight: 650;
}

.how-v64-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.how-v64-mini-grid div {
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(217, 230, 242, 0.95);
  box-shadow: 0 18px 44px rgba(6, 35, 75, 0.08);
  backdrop-filter: blur(10px);
}

.how-v64-mini-grid strong {
  display: block;
  color: var(--navy-deep);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: 25px;
  line-height: 1;
}

.how-v64-mini-grid span {
  display: block;
  margin-top: 8px;
  color: var(--sky);
  font-size: 14px;
  font-weight: 850;
}

/* Laptop height fit */
@media (max-height: 820px) and (min-width: 981px) {
  .how-v64-inner {
    padding-top: 18px;
    padding-bottom: 18px;
    grid-template-columns: minmax(500px, 0.94fr) minmax(540px, 1.06fr);
  }

  .how-v64-left h1 {
    font-size: clamp(40px, 4.25vw, 64px);
  }

  .how-v64-left > p {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.42;
  }

  .how-v64-highlight {
    margin-top: 22px;
    padding: 20px 22px;
  }

  .how-v64-process-card {
    padding: 28px;
  }

  .how-v64-process-head {
    padding-bottom: 16px;
    margin-bottom: 10px;
  }

  .how-v64-step {
    padding: 13px 0;
  }

  .how-v64-step h3 {
    font-size: 22px;
  }

  .how-v64-step p {
    font-size: 13px;
    line-height: 1.30;
  }

  .how-v64-mini-grid div {
    padding: 15px 18px;
  }

  .how-v64-mini-grid strong {
    font-size: 22px;
  }

  .how-v64-mini-grid span {
    font-size: 12px;
  }
}

@media (max-width: 1180px) {
  .how-v64-section::after {
    right: -12%;
    width: 72vw;
    height: 52%;
    opacity: 0.20;
  }

  body.inner-body:has(.how-v64-main) {
    overflow: auto;
  }

  .how-v64-main {
    height: auto;
    min-height: 100vh;
    max-height: none;
    overflow: visible;
  }

  .how-v64-section {
    height: auto;
    min-height: auto;
    max-height: none;
    overflow: visible;
  }

  .how-v64-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .how-v64-inner {
    padding-left: 22px;
    padding-right: 22px;
  }

  .how-v64-mini-grid {
    grid-template-columns: 1fr;
  }

  .how-v64-process-head {
    display: block;
  }

  .how-v64-process-head strong {
    display: block;
    text-align: left;
    margin-top: 10px;
  }
}


/* V68 Hackles & Co identity clean-up */
.about-page-main {
  background:
    linear-gradient(90deg, rgba(3, 12, 24, 0.78) 0%, rgba(7, 18, 32, 0.64) 44%, rgba(22, 28, 36, 0.52) 100%),
    url("assets/about.webp") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.about-single-section::before {
  background:
    radial-gradient(circle at 14% 18%, rgba(141, 221, 255, 0.10), transparent 32%),
    radial-gradient(circle at 86% 82%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(3, 12, 24, 0.04), rgba(3, 12, 24, 0.26)) !important;
}

.about-single-section::after {
  opacity: 0.16 !important;
}

.about-main-card,
.about-small-card,
.about-team-strip {
  background: rgba(11, 28, 48, 0.58) !important;
  border-color: rgba(255, 255, 255, 0.20) !important;
}

.team-profile-grid-two {
  grid-template-columns: repeat(2, minmax(360px, 520px)) !important;
  justify-content: center !important;
  gap: clamp(28px, 3vw, 54px) !important;
}

.team-profile-grid-two .team-profile-card {
  min-height: 420px !important;
}

@media (max-width: 980px) {
  .about-page-main {
    background:
      linear-gradient(180deg, rgba(3, 12, 24, 0.88), rgba(7, 18, 32, 0.76)),
      url("assets/about.webp") !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  .team-profile-grid-two {
    grid-template-columns: 1fr !important;
  }
}


/* V70 About card polish - remove number badges and tighten layout */
.about-small-card {
  padding-left: clamp(22px, 1.8vw, 30px) !important;
}

.about-small-card span {
  display: none !important;
}

@media (max-height: 820px) and (min-width: 981px) {
  .about-small-card {
    padding-left: 18px !important;
  }
}


/* V71 About final polish - tighter headline and cleaner right cards */
.about-hero-block h1 {
  font-size: clamp(30px, 3.35vw, 54px) !important;
  max-width: 1160px !important;
}

.about-small-card p {
  max-width: 980px !important;
}

@media (max-height: 820px) and (min-width: 981px) {
  .about-hero-block h1 {
    font-size: clamp(28px, 3vw, 46px) !important;
  }
}


/* V72 Services polish - cleaner service path, no number badges */
.services-hub-page .services-hero-cards-section .service-floating-card-logo {
  display: none !important;
}

.services-hub-page .services-hero-cards-section .service-floating-card-image {
  width: 300px !important;
  height: 320px !important;
  border-radius: 28px !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(255,255,255,0.18) !important;
}

.services-hub-page .services-hero-cards-section .services-side-cards-left .service-floating-card-image {
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) rotate(-5deg) !important;
}

.services-hub-page .services-hero-cards-section .services-side-cards-right .service-floating-card-image {
  right: auto !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) rotate(5deg) !important;
}

.services-hub-page .services-hero-cards-section .services-side-cards-left:hover .service-floating-card-image {
  transform: translate(-50%, calc(-50% - 6px)) rotate(-4deg) !important;
}

.services-hub-page .services-hero-cards-section .services-side-cards-right:hover .service-floating-card-image {
  transform: translate(-50%, calc(-50% - 6px)) rotate(4deg) !important;
}

.services-hub-page .services-hero-cards-section .services-hero-content h1 {
  max-width: 780px !important;
}

.services-hub-page .services-hero-cards-section .button {
  min-width: 220px !important;
  padding-left: 30px !important;
  padding-right: 30px !important;
}

.services-hub-page .service-index,
.services-hub-page .services-hub-card .service-index,
.services-hub-page .what-we-do-card .service-index,
.services-hub-page .services-partner-section .service-index {
  display: none !important;
}

.services-hub-page .what-we-do-card {
  padding-top: clamp(28px, 2.1vw, 38px) !important;
}

.final-support-card {
  padding: 28px 32px !important;
}

.final-cta-support::before {
  display: none !important;
}

.final-support-card span {
  display: none !important;
}

@media (max-width: 1450px) and (min-width: 1181px) {
  .services-hub-page .services-hero-cards-section .service-floating-card-image {
    width: 250px !important;
    height: 270px !important;
  }
}

@media (max-height: 820px) and (min-width: 1181px) {
  .services-hub-page .services-hero-cards-section .service-floating-card-image {
    width: 225px !important;
    height: 240px !important;
  }

  .final-support-card {
    padding: 22px 26px !important;
  }
}

@media (max-width: 680px) {
  .final-support-card {
    padding: 24px !important;
  }
}

/* V73 Services final tidy - tighter hero spacing and clearer additional support cards */
@media (min-width: 1181px) {
  .services-hub-page .services-hero-cards-section {
    min-height: calc(92vh - var(--header-height)) !important;
    padding-top: var(--header-height) !important;
  }

  .services-hub-page .services-hero-cards-section .services-hero-grid {
    min-height: calc(92vh - var(--header-height)) !important;
    grid-template-columns: minmax(300px, 0.92fr) minmax(520px, 1.08fr) minmax(300px, 0.92fr) !important;
    gap: clamp(8px, 1.35vw, 26px) !important;
    padding-left: clamp(54px, 6vw, 118px) !important;
    padding-right: clamp(54px, 6vw, 118px) !important;
    transform: translateY(-1.4vh) !important;
  }

  .services-hub-page .services-hero-cards-section .services-side-cards {
    height: min(430px, 48vh) !important;
    min-height: 330px !important;
    transform: translateY(-1.2vh) !important;
  }

  .services-hub-page .services-hero-cards-section .service-floating-card-image {
    width: clamp(300px, 19vw, 365px) !important;
    height: clamp(300px, 20vw, 365px) !important;
  }

  .services-hub-page .services-hero-cards-section .services-side-cards-left .service-floating-card-image {
    transform: translate(-42%, -50%) rotate(-5deg) !important;
  }

  .services-hub-page .services-hero-cards-section .services-side-cards-right .service-floating-card-image {
    transform: translate(-58%, -50%) rotate(5deg) !important;
  }

  .services-hub-page .services-hero-cards-section .services-side-cards-left:hover .service-floating-card-image {
    transform: translate(-42%, calc(-50% - 6px)) rotate(-4deg) !important;
  }

  .services-hub-page .services-hero-cards-section .services-side-cards-right:hover .service-floating-card-image {
    transform: translate(-58%, calc(-50% - 6px)) rotate(4deg) !important;
  }
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(1) {
  background-image:
    linear-gradient(135deg, rgba(6, 31, 69, 0.66), rgba(6, 31, 69, 0.52)),
    url("assets/uservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(2) {
  background-image:
    linear-gradient(135deg, rgba(6, 31, 69, 0.66), rgba(6, 31, 69, 0.52)),
    url("assets/iservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(3) {
  background-image:
    linear-gradient(135deg, rgba(6, 31, 69, 0.66), rgba(6, 31, 69, 0.52)),
    url("assets/fservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(4) {
  background-image:
    linear-gradient(135deg, rgba(6, 31, 69, 0.66), rgba(6, 31, 69, 0.52)),
    url("assets/vservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(5) {
  background-image:
    linear-gradient(135deg, rgba(6, 31, 69, 0.66), rgba(6, 31, 69, 0.52)),
    url("assets/sservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card::after {
  background:
    radial-gradient(circle at 82% 18%, rgba(141, 221, 255, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(6, 31, 69, 0.12), rgba(6, 31, 69, 0.32)) !important;
}

/* V77 Team Hero Leadership Cards */
.team-hero-section {
  align-items: center !important;
}

.team-hero-inner {
  justify-content: center !important;
  gap: clamp(18px, 2vh, 26px);
}

.team-hero-heading {
  max-width: 1100px !important;
  margin-bottom: clamp(18px, 2vh, 26px) !important;
}

.team-hero-heading h1 {
  font-size: clamp(38px, 4.2vw, 64px) !important;
  line-height: 1.02 !important;
}

.team-hero-heading p {
  max-width: 880px !important;
}

.team-hero-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(26px, 3vw, 48px) !important;
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
}

.team-hero-card {
  position: relative;
  height: clamp(510px, 58vh, 650px) !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  text-align: left !important;
  border-radius: 34px !important;
  background: rgba(255, 255, 255, 0.10) !important;
}

.team-hero-image {
  display: block;
  height: clamp(210px, 28vh, 315px);
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 15%, rgba(141, 221, 255, 0.22), transparent 46%),
    rgba(6, 31, 69, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.team-hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 18%;
}

.team-hero-card:nth-child(1) .team-hero-image img {
  object-position: center 16%;
}

.team-hero-card:nth-child(2) .team-hero-image img {
  object-position: center 14%;
}

.team-hero-copy {
  flex: 1 !important;
  width: 100% !important;
  padding: clamp(24px, 2vw, 34px) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  overflow: visible !important;
}

.team-role-kicker {
  margin: 0 0 8px !important;
  color: #8bddff !important;
  font-size: clamp(13px, 0.9vw, 15px) !important;
  font-weight: 950 !important;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1.1 !important;
}

.team-hero-copy h2 {
  margin: 0 !important;
  font-size: clamp(34px, 2.7vw, 48px) !important;
  line-height: 0.98 !important;
}

.team-hero-copy span {
  max-width: none !important;
  margin-top: 10px !important;
  font-size: clamp(14px, 0.95vw, 16px) !important;
}

.team-hero-copy p:not(.team-role-kicker) {
  max-width: none !important;
  margin-top: 16px !important;
  color: rgba(255, 255, 255, 0.80) !important;
  font-size: clamp(13px, 0.92vw, 15.5px) !important;
  line-height: 1.48 !important;
}

.team-hero-card .team-headshot-wrap {
  display: none !important;
}

@media (max-height: 820px) and (min-width: 981px) {
  .team-hero-heading h1 {
    font-size: clamp(32px, 3.5vw, 50px) !important;
  }

  .team-hero-heading p {
    font-size: 15px !important;
  }

  .team-hero-card {
    height: clamp(420px, 54vh, 520px) !important;
  }

  .team-hero-image {
    height: clamp(160px, 24vh, 230px);
  }

  .team-hero-copy {
    padding: 22px !important;
  }

  .team-hero-copy h2 {
    font-size: 32px !important;
  }

  .team-hero-copy p:not(.team-role-kicker) {
    margin-top: 12px !important;
    font-size: 12.6px !important;
    line-height: 1.34 !important;
  }
}

@media (max-height: 700px) and (min-width: 981px) {
  .team-hero-heading p {
    display: block !important;
    font-size: 13px !important;
  }

  .team-hero-card {
    height: 405px !important;
  }

  .team-hero-image {
    height: 145px;
  }

  .team-hero-copy p:not(.team-role-kicker) {
    font-size: 11.4px !important;
    line-height: 1.25 !important;
  }
}

@media (max-width: 980px) {
  .team-hero-grid {
    grid-template-columns: 1fr !important;
  }

  .team-hero-card {
    height: auto !important;
  }

  .team-hero-image {
    height: 320px;
  }
}

@media (max-width: 680px) {
  .team-hero-heading {
    text-align: left !important;
  }

  .team-hero-heading p {
    margin-left: 0 !important;
  }

  .team-hero-image {
    height: 260px;
  }
}

/* V78 Team leadership polish: larger profile images, cleaner crops and tighter public copy spacing */
.team-hero-heading p {
  max-width: 900px !important;
}

.team-hero-card {
  height: clamp(540px, 61vh, 690px) !important;
}

.team-hero-image {
  height: clamp(255px, 32vh, 360px) !important;
}

.team-hero-image img {
  object-position: center top !important;
}

.team-hero-card:nth-child(1) .team-hero-image img {
  object-position: center 10% !important;
}

.team-hero-card:nth-child(2) .team-hero-image img {
  object-position: center top !important;
}

.team-hero-copy {
  padding: clamp(22px, 1.8vw, 30px) clamp(26px, 2.2vw, 36px) !important;
}

.team-hero-copy p:not(.team-role-kicker) {
  margin-top: 13px !important;
  font-size: clamp(12.8px, 0.9vw, 15px) !important;
  line-height: 1.42 !important;
}

@media (max-height: 820px) and (min-width: 981px) {
  .team-hero-card {
    height: clamp(450px, 56vh, 545px) !important;
  }

  .team-hero-image {
    height: clamp(190px, 26vh, 255px) !important;
  }

  .team-hero-copy {
    padding: 20px 24px !important;
  }

  .team-hero-copy p:not(.team-role-kicker) {
    font-size: 12.2px !important;
    line-height: 1.3 !important;
  }
}

@media (max-height: 700px) and (min-width: 981px) {
  .team-hero-card {
    height: 420px !important;
  }

  .team-hero-image {
    height: 160px !important;
  }

  .team-hero-copy p:not(.team-role-kicker) {
    font-size: 11.2px !important;
    line-height: 1.22 !important;
  }
}

@media (max-width: 980px) {
  .team-hero-image {
    height: 340px !important;
  }
}

@media (max-width: 680px) {
  .team-hero-image {
    height: 280px !important;
  }
}

/* V79 Team hero card restructure: wider profile cards with full image panels and calmer text spacing */
.team-hero-inner {
  gap: clamp(12px, 1.4vh, 20px) !important;
}

.team-hero-heading {
  max-width: 1180px !important;
  margin-bottom: clamp(14px, 1.7vh, 22px) !important;
}

.team-hero-heading h1 {
  font-size: clamp(34px, 3.65vw, 58px) !important;
  line-height: 0.98 !important;
}

.team-hero-heading p {
  max-width: 980px !important;
  margin-top: 10px !important;
  font-size: clamp(14px, 0.92vw, 17px) !important;
  line-height: 1.32 !important;
}

.team-hero-grid {
  grid-template-columns: 1fr !important;
  gap: clamp(16px, 1.8vh, 22px) !important;
  max-width: 1420px !important;
}

.team-hero-card {
  height: clamp(255px, 29vh, 315px) !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(330px, 38%) minmax(0, 1fr) !important;
  align-items: stretch !important;
  overflow: hidden !important;
  border-radius: 34px !important;
}

.team-hero-image {
  height: 100% !important;
  width: 100% !important;
  border-bottom: 0 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.16) !important;
  position: relative !important;
}

.team-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 31, 69, 0.02), rgba(6, 31, 69, 0.14));
}

.team-hero-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: none !important;
}

.team-hero-card:nth-child(1) .team-hero-image img {
  object-position: center 28% !important;
}

.team-hero-card:nth-child(2) .team-hero-image img {
  object-position: center 24% !important;
}

.team-hero-copy {
  justify-content: center !important;
  padding: clamp(24px, 2vw, 34px) clamp(30px, 2.8vw, 48px) !important;
  overflow: visible !important;
}

.team-role-kicker {
  margin-bottom: 8px !important;
}

.team-hero-copy h2 {
  font-size: clamp(38px, 3vw, 56px) !important;
  line-height: 0.96 !important;
}

.team-hero-copy span {
  margin-top: 9px !important;
  font-size: clamp(14px, 0.95vw, 16px) !important;
}

.team-hero-copy p:not(.team-role-kicker) {
  max-width: 760px !important;
  margin-top: 12px !important;
  font-size: clamp(13px, 0.88vw, 15.5px) !important;
  line-height: 1.42 !important;
}

@media (max-height: 820px) and (min-width: 981px) {
  .team-hero-heading h1 {
    font-size: clamp(30px, 3.05vw, 48px) !important;
  }

  .team-hero-heading p {
    font-size: 13.5px !important;
  }

  .team-hero-card {
    height: clamp(220px, 28vh, 260px) !important;
  }

  .team-hero-copy {
    padding: 20px 34px !important;
  }

  .team-role-kicker {
    font-size: 12px !important;
  }

  .team-hero-copy h2 {
    font-size: clamp(32px, 2.5vw, 44px) !important;
  }

  .team-hero-copy span {
    font-size: 13px !important;
  }

  .team-hero-copy p:not(.team-role-kicker) {
    margin-top: 9px !important;
    font-size: 12.2px !important;
    line-height: 1.28 !important;
  }
}

@media (max-height: 700px) and (min-width: 981px) {
  .team-hero-heading h1 {
    font-size: 34px !important;
  }

  .team-hero-heading p {
    display: none !important;
  }

  .team-hero-card {
    height: 205px !important;
  }

  .team-hero-copy p:not(.team-role-kicker) {
    font-size: 11.4px !important;
    line-height: 1.22 !important;
  }
}

@media (max-width: 980px) {
  .team-hero-grid {
    grid-template-columns: 1fr !important;
  }

  .team-hero-card {
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .team-hero-image {
    height: 340px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
  }
}

@media (max-width: 680px) {
  .team-hero-image {
    height: 290px !important;
  }

  .team-hero-copy {
    padding: 24px !important;
  }
}

/* V80 Team leadership mockup layout: full profile image panels beside the copy */
body.inner-body:has(.team-page-main) {
  overflow: auto !important;
}

.team-page-main {
  height: auto !important;
  min-height: 100vh !important;
  max-height: none !important;
  overflow: visible !important;
}

.team-single-section {
  height: auto !important;
  min-height: calc(100vh - var(--header-height)) !important;
  max-height: none !important;
  overflow: visible !important;
  align-items: flex-start !important;
  padding: clamp(28px, 4vh, 54px) 0 clamp(42px, 5vh, 70px) !important;
}

.team-page-inner,
.team-hero-inner {
  height: auto !important;
  justify-content: flex-start !important;
  gap: clamp(18px, 2.2vh, 30px) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.team-hero-heading {
  max-width: 1120px !important;
  margin-bottom: clamp(8px, 1.2vh, 16px) !important;
}

.team-hero-heading h1 {
  font-size: clamp(34px, 3.25vw, 56px) !important;
  line-height: 0.98 !important;
}

.team-hero-heading p {
  max-width: 980px !important;
  font-size: clamp(14px, 0.95vw, 17px) !important;
  line-height: 1.34 !important;
}

.team-hero-grid {
  max-width: 1320px !important;
  gap: clamp(22px, 2.5vh, 34px) !important;
}

.team-hero-card {
  width: 100% !important;
  height: auto !important;
  min-height: clamp(330px, 38vh, 430px) !important;
  display: grid !important;
  grid-template-columns: minmax(285px, 340px) minmax(0, 1fr) !important;
  align-items: stretch !important;
  overflow: hidden !important;
  border-radius: 32px !important;
}

.team-hero-image {
  height: auto !important;
  min-height: 100% !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  border-right: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-bottom: 0 !important;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.26), transparent 42%),
    linear-gradient(135deg, rgba(232, 241, 248, 0.96), rgba(196, 215, 228, 0.82)) !important;
}

.team-hero-image::after {
  background: linear-gradient(90deg, rgba(6, 31, 69, 0.00), rgba(6, 31, 69, 0.09)) !important;
}

.team-hero-image img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  transform: none !important;
}

.team-hero-card:nth-child(1) .team-hero-image img {
  object-position: center 58% !important;
}

.team-hero-card:nth-child(2) .team-hero-image img {
  object-position: center 48% !important;
}

.team-hero-copy {
  justify-content: center !important;
  padding: clamp(28px, 2.4vw, 44px) clamp(34px, 3.2vw, 58px) !important;
  overflow: visible !important;
}

.team-role-kicker {
  margin-bottom: 10px !important;
  font-size: clamp(12px, 0.85vw, 14px) !important;
}

.team-hero-copy h2 {
  font-size: clamp(40px, 3.2vw, 62px) !important;
  line-height: 0.96 !important;
}

.team-hero-copy span {
  margin-top: 10px !important;
  font-size: clamp(14px, 0.95vw, 17px) !important;
}

.team-hero-copy p:not(.team-role-kicker) {
  max-width: 800px !important;
  margin-top: 14px !important;
  font-size: clamp(14px, 0.9vw, 16px) !important;
  line-height: 1.47 !important;
}

@media (max-height: 820px) and (min-width: 981px) {
  .team-single-section {
    padding-top: 22px !important;
  }

  .team-hero-heading h1 {
    font-size: clamp(30px, 2.7vw, 46px) !important;
  }

  .team-hero-heading p {
    font-size: 13.5px !important;
  }

  .team-hero-card {
    min-height: 310px !important;
    grid-template-columns: minmax(260px, 310px) minmax(0, 1fr) !important;
  }

  .team-hero-copy {
    padding: 24px 40px !important;
  }

  .team-hero-copy h2 {
    font-size: clamp(34px, 2.55vw, 48px) !important;
  }

  .team-hero-copy p:not(.team-role-kicker) {
    font-size: 13px !important;
    line-height: 1.38 !important;
  }
}

@media (max-width: 980px) {
  .team-hero-card {
    grid-template-columns: 1fr !important;
  }

  .team-hero-image {
    height: 380px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
  }

  .team-hero-image img {
    object-fit: cover !important;
  }
}

@media (max-width: 680px) {
  .team-hero-image {
    height: 320px !important;
  }

  .team-hero-copy {
    padding: 26px 22px !important;
  }

  .team-hero-copy h2 {
    font-size: 34px !important;
  }
}

/* V81 Team page: both leaders visible on one screen with stronger profile cards */
body.inner-body:has(.team-page-main) {
  overflow: hidden !important;
}

.team-page-main {
  height: 100vh !important;
  min-height: 100vh !important;
  max-height: 100vh !important;
  padding-top: var(--header-height) !important;
  overflow: hidden !important;
}

.team-single-section {
  height: calc(100vh - var(--header-height)) !important;
  min-height: calc(100vh - var(--header-height)) !important;
  max-height: calc(100vh - var(--header-height)) !important;
  overflow: hidden !important;
  align-items: center !important;
  padding: clamp(18px, 2.4vh, 30px) 0 clamp(18px, 2.4vh, 30px) !important;
}

.team-page-inner,
.team-hero-inner {
  height: 100% !important;
  max-width: 1480px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: clamp(14px, 1.8vh, 22px) !important;
}

.team-hero-heading {
  max-width: 1120px !important;
  margin: 0 auto !important;
}

.team-hero-heading .eyebrow {
  margin-bottom: 4px !important;
}

.team-hero-heading h1 {
  font-size: clamp(34px, 3.05vw, 56px) !important;
  line-height: 0.92 !important;
}

.team-hero-heading p {
  max-width: 920px !important;
  margin-top: 12px !important;
  font-size: clamp(13px, 0.9vw, 16px) !important;
  line-height: 1.28 !important;
}

.team-hero-grid {
  width: min(1350px, 88vw) !important;
  max-width: 1350px !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(26px, 3vw, 46px) !important;
  align-items: stretch !important;
  margin: 0 auto !important;
}

.team-hero-card {
  height: clamp(450px, 57vh, 555px) !important;
  min-height: 0 !important;
  max-height: 555px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-radius: 30px !important;
}

.team-hero-image {
  width: 100% !important;
  height: clamp(185px, 24vh, 245px) !important;
  min-height: 0 !important;
  flex: 0 0 clamp(185px, 24vh, 245px) !important;
  border-right: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.team-hero-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: none !important;
}

.team-hero-card:nth-child(1) .team-hero-image img {
  object-position: center 38% !important;
}

.team-hero-card:nth-child(2) .team-hero-image img {
  object-position: center 44% !important;
}

.team-hero-copy {
  flex: 1 1 auto !important;
  justify-content: flex-start !important;
  padding: clamp(22px, 2vw, 34px) clamp(28px, 2.8vw, 46px) !important;
  overflow: hidden !important;
}

.team-role-kicker {
  margin-bottom: 7px !important;
  font-size: clamp(11px, 0.78vw, 13px) !important;
  letter-spacing: 0.22em !important;
}

.team-hero-copy h2 {
  font-size: clamp(36px, 2.75vw, 52px) !important;
  line-height: 0.92 !important;
}

.team-hero-copy span {
  margin-top: 9px !important;
  font-size: clamp(13px, 0.9vw, 16px) !important;
}

.team-hero-copy p:not(.team-role-kicker) {
  max-width: none !important;
  margin-top: 12px !important;
  font-size: clamp(12.5px, 0.82vw, 15px) !important;
  line-height: 1.36 !important;
}

@media (max-height: 820px) and (min-width: 981px) {
  .team-single-section {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  .team-page-inner,
  .team-hero-inner {
    gap: 12px !important;
  }

  .team-hero-heading h1 {
    font-size: clamp(30px, 2.65vw, 44px) !important;
  }

  .team-hero-heading p {
    margin-top: 8px !important;
    font-size: 12.5px !important;
  }

  .team-hero-card {
    height: clamp(400px, 58vh, 470px) !important;
  }

  .team-hero-image {
    height: clamp(155px, 22vh, 190px) !important;
    flex-basis: clamp(155px, 22vh, 190px) !important;
  }

  .team-hero-copy {
    padding: 18px 30px !important;
  }

  .team-hero-copy h2 {
    font-size: clamp(30px, 2.25vw, 40px) !important;
  }

  .team-hero-copy span {
    font-size: 12.5px !important;
  }

  .team-hero-copy p:not(.team-role-kicker) {
    margin-top: 9px !important;
    font-size: 11.8px !important;
    line-height: 1.28 !important;
  }
}

@media (max-width: 980px) {
  body.inner-body:has(.team-page-main),
  .team-page-main,
  .team-single-section {
    height: auto !important;
    min-height: 100vh !important;
    max-height: none !important;
    overflow: auto !important;
  }

  .team-hero-grid {
    width: min(92vw, 720px) !important;
    grid-template-columns: 1fr !important;
  }

  .team-hero-card {
    height: auto !important;
    max-height: none !important;
  }

  .team-hero-image {
    height: 320px !important;
    flex-basis: 320px !important;
  }

  .team-hero-copy {
    overflow: visible !important;
  }
}

/* V82 Team crop and spacing fix */
@media (min-width: 981px) {
  .team-hero-grid {
    width: min(1420px, 90vw) !important;
    gap: clamp(28px, 3vw, 52px) !important;
  }

  .team-hero-card {
    height: clamp(430px, 55vh, 500px) !important;
    max-height: 500px !important;
  }

  .team-hero-image {
    height: clamp(150px, 20vh, 190px) !important;
    flex-basis: clamp(150px, 20vh, 190px) !important;
  }

  .team-hero-card:nth-child(1) .team-hero-image img {
    object-position: center 6% !important;
  }

  .team-hero-card:nth-child(2) .team-hero-image img {
    object-position: center 0% !important;
  }

  .team-hero-copy {
    justify-content: flex-start !important;
    padding: clamp(14px, 1.4vw, 22px) clamp(30px, 3vw, 50px) clamp(16px, 1.7vw, 24px) !important;
    overflow: hidden !important;
  }

  .team-role-kicker {
    margin: 0 0 5px !important;
  }

  .team-hero-copy h2 {
    margin: 0 !important;
    font-size: clamp(34px, 2.55vw, 48px) !important;
  }

  .team-hero-copy span {
    margin-top: 7px !important;
  }

  .team-hero-copy p:not(.team-role-kicker) {
    margin-top: 10px !important;
    font-size: clamp(12px, 0.78vw, 14px) !important;
    line-height: 1.32 !important;
  }
}

@media (max-height: 820px) and (min-width: 981px) {
  .team-hero-card {
    height: clamp(385px, 56vh, 440px) !important;
    max-height: 440px !important;
  }

  .team-hero-image {
    height: clamp(130px, 19vh, 165px) !important;
    flex-basis: clamp(130px, 19vh, 165px) !important;
  }

  .team-hero-card:nth-child(1) .team-hero-image img {
    object-position: center 6% !important;
  }

  .team-hero-card:nth-child(2) .team-hero-image img {
    object-position: center 0% !important;
  }

  .team-hero-copy {
    padding: 12px 30px 16px !important;
  }

  .team-role-kicker {
    margin-bottom: 4px !important;
  }

  .team-hero-copy h2 {
    font-size: clamp(30px, 2.25vw, 39px) !important;
  }

  .team-hero-copy span {
    margin-top: 5px !important;
    font-size: 12.5px !important;
  }

  .team-hero-copy p:not(.team-role-kicker) {
    margin-top: 8px !important;
    font-size: 11.7px !important;
    line-height: 1.26 !important;
  }
}

/* V85 Team background overlay reduction only */
.team-page-main {
  background:
    linear-gradient(90deg, rgba(2, 10, 22, 0.58) 0%, rgba(2, 10, 22, 0.44) 48%, rgba(2, 10, 22, 0.32) 100%),
    url("assets/team.webp") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.team-single-section::before {
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 159, 227, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(2, 10, 22, 0.04), rgba(2, 10, 22, 0.20)) !important;
}

.team-single-section::after {
  opacity: 0.12 !important;
}

@media (max-width: 980px) {
  .team-page-main {
    background:
      linear-gradient(180deg, rgba(2, 10, 22, 0.66), rgba(2, 10, 22, 0.48)),
      url("assets/team.webp") !important;
    background-size: cover !important;
    background-position: center center !important;
  }
}

/* V86 Services background image overlay reduction only */
.services-hub-page .what-we-do-section,
.services-hub-page .services-hub-section.what-we-do-section,
.services-hub-page .services-hub-section:not(.services-partner-section).what-we-do-section {
  background:
    linear-gradient(90deg, rgba(2, 10, 22, 0.56) 0%, rgba(2, 10, 22, 0.44) 48%, rgba(2, 10, 22, 0.28) 100%),
    url("assets/service 1.webp") !important;
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
}

.services-hub-page .what-we-do-section::before {
  background:
    linear-gradient(180deg, rgba(2, 10, 22, 0.02), rgba(2, 10, 22, 0.18)) !important;
}

.services-hub-page .services-bottom-cta {
  background:
    linear-gradient(90deg, rgba(2, 10, 22, 0.58) 0%, rgba(2, 10, 22, 0.44) 48%, rgba(2, 10, 22, 0.28) 100%),
    url("assets/service2.webp") !important;
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
}

.services-hub-page .services-bottom-cta::before {
  background:
    linear-gradient(180deg, rgba(2, 10, 22, 0.02), rgba(2, 10, 22, 0.18)) !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(1),
.services-hub-page .services-partner-section .services-hub-card:nth-child(2),
.services-hub-page .services-partner-section .services-hub-card:nth-child(3),
.services-hub-page .services-partner-section .services-hub-card:nth-child(4),
.services-hub-page .services-partner-section .services-hub-card:nth-child(5) {
  background-blend-mode: normal !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(1) {
  background-image:
    linear-gradient(135deg, rgba(2, 10, 22, 0.56), rgba(2, 10, 22, 0.42)),
    url("assets/uservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(2) {
  background-image:
    linear-gradient(135deg, rgba(2, 10, 22, 0.56), rgba(2, 10, 22, 0.42)),
    url("assets/iservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(3) {
  background-image:
    linear-gradient(135deg, rgba(2, 10, 22, 0.56), rgba(2, 10, 22, 0.42)),
    url("assets/fservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(4) {
  background-image:
    linear-gradient(135deg, rgba(2, 10, 22, 0.56), rgba(2, 10, 22, 0.42)),
    url("assets/vservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(5) {
  background-image:
    linear-gradient(135deg, rgba(2, 10, 22, 0.56), rgba(2, 10, 22, 0.42)),
    url("assets/sservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card::after {
  background:
    linear-gradient(180deg, rgba(2, 10, 22, 0.04), rgba(2, 10, 22, 0.18)) !important;
}

@media (max-width: 980px) {
  .services-hub-page .what-we-do-section,
  .services-hub-page .services-hub-section.what-we-do-section,
  .services-hub-page .services-hub-section:not(.services-partner-section).what-we-do-section,
  .services-hub-page .services-bottom-cta {
    background:
      linear-gradient(180deg, rgba(2, 10, 22, 0.62), rgba(2, 10, 22, 0.46)),
      url("assets/service 1.webp") !important;
    background-size: cover !important;
    background-position: center !important;
  }
}

/* V87: How We Help background aligned with main Hackles & Co visual system */
.how-v64-main {
  background:
    linear-gradient(90deg, rgba(4, 18, 39, 0.84) 0%, rgba(4, 18, 39, 0.74) 48%, rgba(4, 18, 39, 0.62) 100%),
    url("assets/about.webp") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.how-v64-section::before {
  opacity: 1 !important;
  background:
    radial-gradient(circle at 12% 22%, rgba(0, 159, 227, 0.16), transparent 34%),
    radial-gradient(circle at 84% 70%, rgba(141, 221, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(4, 18, 39, 0.18), rgba(4, 18, 39, 0.42)) !important;
}

.how-v64-section::after {
  opacity: 0.20 !important;
  top: 15% !important;
  right: 5% !important;
  width: 42vw !important;
  height: 68% !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(141, 221, 255, 0.035)) !important;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.10),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}

.how-v64-left .eyebrow {
  color: #8bddff !important;
}

.how-v64-left h1 {
  color: var(--white) !important;
  text-shadow: 0 18px 42px rgba(2, 17, 40, 0.32) !important;
}

.how-v64-left > p {
  color: rgba(255, 255, 255, 0.82) !important;
}

.how-v64-highlight,
.how-v64-mini-grid div {
  background: rgba(8, 30, 58, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow:
    0 24px 62px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.045) !important;
  backdrop-filter: blur(14px) !important;
}

.how-v64-highlight strong,
.how-v64-mini-grid strong {
  color: var(--white) !important;
}

.how-v64-highlight span {
  color: rgba(255, 255, 255, 0.74) !important;
}

.how-v64-mini-grid span {
  color: #8bddff !important;
}


/* V88: About + How We Help background visibility increase only */
.about-page-main {
  background:
    linear-gradient(90deg, rgba(4, 18, 39, 0.54) 0%, rgba(4, 18, 39, 0.42) 46%, rgba(4, 18, 39, 0.28) 100%),
    url("assets/about.webp") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.about-single-section::before {
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 159, 227, 0.06), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(141, 221, 255, 0.04), transparent 34%),
    linear-gradient(180deg, rgba(4, 18, 39, 0.04), rgba(4, 18, 39, 0.18)) !important;
}

.about-single-section::after {
  opacity: 0.10 !important;
}

.how-v64-main {
  background:
    linear-gradient(90deg, rgba(4, 18, 39, 0.54) 0%, rgba(4, 18, 39, 0.42) 48%, rgba(4, 18, 39, 0.28) 100%),
    url("assets/about.webp") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.how-v64-section::before {
  opacity: 1 !important;
  background:
    radial-gradient(circle at 12% 22%, rgba(0, 159, 227, 0.06), transparent 34%),
    radial-gradient(circle at 84% 70%, rgba(141, 221, 255, 0.035), transparent 34%),
    linear-gradient(180deg, rgba(4, 18, 39, 0.04), rgba(4, 18, 39, 0.18)) !important;
}

.how-v64-section::after {
  opacity: 0.08 !important;
}

@media (max-width: 980px) {
  .about-page-main {
    background:
      linear-gradient(180deg, rgba(4, 18, 39, 0.58), rgba(4, 18, 39, 0.40)),
      url("assets/about.webp") !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  .how-v64-main {
    background:
      linear-gradient(180deg, rgba(4, 18, 39, 0.58), rgba(4, 18, 39, 0.40)),
      url("assets/about.webp") !important;
    background-size: cover !important;
    background-position: center center !important;
  }
}

/* V89: Unified dark glass card system across the website */
:root {
  --hc-card-bg: linear-gradient(135deg, rgba(72, 72, 72, 0.72), rgba(10, 16, 24, 0.78));
  --hc-card-bg-strong: linear-gradient(135deg, rgba(78, 78, 78, 0.76), rgba(8, 14, 22, 0.84));
  --hc-card-border: rgba(255, 255, 255, 0.22);
  --hc-card-shadow: 0 26px 76px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.hero-summary-card,
.service-card,
.step-card,
.services-hub-card,
.services-group-heading,
.services-cta-card,
.final-support-card,
.service-detail-card,
.about-main-card,
.about-small-card,
.about-team-strip,
.how-v64-highlight,
.how-v64-mini-grid div,
.how-v64-process-card,
.team-profile-card,
.team-hero-card,
.contact-form {
  background: var(--hc-card-bg) !important;
  border: 1px solid var(--hc-card-border) !important;
  box-shadow: var(--hc-card-shadow) !important;
  backdrop-filter: blur(18px) saturate(118%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(118%) !important;
  color: var(--white) !important;
}

.hero-summary-card strong,
.service-card h2,
.step-card h2,
.services-hub-card h3,
.services-group-heading h2,
.services-cta-card h2,
.final-support-card h3,
.service-detail-card h3,
.about-main-card h2,
.about-small-card h3,
.about-team-strip strong,
.how-v64-highlight strong,
.how-v64-mini-grid strong,
.how-v64-process-card h3,
.how-v64-process-head strong,
.team-profile-card h2,
.team-hero-card h2,
.contact-form label {
  color: var(--white) !important;
}

.hero-summary-card span,
.service-card p,
.step-card p,
.services-hub-card p,
.services-group-heading p:not(.eyebrow),
.services-cta-card p:not(.eyebrow),
.final-support-card p,
.service-detail-card p,
.about-main-card p,
.about-small-card p,
.about-team-strip span,
.how-v64-highlight span,
.how-v64-mini-grid span,
.how-v64-process-card p,
.team-profile-card p,
.team-hero-card p,
.team-profile-card span,
.team-hero-card span,
.contact-form input,
.contact-form textarea {
  color: rgba(255, 255, 255, 0.82) !important;
}

.services-hub-card strong,
.service-detail-card a,
.hero-summary-card a,
.about-card-kicker,
.team-role-kicker,
.how-v64-process-head span,
.how-v64-mini-grid span,
.contact-form .button-primary,
.services-group-heading .eyebrow,
.services-cta-card .eyebrow,
.final-cta-card .eyebrow,
.about-main-card .about-card-kicker,
.about-small-card .eyebrow {
  color: #8bddff !important;
}

.services-hub-card::before,
.service-detail-card::before,
.about-main-card::before,
.about-small-card::before,
.team-profile-card::before,
.team-hero-card::before,
.final-support-card::before {
  background: radial-gradient(circle at 78% 14%, rgba(255, 255, 255, 0.13), transparent 36%) !important;
}

.services-hub-page .services-hub-section:not(.services-partner-section) .services-hub-card,
.services-hub-page .services-hub-section:not(.services-partner-section) .services-group-heading {
  background: var(--hc-card-bg) !important;
  border-color: var(--hc-card-border) !important;
  box-shadow: var(--hc-card-shadow) !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(1) {
  background-image:
    linear-gradient(135deg, rgba(72, 72, 72, 0.72), rgba(10, 16, 24, 0.78)),
    url("assets/uservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(2) {
  background-image:
    linear-gradient(135deg, rgba(72, 72, 72, 0.72), rgba(10, 16, 24, 0.78)),
    url("assets/iservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(3) {
  background-image:
    linear-gradient(135deg, rgba(72, 72, 72, 0.72), rgba(10, 16, 24, 0.78)),
    url("assets/fservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(4) {
  background-image:
    linear-gradient(135deg, rgba(72, 72, 72, 0.72), rgba(10, 16, 24, 0.78)),
    url("assets/vservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(5) {
  background-image:
    linear-gradient(135deg, rgba(72, 72, 72, 0.72), rgba(10, 16, 24, 0.78)),
    url("assets/sservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card,
.services-hub-page .services-partner-section .services-hub-card:nth-child(1),
.services-hub-page .services-partner-section .services-hub-card:nth-child(2),
.services-hub-page .services-partner-section .services-hub-card:nth-child(3),
.services-hub-page .services-partner-section .services-hub-card:nth-child(4),
.services-hub-page .services-partner-section .services-hub-card:nth-child(5) {
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: normal !important;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  color: var(--navy-deep) !important;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(6, 31, 69, 0.55) !important;
}

.contact-form .button-primary {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy)) !important;
  color: var(--white) !important;
}


/* V90: Contact page aligned with the Hackles & Co dark image system */
.contact-page-main {
  min-height: calc(100vh - var(--header-height));
  background:
    linear-gradient(90deg, rgba(4, 18, 39, 0.52) 0%, rgba(4, 18, 39, 0.36) 44%, rgba(4, 18, 39, 0.54) 100%),
    url("assets/about.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.contact-full-section {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: clamp(46px, 6vh, 76px) 0;
  position: relative;
  overflow: hidden;
}

.contact-full-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 159, 227, 0.10), transparent 32%),
    radial-gradient(circle at 86% 72%, rgba(141, 221, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(4, 18, 39, 0.08), rgba(4, 18, 39, 0.26));
}

.contact-full-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 560px);
  gap: clamp(42px, 5vw, 76px);
  align-items: center;
}

.contact-copy {
  max-width: 760px;
}

.contact-copy .eyebrow {
  margin-bottom: 14px;
}

.contact-copy h1 {
  margin: 0;
  color: var(--white);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: clamp(58px, 6vw, 96px);
  line-height: 0.98;
  letter-spacing: 0.025em;
  word-spacing: 0.06em;
  font-weight: 900;
  text-shadow: 0 16px 46px rgba(0, 0, 0, 0.30);
}

.contact-copy > p {
  max-width: 730px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 22px;
  line-height: 1.55;
  font-weight: 650;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.26);
}

.contact-summary-card {
  max-width: 440px;
  margin-top: 34px;
}

.contact-form-panel {
  max-width: none !important;
  width: 100%;
  padding: clamp(30px, 3vw, 42px) !important;
  border-radius: 34px !important;
}

.contact-form-panel label {
  color: var(--white) !important;
}

.contact-form-panel .button-primary {
  min-height: 58px;
  width: 100%;
  border-radius: 999px;
}

@media (max-width: 980px) {
  .contact-full-section {
    min-height: auto;
    padding: 46px 0 70px;
  }

  .contact-full-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-copy h1 {
    font-size: clamp(44px, 13vw, 72px);
  }

  .contact-copy > p {
    font-size: 18px;
  }

  .contact-summary-card {
    max-width: none;
  }
}


/* V91: Contact page fixed to non-scroll desktop layout */
@media (min-width: 981px) {
  body:has(.contact-page-main) {
    overflow: hidden;
  }

  .contact-page-main + .site-footer {
    display: none;
  }

  .contact-page-main {
    height: calc(100vh - var(--header-height));
    min-height: 0;
  }

  .contact-full-section {
    height: calc(100vh - var(--header-height));
    min-height: 0;
    padding: clamp(26px, 3.2vh, 44px) 0;
  }

  .contact-full-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(390px, 520px);
    gap: clamp(34px, 4.2vw, 62px);
    align-items: center;
  }

  .contact-copy h1 {
    font-size: clamp(54px, 5vw, 82px);
    line-height: 0.96;
  }

  .contact-copy > p {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.46;
    max-width: 690px;
  }

  .contact-summary-card {
    margin-top: 24px;
    max-width: 410px;
    padding: 24px 26px !important;
  }

  .contact-form-panel {
    padding: 26px 30px !important;
    border-radius: 30px !important;
  }

  .contact-form-panel .form-row {
    gap: 16px;
  }

  .contact-form-panel label {
    gap: 8px;
    font-size: 13px;
  }

  .contact-form-panel input {
    min-height: 48px;
    padding: 13px 16px !important;
  }

  .contact-form-panel textarea {
    min-height: 126px;
    max-height: 126px;
    padding: 14px 16px !important;
  }

  .contact-form-panel .button-primary {
    min-height: 52px;
    margin-top: 2px;
  }
}

/* V92: Contact page full-screen finish */
@media (min-width: 981px) {
  .contact-page-main {
    padding-top: 0 !important;
    margin-top: var(--header-height) !important;
    height: calc(100vh - var(--header-height)) !important;
    min-height: calc(100vh - var(--header-height)) !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  .contact-full-section {
    height: 100% !important;
    min-height: 100% !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  .contact-full-grid {
    height: 100% !important;
    align-items: center !important;
  }

  .contact-summary-card {
    margin-top: 18px !important;
  }
}

/* V94: Utilities detail page, cleaner one-screen offer */
.utility-detail-body {
  overflow: hidden;
}

.utility-one-page {
  min-height: calc(100vh - var(--header-height));
  margin-top: var(--header-height);
  background:
    linear-gradient(90deg, rgba(4, 12, 26, 0.42) 0%, rgba(4, 12, 26, 0.18) 45%, rgba(4, 12, 26, 0.42) 100%),
    url("assets/u2.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.utility-hero-section {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  position: relative;
}

.utility-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(0, 159, 227, 0.08), transparent 34%),
    radial-gradient(circle at 78% 70%, rgba(255, 255, 255, 0.06), transparent 34%),
    linear-gradient(180deg, rgba(3, 10, 22, 0.08), rgba(3, 10, 22, 0.22));
  pointer-events: none;
}

.utility-hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(420px, 0.86fr) minmax(560px, 1fr);
  gap: clamp(34px, 4vw, 64px);
  align-items: center;
}

.utility-copy-card {
  max-width: 640px;
  padding: clamp(32px, 3.4vw, 48px);
  border-radius: 34px;
  background: rgba(23, 27, 32, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: var(--hc-card-shadow);
  backdrop-filter: blur(18px) saturate(118%);
  -webkit-backdrop-filter: blur(18px) saturate(118%);
}

.utility-copy-card h1 {
  margin: 0;
  color: var(--white);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: clamp(56px, 4.7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0.026em;
  word-spacing: 0.06em;
  font-weight: 900;
  text-shadow: 0 16px 46px rgba(0, 0, 0, 0.32);
}

.utility-copy-card p:not(.eyebrow) {
  max-width: 560px;
  margin: 24px 0 28px;
  color: rgba(255, 255, 255, 0.90);
  font-size: 19px;
  line-height: 1.5;
  font-weight: 650;
}

.utility-services-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.utility-service-tile {
  min-height: 190px;
  padding: 30px;
  border-radius: 28px;
  background: rgba(23, 27, 32, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: var(--hc-card-shadow);
  backdrop-filter: blur(18px) saturate(118%);
  -webkit-backdrop-filter: blur(18px) saturate(118%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.utility-service-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.14), transparent 38%);
  pointer-events: none;
}

.utility-service-tile h2,
.utility-service-tile p {
  position: relative;
  z-index: 1;
}

.utility-service-tile h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-family: 'Yapari', Impact, sans-serif;
  font-size: clamp(36px, 2.7vw, 50px);
  line-height: 0.95;
  letter-spacing: 0.025em;
}

.utility-service-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 650;
}

.utility-detail-body .site-footer {
  display: none;
}

@media (max-width: 980px) {
  .utility-detail-body {
    overflow: auto;
  }

  .utility-one-page {
    margin-top: var(--header-height);
    min-height: auto;
    overflow: visible;
  }

  .utility-hero-section {
    min-height: auto;
    padding: 70px 0;
  }

  .utility-hero-grid {
    grid-template-columns: 1fr;
  }

  .utility-services-panel {
    grid-template-columns: 1fr;
  }
}


/* V95: Utilities page expanded to full utility stack while staying one-screen */
.utility-hero-grid {
  grid-template-columns: minmax(380px, 0.78fr) minmax(680px, 1.12fr) !important;
  gap: clamp(26px, 3vw, 46px) !important;
}

.utility-copy-card {
  max-width: 590px !important;
  padding: clamp(28px, 3vw, 42px) !important;
}

.utility-copy-card h1 {
  font-size: clamp(52px, 4.25vw, 76px) !important;
}

.utility-copy-card p:not(.eyebrow) {
  margin: 22px 0 26px !important;
  font-size: 18px !important;
  line-height: 1.45 !important;
}

.utility-services-panel {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.utility-service-tile {
  min-height: 152px !important;
  padding: 24px 22px !important;
  border-radius: 24px !important;
  justify-content: center !important;
}

.utility-service-tile h2 {
  font-size: clamp(30px, 2.25vw, 42px) !important;
  margin-bottom: 11px !important;
}

.utility-service-tile p {
  font-size: 15.5px !important;
  line-height: 1.38 !important;
}

@media (max-width: 1180px) {
  .utility-hero-grid {
    grid-template-columns: minmax(350px, 0.86fr) minmax(560px, 1fr) !important;
  }

  .utility-services-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .utility-service-tile {
    min-height: 132px !important;
  }
}

@media (max-width: 980px) {
  .utility-services-panel {
    grid-template-columns: 1fr !important;
  }
}


/* V96: Utilities cards widened and cleaned so all six utility areas fit properly */
.utility-hero-grid {
  grid-template-columns: minmax(390px, 0.82fr) minmax(620px, 1fr) !important;
  gap: clamp(30px, 3.2vw, 54px) !important;
  align-items: center !important;
}

.utility-copy-card {
  max-width: 600px !important;
  padding: clamp(30px, 3vw, 44px) !important;
}

.utility-copy-card h1 {
  font-size: clamp(50px, 4.15vw, 74px) !important;
  line-height: 0.96 !important;
}

.utility-copy-card p:not(.eyebrow) {
  max-width: 500px !important;
  font-size: 17px !important;
  line-height: 1.45 !important;
  margin: 22px 0 26px !important;
}

.utility-services-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-content: center !important;
}

.utility-service-tile {
  min-height: 128px !important;
  padding: 22px 24px !important;
  border-radius: 24px !important;
  justify-content: center !important;
}

.utility-service-tile h2 {
  font-size: clamp(31px, 2.1vw, 40px) !important;
  line-height: 0.95 !important;
  margin-bottom: 10px !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
}

.utility-service-tile p {
  font-size: 15px !important;
  line-height: 1.35 !important;
  max-width: 95% !important;
}

@media (max-width: 1180px) {
  .utility-hero-grid {
    grid-template-columns: minmax(350px, 0.85fr) minmax(520px, 1fr) !important;
  }

  .utility-services-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 980px) {
  .utility-services-panel {
    grid-template-columns: 1fr !important;
  }
}


/* V97: Matching one-page layout for core arranged service detail pages */
.service-stack-body .site-footer {
  display: none;
}

.service-stack-one-page {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.business-insurance-detail-body .service-stack-one-page {
  background-image:
    linear-gradient(90deg, rgba(4, 12, 26, 0.40) 0%, rgba(4, 12, 26, 0.16) 45%, rgba(4, 12, 26, 0.40) 100%),
    url("assets/i2.webp");
}

.fractional-detail-body .service-stack-one-page {
  background-image:
    linear-gradient(90deg, rgba(4, 12, 26, 0.40) 0%, rgba(4, 12, 26, 0.16) 45%, rgba(4, 12, 26, 0.40) 100%),
    url("assets/f2.webp");
}

.vehicle-security-detail-body .service-stack-one-page {
  background-image:
    linear-gradient(90deg, rgba(4, 12, 26, 0.40) 0%, rgba(4, 12, 26, 0.16) 45%, rgba(4, 12, 26, 0.40) 100%),
    url("assets/v2.webp");
}

.specialist-detail-body .service-stack-one-page {
  background-image:
    linear-gradient(90deg, rgba(4, 12, 26, 0.40) 0%, rgba(4, 12, 26, 0.16) 45%, rgba(4, 12, 26, 0.40) 100%),
    url("assets/s2.webp");
}

.service-stack-body .utility-copy-card h1 {
  font-size: clamp(48px, 4vw, 72px) !important;
}

.service-stack-body .utility-service-tile h2 {
  font-size: clamp(29px, 2vw, 38px) !important;
}

.service-stack-body .utility-service-tile p {
  font-size: 14.8px !important;
  line-height: 1.34 !important;
}


/* V98: Force arranged service detail pages to match the utilities one-screen layout */
.business-insurance-detail-body,
.fractional-detail-body,
.vehicle-security-detail-body,
.specialist-detail-body {
  overflow: hidden !important;
}

.business-insurance-detail-body .utility-one-page,
.fractional-detail-body .utility-one-page,
.vehicle-security-detail-body .utility-one-page,
.specialist-detail-body .utility-one-page {
  min-height: calc(100vh - var(--header-height)) !important;
  height: calc(100vh - var(--header-height)) !important;
  margin-top: var(--header-height) !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.business-insurance-detail-body .utility-one-page {
  background-image:
    linear-gradient(90deg, rgba(4, 12, 26, 0.42) 0%, rgba(4, 12, 26, 0.16) 48%, rgba(4, 12, 26, 0.44) 100%),
    url("assets/i2.webp") !important;
}

.fractional-detail-body .utility-one-page {
  background-image:
    linear-gradient(90deg, rgba(4, 12, 26, 0.42) 0%, rgba(4, 12, 26, 0.16) 48%, rgba(4, 12, 26, 0.44) 100%),
    url("assets/f2.webp") !important;
}

.vehicle-security-detail-body .utility-one-page {
  background-image:
    linear-gradient(90deg, rgba(4, 12, 26, 0.42) 0%, rgba(4, 12, 26, 0.16) 48%, rgba(4, 12, 26, 0.44) 100%),
    url("assets/v2.webp") !important;
}

.specialist-detail-body .utility-one-page {
  background-image:
    linear-gradient(90deg, rgba(4, 12, 26, 0.42) 0%, rgba(4, 12, 26, 0.16) 48%, rgba(4, 12, 26, 0.44) 100%),
    url("assets/s2.webp") !important;
}

.business-insurance-detail-body .utility-hero-section,
.fractional-detail-body .utility-hero-section,
.vehicle-security-detail-body .utility-hero-section,
.specialist-detail-body .utility-hero-section {
  min-height: calc(100vh - var(--header-height)) !important;
  height: calc(100vh - var(--header-height)) !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.business-insurance-detail-body .site-footer,
.fractional-detail-body .site-footer,
.vehicle-security-detail-body .site-footer,
.specialist-detail-body .site-footer {
  display: none !important;
}

.business-insurance-detail-body .utility-hero-grid,
.fractional-detail-body .utility-hero-grid,
.vehicle-security-detail-body .utility-hero-grid,
.specialist-detail-body .utility-hero-grid {
  grid-template-columns: minmax(390px, 0.82fr) minmax(620px, 1fr) !important;
  gap: clamp(30px, 3.2vw, 54px) !important;
  align-items: center !important;
}

.business-insurance-detail-body .utility-copy-card,
.fractional-detail-body .utility-copy-card,
.vehicle-security-detail-body .utility-copy-card,
.specialist-detail-body .utility-copy-card {
  max-width: 600px !important;
  padding: clamp(30px, 3vw, 44px) !important;
}

.business-insurance-detail-body .utility-copy-card h1,
.fractional-detail-body .utility-copy-card h1,
.vehicle-security-detail-body .utility-copy-card h1,
.specialist-detail-body .utility-copy-card h1 {
  font-size: clamp(50px, 4.15vw, 74px) !important;
  line-height: 0.96 !important;
}

.business-insurance-detail-body .utility-copy-card p:not(.eyebrow),
.fractional-detail-body .utility-copy-card p:not(.eyebrow),
.vehicle-security-detail-body .utility-copy-card p:not(.eyebrow),
.specialist-detail-body .utility-copy-card p:not(.eyebrow) {
  max-width: 500px !important;
  font-size: 17px !important;
  line-height: 1.45 !important;
  margin: 22px 0 26px !important;
}

.business-insurance-detail-body .utility-services-panel,
.fractional-detail-body .utility-services-panel,
.vehicle-security-detail-body .utility-services-panel,
.specialist-detail-body .utility-services-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-content: center !important;
}

.business-insurance-detail-body .utility-service-tile,
.fractional-detail-body .utility-service-tile,
.vehicle-security-detail-body .utility-service-tile,
.specialist-detail-body .utility-service-tile {
  min-height: 128px !important;
  padding: 22px 24px !important;
  border-radius: 24px !important;
  justify-content: center !important;
}

.business-insurance-detail-body .utility-service-tile h2,
.fractional-detail-body .utility-service-tile h2,
.vehicle-security-detail-body .utility-service-tile h2,
.specialist-detail-body .utility-service-tile h2 {
  font-size: clamp(31px, 2.1vw, 40px) !important;
  line-height: 0.95 !important;
  margin-bottom: 10px !important;
  white-space: normal !important;
}

.business-insurance-detail-body .utility-service-tile p,
.fractional-detail-body .utility-service-tile p,
.vehicle-security-detail-body .utility-service-tile p,
.specialist-detail-body .utility-service-tile p {
  font-size: 15px !important;
  line-height: 1.35 !important;
  max-width: 95% !important;
}

@media (max-width: 980px) {
  .business-insurance-detail-body,
  .fractional-detail-body,
  .vehicle-security-detail-body,
  .specialist-detail-body {
    overflow: auto !important;
  }

  .business-insurance-detail-body .utility-one-page,
  .fractional-detail-body .utility-one-page,
  .vehicle-security-detail-body .utility-one-page,
  .specialist-detail-body .utility-one-page {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
  }
}

/* V99: stop arranged service page card headings/text from clipping */
.business-insurance-detail-body .utility-services-panel,
.fractional-detail-body .utility-services-panel,
.vehicle-security-detail-body .utility-services-panel,
.specialist-detail-body .utility-services-panel {
  grid-template-columns: repeat(2, minmax(300px, 1fr)) !important;
  gap: 16px !important;
  max-width: 720px !important;
  width: 100% !important;
}

.business-insurance-detail-body .utility-service-tile,
.fractional-detail-body .utility-service-tile,
.vehicle-security-detail-body .utility-service-tile,
.specialist-detail-body .utility-service-tile {
  min-height: 126px !important;
  padding: 20px 22px !important;
  overflow: hidden !important;
}

.business-insurance-detail-body .utility-service-tile h2,
.fractional-detail-body .utility-service-tile h2,
.vehicle-security-detail-body .utility-service-tile h2,
.specialist-detail-body .utility-service-tile h2 {
  font-size: clamp(27px, 1.72vw, 34px) !important;
  line-height: 0.98 !important;
  letter-spacing: 0.018em !important;
  margin-bottom: 9px !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

.business-insurance-detail-body .utility-service-tile p,
.fractional-detail-body .utility-service-tile p,
.vehicle-security-detail-body .utility-service-tile p,
.specialist-detail-body .utility-service-tile p {
  font-size: 14.2px !important;
  line-height: 1.32 !important;
  max-width: 100% !important;
}

.business-insurance-detail-body .utility-copy-card h1,
.fractional-detail-body .utility-copy-card h1,
.vehicle-security-detail-body .utility-copy-card h1,
.specialist-detail-body .utility-copy-card h1 {
  font-size: clamp(48px, 3.8vw, 68px) !important;
}


/* V100: Direct service detail pages matched to utility one-page layout */
.recruitment-detail-body,
.business-presence-detail-body,
.business-essentials-detail-body {
  overflow: hidden !important;
}

.recruitment-detail-body .utility-one-page,
.business-presence-detail-body .utility-one-page,
.business-essentials-detail-body .utility-one-page {
  min-height: calc(100vh - var(--header-height)) !important;
  height: calc(100vh - var(--header-height)) !important;
  margin-top: var(--header-height) !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.recruitment-detail-body .utility-one-page {
  background-image:
    linear-gradient(90deg, rgba(4, 12, 26, 0.46) 0%, rgba(4, 12, 26, 0.18) 48%, rgba(4, 12, 26, 0.46) 100%),
    url("assets/service3.webp") !important;
}

.business-presence-detail-body .utility-one-page {
  background-image:
    linear-gradient(90deg, rgba(4, 12, 26, 0.46) 0%, rgba(4, 12, 26, 0.18) 48%, rgba(4, 12, 26, 0.46) 100%),
    url("assets/service2.webp") !important;
}

.business-essentials-detail-body .utility-one-page {
  background-image:
    linear-gradient(90deg, rgba(4, 12, 26, 0.46) 0%, rgba(4, 12, 26, 0.18) 48%, rgba(4, 12, 26, 0.46) 100%),
    url("assets/service 1.webp") !important;
}

.recruitment-detail-body .utility-hero-section,
.business-presence-detail-body .utility-hero-section,
.business-essentials-detail-body .utility-hero-section {
  min-height: calc(100vh - var(--header-height)) !important;
  height: calc(100vh - var(--header-height)) !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.recruitment-detail-body .site-footer,
.business-presence-detail-body .site-footer,
.business-essentials-detail-body .site-footer {
  display: none !important;
}

.recruitment-detail-body .utility-hero-grid,
.business-presence-detail-body .utility-hero-grid,
.business-essentials-detail-body .utility-hero-grid {
  grid-template-columns: minmax(390px, 0.82fr) minmax(620px, 1fr) !important;
  gap: clamp(30px, 3.2vw, 54px) !important;
  align-items: center !important;
}

.recruitment-detail-body .utility-copy-card,
.business-presence-detail-body .utility-copy-card,
.business-essentials-detail-body .utility-copy-card {
  max-width: 600px !important;
  padding: clamp(30px, 3vw, 44px) !important;
}

.recruitment-detail-body .utility-copy-card h1,
.business-presence-detail-body .utility-copy-card h1,
.business-essentials-detail-body .utility-copy-card h1 {
  font-size: clamp(48px, 3.8vw, 68px) !important;
  line-height: 0.96 !important;
}

.recruitment-detail-body .utility-copy-card p:not(.eyebrow),
.business-presence-detail-body .utility-copy-card p:not(.eyebrow),
.business-essentials-detail-body .utility-copy-card p:not(.eyebrow) {
  max-width: 500px !important;
  font-size: 17px !important;
  line-height: 1.45 !important;
  margin: 22px 0 26px !important;
}

.recruitment-detail-body .utility-services-panel,
.business-presence-detail-body .utility-services-panel,
.business-essentials-detail-body .utility-services-panel {
  grid-template-columns: repeat(2, minmax(300px, 1fr)) !important;
  gap: 16px !important;
  max-width: 720px !important;
  width: 100% !important;
  align-content: center !important;
}

.recruitment-detail-body .utility-service-tile,
.business-presence-detail-body .utility-service-tile,
.business-essentials-detail-body .utility-service-tile {
  min-height: 126px !important;
  padding: 20px 22px !important;
  border-radius: 24px !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.recruitment-detail-body .utility-service-tile h2,
.business-presence-detail-body .utility-service-tile h2,
.business-essentials-detail-body .utility-service-tile h2 {
  font-size: clamp(27px, 1.72vw, 34px) !important;
  line-height: 0.98 !important;
  letter-spacing: 0.018em !important;
  margin-bottom: 9px !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

.recruitment-detail-body .utility-service-tile p,
.business-presence-detail-body .utility-service-tile p,
.business-essentials-detail-body .utility-service-tile p {
  font-size: 14.2px !important;
  line-height: 1.32 !important;
  max-width: 100% !important;
}

@media (max-width: 980px) {
  .recruitment-detail-body,
  .business-presence-detail-body,
  .business-essentials-detail-body {
    overflow: auto !important;
  }

  .recruitment-detail-body .utility-one-page,
  .business-presence-detail-body .utility-one-page,
  .business-essentials-detail-body .utility-one-page {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
  }
}

/* V101: remove blue-heavy Services sections and move CTA buttons to dark Hackles card tone */
.button-primary,
.nav-cta,
.services-hero-content .button,
.utility-copy-card .button,
.contact-form .button {
  color: #ffffff !important;
  background:
    linear-gradient(135deg, rgba(24, 28, 34, 0.98), rgba(52, 55, 58, 0.94)) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.30),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset !important;
}

.button-primary:hover,
.nav-cta:hover,
.services-hero-content .button:hover,
.utility-copy-card .button:hover,
.contact-form .button:hover {
  background:
    linear-gradient(135deg, rgba(38, 41, 45, 0.98), rgba(68, 70, 72, 0.95)) !important;
  transform: translateY(-1px);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset !important;
}

.services-hub-page .services-hero-cards-section {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.035) 28%, transparent 54%),
    linear-gradient(135deg, #05080d 0%, #10151c 48%, #1f2429 100%) !important;
}

.services-hub-page .services-hero-cards-section::before {
  background:
    radial-gradient(circle at 50% 42%, transparent 0%, transparent 44%, rgba(0, 0, 0, 0.26) 76%, rgba(0, 0, 0, 0.48) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34) 0%, transparent 30%, transparent 70%, rgba(0, 0, 0, 0.32) 100%) !important;
}

.services-hub-page .services-hero-cards-section::after {
  opacity: 0.20 !important;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(115deg, transparent 0%, transparent 43%, rgba(255, 255, 255, 0.075) 44%, transparent 45%, transparent 100%),
    linear-gradient(65deg, transparent 0%, transparent 52%, rgba(255, 255, 255, 0.06) 53%, transparent 54%, transparent 100%) !important;
  background-size: 74px 74px, 74px 74px, 100% 100%, 100% 100% !important;
}

.services-hub-page .services-hero-content::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.045) 34%, transparent 70%) !important;
}

.services-hub-page .services-hero-content .eyebrow,
.services-hub-page .services-partner-section .eyebrow,
.services-hub-page .what-we-do-section .eyebrow,
.what-we-do-heading .eyebrow,
.services-hub-page .services-partner-section .services-hub-card strong,
.services-hub-page .what-we-do-section .what-we-do-card strong {
  color: rgba(210, 222, 232, 0.92) !important;
}

.services-hub-page .what-we-do-section,
.services-hub-page .services-hub-section.what-we-do-section,
.services-hub-page .services-hub-section:not(.services-partner-section).what-we-do-section {
  background:
    linear-gradient(90deg, rgba(6, 8, 12, 0.72) 0%, rgba(12, 14, 18, 0.56) 46%, rgba(16, 18, 21, 0.34) 100%),
    url("assets/service 1.webp") !important;
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
}

.services-hub-page .what-we-do-section::before {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.075), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.34)) !important;
}

.services-hub-page .services-partner-section {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.035) 26%, transparent 50%),
    linear-gradient(135deg, #05080d 0%, #10151c 48%, #1f2429 100%) !important;
  color: #ffffff !important;
}

.services-hub-page .services-partner-section::before {
  background:
    radial-gradient(circle at 50% 42%, transparent 0%, transparent 44%, rgba(0, 0, 0, 0.24) 76%, rgba(0, 0, 0, 0.48) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34) 0%, transparent 28%, transparent 72%, rgba(0, 0, 0, 0.32) 100%) !important;
}

.services-hub-page .services-partner-section::after {
  opacity: 0.18 !important;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(115deg, transparent 0%, transparent 43%, rgba(255, 255, 255, 0.07) 44%, transparent 45%, transparent 100%),
    linear-gradient(65deg, transparent 0%, transparent 52%, rgba(255, 255, 255, 0.055) 53%, transparent 54%, transparent 100%) !important;
  background-size: 74px 74px, 74px 74px, 100% 100%, 100% 100% !important;
}

.services-hub-page .services-partner-section .services-group-heading::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.035) 34%, transparent 70%) !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(1) {
  background-image:
    linear-gradient(135deg, rgba(10, 12, 16, 0.72), rgba(36, 38, 40, 0.62)),
    url("assets/uservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(2) {
  background-image:
    linear-gradient(135deg, rgba(10, 12, 16, 0.72), rgba(36, 38, 40, 0.62)),
    url("assets/iservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(3) {
  background-image:
    linear-gradient(135deg, rgba(10, 12, 16, 0.72), rgba(36, 38, 40, 0.62)),
    url("assets/fservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(4) {
  background-image:
    linear-gradient(135deg, rgba(10, 12, 16, 0.72), rgba(36, 38, 40, 0.62)),
    url("assets/vservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(5) {
  background-image:
    linear-gradient(135deg, rgba(10, 12, 16, 0.72), rgba(36, 38, 40, 0.62)),
    url("assets/sservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card::after {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.065), transparent 38%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.34)) !important;
}

.services-hub-page .what-we-do-section .service-card-points li::before,
.services-hub-page .services-partner-section .service-index,
.services-hub-page .what-we-do-section .service-index {
  background: rgba(54, 57, 60, 0.95) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22) !important;
}

.services-hub-page .what-we-do-section .service-card-points li::before {
  background: rgba(210, 222, 232, 0.90) !important;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.10) !important;
}


/* V102: Services ghost outlines removed and footer changed to black */
.services-hub-page .services-side-cards::before,
.services-hub-page .services-side-cards::after,
.services-hub-page .service-floating-card-logo {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.services-hub-page .service-floating-card,
.services-hub-page .service-floating-card-image {
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.site-footer {
  background: #050505 !important;
  color: #ffffff !important;
  border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
}

.footer-inner p,
.site-footer p {
  color: rgba(255, 255, 255, 0.78) !important;
}

.footer-inner a,
.site-footer a {
  color: #ffffff !important;
}

/* V103 premium black services polish */
.services-hub-page .services-hero-cards-section {
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.055) 24%, transparent 48%),
    radial-gradient(circle at 24% 48%, rgba(255, 255, 255, 0.055) 0%, transparent 30%),
    radial-gradient(circle at 76% 48%, rgba(255, 255, 255, 0.055) 0%, transparent 30%),
    linear-gradient(135deg, #030405 0%, #101418 48%, #060708 100%) !important;
}

.services-hub-page .services-hero-cards-section::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at 50% 48%, transparent 0%, transparent 42%, rgba(0, 0, 0, 0.28) 76%, rgba(0, 0, 0, 0.58) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0%, transparent 28%, transparent 72%, rgba(0, 0, 0, 0.42) 100%) !important;
}

.services-hub-page .services-hero-cards-section::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  z-index: 1 !important;
  pointer-events: none !important;
  opacity: 0.26 !important;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(115deg, transparent 0%, transparent 44%, rgba(255, 255, 255, 0.075) 45%, transparent 46%, transparent 100%),
    linear-gradient(65deg, transparent 0%, transparent 54%, rgba(255, 255, 255, 0.055) 55%, transparent 56%, transparent 100%) !important;
  background-size: 86px 86px, 86px 86px, 100% 100%, 100% 100% !important;
}

.services-hub-page .services-hero-cards-section .services-hero-content {
  position: relative !important;
  z-index: 3 !important;
  filter: drop-shadow(0 22px 54px rgba(0, 0, 0, 0.34)) !important;
}

.services-hub-page .services-hero-cards-section h1 {
  text-shadow: 0 16px 44px rgba(0, 0, 0, 0.42) !important;
}

.services-hub-page .services-hero-cards-section .service-floating-card-image {
  border-color: rgba(255, 255, 255, 0.30) !important;
  box-shadow:
    0 28px 78px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}

.services-hub-page .services-partner-section {
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.04) 26%, transparent 52%),
    linear-gradient(135deg, #030405 0%, #101418 48%, #060708 100%) !important;
}

.services-hub-page .services-partner-section::before {
  background:
    radial-gradient(circle at 50% 42%, transparent 0%, transparent 44%, rgba(0, 0, 0, 0.24) 76%, rgba(0, 0, 0, 0.58) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, transparent 28%, transparent 72%, rgba(0, 0, 0, 0.42) 100%) !important;
}

.services-hub-page .services-partner-section .services-group-heading {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  backdrop-filter: none !important;
}

.services-hub-page .services-partner-section .services-group-heading::before,
.services-hub-page .services-partner-section .services-group-heading::after {
  content: none !important;
  display: none !important;
}

.services-hub-page .services-partner-section .services-hub-card {
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.13) !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(1) {
  background-image:
    linear-gradient(135deg, rgba(7, 8, 10, 0.83), rgba(30, 31, 33, 0.72)),
    url("assets/uservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(2) {
  background-image:
    linear-gradient(135deg, rgba(7, 8, 10, 0.83), rgba(30, 31, 33, 0.72)),
    url("assets/iservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(3) {
  background-image:
    linear-gradient(135deg, rgba(7, 8, 10, 0.83), rgba(30, 31, 33, 0.72)),
    url("assets/fservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(4) {
  background-image:
    linear-gradient(135deg, rgba(7, 8, 10, 0.83), rgba(30, 31, 33, 0.72)),
    url("assets/vservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card:nth-child(5) {
  background-image:
    linear-gradient(135deg, rgba(7, 8, 10, 0.83), rgba(30, 31, 33, 0.72)),
    url("assets/sservice.webp") !important;
}

.services-hub-page .services-partner-section .services-hub-card::after {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.10), transparent 32%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.36)) !important;
}

.button-primary,
.nav-cta,
.services-hub-page .services-cta-card .button-primary {
  background:
    linear-gradient(135deg, rgba(67, 70, 72, 0.96), rgba(10, 11, 12, 0.98)) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}

.button-primary:hover,
.nav-cta:hover,
.services-hub-page .services-cta-card .button-primary:hover {
  background:
    linear-gradient(135deg, rgba(83, 86, 88, 0.98), rgba(16, 17, 18, 0.98)) !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
  transform: translateY(-2px) !important;
}


/* V104: visible premium Services uplift - stronger depth, no blue return */
.services-hub-page .services-hero-cards-section {
  background:
    radial-gradient(ellipse at 50% 34%, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.12) 20%, rgba(255, 255, 255, 0.035) 42%, transparent 64%),
    radial-gradient(circle at 18% 50%, rgba(220, 223, 224, 0.13) 0%, transparent 32%),
    radial-gradient(circle at 82% 50%, rgba(220, 223, 224, 0.13) 0%, transparent 32%),
    linear-gradient(135deg, #020303 0%, #16191b 48%, #050506 100%) !important;
}

.services-hub-page .services-hero-cards-section::before {
  content: "HACKLES & CO" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: grid !important;
  place-items: center !important;
  pointer-events: none !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: clamp(78px, 12vw, 210px) !important;
  letter-spacing: 0.10em !important;
  color: rgba(255, 255, 255, 0.035) !important;
  text-transform: uppercase !important;
  text-shadow: 0 40px 100px rgba(255, 255, 255, 0.05) !important;
}

.services-hub-page .services-hero-cards-section::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  opacity: 1 !important;
  background:
    linear-gradient(115deg, transparent 0%, transparent 34%, rgba(255, 255, 255, 0.095) 35%, rgba(255, 255, 255, 0.02) 43%, transparent 44%, transparent 100%),
    linear-gradient(65deg, transparent 0%, transparent 58%, rgba(255, 255, 255, 0.07) 59%, rgba(255, 255, 255, 0.015) 66%, transparent 67%, transparent 100%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px) !important;
  background-size: 100% 100%, 100% 100%, 82px 82px, 82px 82px !important;
}

.services-hub-page .services-hero-cards-section .services-hero-grid,
.services-hub-page .services-hero-cards-section .services-hero-content,
.services-hub-page .services-hero-cards-section .services-side-cards {
  position: relative !important;
  z-index: 3 !important;
}

.services-hub-page .services-hero-cards-section .services-hero-content {
  padding: clamp(22px, 2.4vw, 42px) clamp(18px, 2vw, 34px) !important;
  border-radius: 34px !important;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.055), rgba(255,255,255,0.018) 42%, transparent 72%) !important;
}

.services-hub-page .services-hero-cards-section .service-floating-card-image {
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255,255,255,0.10),
    inset 0 1px 0 rgba(255,255,255,0.22) !important;
  filter: saturate(1.05) contrast(1.05) brightness(1.02) !important;
}

.services-hub-page .services-hero-cards-section .button-primary,
.services-hub-page .services-final-cta .button-primary,
.button-primary,
.nav-cta {
  background: linear-gradient(135deg, rgba(45, 46, 47, 0.98), rgba(8, 9, 10, 0.98)) !important;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  color: #fff !important;
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

.services-hub-page .services-partner-section {
  background:
    radial-gradient(ellipse at 48% 22%, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.08) 24%, rgba(255,255,255,0.02) 46%, transparent 66%),
    radial-gradient(circle at 14% 46%, rgba(255,255,255,0.09), transparent 34%),
    radial-gradient(circle at 86% 46%, rgba(255,255,255,0.08), transparent 34%),
    linear-gradient(135deg, #020303 0%, #15181a 50%, #050506 100%) !important;
  border-top: 1px solid rgba(255,255,255,0.10) !important;
  border-bottom: 1px solid rgba(255,255,255,0.10) !important;
}

.services-hub-page .services-partner-section::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background:
    linear-gradient(112deg, transparent 0%, transparent 31%, rgba(255,255,255,0.085) 32%, rgba(255,255,255,0.016) 40%, transparent 41%, transparent 100%),
    linear-gradient(rgba(255,255,255,0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.026) 1px, transparent 1px) !important;
  background-size: 100% 100%, 92px 92px, 92px 92px !important;
}

.services-hub-page .services-partner-section > .page-inner {
  position: relative !important;
  z-index: 2 !important;
}

.services-hub-page .services-partner-section .services-group-heading {
  max-width: 1060px !important;
  margin-bottom: clamp(26px, 2.8vw, 44px) !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.services-hub-page .services-partner-section .services-group-heading h2 {
  text-shadow: 0 14px 40px rgba(0,0,0,0.44) !important;
}

.services-hub-page .services-partner-section .services-hub-card {
  background-color: rgba(16, 18, 20, 0.78) !important;
  border: 1px solid rgba(255, 255, 255, 0.30) !important;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255,255,255,0.16) !important;
  backdrop-filter: blur(8px) !important;
}

.services-hub-page .services-partner-section .services-hub-card h3 {
  text-shadow: 0 8px 30px rgba(0,0,0,0.42) !important;
}

.services-hub-page .services-partner-section .services-hub-card p {
  color: rgba(255, 255, 255, 0.86) !important;
}

.services-hub-page .services-partner-section .services-hub-card strong {
  color: rgba(255, 255, 255, 0.86) !important;
  border-bottom-color: rgba(255, 255, 255, 0.28) !important;
}

.services-hub-page .services-final-cta {
  background:
    linear-gradient(90deg, rgba(4,4,5,0.84), rgba(18,20,22,0.66), rgba(4,4,5,0.84)),
    url("assets/service2.webp") !important;
  background-size: cover !important;
  background-position: center !important;
}

.services-hub-page .services-final-cta .final-support-card,
.services-hub-page .services-final-cta .final-cta-card {
  background: linear-gradient(135deg, rgba(30, 32, 34, 0.78), rgba(6,7,8,0.80)) !important;
  border-color: rgba(255,255,255,0.26) !important;
  box-shadow: 0 26px 70px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.14) !important;
}

.site-footer {
  background: #020202 !important;
}

/* V107 Pre-launch polish: terminology, mobile nav, contact form */
body.nav-open {
  overflow: hidden;
  touch-action: none;
}

.hidden-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  min-height: 22px;
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
}

.form-status.is-success {
  color: #e8f8ed;
}

.form-status.is-error {
  color: #ffe5e5;
}

.contact-form button[disabled] {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none !important;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-toggle span {
  transition: transform 0.22s ease, opacity 0.18s ease, background 0.2s ease;
}

@media (max-width: 1180px) {
  .adaptive-nav {
    position: fixed !important;
    left: 18px !important;
    right: 18px !important;
    top: calc(var(--header-height) + 12px) !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    padding: 16px !important;
    border-radius: 22px !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(238,242,247,0.94)) !important;
    border: 1px solid rgba(6, 31, 69, 0.16) !important;
    box-shadow: 0 28px 70px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.84) !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-10px) scale(0.98) !important;
    transition: opacity 0.22s ease, transform 0.22s ease !important;
  }

  .adaptive-nav.is-open {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
  }

  .adaptive-nav::before,
  .adaptive-nav::after,
  .adaptive-active-label {
    display: none !important;
  }

  .adaptive-nav-links {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    height: auto !important;
    padding: 0 !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .adaptive-nav-item {
    justify-content: flex-start !important;
    min-height: 48px !important;
    padding: 0 16px !important;
    color: #061f45 !important;
    background: rgba(255,255,255,0.38) !important;
    border-radius: 14px !important;
  }

  .adaptive-nav-item.is-active {
    background: rgba(6, 31, 69, 0.08) !important;
  }

  .adaptive-nav-item.is-active::after {
    display: none !important;
  }
}

@media (max-width: 760px) {
  html,
  body,
  body.inner-body,
  body.home-body,
  body.inner-body:has(.how-page-main),
  body.inner-body:has(.team-main),
  body.inner-body:has(.contact-page-main) {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
  }

  .site-header {
    height: var(--header-height);
  }

  .header-inner {
    grid-template-columns: 1fr auto !important;
    padding: 0 18px !important;
    gap: 14px !important;
  }

  .brand img {
    width: min(210px, 58vw) !important;
  }

  .page-main,
  .contact-page-main,
  .how-page-main,
  .team-main,
  .service-detail-main,
  .services-hub-page {
    min-height: auto !important;
  }

  .hero-full-image,
  .home-page,
  .contact-full-section,
  .how-section,
  .team-section,
  .service-detail-hero,
  .service-detail-page,
  .service-detail-main {
    min-height: auto !important;
    height: auto !important;
  }

  .hero-panel,
  .page-inner,
  .contact-full-grid,
  .how-grid,
  .team-leadership-grid,
  .service-detail-grid,
  .service-detail-layout,
  .services-hero-grid,
  .services-direct-grid,
  .services-final-grid {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .page-inner {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .hero-panel,
  .hero-copy-card,
  .hero-summary-card,
  .process-panel,
  .contact-form-panel,
  .team-profile-card,
  .service-detail-intro-card,
  .service-detail-card,
  .services-hub-card,
  .final-support-card,
  .final-cta-card {
    border-radius: 22px !important;
  }

  h1,
  .hero-panel h1,
  .page-hero h1,
  .contact-copy h1,
  .how-copy h1,
  .team-section h1,
  .service-detail-intro-card h1,
  .services-hero-content h1,
  .services-group-heading h2 {
    font-size: clamp(38px, 11vw, 58px) !important;
    line-height: 0.98 !important;
    letter-spacing: 0.01em !important;
  }

  h2,
  .process-panel h2,
  .team-profile-content h2,
  .service-detail-card h2,
  .services-hub-card h3 {
    font-size: clamp(26px, 8vw, 38px) !important;
    line-height: 1.02 !important;
  }

  p,
  .hero-panel p,
  .contact-copy p,
  .how-copy p,
  .service-detail-intro-card p,
  .services-hero-content p {
    font-size: 16px !important;
  }

  .button,
  .button-primary,
  .nav-cta {
    min-height: 52px !important;
    width: 100% !important;
    max-width: 320px !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .contact-form textarea {
    min-height: 132px !important;
  }

  .service-detail-cards,
  .service-detail-card-grid,
  .services-hub-grid {
    grid-template-columns: 1fr !important;
  }
}

/* V108 pre-launch fix: mobile nav clipping and mobile homepage visibility */
@media (max-width: 1180px) {
  .site-header {
    overflow: visible !important;
  }

  body.nav-open {
    overflow: hidden !important;
    touch-action: none;
  }

  .adaptive-nav {
    z-index: 999 !important;
  }
}

@media (max-width: 760px) {
  body.home-body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: #05080c !important;
  }

  .home-page {
    height: auto !important;
    min-height: 100svh !important;
    overflow: visible !important;
  }

  .hero-full-image {
    height: auto !important;
    min-height: 100svh !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: flex-start !important;
    background-color: #05080c !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  .hero-full-image::before {
    background:
      linear-gradient(90deg, rgba(5, 8, 12, 0.82) 0%, rgba(5, 8, 12, 0.64) 52%, rgba(5, 8, 12, 0.42) 100%),
      radial-gradient(circle at 14% 42%, rgba(255,255,255,0.08), transparent 34%) !important;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(5,8,12,0.18), rgba(5,8,12,0.48)) !important;
  }

  .hero-panel {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: calc(var(--header-height) + 72px) 22px 96px !important;
    color: #ffffff !important;
  }

  .hero-panel h1,
  .hero-panel p,
  .hero-panel .eyebrow {
    color: #ffffff !important;
  }

  .hero-panel .eyebrow {
    color: #8bddff !important;
  }

  .hero-actions {
    margin-top: 26px !important;
  }

  .hero-curve {
    display: none !important;
  }
}

/* V109 mobile polish: fix mobile overflow, stacked sections and team image crops */
@media (max-width: 1180px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .site-header {
    overflow: visible !important;
    z-index: 9999 !important;
  }

  .header-inner {
    position: relative;
    z-index: 10000 !important;
  }

  .nav-toggle {
    position: relative;
    z-index: 10002 !important;
  }

  .adaptive-nav {
    position: fixed !important;
    top: calc(var(--header-height) + 12px) !important;
    left: 18px !important;
    right: 18px !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 18px !important;
    border-radius: 24px !important;
    background: rgba(12, 16, 22, 0.96) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42) !important;
    backdrop-filter: blur(22px) saturate(125%) !important;
    -webkit-backdrop-filter: blur(22px) saturate(125%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-10px) scale(0.98) !important;
    transition: opacity 220ms ease, transform 220ms ease !important;
    overflow: hidden !important;
    z-index: 10001 !important;
  }

  .adaptive-nav.is-open {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
  }

  .adaptive-nav .adaptive-active-label {
    display: none !important;
  }

  .adaptive-nav-links {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    width: 100% !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .adaptive-nav-item {
    width: 100% !important;
    justify-content: flex-start !important;
    padding: 15px 16px !important;
    border-radius: 16px !important;
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 16px !important;
  }

  .adaptive-nav-item.is-active,
  .adaptive-nav-item:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.10) !important;
  }

  .adaptive-nav-item.is-active::after {
    display: none !important;
  }

  body.nav-open {
    overflow: hidden !important;
    touch-action: none !important;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 96px;
  }

  html,
  body,
  body.inner-body,
  body.home-body {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .site-header {
    height: var(--header-height) !important;
  }

  .header-inner {
    height: var(--header-height) !important;
    padding: 0 26px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
  }

  .brand img {
    width: min(230px, 58vw) !important;
    max-height: 64px !important;
    object-fit: contain !important;
  }

  .nav-toggle {
    width: 36px !important;
    height: 34px !important;
  }

  .nav-toggle span {
    height: 2px !important;
    background: #052f64 !important;
  }

  .page-inner,
  .about-page-inner,
  .team-page-inner,
  .team-hero-inner,
  .how-page-inner,
  .contact-page-inner,
  .service-detail-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  /* Home */
  body.home-body .hero-full-image {
    min-height: calc(100svh - var(--header-height)) !important;
    background-position: 52% center !important;
  }

  body.home-body .hero-panel {
    padding: calc(var(--header-height) + 74px) 26px 82px !important;
  }

  body.home-body .hero-panel h1 {
    font-size: clamp(48px, 12.5vw, 70px) !important;
    line-height: 0.95 !important;
    max-width: 560px !important;
  }

  body.home-body .hero-panel p:not(.eyebrow) {
    max-width: 520px !important;
    line-height: 1.45 !important;
  }

  body.home-body .hero-panel .button {
    max-width: 330px !important;
  }

  /* Shared inner page spacing */
  .about-single-section,
  .how-section,
  .team-single-section,
  .contact-full-section,
  .service-detail-section,
  .services-hub-page section {
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
  }

  .about-single-section,
  .how-section,
  .team-single-section,
  .contact-full-section,
  .service-detail-section {
    padding-top: calc(var(--header-height) + 28px) !important;
    padding-bottom: 52px !important;
  }

  /* About */
  .about-page-main,
  .about-single-section {
    overflow-x: hidden !important;
  }

  .about-hero-block {
    display: block !important;
    text-align: left !important;
    margin-bottom: 24px !important;
  }

  .about-hero-block h1 {
    font-size: clamp(36px, 9vw, 54px) !important;
    line-height: 0.98 !important;
  }

  .about-content-grid,
  .about-side-stack,
  .about-team-strip {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 18px !important;
  }

  .about-main-card,
  .about-small-card,
  .about-team-strip {
    padding: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .about-main-card h2 {
    font-size: clamp(34px, 9vw, 46px) !important;
  }

  .about-main-card p,
  .about-small-card p {
    font-size: 15.5px !important;
    line-height: 1.45 !important;
  }

  .about-team-strip div {
    padding: 0 !important;
    border: 0 !important;
  }

  /* Services hub page */
  .services-hub-page {
    overflow-x: hidden !important;
  }

  .services-hub-page .services-hero-cards-section {
    min-height: auto !important;
    height: auto !important;
    padding: calc(var(--header-height) + 44px) 0 56px !important;
    overflow: hidden !important;
  }

  .services-hub-page .services-hero-cards-section .services-hero-grid {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 22px !important;
  }

  .services-hub-page .services-hero-cards-section .services-side-cards,
  .services-hub-page .services-hero-cards-section .services-side-cards-left,
  .services-hub-page .services-hero-cards-section .services-side-cards-right,
  .services-hub-page .services-hero-cards-section .service-floating-card,
  .services-hub-page .services-hero-cards-section .service-floating-card-image {
    display: none !important;
  }

  .services-hub-page .services-hero-content {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    text-align: left !important;
    transform: none !important;
  }

  .services-hub-page .services-hero-content h1 {
    font-size: clamp(42px, 12vw, 64px) !important;
    line-height: 0.94 !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
  }

  .services-hub-page .services-hero-content p {
    max-width: 100% !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
  }

  .services-hub-page .services-hero-content .button {
    width: 100% !important;
    max-width: 330px !important;
  }

  .what-we-do-section,
  .services-partner-section,
  .services-bottom-cta,
  .services-final-cta {
    padding: 56px 0 !important;
    overflow: hidden !important;
  }

  .what-we-do-layout,
  .what-we-do-card-row,
  .services-hub-grid,
  .final-cta-layout,
  .final-cta-support {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 18px !important;
  }

  .services-group-heading,
  .what-we-do-heading,
  .services-hub-card,
  .final-cta-card,
  .final-support-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px !important;
  }

  .services-group-heading h2,
  .what-we-do-heading h2,
  .final-cta-card h2 {
    font-size: clamp(36px, 10vw, 52px) !important;
    line-height: 0.98 !important;
  }

  .services-hub-card h3,
  .final-support-card h3 {
    font-size: clamp(28px, 8vw, 40px) !important;
    line-height: 1 !important;
  }

  .service-card-points {
    padding-left: 0 !important;
  }

  /* How We Help */
  .how-grid,
  .how-v64-layout,
  .how-v64-mini-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 18px !important;
  }

  .how-copy h1,
  .how-v64-copy h1 {
    font-size: clamp(40px, 10.5vw, 58px) !important;
    line-height: 0.96 !important;
  }

  .process-panel,
  .how-v64-process-card,
  .how-v64-highlight,
  .how-v64-mini-grid div {
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px !important;
  }

  /* Team */
  .team-single-section {
    padding-top: calc(var(--header-height) + 30px) !important;
    padding-bottom: 58px !important;
  }

  .team-hero-heading {
    text-align: left !important;
    margin-bottom: 22px !important;
  }

  .team-hero-heading h1 {
    font-size: clamp(34px, 9.5vw, 52px) !important;
    line-height: 0.98 !important;
  }

  .team-hero-heading p {
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  .team-hero-grid,
  .team-profile-grid,
  .team-profile-grid-two {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 22px !important;
  }

  .team-hero-card,
  .team-profile-card {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .team-hero-image {
    width: 100% !important;
    height: 300px !important;
    min-height: 300px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
    overflow: hidden !important;
  }

  .team-hero-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .team-hero-card:nth-child(1) .team-hero-image img {
    object-position: center 18% !important;
  }

  .team-hero-card:nth-child(2) .team-hero-image img {
    object-position: center 16% !important;
  }

  .team-hero-copy,
  .team-profile-copy {
    padding: 24px !important;
  }

  .team-role-kicker {
    font-size: 12px !important;
  }

  .team-hero-copy h2,
  .team-profile-copy h2 {
    font-size: clamp(34px, 9.2vw, 48px) !important;
    line-height: 0.98 !important;
  }

  .team-hero-copy span,
  .team-profile-copy span {
    font-size: 15px !important;
  }

  .team-hero-copy p:not(.team-role-kicker),
  .team-profile-copy p {
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  /* Contact */
  .contact-full-grid,
  .contact-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    width: 100% !important;
  }

  .contact-copy h1 {
    font-size: clamp(42px, 11vw, 58px) !important;
  }

  .contact-form,
  .contact-form-panel {
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px !important;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100% !important;
  }

  /* Service detail pages */
  .service-detail-main,
  .service-detail-page,
  .service-detail-section {
    overflow-x: hidden !important;
  }

  .service-detail-layout,
  .service-detail-grid,
  .service-detail-cards {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .service-detail-intro-card,
  .service-detail-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px !important;
  }

  .service-detail-intro-card h1 {
    font-size: clamp(40px, 11vw, 60px) !important;
  }

  .service-detail-card h3,
  .service-detail-card h2 {
    font-size: clamp(28px, 8vw, 42px) !important;
    overflow-wrap: break-word !important;
  }

  .site-footer {
    padding: 28px 22px !important;
  }

  .footer-inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    text-align: left !important;
  }
}

@media (max-width: 430px) {
  .header-inner {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .brand img {
    width: min(210px, 56vw) !important;
  }

  .page-inner,
  .about-page-inner,
  .team-page-inner,
  .team-hero-inner,
  .how-page-inner,
  .contact-page-inner,
  .service-detail-inner {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  body.home-body .hero-panel {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  .team-hero-image {
    height: 280px !important;
    min-height: 280px !important;
  }
}

/* V110 mobile rescue pass: stop clipped mobile sections and keep desktop untouched */
@media (max-width: 760px) {
  :root {
    --header-height: 96px;
  }

  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100% !important;
  }

  body.home-body,
  body.inner-body,
  body.service-stack-body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100% !important;
    background: #050607 !important;
  }

  .site-header {
    height: var(--header-height) !important;
    overflow: visible !important;
  }

  .header-inner {
    height: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    padding: 0 24px !important;
  }

  .brand img {
    width: min(225px, 56vw) !important;
    max-height: 58px !important;
    object-fit: contain !important;
  }

  .nav-cta {
    display: none !important;
  }

  .nav-toggle {
    display: inline-flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 42px !important;
    height: 42px !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
  }

  .nav-toggle span {
    display: block !important;
    width: 30px !important;
    height: 2px !important;
    margin: 0 !important;
    background: #063a77 !important;
  }

  .adaptive-nav {
    top: calc(var(--header-height) + 12px) !important;
    left: 16px !important;
    right: 16px !important;
    width: auto !important;
  }

  .page-main,
  .about-page-main,
  .how-page-main,
  .team-page-main,
  .contact-page-main,
  .services-hub-page,
  .service-detail-main {
    padding-top: var(--header-height) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .page-inner,
  .about-page-inner,
  .how-page-inner,
  .team-page-inner,
  .team-hero-inner,
  .contact-page-inner,
  .service-detail-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  .button,
  .button-primary,
  .contact-form button {
    width: 100% !important;
    max-width: 340px !important;
    min-height: 52px !important;
  }

  /* Home mobile */
  body.home-body .home-page,
  body.home-body .hero-full-image {
    padding-top: 0 !important;
    height: auto !important;
    min-height: calc(100svh - var(--header-height)) !important;
    overflow: visible !important;
  }

  body.home-body .hero-full-image {
    background-position: 54% center !important;
    display: block !important;
  }

  body.home-body .hero-panel {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    padding: 72px 24px 72px !important;
    margin: 0 !important;
  }

  body.home-body .hero-panel h1 {
    font-size: clamp(44px, 12vw, 62px) !important;
    line-height: 0.96 !important;
    overflow-wrap: anywhere !important;
  }

  /* About mobile */
  .about-single-section {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
    align-items: initial !important;
    padding: 36px 0 48px !important;
  }

  .about-page-inner {
    height: auto !important;
    display: block !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .about-hero-block {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 24px !important;
    text-align: left !important;
  }

  .about-hero-block h1 {
    font-size: clamp(34px, 9.4vw, 52px) !important;
    line-height: 0.98 !important;
    overflow-wrap: anywhere !important;
  }

  .about-hero-block p {
    margin-left: 0 !important;
    max-width: 100% !important;
    font-size: 15.5px !important;
  }

  .about-content-grid,
  .about-side-stack,
  .about-team-strip {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .about-main-card,
  .about-small-card,
  .about-team-strip {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    padding: 24px !important;
    border-radius: 22px !important;
    overflow: visible !important;
  }

  .about-main-card h2 {
    font-size: clamp(34px, 9.2vw, 48px) !important;
    line-height: 1 !important;
  }

  .about-main-card p,
  .about-small-card p {
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  .about-team-strip div {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.14) !important;
    padding: 0 0 14px !important;
  }

  .about-team-strip div:last-child {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Services hub mobile */
  .services-hub-page .services-hero-cards-section {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 44px 0 54px !important;
    overflow: visible !important;
    display: block !important;
  }

  .services-hub-page .services-hero-cards-section .services-hero-grid {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 24px !important;
    min-height: 0 !important;
  }

  .services-hub-page .services-hero-cards-section .services-side-cards,
  .services-hub-page .services-hero-cards-section .service-floating-card,
  .services-hub-page .services-hero-cards-section .service-floating-card-image {
    display: none !important;
  }

  .services-hub-page .services-hero-content {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .services-hub-page .services-hero-content h1 {
    font-size: clamp(42px, 12vw, 62px) !important;
    line-height: 0.94 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  .services-hub-page .services-hero-content p {
    max-width: 100% !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
  }

  .what-we-do-section,
  .services-partner-section,
  .services-final-cta {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 48px 0 !important;
  }

  .what-we-do-layout,
  .what-we-do-card-row,
  .services-hub-grid,
  .final-cta-layout,
  .final-cta-support {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .services-group-heading,
  .what-we-do-heading,
  .services-hub-card,
  .final-support-card,
  .final-cta-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px !important;
    border-radius: 22px !important;
  }

  .services-group-heading h2,
  .what-we-do-heading h2,
  .final-cta-card h2 {
    font-size: clamp(34px, 9.5vw, 50px) !important;
    line-height: 0.98 !important;
    overflow-wrap: anywhere !important;
  }

  .services-hub-card h3,
  .final-support-card h3 {
    font-size: clamp(27px, 8vw, 38px) !important;
    line-height: 1 !important;
    overflow-wrap: anywhere !important;
  }

  /* How page mobile */
  .how-section {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
    padding: 40px 0 50px !important;
    overflow: visible !important;
  }

  .how-grid,
  .how-v64-layout,
  .how-v64-mini-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .how-copy h1,
  .how-v64-copy h1 {
    font-size: clamp(38px, 10.5vw, 56px) !important;
    line-height: 0.97 !important;
  }

  .process-panel,
  .how-v64-process-card,
  .how-v64-highlight,
  .how-v64-mini-grid div {
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px !important;
    border-radius: 22px !important;
  }

  /* Team mobile */
  .team-single-section {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
    padding: 40px 0 54px !important;
    overflow: visible !important;
  }

  .team-hero-heading {
    text-align: left !important;
    margin: 0 0 24px !important;
  }

  .team-hero-heading h1 {
    font-size: clamp(34px, 9.5vw, 52px) !important;
    line-height: 0.98 !important;
    overflow-wrap: anywhere !important;
  }

  .team-hero-grid,
  .team-profile-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .team-hero-card,
  .team-profile-card {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 22px !important;
  }

  .team-hero-image {
    width: 100% !important;
    height: 320px !important;
    min-height: 320px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.16) !important;
  }

  .team-hero-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .team-hero-card:nth-child(1) .team-hero-image img {
    object-position: center 20% !important;
  }

  .team-hero-card:nth-child(2) .team-hero-image img {
    object-position: center 18% !important;
  }

  .team-hero-copy,
  .team-profile-copy {
    padding: 24px !important;
  }

  .team-hero-copy h2,
  .team-profile-copy h2 {
    font-size: clamp(34px, 9vw, 48px) !important;
    line-height: 0.98 !important;
    overflow-wrap: anywhere !important;
  }

  .team-hero-copy p:not(.team-role-kicker),
  .team-profile-copy p {
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  /* Contact mobile */
  .contact-full-section {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
    padding: 40px 0 52px !important;
    overflow: visible !important;
  }

  .contact-full-grid,
  .contact-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .contact-copy h1 {
    font-size: clamp(40px, 11vw, 58px) !important;
    line-height: 0.96 !important;
  }

  .contact-form-panel,
  .contact-form {
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px !important;
    border-radius: 22px !important;
  }

  .form-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100% !important;
  }

  .contact-form textarea {
    min-height: 132px !important;
  }

  /* Service detail mobile */
  .service-stack-body {
    overflow-y: auto !important;
  }

  .service-stack-one-page,
  .utility-one-page,
  .service-detail-section {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 42px 0 54px !important;
  }

  .utility-hero-grid,
  .service-detail-layout,
  .service-detail-grid,
  .utility-services-panel,
  .service-stack-body .utility-services-panel {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .utility-copy-card,
  .utility-service-tile,
  .service-detail-intro-card,
  .service-detail-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px !important;
    border-radius: 22px !important;
  }

  .utility-copy-card h1,
  .service-detail-intro-card h1 {
    font-size: clamp(38px, 10.5vw, 56px) !important;
    line-height: 0.96 !important;
    overflow-wrap: anywhere !important;
  }

  .utility-service-tile h2,
  .service-detail-card h2,
  .service-detail-card h3 {
    font-size: clamp(28px, 8vw, 40px) !important;
    line-height: 1 !important;
    overflow-wrap: anywhere !important;
  }

  .site-footer {
    display: block !important;
    padding: 28px 22px !important;
    background: #020202 !important;
  }

  .footer-inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    text-align: left !important;
  }
}

/* V111 targeted mobile fix: Services hero + Team profile image crops only */
@media (max-width: 760px) {
  /* Keep all pages mobile-safe */
  html,
  body {
    overflow-x: hidden !important;
  }

  /* SERVICES MOBILE RESCUE */
  .services-hub-page,
  .services-hub-page .page-main {
    overflow-x: hidden !important;
  }

  .services-hub-page .services-hero-cards-section,
  .services-hub-page .services-intro-mesh-section,
  .services-hub-page .page-hero.services-hero {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 34px 0 42px !important;
    overflow: visible !important;
    background-position: center top !important;
  }

  .services-hub-page .services-hero-cards-section::before,
  .services-hub-page .services-hero-cards-section::after,
  .services-hub-page .services-intro-mesh-section::before,
  .services-hub-page .services-intro-mesh-section::after {
    pointer-events: none !important;
  }

  .services-hub-page .services-hero-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 24px !important;
    margin: 0 !important;
    transform: none !important;
    overflow: visible !important;
  }

  .services-hub-page .services-side-cards,
  .services-hub-page .services-side-cards-left,
  .services-hub-page .services-side-cards-right,
  .services-hub-page .service-floating-card,
  .services-hub-page .service-floating-card-image {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .services-hub-page .services-hero-content {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    translate: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
    overflow: visible !important;
  }

  .services-hub-page .services-hero-content .eyebrow {
    margin: 0 0 8px !important;
  }

  .services-hub-page .services-hero-content h1 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 18px !important;
    font-size: clamp(38px, 11vw, 56px) !important;
    line-height: 0.96 !important;
    letter-spacing: -0.015em !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    white-space: normal !important;
  }

  .services-hub-page .services-hero-content p {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 22px !important;
    font-size: 15.5px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
  }

  .services-hub-page .services-hero-content .button,
  .services-hub-page .services-hero-content .button-primary {
    display: inline-flex !important;
    width: min(100%, 330px) !important;
    max-width: 330px !important;
    margin: 0 !important;
  }

  .what-we-do-section,
  .services-partner-section,
  .services-bottom-cta,
  .services-final-cta {
    margin: 0 !important;
  }

  /* TEAM MOBILE IMAGE CROPS */
  .team-single-section {
    padding-top: 34px !important;
  }

  .team-hero-card,
  .team-profile-card {
    overflow: hidden !important;
  }

  .team-hero-image {
    height: 360px !important;
    min-height: 360px !important;
    max-height: 360px !important;
    overflow: hidden !important;
  }

  .team-hero-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    transform: none !important;
  }

  .team-hero-card:nth-child(1) .team-hero-image img,
  .team-profile-card:nth-child(1) .team-hero-image img {
    object-position: center 8% !important;
  }

  .team-hero-card:nth-child(2) .team-hero-image img,
  .team-profile-card:nth-child(2) .team-hero-image img {
    object-position: center 10% !important;
  }
}

@media (max-width: 430px) {
  .services-hub-page .services-hero-cards-section,
  .services-hub-page .services-intro-mesh-section,
  .services-hub-page .page-hero.services-hero {
    padding-top: 30px !important;
    padding-bottom: 38px !important;
  }

  .services-hub-page .services-hero-grid {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .services-hub-page .services-hero-content h1 {
    font-size: clamp(36px, 11.5vw, 50px) !important;
  }

  .team-hero-image {
    height: 340px !important;
    min-height: 340px !important;
    max-height: 340px !important;
  }
}

/* V112 HARD MOBILE FIX - services + team only */
@media (max-width: 760px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  /* Services page: remove desktop stage behaviour on mobile */
  body .services-hub-page .services-hero-cards-section,
  body .services-hub-page .services-intro-mesh-section,
  body .services-hub-page section.page-hero.services-hero {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding: 34px 0 40px !important;
    margin: 0 !important;
    overflow: hidden !important;
    text-align: left !important;
    background-size: cover !important;
    background-position: center top !important;
  }

  body .services-hub-page .services-hero-cards-section::before,
  body .services-hub-page .services-hero-cards-section::after,
  body .services-hub-page .services-intro-mesh-section::before,
  body .services-hub-page .services-intro-mesh-section::after,
  body .services-hub-page .services-hero-content::before,
  body .services-hub-page .services-hero-content::after {
    display: none !important;
    content: none !important;
  }

  body .services-hub-page .services-hero-cards-section .services-hero-grid,
  body .services-hub-page .services-intro-mesh-section .services-hero-grid,
  body .services-hub-page .services-hero-grid {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding: 0 22px !important;
    margin: 0 !important;
    transform: none !important;
    translate: none !important;
    overflow: visible !important;
  }

  body .services-hub-page .services-hero-cards-section .services-side-cards,
  body .services-hub-page .services-hero-cards-section .services-side-cards-left,
  body .services-hub-page .services-hero-cards-section .services-side-cards-right,
  body .services-hub-page .services-hero-cards-section .service-floating-card,
  body .services-hub-page .services-hero-cards-section .service-floating-card-image,
  body .services-hub-page .services-side-cards,
  body .services-hub-page .services-side-cards-left,
  body .services-hub-page .services-side-cards-right,
  body .services-hub-page .service-floating-card,
  body .services-hub-page .service-floating-card-image {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  body .services-hub-page .services-hero-cards-section .services-hero-content,
  body .services-hub-page .services-intro-mesh-section .services-hero-content,
  body .services-hub-page .services-hero-content {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
    translate: none !important;
    text-align: left !important;
    overflow: visible !important;
  }

  body .services-hub-page .services-hero-cards-section .services-hero-content .eyebrow,
  body .services-hub-page .services-hero-content .eyebrow {
    display: block !important;
    margin: 0 0 10px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  body .services-hub-page .services-hero-cards-section .services-hero-content h1,
  body .services-hub-page .services-intro-mesh-section .services-hero-content h1,
  body .services-hub-page .services-hero-content h1 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    font-size: clamp(40px, 12vw, 62px) !important;
    line-height: 0.95 !important;
    letter-spacing: -0.012em !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    transform: none !important;
  }

  body .services-hub-page .services-hero-cards-section .services-hero-content p,
  body .services-hub-page .services-intro-mesh-section .services-hero-content p,
  body .services-hub-page .services-hero-content p {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 22px !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
  }

  body .services-hub-page .services-hero-cards-section .services-hero-content .button,
  body .services-hub-page .services-hero-cards-section .services-hero-content .button-primary,
  body .services-hub-page .services-hero-content .button,
  body .services-hub-page .services-hero-content .button-primary {
    display: inline-flex !important;
    width: min(100%, 330px) !important;
    max-width: 330px !important;
    margin: 0 !important;
  }

  /* Team page: no mobile crop, show the full people images */
  body .team-hero-image {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
  }

  body .team-hero-image img,
  body .team-hero-card:nth-child(1) .team-hero-image img,
  body .team-hero-card:nth-child(2) .team-hero-image img,
  body .team-profile-card:nth-child(1) .team-hero-image img,
  body .team-profile-card:nth-child(2) .team-hero-image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center top !important;
    transform: none !important;
  }
}

@media (max-width: 430px) {
  body .services-hub-page .services-hero-cards-section,
  body .services-hub-page .services-intro-mesh-section,
  body .services-hub-page section.page-hero.services-hero {
    padding: 30px 0 36px !important;
  }

  body .services-hub-page .services-hero-cards-section .services-hero-grid,
  body .services-hub-page .services-hero-grid {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  body .services-hub-page .services-hero-cards-section .services-hero-content h1,
  body .services-hub-page .services-hero-content h1 {
    font-size: clamp(38px, 12vw, 54px) !important;
  }
}


/* V113 FINAL FALLBACK MOBILE PATCH - Services + Team only */
@media (max-width: 760px) {
  body.inner-body .services-hub-page .services-hero-cards-section,
  body.inner-body .services-hub-page .services-intro-mesh-section,
  body.inner-body .services-hub-page section.page-hero.services-hero {
    display: block !important;
    position: relative !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 30px 0 42px !important;
  }
  body.inner-body .services-hub-page .services-hero-grid,
  body.inner-body .services-hub-page .services-hero-content {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    transform: none !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
  }
  body.inner-body .services-hub-page .services-hero-grid { padding: 0 22px !important; }
  body.inner-body .services-hub-page .services-side-cards,
  body.inner-body .services-hub-page .service-floating-card { display: none !important; }
  body.inner-body .services-hub-page .services-hero-content h1 {
    font-size: clamp(38px, 12vw, 56px) !important;
    line-height: .95 !important;
    margin: 0 0 18px !important;
    white-space: normal !important;
  }
  body.inner-body .team-hero-image,
  body.inner-body .team-hero-image img {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center top !important;
    transform: none !important;
  }
}


/* V114 targeted mobile fix: stop Services desktop hero from breaking mobile and show a clean mobile intro */
.services-mobile-hero-mobile-only { display: none; }
@media (max-width: 760px) {
  body.inner-body .services-hub-page .services-hero-cards-section {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }
  body.inner-body .services-mobile-hero-mobile-only {
    display: block !important;
    position: relative !important;
    height: auto !important;
    min-height: auto !important;
    padding: 54px 24px 44px !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: #fff !important;
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.14), transparent 34%), linear-gradient(180deg, rgba(16,18,20,0.92), rgba(7,8,10,0.98));
  }
  body.inner-body .services-mobile-hero-mobile-only::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    background-image: linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
    background-size: 54px 54px;
  }
  body.inner-body .services-mobile-hero-mobile-only .mobile-services-inner {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }
  body.inner-body .services-mobile-hero-mobile-only .eyebrow {
    margin: 0 0 12px !important;
    color: rgba(255,255,255,0.78) !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.18em !important;
  }
  body.inner-body .services-mobile-hero-mobile-only h1 {
    margin: 0 0 18px !important;
    padding: 0 !important;
    color: #fff !important;
    font-family: 'Yapari', Impact, sans-serif !important;
    font-size: clamp(44px, 13vw, 64px) !important;
    line-height: 0.95 !important;
    letter-spacing: 0.01em !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow: visible !important;
  }
  body.inner-body .services-mobile-hero-mobile-only p:not(.eyebrow) {
    margin: 0 0 24px !important;
    max-width: 100% !important;
    color: rgba(255,255,255,0.88) !important;
    font-size: 15px !important;
    line-height: 1.48 !important;
  }
  body.inner-body .services-mobile-hero-mobile-only .button {
    width: min(100%, 330px) !important;
    min-height: 50px !important;
    justify-content: center !important;
  }

  body.inner-body .team-hero-card .team-hero-image {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    display: block !important;
  }
  body.inner-body .team-hero-card .team-hero-image img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
    object-fit: contain !important;
    object-position: center top !important;
    transform: none !important;
  }
  body.inner-body .team-profile-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }
}

/* V115 SERVICES MOBILE DEAD-SPACE FIX - final hard override */
@media (max-width: 760px) {
  body.inner-body .services-hub-page {
    display: block !important;
    overflow-x: hidden !important;
    scroll-snap-type: none !important;
  }

  body.inner-body .services-hub-page .services-mobile-hero-mobile-only {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding: 42px 24px 34px !important;
    margin: 0 !important;
  }

  body.inner-body .services-hub-page .services-mobile-hero-mobile-only h1 {
    font-size: clamp(42px, 12.4vw, 58px) !important;
    line-height: 0.94 !important;
    margin-bottom: 18px !important;
  }

  body.inner-body .services-hub-page .services-mobile-hero-mobile-only p:not(.eyebrow) {
    margin-bottom: 22px !important;
  }

  body.inner-body .services-hub-page .services-hero-cards-section,
  body.inner-body .services-hub-page .services-intro-mesh-section,
  body.inner-body .services-hub-page section.page-hero.services-hero {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  body.inner-body .services-hub-page .page-hero,
  body.inner-body .services-hub-page .services-hub-section,
  body.inner-body .services-hub-page .services-bottom-cta {
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    display: block !important;
    align-items: initial !important;
    scroll-snap-align: none !important;
    padding: 34px 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  body.inner-body .services-hub-page .services-hub-section > .page-inner,
  body.inner-body .services-hub-page .services-bottom-cta > .page-inner,
  body.inner-body .services-hub-page .page-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
    margin: 0 !important;
  }

  body.inner-body .services-hub-page .what-we-do-layout,
  body.inner-body .services-hub-page .final-cta-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  body.inner-body .services-hub-page .what-we-do-card-row,
  body.inner-body .services-hub-page .services-hub-grid,
  body.inner-body .services-hub-page .final-cta-support {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body.inner-body .services-hub-page .services-group-heading,
  body.inner-body .services-hub-page .what-we-do-heading,
  body.inner-body .services-hub-page .services-cta-card,
  body.inner-body .services-hub-page .final-cta-card,
  body.inner-body .services-hub-page .services-hub-card,
  body.inner-body .services-hub-page .what-we-do-card,
  body.inner-body .services-hub-page .final-support-card {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body.inner-body .services-hub-page .services-group-heading h2,
  body.inner-body .services-hub-page .what-we-do-heading h2,
  body.inner-body .services-hub-page .services-cta-card h2,
  body.inner-body .services-hub-page .final-cta-card h2 {
    font-size: clamp(38px, 11vw, 56px) !important;
    line-height: 0.95 !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
  }

  body.inner-body .services-hub-page .services-hub-card h3,
  body.inner-body .services-hub-page .final-support-card h3 {
    font-size: clamp(28px, 8vw, 38px) !important;
    line-height: 0.96 !important;
    overflow-wrap: break-word !important;
  }

  body.inner-body .team-hero-card .team-hero-image,
  body.inner-body .team-profile-card .team-hero-image {
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
  }

  body.inner-body .team-hero-card .team-hero-image img,
  body.inner-body .team-profile-card .team-hero-image img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center top !important;
    transform: none !important;
  }
}

/* V118 About page SWAT-style editorial sizing and alignment pass */
body.inner-body:has(.about-editorial-main) {
  overflow: hidden !important;
}

.about-editorial-main {
  height: 100vh !important;
  min-height: 100vh !important;
  max-height: 100vh !important;
  padding-top: var(--header-height) !important;
  overflow: hidden !important;
  background:
    linear-gradient(90deg, rgba(4, 8, 12, 0.74) 0%, rgba(7, 10, 14, 0.60) 48%, rgba(7, 10, 14, 0.48) 100%),
    url("assets/about.webp") center center / cover no-repeat !important;
}

.about-editorial-section {
  height: calc(100vh - var(--header-height)) !important;
  min-height: calc(100vh - var(--header-height)) !important;
  max-height: calc(100vh - var(--header-height)) !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  position: relative !important;
}

.about-editorial-section::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at 52% 20%, rgba(255, 255, 255, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.36)) !important;
}

.about-editorial-section::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  opacity: 0.13 !important;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) !important;
  background-size: 72px 72px !important;
}

.about-editorial-inner {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 1460px !important;
  height: auto !important;
  margin: 0 auto !important;
  display: block !important;
  padding: clamp(14px, 1.8vw, 28px) clamp(64px, 6vw, 110px) !important;
}

.about-editorial-hero {
  max-width: 1080px !important;
  margin: 0 auto clamp(24px, 3vh, 34px) !important;
  text-align: center !important;
}

.about-editorial-hero .eyebrow,
.about-editorial-lead .eyebrow {
  color: #8bddff !important;
  letter-spacing: 0.22em !important;
}

.about-editorial-hero h1 {
  margin: 0 auto !important;
  max-width: 1050px !important;
  color: #ffffff !important;
  font-family: 'Yapari', Impact, sans-serif !important;
  font-size: clamp(34px, 3.8vw, 58px) !important;
  line-height: 1.04 !important;
  letter-spacing: 0.02em !important;
  text-shadow: 0 20px 52px rgba(0, 0, 0, 0.38) !important;
}

.about-editorial-hero p {
  margin: 12px auto 0 !important;
  max-width: 820px !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: clamp(14px, 0.95vw, 16px) !important;
  line-height: 1.42 !important;
  font-weight: 650 !important;
}

.about-editorial-grid {
  display: grid !important;
  grid-template-columns: minmax(380px, 0.88fr) minmax(540px, 1.12fr) !important;
  gap: clamp(48px, 5.2vw, 86px) !important;
  align-items: center !important;
}

.about-editorial-lead {
  padding-left: clamp(18px, 2vw, 30px) !important;
  border-left: 1px solid rgba(141, 221, 255, 0.60) !important;
}

.about-editorial-lead h2 {
  margin: 0 0 16px !important;
  max-width: 560px !important;
  color: #ffffff !important;
  font-family: 'Yapari', Impact, sans-serif !important;
  font-size: clamp(34px, 3.3vw, 52px) !important;
  line-height: 1.04 !important;
  letter-spacing: 0.02em !important;
  text-shadow: 0 16px 38px rgba(0, 0, 0, 0.34) !important;
}

.about-editorial-lead p {
  max-width: 560px !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.80) !important;
  font-size: clamp(14px, 1vw, 17px) !important;
  line-height: 1.42 !important;
  font-weight: 500 !important;
}

.about-editorial-lead p + p {
  margin-top: 14px !important;
}

.about-editorial-points {
  border-left: 1px solid rgba(141, 221, 255, 0.50) !important;
}

.about-line-item {
  display: grid !important;
  grid-template-columns: minmax(135px, 0.30fr) minmax(260px, 0.70fr) !important;
  gap: clamp(22px, 2.5vw, 42px) !important;
  padding: 0 0 clamp(18px, 2.1vh, 26px) clamp(24px, 2.4vw, 40px) !important;
  margin-bottom: clamp(18px, 2.1vh, 26px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.20) !important;
}

.about-line-item:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

.about-line-item span {
  color: #8bddff !important;
  font-size: clamp(11px, 0.75vw, 13px) !important;
  font-weight: 900 !important;
  letter-spacing: 0.22em !important;
  line-height: 1.25 !important;
  text-transform: uppercase !important;
}

.about-line-item h3 {
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin: 0 !important;
  color: #ffffff !important;
  font-family: 'CabinLocal', Arial, sans-serif !important;
  font-size: clamp(24px, 2vw, 34px) !important;
  font-weight: 500 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
}

.about-line-item p {
  grid-column: 2 !important;
  margin: 10px 0 0 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: clamp(13px, 0.88vw, 16px) !important;
  line-height: 1.34 !important;
  font-weight: 500 !important;
}

.about-editorial-strip {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  margin-top: clamp(22px, 2.8vh, 34px) !important;
  border-top: 1px solid rgba(141, 221, 255, 0.48) !important;
  border-bottom: 1px solid rgba(141, 221, 255, 0.26) !important;
  background: rgba(0, 0, 0, 0.14) !important;
}

.about-editorial-strip div {
  padding: clamp(12px, 1.4vw, 18px) clamp(18px, 1.7vw, 28px) !important;
  border-right: 1px solid rgba(141, 221, 255, 0.30) !important;
}

.about-editorial-strip div:last-child {
  border-right: 0 !important;
}

.about-editorial-strip strong {
  display: block !important;
  color: #ffffff !important;
  font-family: 'CabinLocal', Arial, sans-serif !important;
  font-size: clamp(24px, 2.1vw, 34px) !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: -0.03em !important;
}

.about-editorial-strip span {
  display: block !important;
  margin-top: 6px !important;
  color: rgba(141, 221, 255, 0.92) !important;
  font-size: clamp(12px, 0.8vw, 14px) !important;
  font-weight: 800 !important;
}

@media (max-height: 820px) and (min-width: 981px) {
  .about-editorial-inner {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .about-editorial-hero {
    margin-bottom: 20px !important;
  }

  .about-editorial-hero h1 {
    font-size: clamp(30px, 3.2vw, 46px) !important;
  }

  .about-editorial-hero p {
    font-size: 14px !important;
    margin-top: 10px !important;
  }

  .about-editorial-grid {
    gap: clamp(38px, 4vw, 64px) !important;
  }

  .about-editorial-lead h2 {
    font-size: clamp(30px, 2.9vw, 44px) !important;
    margin-bottom: 14px !important;
  }

  .about-editorial-lead p {
    font-size: 14px !important;
    line-height: 1.34 !important;
  }

  .about-line-item {
    padding-bottom: 14px !important;
    margin-bottom: 14px !important;
  }

  .about-line-item h3 {
    font-size: clamp(22px, 1.8vw, 28px) !important;
  }

  .about-line-item p {
    font-size: 13px !important;
    line-height: 1.25 !important;
  }

  .about-editorial-strip {
    margin-top: 18px !important;
  }

  .about-editorial-strip div {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
}

@media (max-height: 700px) and (min-width: 981px) {
  .about-editorial-hero p {
    display: none !important;
  }

  .about-editorial-strip {
    display: none !important;
  }
}

@media (max-width: 980px) {
  body.inner-body:has(.about-editorial-main) {
    overflow: auto !important;
  }

  .about-editorial-main {
    height: auto !important;
    min-height: 100vh !important;
    max-height: none !important;
    overflow: visible !important;
    background:
      linear-gradient(180deg, rgba(4, 8, 12, 0.82), rgba(4, 8, 12, 0.76)),
      url("assets/about.webp") center center / cover no-repeat !important;
  }

  .about-editorial-section {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
  }

  .about-editorial-inner {
    padding: 54px 28px 70px !important;
  }

  .about-editorial-hero {
    text-align: left !important;
    margin-bottom: 42px !important;
  }

  .about-editorial-hero h1 {
    font-size: clamp(38px, 10vw, 58px) !important;
  }

  .about-editorial-grid {
    grid-template-columns: 1fr !important;
    gap: 42px !important;
  }

  .about-editorial-points {
    border-left: 0 !important;
  }

  .about-line-item {
    grid-template-columns: 1fr !important;
    padding-left: 0 !important;
  }

  .about-line-item h3,
  .about-line-item p {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .about-editorial-strip {
    grid-template-columns: 1fr !important;
  }

  .about-editorial-strip div {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(141, 221, 255, 0.28) !important;
  }

  .about-editorial-strip div:last-child {
    border-bottom: 0 !important;
  }
}

/* V119 About page SWAT reference sizing and spacing */
body.inner-body:has(.about-swat-layout) {
  overflow: hidden !important;
}

.about-editorial-main:has(.about-swat-layout) {
  height: 100vh !important;
  min-height: 100vh !important;
  max-height: 100vh !important;
  padding-top: var(--header-height) !important;
  overflow: hidden !important;
  background:
    linear-gradient(90deg, rgba(4, 7, 10, 0.84) 0%, rgba(4, 7, 10, 0.66) 48%, rgba(4, 7, 10, 0.56) 100%),
    url("assets/about.webp") center center / cover no-repeat !important;
}

.about-editorial-section:has(.about-swat-layout) {
  height: calc(100vh - var(--header-height)) !important;
  min-height: calc(100vh - var(--header-height)) !important;
  max-height: calc(100vh - var(--header-height)) !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
}

.about-swat-layout {
  position: relative !important;
  z-index: 3 !important;
  width: min(1420px, calc(100% - 150px)) !important;
  max-width: 1420px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(420px, 0.78fr) minmax(560px, 1.22fr) !important;
  gap: clamp(58px, 6vw, 100px) !important;
  align-items: center !important;
}

.about-swat-left {
  padding-left: clamp(26px, 2.3vw, 38px) !important;
  border-left: 1px solid rgba(141, 221, 255, 0.68) !important;
}

.about-swat-layout .eyebrow {
  margin: 0 0 16px !important;
  color: #8bddff !important;
  letter-spacing: 0.34em !important;
  font-size: clamp(12px, 0.78vw, 14px) !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

.about-swat-left h1 {
  margin: 0 0 clamp(26px, 3vh, 38px) !important;
  max-width: 560px !important;
  color: #ffffff !important;
  font-family: 'Yapari', Impact, sans-serif !important;
  font-size: clamp(52px, 4.95vw, 86px) !important;
  line-height: 0.96 !important;
  letter-spacing: 0.01em !important;
  text-shadow: 0 24px 58px rgba(0, 0, 0, 0.42) !important;
}

.about-swat-left p {
  max-width: 590px !important;
  margin: 0 0 18px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: clamp(17px, 1.18vw, 21px) !important;
  line-height: 1.30 !important;
  font-weight: 500 !important;
}

.about-swat-left .about-swat-intro {
  color: rgba(255, 255, 255, 0.88) !important;
}

.about-swat-right {
  position: relative !important;
  padding-left: clamp(34px, 3.4vw, 60px) !important;
  border-left: 1px solid rgba(141, 221, 255, 0.62) !important;
}

.about-swat-item {
  display: grid !important;
  grid-template-columns: 18px 1fr !important;
  gap: 22px !important;
  padding: 0 0 clamp(20px, 2.4vh, 30px) !important;
  margin-bottom: clamp(18px, 2.1vh, 26px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.20) !important;
}

.about-swat-item:last-of-type {
  margin-bottom: 0 !important;
}

.about-swat-item > span {
  width: 11px !important;
  height: 11px !important;
  margin-top: 12px !important;
  border-radius: 999px !important;
  background: #8bddff !important;
  box-shadow: 0 0 22px rgba(141, 221, 255, 0.58) !important;
}

.about-swat-item h2 {
  margin: 0 0 8px !important;
  color: #ffffff !important;
  font-family: 'CabinLocal', Arial, sans-serif !important;
  font-size: clamp(34px, 2.65vw, 50px) !important;
  line-height: 1.02 !important;
  font-weight: 500 !important;
  letter-spacing: -0.035em !important;
}

.about-swat-item p {
  margin: 0 !important;
  max-width: 650px !important;
  color: rgba(255, 255, 255, 0.70) !important;
  font-size: clamp(17px, 1.15vw, 20px) !important;
  line-height: 1.24 !important;
  font-weight: 500 !important;
}

.about-swat-footerline {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  margin-top: clamp(26px, 3vh, 42px) !important;
  border-top: 1px solid rgba(141, 221, 255, 0.56) !important;
  border-bottom: 1px solid rgba(141, 221, 255, 0.26) !important;
  background: rgba(0, 0, 0, 0.12) !important;
}

.about-swat-footerline div {
  padding: 14px 22px !important;
  border-right: 1px solid rgba(141, 221, 255, 0.28) !important;
}

.about-swat-footerline div:last-child {
  border-right: 0 !important;
}

.about-swat-footerline strong {
  display: block !important;
  color: #ffffff !important;
  font-family: 'CabinLocal', Arial, sans-serif !important;
  font-size: clamp(27px, 2.1vw, 38px) !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: -0.04em !important;
}

.about-swat-footerline span {
  display: block !important;
  margin-top: 7px !important;
  color: rgba(141, 221, 255, 0.90) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

@media (max-height: 820px) and (min-width: 981px) {
  .about-swat-layout {
    width: min(1360px, calc(100% - 140px)) !important;
    gap: clamp(48px, 5vw, 82px) !important;
  }

  .about-swat-left h1 {
    font-size: clamp(44px, 4.25vw, 68px) !important;
    margin-bottom: 22px !important;
  }

  .about-swat-left p {
    font-size: clamp(15px, 1vw, 18px) !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
  }

  .about-swat-item {
    padding-bottom: 17px !important;
    margin-bottom: 17px !important;
  }

  .about-swat-item h2 {
    font-size: clamp(28px, 2.2vw, 38px) !important;
  }

  .about-swat-item p {
    font-size: clamp(14px, 0.95vw, 17px) !important;
    line-height: 1.22 !important;
  }

  .about-swat-footerline {
    margin-top: 22px !important;
  }

  .about-swat-footerline div {
    padding-top: 11px !important;
    padding-bottom: 11px !important;
  }
}

@media (max-height: 700px) and (min-width: 981px) {
  .about-swat-footerline {
    display: none !important;
  }

  .about-swat-left h1 {
    font-size: clamp(40px, 3.7vw, 58px) !important;
  }
}

@media (max-width: 980px) {
  body.inner-body:has(.about-swat-layout) {
    overflow: auto !important;
  }

  .about-editorial-main:has(.about-swat-layout) {
    height: auto !important;
    min-height: 100vh !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .about-editorial-section:has(.about-swat-layout) {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    display: block !important;
    overflow: visible !important;
    padding: 46px 0 66px !important;
  }

  .about-swat-layout {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    padding: 0 26px !important;
  }

  .about-swat-left,
  .about-swat-right {
    padding-left: 22px !important;
  }

  .about-swat-left h1 {
    font-size: clamp(42px, 11vw, 62px) !important;
  }

  .about-swat-left p,
  .about-swat-item p {
    font-size: 15.5px !important;
    line-height: 1.38 !important;
  }

  .about-swat-item h2 {
    font-size: clamp(30px, 8.5vw, 42px) !important;
  }

  .about-swat-footerline {
    grid-template-columns: 1fr !important;
  }

  .about-swat-footerline div {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(141, 221, 255, 0.24) !important;
  }

  .about-swat-footerline div:last-child {
    border-bottom: 0 !important;
  }
}

/* V120 Services SWAT-style editorial sections */
.services-swat-section {
  position: relative !important;
  min-height: calc(100vh - var(--header-height)) !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  padding: clamp(54px, 6vh, 86px) 0 !important;
  color: #fff !important;
  background:
    linear-gradient(90deg, rgba(4, 5, 6, 0.88) 0%, rgba(5, 6, 7, 0.72) 48%, rgba(5, 6, 7, 0.86) 100%),
    radial-gradient(circle at 72% 45%, rgba(255,255,255,0.12), transparent 34%),
    #050607 !important;
}

.services-swat-direct {
  background:
    linear-gradient(90deg, rgba(4, 5, 6, 0.88) 0%, rgba(5, 6, 7, 0.70) 52%, rgba(5, 6, 7, 0.86) 100%),
    url("assets/service1.webp") center center / cover no-repeat,
    #050607 !important;
}

.services-swat-final {
  background:
    linear-gradient(90deg, rgba(4, 5, 6, 0.88) 0%, rgba(5, 6, 7, 0.70) 52%, rgba(5, 6, 7, 0.88) 100%),
    url("assets/service2.webp") center center / cover no-repeat,
    #050607 !important;
}

.services-swat-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 72px 72px;
}

.services-swat-inner {
  position: relative !important;
  z-index: 2 !important;
  width: min(1400px, calc(100% - 150px)) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(410px, 0.86fr) minmax(560px, 1.14fr) !important;
  gap: clamp(66px, 6vw, 112px) !important;
  align-items: center !important;
}

.services-swat-lead {
  padding-left: clamp(26px, 2.3vw, 40px) !important;
  border-left: 1px solid rgba(141, 221, 255, 0.68) !important;
}

.services-swat-lead .eyebrow,
.services-swat-item span {
  display: block !important;
  margin: 0 0 16px !important;
  color: #8bddff !important;
  letter-spacing: 0.32em !important;
  font-size: clamp(12px, 0.76vw, 14px) !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

.services-swat-lead h2 {
  margin: 0 0 clamp(24px, 3vh, 38px) !important;
  max-width: 600px !important;
  color: #ffffff !important;
  font-family: 'Yapari', Impact, sans-serif !important;
  font-size: clamp(52px, 4.8vw, 82px) !important;
  line-height: 0.96 !important;
  letter-spacing: 0.01em !important;
  text-shadow: 0 24px 58px rgba(0,0,0,0.45) !important;
}

.services-swat-lead p {
  max-width: 630px !important;
  margin: 0 0 24px !important;
  color: rgba(255,255,255,0.78) !important;
  font-size: clamp(17px, 1.12vw, 21px) !important;
  line-height: 1.32 !important;
  font-weight: 600 !important;
}

.services-swat-lead .button {
  margin-top: 10px !important;
}

.services-swat-list {
  position: relative !important;
  padding-left: clamp(34px, 3.4vw, 62px) !important;
  border-left: 1px solid rgba(141, 221, 255, 0.62) !important;
}

.services-swat-item {
  display: grid !important;
  grid-template-columns: 98px 1fr !important;
  gap: clamp(18px, 2vw, 34px) !important;
  align-items: start !important;
  color: inherit !important;
  text-decoration: none !important;
  padding: 0 0 clamp(22px, 3vh, 34px) !important;
  margin: 0 0 clamp(20px, 2.4vh, 30px) !important;
  border-bottom: 1px solid rgba(255,255,255,0.22) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.services-swat-item:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

.services-swat-item h3 {
  margin: 0 0 9px !important;
  color: #ffffff !important;
  font-family: 'CabinLocal', Arial, sans-serif !important;
  font-size: clamp(31px, 2.45vw, 48px) !important;
  line-height: 1.02 !important;
  font-weight: 500 !important;
  letter-spacing: -0.035em !important;
}

.services-swat-item p {
  margin: 0 !important;
  max-width: 690px !important;
  color: rgba(255,255,255,0.72) !important;
  font-size: clamp(16px, 1.05vw, 19px) !important;
  line-height: 1.28 !important;
  font-weight: 500 !important;
}

.services-swat-item:hover h3,
.services-swat-item:hover span {
  color: #ffffff !important;
}

@media (max-height: 820px) and (min-width: 981px) {
  .services-swat-section {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  .services-swat-inner {
    width: min(1360px, calc(100% - 140px)) !important;
    gap: clamp(48px, 5vw, 82px) !important;
  }

  .services-swat-lead h2 {
    font-size: clamp(44px, 4.1vw, 68px) !important;
    margin-bottom: 22px !important;
  }

  .services-swat-lead p {
    font-size: clamp(15px, 0.98vw, 18px) !important;
    line-height: 1.25 !important;
  }

  .services-swat-item {
    padding-bottom: 17px !important;
    margin-bottom: 17px !important;
  }

  .services-swat-item h3 {
    font-size: clamp(27px, 2.05vw, 38px) !important;
  }

  .services-swat-item p {
    font-size: clamp(14px, 0.92vw, 17px) !important;
    line-height: 1.23 !important;
  }
}

@media (max-width: 980px) {
  .services-swat-section {
    min-height: auto !important;
    display: block !important;
    padding: 50px 0 62px !important;
  }

  .services-swat-inner {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
    gap: 38px !important;
    padding: 0 26px !important;
  }

  .services-swat-lead,
  .services-swat-list {
    padding-left: 22px !important;
  }

  .services-swat-lead h2 {
    font-size: clamp(42px, 11vw, 62px) !important;
    max-width: 100% !important;
  }

  .services-swat-lead p,
  .services-swat-item p {
    font-size: 15.5px !important;
    line-height: 1.38 !important;
  }

  .services-swat-item {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    padding-bottom: 24px !important;
    margin-bottom: 24px !important;
  }

  .services-swat-item h3 {
    font-size: clamp(30px, 8.5vw, 42px) !important;
  }
}

/* V122 - How We Help Strat X refine-style rebuild */
.how-refine-main {
  background: #050607;
  color: #fff;
}

.how-refine-section {
  position: relative;
  min-height: calc(100svh - var(--header-height, 116px));
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.58), rgba(0,0,0,0.86)),
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.11), transparent 35%),
    url('assets/about.webp') center / cover no-repeat;
}

.how-refine-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.026) 1px, transparent 1px);
  background-size: 86px 86px;
  opacity: 0.34;
  pointer-events: none;
}

.how-refine-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.30) 42%, rgba(0,0,0,0.82) 100%),
    radial-gradient(circle at 50% 48%, rgba(255,255,255,0.08), transparent 34%);
}

.how-refine-inner {
  position: relative;
  z-index: 2;
  width: min(1220px, calc(100% - 10vw));
  margin: 0 auto;
  padding: clamp(26px, 3.5vh, 48px) 0;
}

.how-refine-head {
  max-width: 980px;
  margin: 0 auto clamp(26px, 4vh, 44px);
  text-align: center;
}

.how-refine-head .eyebrow,
.how-refine-kicker {
  margin: 0 0 12px;
  color: #78dbff;
  text-transform: uppercase;
  letter-spacing: 0.38em;
  font-size: 0.78rem;
  font-weight: 800;
}

.how-refine-head h1 {
  margin: 0;
  font-family: var(--display-font, 'Yapari', sans-serif);
  font-size: clamp(3.8rem, 7.2vw, 7.1rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: none;
}

.how-refine-head p {
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(255,255,255,0.72);
  font-size: clamp(1.05rem, 1.35vw, 1.45rem);
  line-height: 1.28;
}

.how-refine-core {
  position: relative;
  width: min(780px, 100%);
  margin: 0 auto;
  padding: 0 0 0 34px;
  border-left: 1px solid rgba(120, 219, 255, 0.55);
}

.how-refine-core h2 {
  margin: 0 0 18px;
  max-width: 650px;
  font-size: clamp(2.45rem, 4.25vw, 4.7rem);
  line-height: 0.94;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.how-refine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,0.22);
  max-width: 690px;
}

.how-refine-point {
  min-height: 104px;
  padding: 14px 24px 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.how-refine-point:nth-child(odd) {
  border-right: 1px solid rgba(255,255,255,0.16);
}

.how-refine-point:nth-child(even) {
  padding-left: 24px;
}

.how-refine-point-wide {
  grid-column: 1 / 2;
  border-right: 1px solid rgba(255,255,255,0.16);
}

.how-refine-point h3 {
  margin: 0 0 4px;
  font-size: clamp(1.35rem, 2.05vw, 2.05rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.how-refine-point p {
  margin: 0;
  color: rgba(255,255,255,0.68);
  font-size: clamp(0.92rem, 1.03vw, 1.05rem);
  line-height: 1.18;
}

.how-refine-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(940px, 100%);
  margin: clamp(28px, 4vh, 42px) auto 0;
  border-top: 1px solid rgba(120, 219, 255, 0.40);
  border-bottom: 1px solid rgba(120, 219, 255, 0.25);
  background: rgba(0,0,0,0.18);
}

.how-refine-strip div {
  padding: 14px 22px;
  border-right: 1px solid rgba(255,255,255,0.14);
}

.how-refine-strip div:last-child {
  border-right: 0;
}

.how-refine-strip strong {
  display: block;
  font-size: clamp(1.35rem, 2vw, 2.15rem);
  line-height: 1;
  font-weight: 500;
}

.how-refine-strip span {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,0.66);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .how-refine-section {
    min-height: auto;
    align-items: flex-start;
    padding: 46px 0 52px;
  }

  .how-refine-inner {
    width: min(100% - 44px, 640px);
    padding: 0;
  }

  .how-refine-head {
    text-align: left;
    margin-bottom: 34px;
  }

  .how-refine-head h1 {
    font-size: clamp(3.2rem, 14vw, 4.75rem);
  }

  .how-refine-head p {
    margin-left: 0;
    font-size: 1rem;
  }

  .how-refine-core {
    width: 100%;
    padding-left: 22px;
  }

  .how-refine-core h2 {
    font-size: clamp(2.35rem, 11vw, 3.8rem);
  }

  .how-refine-grid {
    grid-template-columns: 1fr;
  }

  .how-refine-point,
  .how-refine-point:nth-child(even),
  .how-refine-point-wide {
    min-height: auto;
    padding: 18px 0;
    border-right: 0;
  }

  .how-refine-point h3 {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
  }

  .how-refine-strip {
    grid-template-columns: 1fr;
  }

  .how-refine-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.14);
  }

  .how-refine-strip div:last-child {
    border-bottom: 0;
  }
}

/* V123 - How We Help refined Strat X style sizing and spacing */
body.inner-body:has(.how-refine-main) {
  overflow-x: hidden;
  background: #050607;
}

body.inner-body:has(.how-refine-main) .site-footer {
  display: none;
}

.how-refine-section {
  min-height: calc(100svh - var(--header-height, 116px)) !important;
  align-items: center !important;
  padding: clamp(18px, 2.2vh, 30px) 0 !important;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.60), rgba(0,0,0,0.86)),
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.08), transparent 34%),
    url('assets/about.webp') center / cover no-repeat !important;
}

.how-refine-inner {
  width: min(1180px, calc(100% - 14vw)) !important;
  padding: 0 !important;
}

.how-refine-head {
  max-width: 940px !important;
  margin: 0 auto clamp(20px, 2.8vh, 30px) !important;
  text-align: center !important;
}

.how-refine-head .eyebrow,
.how-refine-kicker {
  margin-bottom: 10px !important;
  letter-spacing: 0.36em !important;
  font-size: 0.76rem !important;
}

.how-refine-head h1 {
  font-size: clamp(4rem, 5.35vw, 5.95rem) !important;
  line-height: 0.92 !important;
  letter-spacing: -0.04em !important;
  max-width: 960px !important;
  margin: 0 auto !important;
}

.how-refine-head p {
  max-width: 780px !important;
  margin: 14px auto 0 !important;
  font-size: clamp(1.05rem, 1.25vw, 1.28rem) !important;
  line-height: 1.26 !important;
  color: rgba(255,255,255,0.76) !important;
}

.how-refine-core {
  width: min(760px, 100%) !important;
  margin: 0 auto !important;
  padding-left: 28px !important;
  border-left: 1px solid rgba(120, 219, 255, 0.55) !important;
}

.how-refine-core h2 {
  max-width: 640px !important;
  margin: 0 0 16px !important;
  font-size: clamp(2.45rem, 3.45vw, 4.15rem) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.045em !important;
  font-weight: 500 !important;
}

.how-refine-grid {
  max-width: 690px !important;
  grid-template-columns: 1fr 1fr !important;
  border-top: 1px solid rgba(255,255,255,0.20) !important;
}

.how-refine-point {
  min-height: 82px !important;
  padding: 12px 22px 12px 0 !important;
}

.how-refine-point:nth-child(even) {
  padding-left: 22px !important;
}

.how-refine-point h3 {
  margin-bottom: 4px !important;
  font-size: clamp(1.25rem, 1.65vw, 1.72rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.03em !important;
}

.how-refine-point p {
  font-size: clamp(0.86rem, 0.95vw, 0.98rem) !important;
  line-height: 1.18 !important;
  color: rgba(255,255,255,0.70) !important;
}

.how-refine-strip {
  width: min(850px, 100%) !important;
  margin: clamp(20px, 2.8vh, 30px) auto 0 !important;
}

.how-refine-strip div {
  padding: 11px 20px !important;
}

.how-refine-strip strong {
  font-size: clamp(1.22rem, 1.65vw, 1.75rem) !important;
}

.how-refine-strip span {
  margin-top: 4px !important;
  font-size: 0.86rem !important;
}

@media (max-width: 900px) {
  body.inner-body:has(.how-refine-main) .site-footer {
    display: block;
  }

  .how-refine-section {
    min-height: auto !important;
    padding: 38px 0 46px !important;
    align-items: flex-start !important;
  }

  .how-refine-inner {
    width: min(100% - 44px, 640px) !important;
  }

  .how-refine-head {
    text-align: left !important;
    margin-bottom: 28px !important;
  }

  .how-refine-head h1 {
    font-size: clamp(3.05rem, 12.5vw, 4.3rem) !important;
    line-height: 0.92 !important;
  }

  .how-refine-head p {
    margin-left: 0 !important;
    font-size: 1rem !important;
  }

  .how-refine-core {
    padding-left: 20px !important;
  }

  .how-refine-core h2 {
    font-size: clamp(2.25rem, 9.6vw, 3.35rem) !important;
  }

  .how-refine-grid {
    grid-template-columns: 1fr !important;
  }

  .how-refine-point,
  .how-refine-point:nth-child(even),
  .how-refine-point-wide {
    min-height: auto !important;
    padding: 15px 0 !important;
    border-right: 0 !important;
  }

  .how-refine-point h3 {
    font-size: clamp(1.55rem, 7vw, 2.1rem) !important;
  }

  .how-refine-strip {
    grid-template-columns: 1fr !important;
    margin-top: 26px !important;
  }
}

/* V124 - How We Help one-page fit and Strat X spacing fix */
body.inner-body:has(.how-refine-main) {
  overflow: hidden !important;
  background: #050607 !important;
}

body.inner-body:has(.how-refine-main) .site-footer {
  display: none !important;
}

.how-refine-main {
  height: 100vh !important;
  min-height: 100vh !important;
  max-height: 100vh !important;
  padding-top: var(--header-height, 116px) !important;
  overflow: hidden !important;
  background: #050607 !important;
}

.how-refine-section {
  height: calc(100vh - var(--header-height, 116px)) !important;
  min-height: calc(100vh - var(--header-height, 116px)) !important;
  max-height: calc(100vh - var(--header-height, 116px)) !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
}

.how-refine-inner {
  width: min(1180px, calc(100% - 12vw)) !important;
  height: auto !important;
  max-height: calc(100vh - var(--header-height, 116px) - 28px) !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-rows: auto auto auto !important;
  align-content: center !important;
  gap: clamp(12px, 1.45vh, 18px) !important;
}

.how-refine-head {
  max-width: 860px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.how-refine-head .eyebrow,
.how-refine-kicker {
  margin: 0 0 8px !important;
  letter-spacing: 0.34em !important;
  font-size: 0.68rem !important;
  line-height: 1 !important;
}

.how-refine-head h1 {
  max-width: 820px !important;
  margin: 0 auto !important;
  font-size: clamp(2.7rem, 4.2vw, 4.35rem) !important;
  line-height: 0.9 !important;
  letter-spacing: -0.035em !important;
}

.how-refine-head p {
  max-width: 700px !important;
  margin: 12px auto 0 !important;
  font-size: clamp(0.92rem, 1.03vw, 1.05rem) !important;
  line-height: 1.28 !important;
}

.how-refine-core {
  width: min(700px, 100%) !important;
  margin: 0 auto !important;
  padding-left: 24px !important;
  border-left: 1px solid rgba(120, 219, 255, 0.52) !important;
}

.how-refine-core h2 {
  max-width: 580px !important;
  margin: 0 0 12px !important;
  font-size: clamp(2.1rem, 3.05vw, 3.25rem) !important;
  line-height: 0.92 !important;
  letter-spacing: -0.04em !important;
}

.how-refine-grid {
  max-width: 640px !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  border-top: 1px solid rgba(255,255,255,0.20) !important;
}

.how-refine-point {
  min-height: 0 !important;
  padding: 10px 18px 10px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.16) !important;
}

.how-refine-point:nth-child(even) {
  padding-left: 18px !important;
}

.how-refine-point h3 {
  margin: 0 0 3px !important;
  font-size: clamp(1.08rem, 1.42vw, 1.45rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.025em !important;
}

.how-refine-point p {
  margin: 0 !important;
  font-size: clamp(0.78rem, 0.83vw, 0.88rem) !important;
  line-height: 1.17 !important;
}

.how-refine-strip {
  width: min(790px, 100%) !important;
  margin: 0 auto !important;
  grid-template-columns: repeat(3, 1fr) !important;
}

.how-refine-strip div {
  padding: 9px 18px !important;
}

.how-refine-strip strong {
  font-size: clamp(1.05rem, 1.35vw, 1.38rem) !important;
  line-height: 1 !important;
}

.how-refine-strip span {
  margin-top: 3px !important;
  font-size: 0.78rem !important;
}

@media (max-height: 760px) and (min-width: 901px) {
  .how-refine-head h1 {
    font-size: clamp(2.35rem, 3.55vw, 3.6rem) !important;
  }

  .how-refine-head p {
    display: none !important;
  }

  .how-refine-core h2 {
    font-size: clamp(1.9rem, 2.65vw, 2.85rem) !important;
  }

  .how-refine-point {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .how-refine-point p {
    font-size: 0.78rem !important;
  }
}

@media (max-width: 900px) {
  body.inner-body:has(.how-refine-main) {
    overflow: auto !important;
  }

  body.inner-body:has(.how-refine-main) .site-footer {
    display: block !important;
  }

  .how-refine-main {
    height: auto !important;
    min-height: 100vh !important;
    max-height: none !important;
    padding-top: var(--header-height, 92px) !important;
    overflow: visible !important;
  }

  .how-refine-section {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    padding: 34px 0 44px !important;
    align-items: flex-start !important;
    overflow: visible !important;
  }

  .how-refine-inner {
    width: min(100% - 44px, 640px) !important;
    max-height: none !important;
    display: block !important;
  }

  .how-refine-head {
    text-align: left !important;
    margin-bottom: 26px !important;
  }

  .how-refine-head h1 {
    font-size: clamp(2.6rem, 10vw, 4rem) !important;
  }

  .how-refine-head p {
    margin-left: 0 !important;
    font-size: 1rem !important;
  }

  .how-refine-core {
    width: 100% !important;
    padding-left: 18px !important;
  }

  .how-refine-core h2 {
    font-size: clamp(2rem, 8.4vw, 3.1rem) !important;
  }

  .how-refine-grid,
  .how-refine-strip {
    grid-template-columns: 1fr !important;
  }

  .how-refine-point,
  .how-refine-point:nth-child(even),
  .how-refine-point-wide {
    padding: 14px 0 !important;
    border-right: 0 !important;
  }

  .how-refine-point h3 {
    font-size: clamp(1.45rem, 6vw, 2rem) !important;
  }

  .how-refine-strip {
    margin-top: 26px !important;
  }
}

/* V125 - How We Help neutral accent polish */
body.inner-body:has(.how-refine-main) .how-refine-head .eyebrow {
  display: none !important;
}

body.inner-body:has(.how-refine-main) .how-refine-head h1 {
  color: #ffffff !important;
  text-shadow: 0 18px 42px rgba(0,0,0,0.42) !important;
}

body.inner-body:has(.how-refine-main) .how-refine-head p {
  color: rgba(255,255,255,0.84) !important;
}

body.inner-body:has(.how-refine-main) .how-refine-kicker {
  color: rgba(255,255,255,0.62) !important;
  letter-spacing: 0.42em !important;
}

body.inner-body:has(.how-refine-main) .how-refine-core {
  border-left-color: rgba(255,255,255,0.34) !important;
}

body.inner-body:has(.how-refine-main) .how-refine-core h2 {
  color: rgba(255,255,255,0.92) !important;
  text-shadow: 0 18px 48px rgba(0,0,0,0.48) !important;
}

body.inner-body:has(.how-refine-main) .how-refine-grid {
  border-top-color: rgba(255,255,255,0.22) !important;
}

body.inner-body:has(.how-refine-main) .how-refine-point {
  border-bottom-color: rgba(255,255,255,0.16) !important;
}

body.inner-body:has(.how-refine-main) .how-refine-point:nth-child(odd) {
  border-right-color: rgba(255,255,255,0.13) !important;
}

body.inner-body:has(.how-refine-main) .how-refine-point h3 {
  color: #ffffff !important;
}

body.inner-body:has(.how-refine-main) .how-refine-point p {
  color: rgba(255,255,255,0.75) !important;
}

body.inner-body:has(.how-refine-main) .how-refine-strip {
  border-top-color: rgba(255,255,255,0.24) !important;
  border-bottom-color: rgba(255,255,255,0.22) !important;
}

body.inner-body:has(.how-refine-main) .how-refine-strip div {
  border-right-color: rgba(255,255,255,0.14) !important;
}

body.inner-body:has(.how-refine-main) .how-refine-strip strong {
  color: #ffffff !important;
}

body.inner-body:has(.how-refine-main) .how-refine-strip span {
  color: rgba(255,255,255,0.64) !important;
}

@media (max-width: 900px) {
  body.inner-body:has(.how-refine-main) .how-refine-head .eyebrow {
    display: block !important;
    color: rgba(255,255,255,0.72) !important;
    margin-bottom: 10px !important;
  }
}

/* V126 Team page editorial polish - code only */
body.inner-body:has(.team-page-main) {
  overflow: hidden;
}

.team-page-main {
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  padding-top: var(--header-height);
  overflow: hidden;
  background: #06080a;
}

.team-single-section.team-hero-section {
  height: calc(100vh - var(--header-height));
  min-height: calc(100vh - var(--header-height));
  max-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(3, 5, 8, 0.90), rgba(3, 5, 8, 0.58), rgba(3, 5, 8, 0.88)),
    linear-gradient(180deg, rgba(3, 5, 8, 0.32), rgba(3, 5, 8, 0.84)),
    url('assets/team-bg.webp');
  background-size: cover;
  background-position: center;
}

.team-single-section.team-hero-section::before {
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.10), transparent 34%),
    linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.04) 0 1px, transparent 1px);
  background-size: auto, 88px 88px, 88px 88px;
  opacity: 0.55;
}

.team-single-section.team-hero-section::after {
  display: none;
}

.team-hero-inner,
.team-page-inner.team-hero-inner {
  width: min(1420px, 88vw);
  height: auto;
  max-height: calc(100vh - var(--header-height) - 40px);
  margin: 0 auto;
  padding: 0 !important;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  justify-content: initial;
  gap: clamp(18px, 2vh, 28px);
}

.team-hero-heading,
.team-page-heading.team-hero-heading {
  max-width: 980px;
  margin: 0 auto !important;
  text-align: center;
}

.team-hero-heading .eyebrow,
.team-page-heading .eyebrow {
  color: rgba(255,255,255,0.72) !important;
  letter-spacing: 0.22em;
}

.team-hero-heading h1,
.team-page-heading.team-hero-heading h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 4.2vw, 62px) !important;
  line-height: 0.98 !important;
  letter-spacing: 0.018em;
  text-shadow: 0 16px 48px rgba(0,0,0,0.58);
}

.team-hero-heading p,
.team-page-heading.team-hero-heading p {
  max-width: 850px;
  margin: 14px auto 0 !important;
  color: rgba(255,255,255,0.82) !important;
  font-size: clamp(14px, 1vw, 17px) !important;
  line-height: 1.38 !important;
  font-weight: 650;
}

.team-profile-grid.team-hero-grid,
.team-hero-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(28px, 3vw, 52px) !important;
  align-items: stretch;
  width: 100%;
  min-height: 0;
}

.team-profile-card.team-hero-card,
.team-hero-card {
  height: clamp(390px, 56vh, 520px) !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-rows: clamp(170px, 23vh, 230px) 1fr !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, rgba(28,31,35,0.78), rgba(9,11,14,0.88)) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  box-shadow: 0 30px 80px rgba(0,0,0,0.44) !important;
  backdrop-filter: blur(10px);
  text-align: left !important;
  align-items: stretch !important;
}

.team-profile-card.team-hero-card::before,
.team-hero-card::before {
  display: none !important;
}

.team-hero-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  border-radius: 22px 22px 0 0;
  background: rgba(0,0,0,0.35);
}

.team-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(9,11,14,0.62));
}

.team-hero-image img,
.team-hero-card:nth-child(1) .team-hero-image img,
.team-hero-card:nth-child(2) .team-hero-image img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  transform: none !important;
  filter: none !important;
}

.team-hero-card:nth-child(1) .team-hero-image img {
  object-position: center 37% !important;
}

.team-hero-card:nth-child(2) .team-hero-image img {
  object-position: center 36% !important;
}

.team-hero-copy,
.team-profile-copy.team-hero-copy {
  padding: clamp(20px, 2vw, 30px) clamp(24px, 2.5vw, 38px) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  text-align: left !important;
}

.team-role-kicker {
  color: rgba(255,255,255,0.72) !important;
  font-size: 12px !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase;
  margin: 0 0 8px !important;
}

.team-hero-copy h2,
.team-profile-copy.team-hero-copy h2 {
  margin: 0 !important;
  color: #fff;
  font-size: clamp(32px, 3vw, 48px) !important;
  line-height: 0.96 !important;
  letter-spacing: 0.018em;
}

.team-hero-copy span,
.team-profile-copy.team-hero-copy span {
  margin: 8px 0 0 !important;
  color: rgba(255,255,255,0.82) !important;
  font-size: clamp(13px, 0.95vw, 15px) !important;
  font-weight: 750;
}

.team-hero-copy p:not(.team-role-kicker),
.team-profile-copy.team-hero-copy p:not(.team-role-kicker) {
  max-width: none !important;
  margin: 14px 0 0 !important;
  color: rgba(255,255,255,0.78) !important;
  font-size: clamp(13px, 0.88vw, 15px) !important;
  line-height: 1.38 !important;
  font-weight: 600;
}

.team-hero-copy p:not(.team-role-kicker) + p:not(.team-role-kicker) {
  margin-top: 10px !important;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.13);
}

.team-hero-card .team-headshot-wrap,
.team-headshot-wrap {
  display: none !important;
}

@media (max-height: 820px) and (min-width: 981px) {
  .team-hero-inner,
  .team-page-inner.team-hero-inner {
    width: min(1360px, 88vw);
    gap: 16px;
  }

  .team-hero-heading h1,
  .team-page-heading.team-hero-heading h1 {
    font-size: clamp(34px, 3.8vw, 52px) !important;
  }

  .team-hero-heading p,
  .team-page-heading.team-hero-heading p {
    margin-top: 10px !important;
    font-size: 14px !important;
  }

  .team-profile-card.team-hero-card,
  .team-hero-card {
    height: clamp(340px, 54vh, 430px) !important;
    grid-template-rows: clamp(135px, 20vh, 175px) 1fr !important;
  }

  .team-hero-copy,
  .team-profile-copy.team-hero-copy {
    padding: 18px 26px !important;
  }

  .team-hero-copy h2,
  .team-profile-copy.team-hero-copy h2 {
    font-size: clamp(28px, 2.55vw, 38px) !important;
  }

  .team-hero-copy p:not(.team-role-kicker),
  .team-profile-copy.team-hero-copy p:not(.team-role-kicker) {
    margin-top: 10px !important;
    font-size: 12.5px !important;
    line-height: 1.31 !important;
  }
}

@media (max-width: 980px) {
  body.inner-body:has(.team-page-main) {
    overflow: auto !important;
  }

  .team-page-main {
    height: auto;
    min-height: 100vh;
    max-height: none;
    overflow: visible;
  }

  .team-single-section.team-hero-section {
    height: auto;
    min-height: auto;
    max-height: none;
    align-items: flex-start;
    overflow: visible;
    padding: 40px 0 54px;
  }

  .team-hero-inner,
  .team-page-inner.team-hero-inner {
    width: min(100% - 44px, 720px);
    max-height: none;
    gap: 24px;
  }

  .team-hero-heading,
  .team-page-heading.team-hero-heading {
    text-align: left;
    max-width: none;
  }

  .team-hero-heading h1,
  .team-page-heading.team-hero-heading h1 {
    font-size: clamp(34px, 10vw, 54px) !important;
  }

  .team-profile-grid.team-hero-grid,
  .team-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .team-profile-card.team-hero-card,
  .team-hero-card {
    height: auto !important;
    grid-template-rows: auto auto !important;
  }

  .team-hero-image {
    height: auto !important;
  }

  .team-hero-image img,
  .team-hero-card:nth-child(1) .team-hero-image img,
  .team-hero-card:nth-child(2) .team-hero-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center top !important;
  }

  .team-hero-copy,
  .team-profile-copy.team-hero-copy {
    padding: 24px !important;
  }
}

/* V127 Team page DR-style leadership panels */
body.inner-body:has(.team-dr-section) {
  overflow: hidden !important;
}

.team-single-section.team-dr-section {
  height: calc(100vh - var(--header-height)) !important;
  min-height: calc(100vh - var(--header-height)) !important;
  max-height: calc(100vh - var(--header-height)) !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
}

.team-dr-inner,
.team-page-inner.team-dr-inner {
  width: min(1520px, 92vw) !important;
  height: auto !important;
  max-height: calc(100vh - var(--header-height) - 26px) !important;
  margin: 0 auto !important;
  padding: clamp(12px, 1.8vh, 22px) 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: clamp(18px, 2.5vh, 30px) !important;
}

.team-dr-heading,
.team-page-heading.team-dr-heading {
  max-width: 980px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.team-dr-heading .eyebrow,
.team-page-heading.team-dr-heading .eyebrow {
  color: rgba(255,255,255,0.78) !important;
  letter-spacing: 0.24em !important;
}

.team-dr-heading h1,
.team-page-heading.team-dr-heading h1 {
  margin: 0 !important;
  color: #fff !important;
  font-family: 'Yapari', Impact, sans-serif !important;
  font-size: clamp(34px, 4vw, 62px) !important;
  line-height: 0.98 !important;
  letter-spacing: 0.018em !important;
  text-shadow: 0 18px 48px rgba(0,0,0,0.55) !important;
}

.team-dr-heading p,
.team-page-heading.team-dr-heading p {
  max-width: 880px !important;
  margin: 12px auto 0 !important;
  color: rgba(255,255,255,0.82) !important;
  font-size: clamp(14px, 0.95vw, 17px) !important;
  line-height: 1.38 !important;
  font-weight: 650 !important;
}

.team-dr-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(24px, 2.5vw, 42px) !important;
  width: 100% !important;
  align-items: stretch !important;
}

.team-dr-card {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(190px, 32%) 1fr !important;
  min-height: clamp(330px, 44vh, 430px) !important;
  overflow: hidden !important;
  background: rgba(255,255,255,0.94) !important;
  border-top: 4px solid rgba(255,255,255,0.82) !important;
  box-shadow: 0 28px 80px rgba(0,0,0,0.42) !important;
}

.team-dr-card::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 22px;
  width: 72px;
  height: 86px;
  border-top: 6px solid rgba(0,0,0,0.12);
  border-right: 6px solid rgba(0,0,0,0.12);
  pointer-events: none;
}

.team-dr-image {
  margin: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  background: #d9d9d9 !important;
}

.team-dr-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 16% !important;
  filter: grayscale(1) contrast(1.06) brightness(0.98) !important;
  transform: none !important;
}

.team-dr-card:nth-child(1) .team-dr-image img {
  object-position: center 18% !important;
}

.team-dr-card:nth-child(2) .team-dr-image img {
  object-position: center 14% !important;
}

.team-dr-copy {
  position: relative !important;
  z-index: 1 !important;
  padding: clamp(28px, 2.3vw, 42px) clamp(28px, 2.7vw, 48px) !important;
  color: #070b10 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
}

.team-dr-copy .team-role-kicker {
  margin: 0 0 10px !important;
  color: rgba(0,0,0,0.68) !important;
  font-size: clamp(11px, 0.76vw, 13px) !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  font-weight: 900 !important;
}

.team-dr-copy h2 {
  margin: 0 !important;
  color: #000 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(30px, 2.4vw, 46px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.03em !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

.team-dr-subtitle {
  margin: 8px 0 14px !important;
  color: rgba(0,0,0,0.72) !important;
  font-size: clamp(13px, 0.9vw, 15px) !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

.team-dr-copy p:not(.team-role-kicker):not(.team-dr-subtitle) {
  margin: 0 !important;
  color: rgba(0,0,0,0.78) !important;
  font-size: clamp(14px, 0.9vw, 16px) !important;
  line-height: 1.48 !important;
  font-weight: 650 !important;
}

.team-dr-copy ul {
  list-style: none !important;
  margin: clamp(16px, 1.5vw, 22px) 0 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: 10px !important;
}

.team-dr-copy li {
  position: relative !important;
  padding-left: 18px !important;
  color: #000 !important;
  font-size: clamp(13px, 0.88vw, 15px) !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}

.team-dr-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 7px;
  height: 7px;
  transform: translateY(-50%);
  background: #111;
}

@media (max-height: 820px) and (min-width: 981px) {
  .team-dr-inner,
  .team-page-inner.team-dr-inner {
    width: min(1440px, 91vw) !important;
    gap: 16px !important;
  }

  .team-dr-heading h1,
  .team-page-heading.team-dr-heading h1 {
    font-size: clamp(30px, 3.3vw, 48px) !important;
  }

  .team-dr-heading p,
  .team-page-heading.team-dr-heading p {
    margin-top: 8px !important;
    font-size: 13.5px !important;
  }

  .team-dr-card {
    min-height: clamp(295px, 43vh, 355px) !important;
    grid-template-columns: minmax(170px, 31%) 1fr !important;
  }

  .team-dr-copy {
    padding: 24px 30px !important;
  }

  .team-dr-copy h2 {
    font-size: clamp(28px, 2.2vw, 38px) !important;
  }

  .team-dr-copy p:not(.team-role-kicker):not(.team-dr-subtitle),
  .team-dr-copy li {
    font-size: 12.7px !important;
    line-height: 1.32 !important;
  }

  .team-dr-copy ul {
    gap: 7px !important;
    margin-top: 12px !important;
  }
}

@media (max-width: 980px) {
  body.inner-body:has(.team-dr-section) {
    overflow: auto !important;
  }

  .team-single-section.team-dr-section {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    align-items: flex-start !important;
    overflow: visible !important;
    padding: 34px 0 54px !important;
  }

  .team-dr-inner,
  .team-page-inner.team-dr-inner {
    width: min(100% - 44px, 760px) !important;
    max-height: none !important;
    gap: 24px !important;
  }

  .team-dr-heading,
  .team-page-heading.team-dr-heading {
    text-align: left !important;
    max-width: none !important;
  }

  .team-dr-heading h1,
  .team-page-heading.team-dr-heading h1 {
    font-size: clamp(34px, 10vw, 56px) !important;
  }

  .team-dr-heading p,
  .team-page-heading.team-dr-heading p {
    margin-left: 0 !important;
  }

  .team-dr-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .team-dr-card {
    grid-template-columns: 34% 1fr !important;
    min-height: 0 !important;
  }

  .team-dr-image {
    min-height: 310px !important;
  }

  .team-dr-copy {
    padding: 28px !important;
  }
}

@media (max-width: 640px) {
  .team-dr-card {
    grid-template-columns: 1fr !important;
  }

  .team-dr-image {
    height: auto !important;
    min-height: 0 !important;
  }

  .team-dr-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center top !important;
  }

  .team-dr-copy {
    padding: 26px 24px 28px !important;
  }
}

/* V128 Contact final polish - SWAT-style contact layout */
.contact-page-main {
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
}

.contact-full-section {
  min-height: calc(100vh - var(--header-height));
  height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: clamp(28px, 4vw, 56px) 0;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .74), rgba(0, 0, 0, .48) 48%, rgba(0, 0, 0, .38)),
    linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .72)),
    url('assets/about.webp');
  background-size: cover;
  background-position: center;
}

.contact-full-section::before {
  opacity: .32;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 76px 76px;
}

.contact-full-grid {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, .86fr);
  align-items: center;
  gap: clamp(54px, 7vw, 110px);
}

.contact-editorial {
  max-width: 620px;
  color: #fff;
}

.contact-copy .eyebrow {
  margin-bottom: 12px;
  letter-spacing: .26em;
  color: rgba(255,255,255,.72);
}

.contact-copy h1 {
  max-width: 620px;
  margin: 0 0 24px;
  font-size: clamp(58px, 5.4vw, 94px);
  line-height: .92;
  letter-spacing: .015em;
  color: #fff;
}

.contact-copy > p {
  max-width: 620px;
  margin: 0 0 34px;
  color: rgba(255,255,255,.9);
  font-size: clamp(17px, 1.14vw, 21px);
  line-height: 1.45;
  font-weight: 600;
}

.contact-route-list {
  border-top: 1px solid rgba(255,255,255,.22);
  border-bottom: 1px solid rgba(255,255,255,.22);
}

.contact-route-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.contact-route-item:last-child { border-bottom: 0; }

.contact-route-item span {
  font-family: var(--font-body);
  letter-spacing: .2em;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  line-height: 1.3;
  padding-top: 4px;
}

.contact-route-item strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1;
  letter-spacing: .02em;
  margin-bottom: 7px;
}

.contact-route-item p {
  margin: 0;
  max-width: 470px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.35;
}

.contact-form-panel {
  width: 100%;
  padding: clamp(26px, 2.8vw, 40px);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.115), rgba(255,255,255,.035) 42%, rgba(0,0,0,.38)),
    rgba(13, 16, 18, .72);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 28px 70px rgba(0,0,0,.34);
  backdrop-filter: blur(18px);
}

.contact-form-panel label {
  color: rgba(255,255,255,.88);
  font-size: 12px;
  font-weight: 800;
}

.contact-form-panel input,
.contact-form-panel textarea {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(245,248,252,.94);
  color: #081629;
  box-shadow: none;
}

.contact-form-panel textarea {
  min-height: 124px;
  resize: vertical;
}

.contact-form-panel .button-primary {
  height: 54px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.025)), #111;
  border: 1px solid rgba(255,255,255,.42);
  color: #fff;
  box-shadow: 0 16px 34px rgba(0,0,0,.28);
}

.contact-form-panel .button-primary:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.72);
}

@media (min-width: 901px) {
  .contact-page-main + .site-footer { display: none; }
}

@media (max-width: 900px) {
  .contact-page-main,
  .contact-full-section {
    min-height: auto;
    height: auto;
    overflow: visible;
  }

  .contact-full-section {
    align-items: flex-start;
    padding: 34px 0 44px;
    background-position: center;
  }

  .contact-full-grid {
    width: min(100% - 44px, 620px);
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-copy h1 {
    font-size: clamp(46px, 12vw, 68px);
    line-height: .93;
  }

  .contact-copy > p {
    font-size: 16px;
    margin-bottom: 26px;
  }

  .contact-route-item {
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 14px;
    padding: 15px 0;
  }

  .contact-route-item strong {
    font-size: 25px;
  }

  .contact-form-panel {
    border-radius: 22px;
    padding: 22px;
  }

  .contact-form-panel .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .contact-full-grid {
    width: min(100% - 28px, 520px);
  }

  .contact-copy h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .contact-route-list {
    display: none;
  }

  .contact-form-panel textarea {
    min-height: 110px;
  }
}


/* V129 Contact final tidy - keep layout, fix spacing and route alignment */
@media (min-width: 901px) {
  .contact-page-main {
    min-height: calc(100vh - var(--header-height));
    height: calc(100vh - var(--header-height));
    overflow: hidden;
  }

  .contact-full-section {
    min-height: calc(100vh - var(--header-height));
    height: calc(100vh - var(--header-height));
    padding: 22px 0;
    align-items: center;
  }

  .contact-full-grid {
    width: min(1160px, calc(100% - 72px));
    grid-template-columns: minmax(0, 520px) minmax(390px, 440px);
    gap: clamp(52px, 6vw, 92px);
    align-items: center;
  }

  .contact-editorial {
    max-width: 520px;
  }

  .contact-copy .eyebrow {
    margin-bottom: 10px;
    font-size: 13px;
    letter-spacing: .26em;
  }

  .contact-copy h1 {
    max-width: 520px;
    margin-bottom: 18px;
    font-size: clamp(52px, 4.55vw, 74px);
    line-height: .9;
    letter-spacing: .012em;
  }

  .contact-copy > p {
    max-width: 520px;
    margin-bottom: 22px;
    font-size: clamp(15px, 1vw, 18px);
    line-height: 1.42;
  }

  .contact-route-item {
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 14px;
    padding: 11px 0;
  }

  .contact-route-item span {
    font-size: 10px;
    padding-top: 3px;
  }

  .contact-route-item strong {
    grid-column: 2;
    font-size: clamp(20px, 1.55vw, 26px);
    line-height: 1.02;
    margin-bottom: 4px;
  }

  .contact-route-item p {
    grid-column: 2;
    max-width: 420px;
    font-size: 12px;
    line-height: 1.28;
  }

  .contact-form-panel {
    max-width: 440px;
    padding: 26px;
    border-radius: 24px;
  }

  .contact-form-panel .form-row {
    gap: 14px;
  }

  .contact-form-panel label {
    font-size: 11px;
  }

  .contact-form-panel input {
    height: 46px;
    padding: 0 16px;
  }

  .contact-form-panel textarea {
    min-height: 100px;
    padding: 14px 16px;
  }

  .contact-form-panel .button-primary {
    height: 50px;
    margin-top: 6px;
  }
}

/* V131 services hero desktop lift
   Move the full Services hero unit further upward as one aligned group so the CTA sits comfortably inside the first screen. */
@media (min-width: 981px) {
  body.inner-body .services-hub-page .services-hero-cards-section .services-hero-grid,
  body.inner-body .services-hub-page .services-intro-mesh-section .services-hero-grid,
  body.inner-body .services-hub-page .services-hero-grid {
    transform: translateY(-96px) !important;
  }

  body.inner-body .services-hub-page .services-hero-cards-section,
  body.inner-body .services-hub-page .services-intro-mesh-section {
    overflow: hidden !important;
  }
}

@media (min-width: 981px) and (max-height: 820px) {
  body.inner-body .services-hub-page .services-hero-cards-section .services-hero-grid,
  body.inner-body .services-hub-page .services-intro-mesh-section .services-hero-grid,
  body.inner-body .services-hub-page .services-hero-grid {
    transform: translateY(-112px) !important;
  }
}
