:root {
  --navy: #020e22;
  --white: #ffffff;
  --accent: #33ba9e;
  --ink: #111827;
  --muted: #667085;
  --soft: #d4dfe8;
  --line: rgba(2, 14, 34, 0.14);
  --shadow: 0 24px 80px rgba(17, 24, 39, 0.14);
  --radius: 8px;
  --hero-height: 700px;
  --hero-mobile-height: 620px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: Montserrat, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.menu-open {
  overflow: auto;
}

#app {
  opacity: 0;
  transition: opacity 240ms ease;
}

#app.app-ready {
  opacity: 1;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 14, 34, 0.96);
  color: var(--white);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.container {
  width: min(calc(100% - 120px), 1540px);
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 78px;
  gap: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 220px;
}

.brand img {
  width: 297px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav.is-open {
  position: fixed;
  top: 92px;
  right: 32px;
  display: grid;
  align-items: start;
  gap: 0;
  width: min(420px, calc(100vw - 64px));
  max-height: calc(100vh - 116px);
  overflow: auto;
  padding: 18px 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(24, 31, 44, 0.96);
  color: var(--white);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.main-nav.is-open a,
.main-nav.is-open .nav-group {
  padding: 16px 0;
}

.main-nav.is-open .nav-group > a {
  display: block;
}

.main-nav.is-open .sub-menu {
  position: static;
  display: grid;
  width: 100%;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  pointer-events: auto;
}

.main-nav a {
  position: relative;
  opacity: 0.88;
}

.main-nav a:hover,
.main-nav a.is-active {
  opacity: 1;
  color: var(--accent);
}

.nav-group {
  position: relative;
  padding: 34px 0;
}

.sub-menu {
  position: absolute;
  top: 86px;
  left: 50%;
  display: grid;
  width: min(560px, calc(100vw - 48px));
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
  transform: translateX(-50%);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: 180ms ease;
}

.nav-group:hover .sub-menu,
.nav-group:focus-within .sub-menu {
  opacity: 1;
  pointer-events: auto;
}

.sub-menu a {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-transform: none;
}

.sub-menu strong {
  font-size: 17px;
}

.sub-menu span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.support-link {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.08) 42%, rgba(51, 186, 158, 0.18)),
    rgba(255, 255, 255, 0.1);
  color: var(--white);
  backdrop-filter: blur(22px) saturate(1.8) contrast(1.08);
  -webkit-backdrop-filter: blur(22px) saturate(1.8) contrast(1.08);
  box-shadow: none;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.support-link:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--navy);
  box-shadow: none;
}

.support-downloads {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.remote-header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  height: 50px;
  padding: 0 28px;
  border: 1px solid var(--accent);
  border-radius: 99px;
  background: transparent;
  color: var(--white);
  box-shadow: none;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.remote-header-link:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: var(--navy);
}

.support-downloads .support-link {
  box-sizing: border-box;
  flex: 0 0 220px;
  justify-content: center;
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  height: 50px;
  padding: 0 20px;
  gap: 5px;
  font-size: 6px;
  font-weight: 200;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.support-downloads .support-link > span:last-child {
  display: inline-block;
  flex: 0 1 auto;
  min-width: 0;
  font-size: 6px;
  font-weight: 200;
  line-height: 1;
  white-space: nowrap;
}

.site-header .support-downloads a.support-link,
.site-header .support-downloads a.support-link > span:last-child {
  font-size: 6px !important;
  font-weight: 200 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

.site-header .support-downloads a.support-link {
  box-sizing: border-box !important;
  flex: 0 0 220px !important;
  width: 220px !important;
  min-width: 220px !important;
  max-width: 220px !important;
  padding-left: 20px !important;
  padding-right: 40px !important;
}

.apple-glass-support {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  height: 50px;
  padding: 0 28px;
  border: 1px solid var(--accent);
  border-radius: 99px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.12) 38%, rgba(51, 186, 158, 0.22)),
    rgba(2, 14, 34, 0.38);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.apple-glass-support::before {
  content: "";
  position: absolute;
  inset: 1px 10px auto 10px;
  height: 42%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: -1;
}

.apple-glass-support:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--accent);
  color: var(--navy);
}

.client-login-support {
  min-width: 190px;
  border-color: var(--accent);
  background: var(--accent);
  color: var(--navy);
  box-shadow: none;
}

.client-login-support::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0));
}

.client-login-support:hover {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.12) 38%, rgba(51, 186, 158, 0.22)),
    rgba(2, 14, 34, 0.38);
  color: var(--white);
}

.remote-support-page {
  min-height: 50vh;
  position: relative;
  overflow: hidden;
}

.remote-support-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("backgrounds/hero-flow.jpg") center calc(50% + 200px) / cover no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

.remote-support-page > .container {
  position: relative;
  z-index: 1;
}

.remote-support-page .container {
  max-width: 1080px;
}

.remote-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.remote-support-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 66px;
  padding: 14px 28px;
  border: 1px solid rgba(51, 186, 158, 0.62);
  border-radius: 99px;
  background: rgba(51, 186, 158, 0.18);
  color: var(--white);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.remote-support-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.remote-support-card .platform-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}

.remote-support-card .platform-icon.apple-logo img {
  width: 30px;
  height: 30px;
}

.remote-support-card span:nth-child(2) {
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 700;
  line-height: 1.05;
}

.remote-support-card strong {
  margin-left: auto;
  color: var(--accent);
  font-size: 28px;
  font-weight: 700;
}

.remote-support-note {
  max-width: none;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.6;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .remote-support-grid {
    grid-template-columns: 1fr;
  }

  .remote-support-card {
    min-height: 52px;
    padding: 11px 22px;
  }

  .remote-support-note {
    white-space: normal;
  }
}

.portal-auth,
.portal-section {
  min-height: 72vh;
}

.portal-auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  align-items: center;
  gap: 48px;
}

.portal-auth-cards,
.portal-grid {
  display: grid;
  gap: 22px;
}

.portal-auth-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-auth-card {
  min-height: 100%;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07)),
    rgba(2, 14, 34, 0.42);
  box-shadow: none;
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
}

.portal-shell h1,
.portal-auth h1 {
  max-width: 920px;
}

.portal-form h2 {
  margin-bottom: 20px;
  color: var(--white);
  font-size: 28px;
}

.portal-form .notice {
  margin: 14px 0 0;
}

.portal-auth .portal-form .button {
  width: 100%;
  height: 52px;
  min-height: 52px;
  border: 0;
  border-bottom: 0;
  box-shadow: none;
  text-decoration: none;
}

.portal-auth .portal-form .button::after {
  display: none;
}

.portal-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.portal-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.portal-summary article,
.portal-card,
.admin-client {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.portal-summary article {
  padding: 20px;
}

.portal-summary span,
.portal-item span,
.admin-client p,
.admin-client span {
  color: rgba(255, 255, 255, 0.68);
}

.portal-summary strong {
  display: block;
  margin-top: 6px;
  color: var(--white);
  font-size: 24px;
}

.portal-grid {
  grid-template-columns: minmax(320px, 0.75fr) minmax(0, 1.25fr);
}

.portal-card {
  padding: 28px;
}

.portal-card h2 {
  margin-bottom: 20px;
  font-size: clamp(26px, 2.4vw, 38px);
}

.portal-card-head,
.admin-form-actions,
.admin-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.portal-card-head {
  justify-content: space-between;
}

.portal-wide {
  grid-column: 1 / -1;
}

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

.portal-item {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(150px, 0.6fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(2, 14, 34, 0.5);
}

.portal-item strong {
  display: block;
  color: var(--white);
}

.portal-status {
  justify-self: end;
  padding: 8px 12px;
  border: 1px solid rgba(51, 186, 158, 0.42);
  border-radius: 99px;
  background: rgba(51, 186, 158, 0.14);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-grid {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
}

.form-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-client-form textarea {
  min-height: 120px;
}

.admin-client-list {
  display: grid;
  gap: 12px;
  max-height: 620px;
  overflow: auto;
  padding-right: 4px;
}

.admin-client {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}

.admin-client h3 {
  margin-bottom: 4px;
  color: var(--white);
}

.admin-client p,
.admin-client span {
  display: block;
  margin: 0;
  font-size: 13px;
}

.admin-actions {
  flex-shrink: 0;
  align-self: center;
}

.admin-actions .button {
  min-height: 40px;
  padding: 0 14px;
  font-size: 12px;
}

.platform-icon {
  position: relative;
  display: inline-grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
}

.platform-icon.apple-logo img {
  display: block;
  width: 14px;
  height: 14px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.platform-icon.apple-store::before,
.platform-icon.apple-store::after,
.platform-icon.apple-store i {
  content: "";
  position: absolute;
  width: 3px;
  height: 15px;
  border-radius: 999px;
  background: currentColor;
}

.platform-icon.apple-store::before {
  transform: rotate(30deg) translateX(-4px);
}

.platform-icon.apple-store::after {
  transform: rotate(-30deg) translateX(4px);
}

.platform-icon.apple-store i {
  width: 11px;
  height: 3px;
  transform: translateY(4px);
}

.platform-icon.windows {
  color: var(--white);
}

.platform-icon.windows svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: var(--white);
}

.menu-toggle {
  display: block;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.menu-toggle:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 18px;
  height: 2px;
  margin: 0;
  background: currentColor;
  transform-origin: center;
  transition: transform 220ms ease, opacity 160ms ease;
}

.menu-toggle span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 6px));
}

.menu-toggle span:nth-child(2) {
  transform: translate(-50%, -50%);
}

.menu-toggle span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 6px));
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  height: var(--hero-height);
  min-height: var(--hero-height);
  background-image: url("backgrounds/HeaderBG.png");
  background-position: center calc(50% + var(--header-bg-parallax, 0px));
  background-repeat: no-repeat;
  background-size: cover;
  color: inherit;
}

body[data-page="home"] .hero {
  background-image: none;
}

body[data-page="services"] .hero,
body[data-page="clients"] .hero,
body[data-page="careers"] .hero,
body[data-page="contact"] .hero,
body[data-page="about"] .hero,
body[data-page="team"] .hero {
  background: var(--navy);
}

body[data-page="services"] .hero::after,
body[data-page="clients"] .hero::after,
body[data-page="careers"] .hero::after,
body[data-page="contact"] .hero::after,
body[data-page="about"] .hero::after,
body[data-page="team"] .hero::after {
  display: block;
  background: url("backgrounds/hero-flow.jpg") center calc(50% + 80px + var(--hero-flow-parallax, 0px)) / cover no-repeat;
  opacity: 0.2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: none;
  background: none;
  opacity: 0;
  transform: none;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  background: none;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  height: 100%;
  min-height: var(--hero-height);
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 52px;
  padding: 72px 0 82px;
}

body[data-page="services"] .hero-grid {
  grid-template-columns: 1fr;
}

body[data-page="services"] .hero-content {
  max-width: 1000px;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: min(70vh, 720px);
  flex-direction: column;
  align-items: flex-start;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 780px;
  font-size: clamp(31px, 5vw, 74px);
}

.hero-title-line {
  display: block;
}

.home-hero {
  min-height: calc(100vh - 78px);
  background-color: #eef2f6;
  color: var(--navy);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  background:
    linear-gradient(90deg, rgba(238, 242, 246, 0.98) 0%, rgba(238, 242, 246, 0.78) 34%, rgba(238, 242, 246, 0.28) 74%, rgba(238, 242, 246, 0.92) 100%);
  pointer-events: none;
}

.home-hero-stage {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.82fr);
  align-items: center;
  gap: 36px;
  padding: 54px 0 86px;
}

.home-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 760px;
}

.home-hero-copy h1 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(44px, 5.8vw, 92px);
  line-height: 0.96;
}

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

.home-hero-copy h1 .title-accent-dot {
  display: inline-block;
  width: 0.16em;
  height: 0.16em;
  margin-left: 0.08em;
  background: #ff9000;
  vertical-align: baseline;
}

.home-hero-copy .lead {
  max-width: 610px;
  color: var(--white);
  font-size: clamp(15px, 1.35vw, 20px);
}

.home-hero-cards {
  position: relative;
  z-index: 3;
  justify-self: end;
  display: grid;
  grid-template-columns: repeat(2, minmax(105px, 1fr));
  gap: 8px;
  width: min(100%, 301px);
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(28px) saturate(1.45);
  -webkit-backdrop-filter: blur(28px) saturate(1.45);
}

.home-metric-card {
  min-height: 105px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.34);
  color: #0b111d;
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
}

.home-metric-card.wide {
  grid-column: 1 / -1;
  min-height: 91px;
}

.home-metric-card span {
  display: block;
  color: rgba(2, 14, 34, 0.78);
  font-size: 10px;
}

.home-metric-card strong {
  display: block;
  margin-top: 15px;
  color: #0b111d;
  font-size: clamp(29px, 3.4vw, 45px);
  line-height: 0.9;
}

.home-metric-card p {
  margin: 6px 0 0;
  color: rgba(2, 14, 34, 0.74);
  font-size: 10px;
}

.home-hero-actions {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 84px;
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(2, 14, 34, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

h2 {
  font-size: clamp(34px, 4vw, 64px);
}

h3 {
  font-size: 24px;
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(13px, 1.4vw, 15px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  width: fit-content;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  gap: 10px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--white);
}

.button.secondary {
  background: transparent;
  color: var(--white);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-media {
  position: relative;
  z-index: 1;
  min-height: 520px;
}

.hero-grid-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: min(70vh, 720px);
  min-height: 460px;
  object-fit: contain;
  transform: scale(1.4);
  transform-origin: center;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: min(70vh, 720px);
  min-height: 460px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
  mix-blend-mode: screen;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 1px;
  width: min(100%, 520px);
  margin-top: 76px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px);
}

.hero-content .actions {
  margin-top: 128px;
}

.stat {
  padding: 18px;
  background: rgba(2, 14, 34, 0.7);
}

.stat strong {
  display: block;
  color: var(--accent);
  font-size: 28px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.25;
}

.section {
  padding: 86px 0;
}

.section.dark {
  background: var(--navy);
  color: var(--white);
}

.newsletter-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.newsletter-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 78% 20%, rgba(51, 186, 158, 0.14), transparent 34%);
  opacity: 0.5;
  pointer-events: none;
}

.newsletter-section > .container {
  position: relative;
  z-index: 1;
}

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

.section-soft-media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
}

.soft-section-video {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  transform: translateY(100px);
}

.section-soft-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  pointer-events: none;
}

.soft-section-content {
  position: relative;
  z-index: 1;
}

.section-soft-media .soft-section-content > [aria-hidden="true"] {
  grid-column: 2;
}

.section-soft-media .soft-section-content > .copy {
  grid-column: 1;
  grid-row: 1;
}

.section-soft-media .copy p {
  color: var(--white);
}

.section-eyebrow {
  margin-bottom: 18px;
}

.section-title {
  margin-bottom: 22px;
  font-size: clamp(30px, 3vw, 48px);
  white-space: nowrap;
}

.section-copy,
.copy p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-copy {
  max-width: 760px;
  margin-bottom: 46px;
}

.dark .section-copy,
.dark .copy p {
  color: rgba(255, 255, 255, 0.72);
}

.copy {
  display: grid;
  gap: 18px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card,
.service-card,
.testimonial,
.job-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card {
  padding: 28px;
}

.dark .card,
.dark .service-card,
.dark .testimonial,
.dark .job-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.card .icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 8px;
  background: rgba(51, 186, 158, 0.12);
  color: var(--accent);
  font-size: 20px;
  font-weight: 900;
}

.card p,
.service-card p,
.testimonial p,
.job-card p,
.role-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.dark .card p,
.dark .service-card p,
.dark .testimonial p,
.dark .job-card p {
  color: rgba(255, 255, 255, 0.72);
}

body[data-page="contact"] .card.reveal.is-visible p {
  color: var(--white);
}

body[data-page="contact"] .card.reveal.is-visible span {
  color: var(--white);
}

body[data-page="contact"] .card.reveal.is-visible a {
  color: var(--white);
}

body[data-page="contact"] .card .contact-list strong,
body[data-page="contact"] .card.reveal.is-visible .contact-list strong {
  color: var(--accent);
}

body[data-page="contact"] .section.dark .container > .split {
  align-items: stretch;
}

body[data-page="contact"] .section.dark .container > .split > .card {
  display: flex;
  height: 100%;
}

body[data-page="contact"] .contact-list {
  width: 100%;
  align-content: space-between;
}

.split {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(360px, 1fr);
  gap: 58px;
  align-items: center;
}

.portrait,
.feature-media {
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
}

.portrait img,
.feature-media img,
.feature-media video {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.logos,
.marquee {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px 18px;
  overflow: visible;
}

.logo-tile {
  display: grid;
  min-height: 150px;
  place-items: center;
  padding: 8px;
  border: 0;
  border-radius: 20px;
  background: var(--white);
}

.logo-tile img {
  max-width: 118px;
  max-height: 40px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 180ms ease, opacity 180ms ease;
}

.logo-tile:first-child img {
  max-width: 160px;
  max-height: 54px;
}

.marquee .logo-tile:first-child img {
  width: 100px;
  height: 100px;
  max-width: none;
  max-height: none;
}

.logo-showcase .logo-tile:first-child img {
  width: 100px;
  height: 100px;
  max-width: none;
  max-height: none;
}

.logo-tile:nth-child(2) img {
  max-width: 177px;
  max-height: 60px;
}

.logo-tile:nth-child(3) img {
  max-width: 212px;
  max-height: 72px;
}

.logo-tile:nth-child(4) img {
  max-width: 170px;
  max-height: 58px;
}

.logo-tile:nth-child(5) img {
  max-width: 189px;
  max-height: 64px;
}

.logo-tile:nth-child(6) img {
  max-width: 177px;
  max-height: 60px;
}

.logo-tile:nth-child(8) img,
.logo-tile:nth-child(10) img,
.logo-tile:nth-child(11) img,
.logo-tile:nth-child(12) img,
.logo-tile:nth-child(13) img,
.logo-tile:nth-child(14) img {
  max-width: 177px;
  max-height: 60px;
}

.logo-tile:nth-child(12) img {
  max-width: 248px;
  max-height: 84px;
}

.logo-tile:nth-child(13) img {
  max-width: 230px;
  max-height: 78px;
}

.logo-tile:nth-child(14) img {
  width: 110px;
  height: 110px;
  max-width: none;
  max-height: none;
}

.logo-tile:nth-child(15) img {
  max-width: 177px;
  max-height: 60px;
}

.logo-tile:hover img,
.logo-tile:focus-within img {
  filter: grayscale(0);
  opacity: 1;
}

.logo-carousel {
  overflow: hidden;
  width: 100%;
}

.logo-carousel-track {
  display: flex;
  width: max-content;
  animation: logoCarousel 120s linear infinite;
}

.logo-carousel:hover .logo-carousel-track {
  animation-play-state: paused;
}

.logo-carousel-set {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  padding-right: 18px;
}

.logo-carousel .logo-tile {
  width: 190px;
  flex: 0 0 190px;
}

.logo-carousel .logo-tile img {
  transform: scale(0.9);
}

.logo-showcase {
  display: block;
  width: 100%;
  padding: 8px 0 16px;
}

.logo-showcase-viewport {
  overflow: hidden;
  width: 100%;
  scroll-behavior: smooth;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.logo-showcase-viewport::-webkit-scrollbar {
  display: none;
}

.logo-showcase-track {
  display: flex;
  width: max-content;
  animation: logoCarousel 240s linear infinite;
}

.logo-showcase-set {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  padding-right: 18px;
}

.logo-showcase .logo-tile {
  width: 190px;
  flex: 0 0 190px;
}

@keyframes logoCarousel {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.service-card {
  display: grid;
  align-content: space-between;
  min-height: 95px;
  padding: 26px;
}

.service-card .number {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.service-card details {
  margin-top: 18px;
}

.service-card summary {
  color: var(--accent);
  cursor: pointer;
  font-weight: 800;
}

.testimonial {
  padding: 28px;
}

.testimonial cite {
  display: block;
  margin-top: 22px;
  color: var(--navy);
  font-style: normal;
  font-weight: 900;
}

.dark .testimonial cite {
  color: var(--white);
}

.team-section {
  min-height: calc(100vh - 92px);
  padding: 92px 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(51, 186, 158, 0.7), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(212, 223, 232, 0.78), transparent 30%),
    linear-gradient(135deg, #020e22 0%, #33ba9e 46%, #d4dfe8 100%);
}

.team-panel {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 34px 90px rgba(17, 24, 39, 0.18);
  color: var(--ink);
  text-align: center;
}

.team-panel .eyebrow {
  margin-bottom: 12px;
  color: rgba(17, 24, 39, 0.28);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
}

.team-panel h2 {
  color: #06080d;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
}

.team-intro {
  margin: 24px auto 0;
  color: rgba(17, 24, 39, 0.58);
  font-size: 18px;
}

.team-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.team-actions .button {
  min-height: 42px;
  padding: 0 20px;
  font-size: 13px;
}

.team-actions .button.secondary {
  border: 1px solid rgba(17, 24, 39, 0.18);
  background: var(--white);
  color: rgba(17, 24, 39, 0.62);
}

.team-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(4, auto);
  gap: 24px;
  margin-top: 62px;
}

.team-card {
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 14px;
  background: var(--white);
  text-align: center;
}

.team-card img {
  width: 100%;
  height: 166px;
  object-fit: cover;
  object-position: center 36%;
}

.team-card-body {
  padding: 18px 14px 20px;
}

.team-card h3 {
  margin-top: 8px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.team-card p {
  margin: 0;
  color: rgba(17, 24, 39, 0.26);
  font-size: 10px;
  font-weight: 500;
}

.team-card-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}

.team-card-dots i {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: rgba(17, 24, 39, 0.14);
}

.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.form-shell {
  display: grid;
  gap: 16px;
}

.form-shell input,
.form-shell select,
.form-shell textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  background: var(--white);
  color: var(--ink);
}

.form-shell textarea {
  min-height: 150px;
  resize: vertical;
}

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

.contact-list a,
.contact-list span {
  display: block;
  color: var(--muted);
}

.contact-list strong {
  display: block;
  color: var(--ink);
}

.map-section {
  display: grid;
  padding: 0;
  height: min(72vh, 720px);
  min-height: 520px;
  background: var(--navy);
  color: var(--white);
}

.map-section .section-title,
.map-section .section-copy {
  color: var(--white);
}

.map-frame {
  position: relative;
  align-self: stretch;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: inherit;
  margin-top: 0;
  border: 1px solid rgba(51, 186, 158, 0.46);
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background: var(--navy);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.9) hue-rotate(145deg) saturate(1.75) contrast(1.08) brightness(0.82);
}

.map-link {
  position: absolute;
  top: 28px;
  right: max(28px, calc((100vw - 1440px) / 2 + 28px));
  z-index: 2;
  margin-top: 0;
  box-shadow: none;
}

.map-link:hover {
  box-shadow: none;
}

.site-footer {
  background: #13233e;
  color: var(--white);
  padding: 64px 0 28px;
  border-top: 1px solid var(--accent);
}

.scroll-top-toggle {
  position: fixed;
  top: calc(100vh - clamp(62px, 8vh, 96px) - 36px);
  right: 10px;
  z-index: 65;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transform: translateY(0);
  transition: transform 220ms ease, background 180ms ease, border-color 180ms ease;
}

.scroll-top-toggle:hover {
  transform: scale(1.12);
  background: rgba(51, 186, 158, 0.12);
}

.scroll-top-toggle span {
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 260ms ease;
}

.scroll-top-toggle.is-scrolled span {
  transform: translateY(2px) rotate(225deg);
}

@media (max-width: 640px) {
  .scroll-top-toggle {
    top: calc(100vh - 64px);
    right: 10px;
  }
}

.footer-grid {
  display: grid;
  height: 300px;
  grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(160px, 0.7fr));
  gap: 60px;
}

.footer-logo {
  width: 164px;
  margin-bottom: 22px;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer a {
  font-size: 100%;
  transition: color 180ms ease, font-size 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
  font-size: 101%;
  font-weight: 700;
}

.site-footer h3 {
  margin-bottom: 18px;
  font-size: 17px;
}

.site-footer ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.socials a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--white);
  font-weight: 900;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-footer .socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.copyright {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
}

.cookie {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: min(430px, calc(100vw - 36px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.cookie p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.hidden {
  display: none;
}

.notice {
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(51, 186, 158, 0.12);
  color: var(--navy);
  font-weight: 700;
}

/* Modern site refresh */
:root {
  --page: #f5f8fb;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-strong: #ffffff;
  --line: rgba(2, 14, 34, 0.12);
  --shadow: 0 26px 70px rgba(17, 24, 39, 0.12);
  --shadow-soft: 0 16px 46px rgba(17, 24, 39, 0.08);
}

body {
  background: var(--navy);
  color: #111827;
}

.site-header {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 14, 34, 0.96);
  color: var(--white);
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.07);
}

.header-inner {
  min-height: 78px;
}

.main-nav {
  gap: 26px;
  font-size: 12px;
}

.main-nav a {
  opacity: 0.72;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--accent);
}

.sub-menu {
  top: 76px;
  border: 1px solid rgba(2, 14, 34, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.support-link {
  box-shadow: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.support-link:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.hero {
  height: var(--hero-height);
  min-height: var(--hero-height);
}

.hero::after {
  opacity: 0;
  filter: none;
}

.hero::before {
  background: none;
}

.hero-grid {
  height: 100%;
  min-height: var(--hero-height);
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: 68px;
  padding: 84px 0 92px;
}

body[data-page="contact"] .hero,
body[data-page="careers"] .hero,
body[data-page="clients"] .hero,
body[data-page="services"] .hero,
body[data-page="about"] .hero,
body[data-page="team"] .hero {
  height: var(--hero-height);
  min-height: var(--hero-height);
}

body[data-page="contact"] .hero-grid,
body[data-page="careers"] .hero-grid,
body[data-page="clients"] .hero-grid,
body[data-page="services"] .hero-grid,
body[data-page="about"] .hero-grid,
body[data-page="team"] .hero-grid {
  min-height: 100%;
  padding: 38px 0 42px;
}

body[data-page="contact"] .hero-content,
body[data-page="careers"] .hero-content,
body[data-page="clients"] .hero-content,
body[data-page="services"] .hero-content,
body[data-page="about"] .hero-content,
body[data-page="team"] .hero-content {
  min-height: auto;
  justify-content: center;
}

.hero-content {
  min-height: min(68vh, 700px);
}

h1 {
  max-width: 820px;
  color: var(--white);
  font-size: clamp(38px, 4.9vw, 71px);
  font-weight: 800;
  line-height: 0.96;
}

h2 {
  font-size: clamp(34px, 3.8vw, 58px);
  font-weight: 760;
  line-height: 1;
}

h3 {
  font-weight: 740;
}

.lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(15px, 1.35vw, 18px);
}

.button {
  min-height: 48px;
  padding: 0 22px;
  box-shadow: 0 12px 30px rgba(51, 186, 158, 0.24);
}

.button:hover {
  background: var(--navy);
  color: var(--white);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.button,
.button:hover,
.support-link,
.support-link:hover,
.map-link,
.map-link:hover,
.team-actions .button,
.team-actions .button:hover {
  box-shadow: none;
}

.actions {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.hero-grid-image {
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.32));
}

.hero-media video,
.hero-media img {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.stats-strip {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.stat {
  background: rgba(15, 23, 42, 0.58);
}

.section {
  position: relative;
  padding: 104px 0;
}

.section:not(.dark):not(.soft) {
  background: #020e22;
}

.section.soft {
  background:
    linear-gradient(180deg, rgba(212, 223, 232, 0.94), rgba(245, 248, 251, 0.98));
}

.section.dark {
  background:
    radial-gradient(circle at 12% 16%, rgba(51, 186, 158, 0.16), transparent 26rem),
    linear-gradient(145deg, #111a29 0%, var(--navy) 100%);
}

.section.map-section,
.section.map-section:not(.dark):not(.soft) {
  padding: 0;
  background: var(--navy);
}

.section-title {
  max-width: 960px;
  margin-bottom: 20px;
  padding-bottom: 50px;
  color: var(--navy);
  font-weight: 800;
}

.section-title::after,
.section-title > span:last-child::after {
  content: "";
  display: inline-block;
  width: 0.2em;
  height: 0.2em;
  margin-left: 0.14em;
  background: #ff9000;
  vertical-align: baseline;
}

.section-title:has(> span)::after {
  content: none;
}

.dark .section-title,
.dark h2,
.dark h3 {
  color: var(--white);
}

.section-copy,
.copy p {
  color: rgba(17, 24, 39, 0.66);
  font-size: 16px;
}

.dark .section-copy,
.dark .copy p {
  color: rgba(255, 255, 255, 0.72);
}

.grid {
  gap: 22px;
}

.card,
.service-card,
.testimonial,
.job-card {
  border-color: rgba(2, 14, 34, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover,
.service-card:hover,
.testimonial:hover,
.job-card:hover {
  transform: translateY(-4px);
  border-color: rgba(51, 186, 158, 0.32);
  box-shadow: var(--shadow);
}

.dark .card,
.dark .service-card,
.dark .testimonial,
.dark .job-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.card .icon,
.service-card .number {
  background: rgba(51, 186, 158, 0.13);
}

.service-card {
  min-height: 105px;
  padding: 28px;
}

.service-card summary {
  width: fit-content;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
}

.portrait,
.feature-media {
  border: 1px solid rgba(2, 14, 34, 0.1);
  box-shadow: var(--shadow);
}

.logos,
.marquee {
  gap: 16px;
}

.logo-tile {
  border: 1px solid rgba(2, 14, 34, 0.08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: none;
  transition: transform 180ms ease;
}

.logo-tile:hover {
  transform: translateY(-3px);
  box-shadow: none;
}

.logo-carousel {
  padding: 6px 0 18px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.testimonial {
  padding: 32px;
}

.testimonial p {
  font-size: 16px;
  line-height: 1.7;
}

.testimonial cite {
  color: var(--accent);
}

.team-section {
  background:
    radial-gradient(circle at 16% 10%, rgba(51, 186, 158, 0.34), transparent 30rem),
    radial-gradient(circle at 92% 24%, rgba(212, 223, 232, 0.68), transparent 28rem),
    linear-gradient(135deg, #101722 0%, #020e22 54%, #d4dfe8 100%);
}

.team-panel {
  border: 1px solid rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.team-card {
  border-color: rgba(2, 14, 34, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.team-card img {
  filter: grayscale(0.08);
}

.team-actions .button.secondary {
  color: var(--navy);
}

.form-shell {
  gap: 14px;
}

.form-shell input,
.form-shell select,
.form-shell textarea {
  border-color: rgba(2, 14, 34, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.05);
}

.form-shell input:focus,
.form-shell select:focus,
.form-shell textarea:focus {
  outline: 2px solid rgba(51, 186, 158, 0.28);
  border-color: var(--accent);
}

.contact-list {
  gap: 22px;
}

.site-footer {
  background: #13233e;
}

.footer-logo {
  width: 190px;
}

.cookie {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .card,
  .service-card,
  .testimonial,
  .job-card,
  .team-card,
  .logo-tile,
  .support-link,
  .button {
    transition: none;
  }

  .logo-carousel-track {
    animation: none;
  }
}

@media (max-width: 1050px) {
  .main-nav,
  .support-downloads,
  .support-link {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav.is-open {
    position: fixed;
    inset: 92px 0 auto 0;
    display: grid;
    align-items: start;
    gap: 0;
    width: auto;
    max-height: calc(100vh - 92px);
    overflow: auto;
    padding: 20px 24px 36px;
    border: 0;
    border-radius: 0;
    background: var(--navy);
    color: var(--white);
  }

  .main-nav.is-open a,
  .main-nav.is-open .nav-group {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-group {
    padding: 0;
  }

  .sub-menu {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    padding: 12px 0 0;
    transform: none;
    background: transparent;
    color: var(--white);
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
  }

  .sub-menu a {
    border-color: rgba(255, 255, 255, 0.12);
  }

  .sub-menu span {
    color: rgba(255, 255, 255, 0.64);
  }

  .hero-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    height: auto;
    min-height: 300px;
  }

  .portal-auth-grid,
  .portal-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .portal-auth-cards,
  .portal-summary {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-media,
  .hero-grid-image {
    min-height: 420px;
  }

  .hero-media video,
  .hero-media img {
    min-height: 420px;
  }

  .hero-content {
    min-height: auto;
  }

  .home-hero-stage {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 56px 0 118px;
  }

  .home-hero-copy {
    max-width: 760px;
  }

  .home-hero-cards {
    justify-self: stretch;
    width: 100%;
  }

  .actions {
    margin-top: 34px;
  }

  .grid.four,
  .grid.three,
  .logos,
  .marquee {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-panel {
    padding: 0;
  }

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

  .section-title {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .soft-section-video {
    display: none;
  }

  .container {
    width: min(100% - 32px, 1440px);
  }

  .header-inner {
    min-height: 78px;
  }

  .brand img {
    width: 297px;
  }

  .main-nav.is-open {
    inset-top: 78px;
  }

  .hero,
  .hero-grid {
    height: auto;
    min-height: var(--hero-mobile-height);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 46px 0 58px;
  }

  .home-hero {
    min-height: auto;
  }

  .home-hero-stage {
    padding: 42px 0 112px;
  }

  .home-hero-copy h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

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

  .home-hero-copy .lead {
    font-size: 14px;
  }

  .home-hero-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-metric-card {
    min-height: 124px;
    padding: 16px;
  }

  .home-metric-card.wide {
    min-height: 116px;
  }

  .home-metric-card strong {
    font-size: 36px;
  }

  .home-metric-card span,
  .home-metric-card p {
    font-size: 12px;
  }

  .home-hero-actions {
    left: 16px;
    right: 16px;
    bottom: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    transform: none;
  }

  .home-hero-actions .button {
    min-height: 46px;
    padding: 0 12px;
    font-size: 11px;
    white-space: nowrap;
  }

  .hero-media,
  .hero-grid-image {
    min-height: 320px;
  }

  .hero-media video,
  .hero-media img {
    height: 340px;
    min-height: 340px;
  }

  .hero-grid-image {
    display: none;
    height: 340px;
  }

  .actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-top: 20px;
    padding: 10px;
    border-radius: 99px;
    background: transparent;
    gap: 10px;
  }

  .hero-content .actions {
    margin-top: 20px;
  }

  .actions .button {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    font-size: 11px;
    white-space: nowrap;
  }

  .button.secondary {
    background: rgba(255, 255, 255, 0.08);
  }

  .stats-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin-top: 32px;
  }

  .stat {
    padding: 12px 6px;
    text-align: center;
  }

  .stat strong {
    font-size: 20px;
  }

  .stat span {
    font-size: 9px;
    line-height: 1.15;
  }

  .section {
    padding: 58px 0;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .logos,
  .marquee {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-showcase {
    padding-bottom: 10px;
  }

  .team-section {
    padding: 42px 0;
  }

  .team-panel {
    padding: 0;
    border-radius: 18px;
  }

  .team-intro {
    font-size: 14px;
  }

  .team-actions {
    flex-direction: column;
  }

  .team-actions .button {
    width: 100%;
  }

  .portal-topline,
  .portal-card-head,
  .admin-client {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-item,
  .form-grid-two {
    grid-template-columns: 1fr;
  }

  .portal-status {
    justify-self: start;
  }

  .admin-actions {
    width: 100%;
  }

  .team-card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 42px;
  }

  .job-card {
    display: grid;
  }

  .portrait img,
  .feature-media img,
  .feature-media video {
    min-height: 320px;
  }
}

/* Website2 home header relayout */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 70;
  padding: 28px 0 16px;
  border-bottom: 0;
  background: transparent;
  box-shadow: none;
  color: var(--white);
  transition: transform 260ms ease, background 260ms ease, padding 260ms ease, backdrop-filter 260ms ease;
}

.site-header.is-scrolled {
  padding: 14px 0;
  background: rgba(2, 14, 34, 0.7);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  box-shadow: none;
}

.header-inner {
  width: min(calc(100% - 120px), 1540px);
  min-height: 50px;
  gap: 30px;
}

.brand {
  min-width: 0;
}

.brand img {
  width: clamp(180px, 13vw, 250px);
  background: transparent;
  border-radius: 0;
}

.support-downloads {
  margin-left: auto;
}

.remote-header-link {
  min-width: 218px;
  height: 50px;
  padding: 0 28px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.remote-header-link:hover {
  background: var(--white);
  color: var(--navy);
}

.menu-toggle {
  width: 50px;
  height: 50px;
  border-color: var(--accent);
  border-radius: 10px;
  background: rgba(2, 14, 34, 0.16);
}

.menu-toggle span {
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.main-nav.is-open {
  top: 92px;
  right: 48px;
  background: rgba(2, 14, 34, 0.96);
  border-color: rgba(51, 186, 158, 0.35);
  box-shadow: -28px 0 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.home-hero {
  min-height: 100svh;
  height: 100svh;
  background-color: var(--navy);
  background-image: none;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
}

.home-hero::before {
  background: url("backgrounds/HeaderBG-4.webp") center calc(50% + var(--header-bg-parallax, 0px)) / cover no-repeat;
  opacity: 0.9;
}

.home-hero-stage {
  width: min(calc(100% - 120px), 1540px);
  min-height: 100svh;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  padding: clamp(132px, 15vh, 190px) 0 clamp(54px, 8vh, 90px);
}

.home-hero-copy {
  display: grid;
  align-content: start;
  max-width: 980px;
}

.home-hero-copy h1 {
  max-width: 1040px;
  color: var(--white);
  font-size: clamp(72px, 8.35vw, 148px);
  font-weight: 900;
  line-height: 0.94;
  text-transform: uppercase;
}

.home-hero-copy h1 span {
  position: relative;
  display: block;
  width: fit-content;
  padding-bottom: clamp(14px, 1.4vw, 20px);
  border-bottom: 2px solid var(--accent);
  white-space: nowrap;
}

.home-hero-copy h1 span + span {
  margin-top: clamp(24px, 3vw, 44px);
}

.home-hero-copy h1 .title-accent-dot {
  display: inline-block;
  width: 0.19em;
  height: 0.19em;
  margin-left: 0.12em;
  padding: 0;
  border: 0;
  background: #ff9000;
  vertical-align: baseline;
}

.home-hero-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 42px 0 0;
  padding: 7px 14px;
  border: 1px solid var(--white);
  border-radius: 99px;
  color: var(--accent);
  font-size: 6pt;
  font-weight: 100;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-hero-logos {
  position: absolute;
  left: 0;
  bottom: clamp(62px, 8vh, 96px);
  z-index: 4;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  width: min(950px, 100%);
  margin-top: 0;
  gap: 24px;
}

.home-hero-logos .logo-tile {
  height: 31px;
  min-height: 31px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: none;
}

.home-hero-logos .logo-tile:hover {
  transform: none;
  box-shadow: none;
}

.home-hero-logos .logo-tile img,
.home-hero-logos .logo-tile:first-child img,
.home-hero-logos .logo-tile:nth-child(2) img,
.home-hero-logos .logo-tile:nth-child(3) img,
.home-hero-logos .logo-tile:nth-child(4) img,
.home-hero-logos .logo-tile:nth-child(5) img,
.home-hero-logos .logo-tile:nth-child(6) img {
  width: auto;
  height: 31px;
  max-width: 176px;
  max-height: 31px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transform: none;
  transition: none;
}

.home-hero-logos .logo-tile img[alt="Bitdefender"] {
  height: 28px;
  max-height: 28px;
  max-width: 158px;
  filter: brightness(0) invert(1);
}

.home-hero-logos .logo-tile img[alt="Microsoft Silver Partner"],
.home-hero-logos .logo-tile img[alt="Acronis"] {
  height: 37.4px;
  max-height: 37.4px;
  max-width: 213.4px;
}

.home-stats-line {
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  margin-top: clamp(20px, 2vw, 30px);
  color: var(--accent);
  font-size: clamp(18px, 1.6vw, 28px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.home-stats-line span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 clamp(16px, 1.5vw, 24px);
  border-left: 1px solid rgba(255, 255, 255, 0.66);
}

.home-stats-line span:first-child {
  padding-left: 0;
  border-left: 0;
}

.home-hero-copy .lead {
  max-width: 760px;
  margin-top: auto;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.92);
  color: var(--white);
  font-size: clamp(17px, 1.35vw, 24px);
  font-weight: 500;
  line-height: 1.18;
}

.home-hero-actions {
  left: auto;
  right: 0;
  bottom: clamp(62px, 8vh, 96px);
  display: grid;
  grid-template-columns: repeat(2, minmax(134px, 180px));
  gap: 12px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: none;
}

.home-action-tile {
  display: grid;
  align-content: space-between;
  min-height: 139px;
  padding: 17px 22px;
  background: rgba(51, 186, 158, 0.76);
  color: var(--white);
  text-transform: uppercase;
  transform-origin: right bottom;
  transition: background 180ms ease, transform 180ms ease;
}

.home-action-tile:not(.secondary) {
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.home-action-tile.secondary {
  background: rgba(2, 14, 34, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.home-action-tile span {
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.home-action-tile strong {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.08;
}

.home-action-tile:hover {
  transform: scale(1.1);
  background: var(--accent);
}

.home-action-tile.secondary:hover {
  background: #35516b;
}

.home-hero-actions:has(.home-action-tile.secondary:hover) .home-action-tile:first-child {
  transform: translateX(-10%);
}

.home-proof-section {
  overflow: hidden;
  padding: 120px 0;
  background: linear-gradient(45deg, #020e22, #35516b);
  color: var(--white);
}

.home-proof-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(420px, 1.26fr);
  gap: clamp(64px, 9vw, 148px);
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.home-proof-copy {
  display: grid;
  gap: 20px;
  max-width: 560px;
  align-self: center;
  justify-items: start;
  text-align: left;
  transform: none;
}

.home-proof-copy h2 {
  max-width: 420px;
  color: var(--white);
  font-size: clamp(22px, 1.65vw, 26px);
  line-height: 1.4;
  text-align: left;
}

.home-proof-copy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.55;
  text-align: left;
}

.home-proof-link {
  display: grid;
  align-content: space-between;
  width: 260px;
  min-height: 139px;
  padding: 17px 22px;
  border: 0;
  background: rgba(2, 14, 34, 0.3);
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
  transform-origin: right bottom;
  transition: background 180ms ease, transform 180ms ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.home-proof-link::before {
  content: "+";
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.home-proof-link:hover {
  background: #35516b;
  color: var(--white);
  transform: scale(1.1);
}

.home-proof-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 185px));
  width: min(100%, 645px);
  align-self: center;
  justify-self: end;
  margin-left: auto;
  margin-top: 0;
  gap: clamp(20px, 3vw, 43px) clamp(17px, 2.4vw, 38px);
  text-align: left;
  transform: none;
}

.home-proof-metrics article {
  position: relative;
  width: 185px;
  max-width: 100%;
  min-height: 62px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.home-proof-section.reveal .home-proof-metrics article {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.home-proof-section.reveal.is-visible .home-proof-metrics article {
  opacity: 1;
  transform: translateY(0);
}

.home-proof-section.reveal.is-visible .home-proof-metrics article:nth-child(1) {
  transition-delay: 120ms;
}

.home-proof-section.reveal.is-visible .home-proof-metrics article:nth-child(2) {
  transition-delay: 280ms;
}

.home-proof-section.reveal.is-visible .home-proof-metrics article:nth-child(3) {
  transition-delay: 440ms;
}

@media (prefers-reduced-motion: reduce) {
  .home-proof-section.reveal .home-proof-metrics article {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.home-proof-metrics article:first-child {
  max-width: 185px;
}

.home-proof-metrics article::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  width: 5px;
  height: 5px;
  background: var(--accent);
}

.home-proof-metrics strong {
  display: block;
  color: var(--accent);
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 900;
  line-height: 0.9;
}

.home-proof-metrics span {
  display: block;
  max-width: 114px;
  margin-top: 8px;
  margin-left: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 7px;
  font-weight: 600;
  line-height: 1.35;
}

.home-client-section .section-title {
  color: var(--white);
}

.home-client-section {
  background: transparent;
  padding: 0;
}

.home-client-section .logo-showcase-set,
body[data-page="clients"] .clients-hero-logo-panel .logo-showcase-set,
body[data-page="about"] .about-support-section .logo-showcase-set {
  gap: 100px;
  padding-right: 100px;
}

.home-client-section .logo-showcase .logo-tile,
body[data-page="clients"] .clients-hero-logo-panel .logo-showcase .logo-tile,
body[data-page="about"] .about-support-section .logo-showcase .logo-tile {
  width: 136px;
  flex: 0 0 136px;
  border: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.home-client-section .logo-showcase .logo-tile img,
body[data-page="clients"] .clients-hero-logo-panel .logo-showcase .logo-tile img,
body[data-page="about"] .about-support-section .logo-showcase .logo-tile img {
  width: 120px;
  height: auto;
  max-width: 120px;
  max-height: none;
  filter: brightness(0) invert(1);
  opacity: 0.82;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.home-client-section .logo-showcase .logo-tile:hover img,
.home-client-section .logo-showcase .logo-tile:focus-within img,
body[data-page="clients"] .clients-hero-logo-panel .logo-showcase .logo-tile:hover img,
body[data-page="clients"] .clients-hero-logo-panel .logo-showcase .logo-tile:focus-within img,
body[data-page="about"] .about-support-section .logo-showcase .logo-tile:hover img,
body[data-page="about"] .about-support-section .logo-showcase .logo-tile:focus-within img {
  filter: brightness(0) invert(1);
  opacity: 1;
  transform: scale(1.06);
}

/* Preserve internal detail in multi-tone marks instead of flattening them. */
.logo-showcase img[src*="petrolea.png"],
.logo-showcase img[src*="regjun.webp"],
.logo-showcase img[src*="swieqi-local-council.png"],
.logo-showcase img[src*="the-oven.png"] {
  filter: grayscale(1) invert(1) contrast(1.35) brightness(1.12) !important;
  mix-blend-mode: screen;
}

.logo-filter-definitions {
  position: absolute;
  overflow: hidden;
  pointer-events: none;
}

.logo-showcase img.logo-light-knockout {
  filter: url("#pcgen-logo-light-knockout") brightness(0) invert(1) !important;
}

@media (max-width: 900px) {
  .home-proof-grid {
    grid-template-columns: 1fr;
    margin-left: 24px;
    margin-right: 24px;
  }

  .home-proof-copy {
    max-width: 100%;
    transform: none;
  }

  .home-proof-metrics {
    transform: none;
  }

  .home-proof-metrics article:first-child {
    max-width: none;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .home-proof-metrics {
    grid-template-columns: 1fr;
  }

  .home-proof-metrics article {
    min-height: 55px;
  }
}

.home-hero-cards,
.home-metric-card {
  display: none;
}

@media (max-width: 900px) {
  .site-header {
    padding: 18px 0 12px;
  }

  .header-inner {
    width: min(100% - 32px, 1540px);
    gap: 12px;
  }

  .brand img {
    width: clamp(150px, 42vw, 210px);
  }

  .support-downloads {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
  }

  .main-nav.is-open {
    top: 76px;
    right: 16px;
    width: min(360px, calc(100vw - 32px));
  }

  .home-hero {
    height: auto;
    min-height: 100svh;
    background-position: 58% center;
  }

  .home-hero-stage {
    width: min(100% - 32px, 1540px);
    min-height: 100svh;
    padding: 112px 0 34px;
  }

  .home-hero-copy {
    min-height: calc(100svh - 146px);
  }

  .home-hero-copy h1 {
    font-size: clamp(48px, 16vw, 80px);
  }

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

  .home-stats-line {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 20px;
    font-size: clamp(14px, 4.6vw, 20px);
  }

  .home-stats-line span,
  .home-stats-line span:first-child {
    min-height: 0;
    padding: 0 0 0 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.66);
  }

  .home-hero-copy .lead {
    margin-top: 38px;
    font-size: 15px;
  }

  .home-hero-actions {
    position: relative;
    right: auto;
    bottom: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
  }

  .home-action-tile {
    min-height: 94px;
    padding: 12px 14px;
  }

  .home-action-tile strong {
    font-size: 16px;
  }
}

/* Home hero stage spacing */
.home-hero-stage {
  width: min(calc(100% - 120px), 1540px);
  padding-top: 0;
}

.home-hero-copy h1 {
  font-size: clamp(47px, 5.5vw, 98px);
}

.home-hero-copy h1 > span {
  opacity: 0;
  transform: translateY(34px);
}

#app.app-ready .home-hero-copy h1 > span {
  animation: hero-title-reveal 900ms cubic-bezier(0.2, 0.78, 0.18, 1) both;
}

#app.app-ready .home-hero-copy h1 > span:nth-child(2) {
  animation-delay: 160ms;
}

#app.app-ready .home-hero-copy h1 .title-accent-dot {
  animation: hero-dot-pop 560ms cubic-bezier(0.2, 0.78, 0.18, 1) 540ms both;
}

.hero:not(.home-hero) .hero-content h1,
.hero:not(.home-hero) .hero-content .lead,
.hero:not(.home-hero) .hero-content .stats-strip,
.hero:not(.home-hero) .hero-content .actions,
.hero:not(.home-hero) .hero-grid-image,
.hero:not(.home-hero) .hero-media,
.about-hero-title h1 > span,
.about-hero-copy p,
.about-stat-card,
body[data-page="clients"] .clients-hero-kicker,
body[data-page="clients"] .clients-hero-copy h1 > span,
body[data-page="clients"] .clients-hero-copy .lead,
body[data-page="clients"] .clients-hero-story,
body[data-page="clients"] .clients-hero-logos .logo-tile {
  opacity: 0;
  transform: translateY(34px);
}

#app.app-ready .hero:not(.home-hero) .hero-content h1,
#app.app-ready .about-hero-title h1 > span {
  animation: hero-title-reveal 900ms cubic-bezier(0.2, 0.78, 0.18, 1) both;
}

#app.app-ready .hero:not(.home-hero) .hero-content .lead,
#app.app-ready .about-hero-copy p {
  animation: hero-title-reveal 820ms cubic-bezier(0.2, 0.78, 0.18, 1) 160ms both;
}

#app.app-ready .hero:not(.home-hero) .hero-content .stats-strip,
#app.app-ready .hero:not(.home-hero) .hero-content .actions,
#app.app-ready .hero:not(.home-hero) .hero-grid-image,
#app.app-ready .hero:not(.home-hero) .hero-media,
#app.app-ready .about-stat-card {
  animation: hero-title-reveal 820ms cubic-bezier(0.2, 0.78, 0.18, 1) 300ms both;
}

#app.app-ready .about-hero-title h1 > span:nth-child(2) {
  animation-delay: 160ms;
}

#app.app-ready .about-hero-title h1 .title-accent-dot {
  animation: hero-dot-pop 560ms cubic-bezier(0.2, 0.78, 0.18, 1) 540ms both;
}

#app.app-ready .about-stat-card:nth-child(2) {
  animation-delay: 420ms;
}

#app.app-ready .about-stat-card:nth-child(3) {
  animation-delay: 540ms;
}

#app.app-ready .about-stat-card:nth-child(4) {
  animation-delay: 660ms;
}

body[data-page="clients"] #app.app-ready .clients-hero-kicker,
body[data-page="clients"] #app.app-ready .clients-hero-copy h1 > span {
  animation: hero-title-reveal 900ms cubic-bezier(0.2, 0.78, 0.18, 1) both;
}

body[data-page="clients"] #app.app-ready .clients-hero-copy h1 > span:nth-child(2) {
  animation-delay: 160ms;
}

body[data-page="clients"] #app.app-ready .clients-hero-copy h1 > span:nth-child(3) {
  animation-delay: 320ms;
}

body[data-page="clients"] #app.app-ready .clients-hero-copy h1 .title-accent-dot {
  animation: hero-dot-pop 560ms cubic-bezier(0.2, 0.78, 0.18, 1) 700ms both;
}

body[data-page="clients"] #app.app-ready .clients-hero-copy .lead {
  animation: hero-title-reveal 820ms cubic-bezier(0.2, 0.78, 0.18, 1) 420ms both;
}

body[data-page="clients"] #app.app-ready .clients-hero-story {
  animation: hero-title-reveal 820ms cubic-bezier(0.2, 0.78, 0.18, 1) 520ms both;
}

body[data-page="clients"] #app.app-ready .clients-hero-story:nth-child(2) {
  animation-delay: 640ms;
}

body[data-page="clients"] #app.app-ready .clients-hero-story:nth-child(3) {
  animation-delay: 760ms;
}

body[data-page="clients"] #app.app-ready .clients-hero-story:nth-child(4) {
  animation-delay: 880ms;
}

body[data-page="clients"] #app.app-ready .clients-hero-logos .logo-tile {
  animation: hero-title-reveal 720ms cubic-bezier(0.2, 0.78, 0.18, 1) 1080ms both;
}

@keyframes hero-title-reveal {
  from {
    opacity: 0;
    transform: translateY(34px);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes hero-dot-pop {
  from {
    opacity: 0;
    transform: scale(0.2);
  }

  70% {
    opacity: 1;
    transform: scale(1.18);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-copy h1 > span,
  #app.app-ready .home-hero-copy h1 > span,
  #app.app-ready .home-hero-copy h1 .title-accent-dot,
  .hero:not(.home-hero) .hero-content h1,
  .hero:not(.home-hero) .hero-content .lead,
  .hero:not(.home-hero) .hero-content .stats-strip,
  .hero:not(.home-hero) .hero-content .actions,
  .hero:not(.home-hero) .hero-grid-image,
  .hero:not(.home-hero) .hero-media,
  .about-hero-title h1 > span,
  .about-hero-copy p,
  .about-stat-card,
  #app.app-ready .hero:not(.home-hero) .hero-content h1,
  #app.app-ready .hero:not(.home-hero) .hero-content .lead,
  #app.app-ready .hero:not(.home-hero) .hero-content .stats-strip,
  #app.app-ready .hero:not(.home-hero) .hero-content .actions,
  #app.app-ready .hero:not(.home-hero) .hero-grid-image,
  #app.app-ready .hero:not(.home-hero) .hero-media,
  #app.app-ready .about-hero-title h1 > span,
  #app.app-ready .about-hero-title h1 .title-accent-dot,
  #app.app-ready .about-hero-copy p,
  #app.app-ready .about-stat-card {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }
}

.home-hero-copy h1 span + span {
  margin-top: 20px;
}

.home-hero-copy {
  align-self: stretch;
  align-content: center;
  min-height: 100%;
}

.home-stats-line {
  width: min(100%, clamp(360px, 40vw, 690px));
  flex-wrap: nowrap;
  justify-content: space-between;
  font-size: clamp(14px, 1.05vw, 20px);
}

.home-stats-line span {
  flex: 0 1 auto;
  min-height: 30px;
  padding: 0 clamp(8px, 0.8vw, 14px);
  white-space: nowrap;
}

.home-hero-copy .lead {
  position: absolute;
  left: 0;
  bottom: 0;
  margin-top: 0;
  max-width: 850px;
  font-size: 22px;
  line-height: 1.4;
}

@media (max-width: 700px) {
  .home-hero-stage {
    width: min(calc(100% - 32px), 1540px);
  }

  .home-hero-copy h1 {
    font-size: clamp(32px, 10.6vw, 53px);
  }

  .home-stats-line {
    width: fit-content;
    flex-wrap: wrap;
    justify-content: start;
    font-size: clamp(14px, 4.6vw, 20px);
  }

  .home-stats-line span {
    white-space: normal;
  }

  .home-hero-copy .lead {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 38px;
  }

  .home-hero-logos {
    position: relative;
    left: auto;
    bottom: auto;
    grid-template-columns: repeat(3, max-content);
    margin-top: 28px;
    gap: 8px 14px;
  }
}

/* Full-height side navigation */
.main-nav.is-open {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  z-index: 1000;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  width: min(835px, calc(100vw - 112px));
  height: 100dvh;
  max-height: none;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 28px 90px 58px 104px;
  border: 0;
  border-left: 2px solid var(--accent);
  border-radius: 0;
  background: rgba(2, 14, 34, 0.96);
  color: var(--white);
  box-shadow: -28px 0 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  animation: mainNavSlideIn 340ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes mainNavSlideIn {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

.main-nav-top {
  display: flex;
  justify-content: flex-end;
  padding-right: 90px;
}

.main-nav-support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 233px;
  height: 50px;
  padding: 0 28px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-nav.is-open .main-nav-support {
  display: inline-flex;
  padding: 0 28px;
  border: 1px solid var(--accent);
  color: var(--white);
  opacity: 1;
}

.main-nav-support:hover {
  background: var(--white);
  color: var(--navy);
}

.main-nav.is-open .main-nav-support:hover {
  color: var(--navy);
}

.main-nav-links {
  align-self: center;
  display: grid;
  gap: clamp(20px, 4vh, 32px);
  padding: 42px 0;
}

.main-nav.is-open .main-nav-links a {
  display: block;
  padding: 0;
  border: 0;
  color: var(--white);
  font-size: clamp(25px, 3.1vw, 35px);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.12;
  opacity: 1;
  text-transform: uppercase;
}

.main-nav.is-open .main-nav-links a:hover,
.main-nav.is-open .main-nav-links a.is-active {
  color: var(--accent);
}

.main-nav-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 50px;
  color: var(--white);
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 800;
}

.main-nav-footer .socials {
  margin-top: 0;
  margin-right: 38px;
}

.main-nav-footer .socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.main-nav-footer .socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.main-nav.is-open .main-nav-footer > a {
  padding: 0;
  border-left: 0;
  color: var(--white);
  font-size: clamp(12px, 1.2vw, 16px);
  opacity: 1;
  text-transform: none;
}

.main-nav.is-open .main-nav-footer > a:hover {
  color: var(--accent);
}

body.menu-open .site-header {
  background: transparent;
}

body.menu-open .menu-toggle {
  position: fixed;
  top: 28px;
  right: 48px;
  z-index: 1010;
  border-color: var(--accent);
  border-radius: 10px;
  background: rgba(2, 14, 34, 0.16);
  color: var(--accent);
}

body.menu-open .menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .main-nav.is-open {
    inset: 0 0 0 auto;
    width: min(100vw - 28px, 520px);
    padding: 24px 28px 40px 44px;
  }

  .main-nav-top {
    justify-content: flex-start;
    padding-right: 64px;
  }

  .main-nav-support {
    min-width: 190px;
    height: 48px;
    font-size: 14px;
  }

  .main-nav-links {
    gap: 20px;
    padding: 42px 0 28px;
  }

  .main-nav.is-open .main-nav-links a {
    font-size: clamp(20px, 6.6vw, 29px);
  }

  .main-nav-footer {
    gap: 12px;
    font-size: 18px;
  }

  .main-nav-footer .socials {
    width: 100%;
    margin-right: 0;
  }

  body.menu-open .menu-toggle {
    top: 24px;
    right: 24px;
  }
}

/* Staggered home-page benefits layout */
.section.dark.why-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #020e22;
  padding: 118px 0 110px;
}

.why-section-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  pointer-events: none;
}

.why-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(2, 14, 34, 0.92) 0%, rgba(2, 14, 34, 0.54) 44%, rgba(2, 14, 34, 0.96) 100%);
  pointer-events: none;
}

.why-section-content {
  position: relative;
  z-index: 2;
}

.why-section-intro {
  max-width: 920px;
  margin-bottom: 58px;
}

.why-section .section-title {
  width: auto;
  max-width: 1120px;
  color: var(--white);
  text-transform: uppercase;
}

.why-section-intro .section-title span {
  display: block;
}

.why-section .section-copy {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.42;
}

.why-grid {
  padding-top: 100px;
  padding-bottom: 100px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(190px, auto));
  align-items: stretch;
  gap: 34px;
  margin-bottom: 92px;
}

.why-grid .card {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  min-height: 190px;
  padding: 30px;
  border: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: none;
}

.why-grid .card h3 {
  align-self: start;
  margin: 0 0 10px;
  color: var(--white);
  font-size: 22px;
}

.why-grid .card p {
  grid-row: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.45;
}

.why-grid .card:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.why-grid .card:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}

.why-grid .card:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.home-services-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.home-services-row .section-title {
  margin: 0;
}

.home-services-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-services-view span {
  color: var(--accent);
}

.home-services-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 34px;
}

.home-service-pill {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 88px;
  padding: 14px 28px 14px 14px;
  border: 1px solid rgba(51, 186, 158, 0.22);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(51, 186, 158, 0.2), rgba(255, 255, 255, 0.08));
  color: var(--white);
  font-size: clamp(22px, 1.75vw, 31px);
  line-height: 1.1;
  box-shadow: inset 0 0 32px rgba(51, 186, 158, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.home-service-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(51, 186, 158, 0.62);
  background: linear-gradient(90deg, rgba(51, 186, 158, 0.34), rgba(255, 255, 255, 0.12));
}

.home-service-ring {
  position: relative;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0 82deg, rgba(51, 186, 158, 0.18) 82deg 360deg);
  transform-origin: center;
  transition: transform 300ms ease;
}

.home-service-pill:hover .home-service-ring,
.home-service-pill:focus-visible .home-service-ring {
  transform: rotate(90deg);
}

@media (prefers-reduced-motion: reduce) {
  .home-service-ring {
    transition: none;
  }
}

.home-service-ring::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: inherit;
  background: rgba(2, 14, 34, 0.78);
}

@media (max-width: 900px) {
  .section.dark.why-section {
    padding: 84px 0;
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    margin-bottom: 64px;
  }

  .why-grid .card:nth-child(1),
  .why-grid .card:nth-child(2) {
    grid-column: auto;
    grid-row: 1;
  }

  .why-grid .card:nth-child(3) {
    grid-column: 1 / -1;
    grid-row: 2;
    width: calc(50% - 11px);
    justify-self: center;
  }

  .home-services-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-grid .card:nth-child(1),
  .why-grid .card:nth-child(2),
  .why-grid .card:nth-child(3) {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }

  .home-services-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-services-pills {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-service-pill {
    min-height: 72px;
    gap: 18px;
    font-size: 20px;
  }

  .home-service-ring {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }
}

/* About page editorial layout */
body[data-page="about"] .about-hero,
body[data-page="team"] .team-hero {
  height: auto;
  min-height: 860px;
  padding: 166px 0 86px;
  background: var(--navy);
  isolation: isolate;
}

body[data-page="about"] .about-hero::after,
body[data-page="team"] .team-hero::after {
  display: block;
  background: url("backgrounds/hero-flow.jpg") center calc(48% + var(--hero-flow-parallax, 0px)) / cover no-repeat;
  opacity: 0.24;
}

body[data-page="about"] .about-hero::before,
body[data-page="team"] .team-hero::before {
  background: linear-gradient(180deg, rgba(2, 14, 34, 0.72) 0%, rgba(2, 14, 34, 0.36) 44%, rgba(2, 14, 34, 0.9) 100%);
}

body[data-page="about"] .about-hero::after,
body[data-page="services"] .services-hero::after,
body[data-page="clients"] .clients-hero::after,
body[data-page="careers"] .careers-services-hero::after {
  display: none;
  background: none;
}

.about-hero-video,
.team-hero-video,
.hero-background-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  pointer-events: none;
}

.about-hero-stage,
.about-founder-grid,
.about-support-content {
  position: relative;
  z-index: 2;
}

.about-hero-stage {
  display: grid;
  min-height: 610px;
  align-content: end;
  gap: clamp(78px, 9vw, 132px);
}

.about-hero-title h1 {
  max-width: 840px;
  margin: 0;
  color: var(--white);
  font-size: clamp(46px, 5.8vw, 92px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-hero-title h1 span {
  display: block;
}

body[data-page="about"] .about-hero-title {
  max-width: 1000px;
}

body[data-page="about"] .about-hero-title h1 .title-accent-dot {
  display: inline-block;
  width: 0.16em;
  height: 0.16em;
  margin-left: 0.1em;
  background: #ff9000;
  vertical-align: baseline;
}

.about-hero-body {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(440px, 1fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

body[data-page="team"] .about-hero-body {
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: stretch;
}

body[data-page="team"] .about-hero-copy {
  max-width: 100%;
}

body[data-page="team"] .team-panel {
  width: 100%;
  padding: 20px;
  border-color: var(--accent);
  background: #13233e;
  background-color: #13233e;
}

body[data-page="team"] .team-panel h2 {
  color: var(--white);
}

body[data-page="team"] .team-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: auto;
  gap: 20px;
}

.about-hero-copy {
  display: grid;
  gap: 26px;
  max-width: 650px;
}

.about-hero-copy p,
.about-founder-copy p,
.about-support-content > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15px, 1.02vw, 18px);
  line-height: 1.55;
}

.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 34px;
}

.about-stat-card {
  min-height: 158px;
  padding: 24px 24px 20px;
  border: 1px solid rgba(51, 186, 158, 0.2);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(51, 186, 158, 0.2), rgba(255, 255, 255, 0.07));
  color: var(--white);
  box-shadow: inset 0 0 36px rgba(51, 186, 158, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.about-stat-card span {
  display: inline-grid;
  width: 46px;
  min-width: 46px;
  height: 46px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 7px;
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
}

.about-stat-card h3 {
  max-width: 260px;
  margin: 0 0 8px;
  color: var(--white);
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.08;
}

.about-stat-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.35;
}

.about-founder-section {
  padding: 64px 0 76px;
  background: #13233e;
}

body[data-page="about"] .section.about-founder-section,
body[data-page="about"] .about-founder-grid,
body[data-page="about"] .about-founder-copy {
  background: #13233e;
  background-color: #13233e;
}

.about-founder-grid {
  display: grid;
  grid-template-columns: minmax(520px, 0.96fr) minmax(520px, 1fr);
  gap: clamp(68px, 7vw, 124px);
  align-items: center;
}

.about-founder-media {
  position: relative;
  justify-self: start;
  overflow: visible;
  width: calc(100% + ((100vw - min(calc(100vw - 120px), 1540px)) / 2));
  margin-left: calc((100vw - min(calc(100vw - 120px), 1540px)) / -2);
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.about-founder-media img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  border-radius: 0;
}

.about-founder-media span {
  display: none;
}

.about-founder-copy {
  display: grid;
  gap: 28px;
  max-width: 720px;
}

.about-founder-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.about-founder-heading h2,
.about-client-row h3 {
  margin: 0;
  color: var(--accent);
  font-size: clamp(20px, 1.45vw, 28px);
  font-weight: 800;
}

.about-founder-heading a,
.about-client-row a {
  color: var(--white);
  font-size: clamp(15px, 1.15vw, 20px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-founder-copy p {
  font-size: clamp(18px, 1.45vw, 28px);
  line-height: 1.42;
}

.about-founder-heading a span,
.about-client-row a span {
  color: var(--accent);
}

.about-support-section {
  position: relative;
  overflow: hidden;
  padding: 88px 0 104px;
  background: url("backgrounds/Layer 10.webp") center center / cover no-repeat;
  color: var(--white);
}

body[data-page="about"] .section.about-support-section {
  background-color: transparent;
  background-image: url("backgrounds/Layer 10.webp");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.about-support-content {
  display: grid;
  gap: 28px;
}

.about-support-title {
  max-width: 880px;
  margin: 0;
  padding-bottom: 26px;
  color: var(--white);
  font-size: 60px;
  line-height: 1.08;
  white-space: normal;
}

.about-support-content > p {
  max-width: 1500px;
  font-size: clamp(18px, 1.25vw, 24px);
  line-height: 1.45;
}

.about-client-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 54px;
}

body[data-page="about"] .logo-showcase {
  margin-top: 20px;
}

@media (max-width: 1000px) {
  body[data-page="about"] .about-hero {
    min-height: 0;
    padding: 136px 0 72px;
  }

  .about-hero-body,
  .about-founder-grid {
    grid-template-columns: 1fr;
  }

  .about-founder-media {
    width: 100%;
    margin-left: 0;
  }

  .about-stat-grid {
    max-width: 720px;
  }

  body[data-page="team"] .team-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body[data-page="about"] .about-hero {
    padding: 118px 0 56px;
  }

  .about-hero-stage {
    min-height: 0;
    gap: 56px;
  }

  .about-stat-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="team"] .team-card-grid {
    grid-template-columns: 1fr;
  }

  .about-founder-section,
  .about-support-section {
    padding: 58px 0;
  }

  .about-founder-heading,
  .about-client-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-founder-media,
  .about-founder-media img {
    min-height: 320px;
  }
}

/* Responsive app-style layer */
body {
  overflow-x: hidden;
}

.team-card-body {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 1280px) {
  .container,
  .header-inner,
  .home-hero-stage {
    width: min(calc(100% - 72px), 1540px);
  }

  .home-hero-copy h1 {
    font-size: clamp(58px, 7.2vw, 104px);
  }

  .home-hero-logos {
    grid-template-columns: repeat(3, max-content);
    max-width: 48%;
  }

  .home-proof-grid,
  .about-founder-grid {
    gap: clamp(44px, 6vw, 88px);
  }

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

@media (max-width: 1024px) {
  :root {
    --hero-height: 620px;
    --hero-mobile-height: 600px;
  }

  .container,
  .header-inner,
  .home-hero-stage {
    width: min(calc(100% - 48px), 1120px);
  }

  .site-header {
    padding: 16px 0 12px;
  }

  .site-header.is-scrolled {
    padding: 12px 0;
  }

  .header-inner {
    min-height: 58px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: clamp(170px, 25vw, 230px);
  }

  .main-nav {
    display: none;
  }

  .support-downloads {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav.is-open {
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    display: grid;
    width: min(560px, 92vw);
    height: 100dvh;
    max-height: none;
    padding: 26px 56px 44px 56px;
    border-left: 1px solid var(--accent);
    background: rgba(2, 14, 34, 0.96);
    box-shadow: -24px 0 64px rgba(0, 0, 0, 0.34);
    overflow-y: auto;
  }

  .main-nav-top {
    justify-content: flex-start;
    padding-right: 72px;
  }

  .main-nav-links {
    gap: 18px;
    padding: 38px 0 28px;
  }

  .main-nav.is-open .main-nav-links a {
    font-size: clamp(24px, 6vw, 40px);
  }

  .main-nav-footer {
    gap: 16px 28px;
  }

  body.menu-open .menu-toggle {
    top: 24px;
    right: 24px;
  }

  .hero,
  body[data-page="contact"] .hero,
  body[data-page="careers"] .hero,
  body[data-page="clients"] .hero,
  body[data-page="services"] .hero,
  body[data-page="about"] .hero,
  body[data-page="team"] .hero {
    min-height: var(--hero-height);
    height: auto;
  }

  .hero-grid,
  body[data-page="contact"] .hero-grid,
  body[data-page="careers"] .hero-grid,
  body[data-page="clients"] .hero-grid,
  body[data-page="services"] .hero-grid,
  body[data-page="about"] .hero-grid,
  body[data-page="team"] .hero-grid {
    min-height: var(--hero-height);
    grid-template-columns: 1fr;
    padding: 112px 0 56px;
  }

  .hero-content {
    min-height: 0;
  }

  .hero-content h1,
  .about-hero-title h1 {
    max-width: 760px;
    font-size: clamp(42px, 8.5vw, 78px);
  }

  .home-hero,
  .home-hero-stage {
    min-height: 100svh;
  }

  .home-hero-stage {
    display: grid;
    grid-template-columns: 1fr;
    padding: 122px 0 44px;
  }

  .home-hero-copy {
    min-height: auto;
    align-content: start;
  }

  .home-hero-copy h1 {
    max-width: min(100%, 820px);
    font-size: clamp(54px, 10vw, 92px);
  }

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

  .home-stats-line {
    max-width: min(100%, 760px);
  }

  .home-hero-copy .lead {
    margin-top: 34px;
  }

  .home-hero-kicker {
    margin-top: 26px;
  }

  .home-hero-logos {
    position: relative;
    left: auto;
    bottom: auto;
    grid-template-columns: repeat(3, max-content);
    max-width: 100%;
    margin-top: 34px;
  }

  .home-hero-actions {
    position: relative;
    right: auto;
    bottom: auto;
    align-self: end;
    justify-self: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 30px;
  }

  .home-action-tile {
    min-height: 112px;
    border-radius: 18px;
  }

  .home-proof-section {
    padding: 86px 0;
  }

  .home-proof-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .home-proof-copy {
    max-width: 820px;
  }

  .home-proof-copy p {
    font-size: 12px;
  }

  .home-proof-metrics {
    justify-self: stretch;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .home-proof-metrics article {
    width: 100%;
    min-height: 84px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
  }

  .why-grid,
  .home-services-pills,
  .grid.three,
  .grid.four,
  .about-stat-grid,
  body[data-page="team"] .team-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid .card:nth-child(1),
  .why-grid .card:nth-child(2),
  .why-grid .card:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }

  .about-hero-stage {
    min-height: 0;
    gap: 58px;
  }

  .about-hero-body,
  body[data-page="team"] .about-hero-body,
  .about-founder-grid,
  .split,
  .footer-grid,
  .portal-auth-grid,
  .portal-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .about-founder-media {
    width: 100%;
    margin-left: 0;
  }

  .about-founder-copy {
    max-width: 100%;
  }

  .about-support-title {
    font-size: clamp(42px, 7vw, 60px);
  }

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

  .logo-tile {
    min-height: 120px;
  }

  .map-section {
    min-height: 440px;
    height: 58vh;
  }

  .portal-summary,
  .portal-auth-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --hero-mobile-height: 560px;
  }

  .container,
  .header-inner,
  .home-hero-stage {
    width: min(calc(100% - 28px), 680px);
  }

  .site-header {
    padding: 12px 0 10px;
  }

  .header-inner {
    min-height: 54px;
  }

  .brand img {
    width: clamp(142px, 48vw, 188px);
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .main-nav.is-open {
    width: min(92vw, 420px);
    padding: 22px 26px 34px 32px;
    border-left-width: 1px;
  }

  .main-nav-top {
    padding-right: 58px;
  }

  .main-nav-support {
    min-width: 170px;
    height: 44px;
    padding: 0 20px;
    font-size: 12px;
    border-radius: 99px;
  }

  .main-nav-links {
    align-self: start;
    gap: 14px;
    padding: 34px 0 28px;
  }

  .main-nav.is-open .main-nav-links a {
    font-size: clamp(25px, 10vw, 38px);
    line-height: 1.05;
  }

  .main-nav-footer {
    display: grid;
    gap: 14px;
  }

  .main-nav-footer .socials {
    margin-right: 0;
  }

  body.menu-open .menu-toggle {
    top: 18px;
    right: 18px;
  }

  .hero,
  .hero-grid,
  body[data-page="contact"] .hero,
  body[data-page="careers"] .hero,
  body[data-page="clients"] .hero,
  body[data-page="services"] .hero,
  body[data-page="about"] .hero,
  body[data-page="team"] .hero,
  body[data-page="contact"] .hero-grid,
  body[data-page="careers"] .hero-grid,
  body[data-page="clients"] .hero-grid,
  body[data-page="services"] .hero-grid,
  body[data-page="about"] .hero-grid,
  body[data-page="team"] .hero-grid {
    min-height: var(--hero-mobile-height);
  }

  .hero-grid,
  body[data-page="contact"] .hero-grid,
  body[data-page="careers"] .hero-grid,
  body[data-page="clients"] .hero-grid,
  body[data-page="services"] .hero-grid,
  body[data-page="about"] .hero-grid,
  body[data-page="team"] .hero-grid {
    padding: 100px 0 44px;
  }

  .hero-content h1,
  .about-hero-title h1 {
    font-size: clamp(36px, 12vw, 58px);
    line-height: 1;
  }

  .lead,
  .hero-content .lead,
  .about-hero-copy p,
  .about-founder-copy p,
  .about-support-content > p {
    font-size: 15px;
    line-height: 1.55;
  }

  .home-hero-stage {
    padding: 96px 0 24px;
  }

  .home-hero-copy h1 {
    font-size: clamp(48px, 16vw, 72px);
  }

  .home-hero-copy h1 span {
    padding-bottom: 12px;
  }

  .home-hero-copy h1 span + span {
    margin-top: 20px;
  }

  .home-hero-copy .lead {
    max-width: 100%;
    margin-top: 28px;
    font-size: 15px;
  }

  .home-hero-kicker {
    width: auto;
    max-width: 100%;
    justify-self: start;
  }

  .home-hero-logos {
    grid-template-columns: repeat(2, max-content);
    gap: 14px 18px;
  }

  .home-hero-logos .logo-tile,
  .home-hero-logos .logo-tile img,
  .home-hero-logos .logo-tile:first-child img,
  .home-hero-logos .logo-tile:nth-child(2) img,
  .home-hero-logos .logo-tile:nth-child(3) img,
  .home-hero-logos .logo-tile:nth-child(4) img,
  .home-hero-logos .logo-tile:nth-child(5) img,
  .home-hero-logos .logo-tile:nth-child(6) img {
    height: 24px;
    max-height: 24px;
    max-width: 136px;
  }

  .home-hero-actions {
    gap: 10px;
  }

  .home-action-tile {
    min-height: 82px;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .home-action-tile span,
  .home-action-tile strong {
    font-size: 15px;
  }

  .home-proof-section,
  .section.dark.why-section,
  .section {
    padding: 64px 0;
  }

  .home-proof-grid {
    gap: 30px;
  }

  .home-proof-metrics {
    grid-template-columns: 1fr;
  }

  .home-proof-metrics strong {
    font-size: 42px;
  }

  .home-proof-metrics span {
    max-width: none;
    font-size: 11px;
  }

  .section-title,
  .about-support-title {
    padding-bottom: 28px;
    font-size: clamp(34px, 11vw, 48px);
    white-space: normal;
  }

  .section-copy {
    margin-bottom: 30px;
    font-size: 15px;
  }

  .why-grid,
  .home-services-pills,
  .grid.two,
  .grid.three,
  .grid.four,
  .about-stat-grid,
  body[data-page="team"] .team-card-grid,
  .portal-summary,
  .portal-auth-cards,
  .logos,
  .marquee {
    grid-template-columns: 1fr;
  }

  body[data-page="team"] .team-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card,
  .service-card,
  .testimonial,
  .job-card,
  .portal-card,
  .portal-auth-card {
    border-radius: 18px;
  }

  .service-card {
    min-height: 78px;
    padding: 20px;
  }

  .home-service-pill {
    min-height: 68px;
    gap: 16px;
    padding: 12px 18px 12px 12px;
    font-size: 18px;
  }

  .home-service-ring {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .about-founder-section,
  .about-support-section {
    padding: 54px 0;
  }

  .about-founder-heading,
  .about-client-row,
  .job-card,
  .portal-topline,
  .portal-card-head,
  .admin-client {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-founder-media,
  .about-founder-media img {
    min-height: 0;
  }

  body[data-page="team"] .team-panel {
    padding: 14px;
    border-radius: 20px;
  }

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

  .team-card-grid {
    gap: 16px;
    margin-top: 30px;
  }

  .team-card img {
    height: 150px;
  }

  .team-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .team-actions .button {
    width: 100%;
  }

  .split {
    gap: 24px;
  }

  .form-shell input,
  .form-shell select,
  .form-shell textarea {
    min-height: 52px;
    border-radius: 16px;
  }

  .admin-actions,
  .admin-form-actions {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .map-section {
    min-height: 360px;
    height: 52vh;
  }

  .map-link {
    top: 18px;
    right: 14px;
    min-height: 42px;
    padding: 0 16px;
    font-size: 11px;
  }

  .footer-grid {
    gap: 60px;
  }

  .site-footer {
    padding: 46px 0 24px;
  }

  .footer-logo {
    width: 160px;
  }

  .copyright {
    display: grid;
    gap: 10px;
    margin-top: 34px;
  }

  .cookie {
    right: 14px;
    bottom: 14px;
    width: calc(100vw - 28px);
    border-radius: 18px;
  }

  .scroll-top-toggle {
    top: auto;
    right: 10px;
    bottom: 16px;
  }
}

@media (max-width: 420px) {
  .container,
  .header-inner,
  .home-hero-stage {
    width: min(calc(100% - 22px), 420px);
  }

  .home-hero-copy h1,
  .hero-content h1,
  .about-hero-title h1 {
    font-size: clamp(34px, 13.8vw, 52px);
  }

  .home-hero-logos {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .home-hero-logos .logo-tile {
    justify-content: start;
  }

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

  .home-hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-action-tile {
    min-height: 68px;
  }

  .main-nav.is-open {
    width: 94vw;
    padding-right: 22px;
    padding-left: 24px;
  }

  .main-nav.is-open .main-nav-links a {
    font-size: clamp(24px, 11vw, 34px);
  }

  .main-nav-footer .socials a,
  .socials a {
    width: 38px;
    height: 38px;
  }

  .team-card img {
    height: 132px;
  }
}

/* Meet the Team reference layout */
body[data-page="team"] {
  background: var(--navy);
}

body[data-page="team"] .team-hero {
  height: auto;
  min-height: 0;
  padding: 158px 0 118px;
  background: var(--navy);
  color: var(--white);
  isolation: isolate;
}

body[data-page="team"] .team-hero::after {
  display: block;
  background: url("backgrounds/hero-flow.jpg") center calc(38% + var(--hero-flow-parallax, 0px)) / cover no-repeat;
  opacity: 0.26;
}

body[data-page="team"] .team-hero::before {
  display: block;
  background:
    linear-gradient(180deg, rgba(2, 14, 34, 0.92) 0%, rgba(2, 14, 34, 0.42) 38%, rgba(2, 14, 34, 0.92) 100%),
    linear-gradient(90deg, rgba(2, 14, 34, 0.92) 0%, rgba(2, 14, 34, 0.54) 58%, rgba(2, 14, 34, 0.82) 100%);
}

body[data-page="team"] .team-hero-stage {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 72px;
}

body[data-page="team"] .team-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(198px, 292px);
  gap: clamp(34px, 7vw, 104px);
  align-items: end;
}

body[data-page="team"] .team-hero-copy h1 {
  max-width: 900px;
  margin: 0;
  color: var(--white);
  font-size: clamp(74px, 9.4vw, 132px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

body[data-page="team"] .team-hero-copy h1 span {
  display: block;
}

body[data-page="team"] .team-hero-copy h1 span:first-child {
  max-width: 900px;
}

body[data-page="team"] .team-hero-copy h1 .title-accent-dot {
  display: inline-block;
  width: 0.16em;
  height: 0.16em;
  margin-left: 0.11em;
  background: #ff9000;
  vertical-align: baseline;
}

body[data-page="team"] .team-hero-text {
  display: grid;
  max-width: 1080px;
  gap: 18px;
  margin-top: 52px;
}

body[data-page="team"] .team-hero-text p {
  max-width: 1040px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(15px, 1.08vw, 18px);
  line-height: 1.28;
}

body[data-page="team"] .team-about-tile {
  display: grid;
  width: min(100%, 292px);
  min-height: 108px;
  align-content: center;
  justify-self: end;
  padding: 18px 30px 22px;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.28s ease, background 0.28s ease;
}

body[data-page="team"] .team-about-tile:hover {
  transform: translateY(-4px) scale(1.03);
  background: #40d6ba;
}

body[data-page="team"] .team-about-tile span {
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

body[data-page="team"] .team-about-tile strong {
  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 900;
  line-height: 1;
}

body[data-page="team"] .team-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(48px, 5vw, 70px) 24px;
  margin: 0;
}

body[data-page="team"] .team-showcase-card {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

body[data-page="team"] .team-showcase-card:hover {
  transform: none;
  box-shadow: none;
}

body[data-page="team"] .team-photo-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.02 / 1;
  border-radius: 11px;
  background: var(--white);
}

body[data-page="team"] .team-photo-wrap img,
body[data-page="team"] .team-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1);
}

body[data-page="team"] .team-photo-wrap.is-placeholder {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0 14%, rgba(142, 145, 142, 0.96) 14% 100%);
}

body[data-page="team"] .team-social {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(2, 14, 34, 0.62);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

body[data-page="team"] .team-social:hover {
  border-color: var(--accent);
  background: var(--navy);
  color: var(--accent);
  transform: scale(1.08);
}

body[data-page="team"] .team-member-meta {
  min-height: 58px;
  margin-top: 22px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
}

body[data-page="team"] .team-member-meta h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(17px, 1.28vw, 22px);
  font-weight: 900;
  line-height: 1.08;
}

body[data-page="team"] .team-member-meta p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(13px, 1vw, 18px);
  line-height: 1.16;
}

@media (max-width: 1180px) {
  body[data-page="team"] .team-hero {
    padding-top: 138px;
  }

  body[data-page="team"] .team-showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  body[data-page="team"] .team-hero {
    padding: 118px 0 82px;
  }

  body[data-page="team"] .team-hero-stage {
    gap: 46px;
  }

  body[data-page="team"] .team-hero-top {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  body[data-page="team"] .team-hero-copy h1 {
    font-size: clamp(58px, 15vw, 96px);
  }

  body[data-page="team"] .team-hero-text {
    margin-top: 34px;
  }

  body[data-page="team"] .team-about-tile {
    width: min(100%, 240px);
    min-height: 86px;
    justify-self: start;
  }

  body[data-page="team"] .team-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 18px;
  }
}

@media (max-width: 520px) {
  body[data-page="team"] .team-hero {
    padding: 104px 0 64px;
  }

  body[data-page="team"] .team-hero-copy h1 {
    font-size: clamp(46px, 17vw, 68px);
  }

  body[data-page="team"] .team-hero-text p {
    font-size: 14px;
    line-height: 1.38;
  }

  body[data-page="team"] .team-about-tile {
    width: 100%;
  }

  body[data-page="team"] .team-showcase-grid {
    gap: 32px 14px;
  }

  body[data-page="team"] .team-social {
    top: 9px;
    left: 9px;
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  body[data-page="team"] .team-member-meta {
    margin-top: 14px;
    padding-left: 10px;
  }
}

/* Site-wide H1 sizing */
h1,
.hero-content h1,
.home-hero-copy h1,
.about-hero-title h1,
body[data-page="team"] .team-hero-copy h1 {
  font-size: 60pt;
  font-weight: 900;
}

h1 > span {
  max-width: 900px;
}

h1 .title-accent-dot {
  display: inline-block;
  width: 0.16em;
  height: 0.16em;
  margin-left: 0.1em;
  background: #ff9000;
  vertical-align: baseline;
}

h2 .title-accent-dot {
  display: inline-block;
  width: 0.18em;
  height: 0.18em;
  margin-left: 0.12em;
  background: #ff9000;
  vertical-align: baseline;
}

body[data-page="team"] .team-hero::after {
  background: url("backgrounds/hero-flow.jpg") center calc(48% + var(--hero-flow-parallax, 0px)) / cover no-repeat;
  opacity: 0.24;
  display: none;
}

body[data-page="team"] .team-hero::before {
  display: none;
  background: linear-gradient(180deg, rgba(2, 14, 34, 0.72) 0%, rgba(2, 14, 34, 0.36) 44%, rgba(2, 14, 34, 0.9) 100%);
}

body[data-page="team"] .team-hero-copy h1 > span,
body[data-page="team"] .team-hero-text p,
body[data-page="team"] .team-about-tile,
body[data-page="team"] .team-showcase-card {
  opacity: 0;
  transform: translateY(34px);
}

#app.app-ready .team-hero-copy h1 > span {
  animation: hero-title-reveal 900ms cubic-bezier(0.2, 0.78, 0.18, 1) both;
}

#app.app-ready .team-hero-copy h1 > span:nth-child(2) {
  animation-delay: 160ms;
}

#app.app-ready .team-hero-copy h1 .title-accent-dot {
  animation: hero-dot-pop 560ms cubic-bezier(0.2, 0.78, 0.18, 1) 540ms both;
}

#app.app-ready .team-hero-text p {
  animation: hero-title-reveal 820ms cubic-bezier(0.2, 0.78, 0.18, 1) 220ms both;
}

#app.app-ready .team-hero-text p:nth-child(2) {
  animation-delay: 320ms;
}

#app.app-ready .team-about-tile {
  animation: hero-title-reveal 820ms cubic-bezier(0.2, 0.78, 0.18, 1) 360ms both;
}

#app.app-ready .team-showcase-card {
  animation: hero-title-reveal 760ms cubic-bezier(0.2, 0.78, 0.18, 1) both;
}

#app.app-ready .team-showcase-card:nth-child(1) { animation-delay: 420ms; }
#app.app-ready .team-showcase-card:nth-child(2) { animation-delay: 500ms; }
#app.app-ready .team-showcase-card:nth-child(3) { animation-delay: 580ms; }
#app.app-ready .team-showcase-card:nth-child(4) { animation-delay: 660ms; }
#app.app-ready .team-showcase-card:nth-child(5) { animation-delay: 740ms; }
#app.app-ready .team-showcase-card:nth-child(6) { animation-delay: 820ms; }
#app.app-ready .team-showcase-card:nth-child(7) { animation-delay: 900ms; }
#app.app-ready .team-showcase-card:nth-child(8) { animation-delay: 980ms; }
#app.app-ready .team-showcase-card:nth-child(9) { animation-delay: 1060ms; }
#app.app-ready .team-showcase-card:nth-child(10) { animation-delay: 1140ms; }
#app.app-ready .team-showcase-card:nth-child(11) { animation-delay: 1220ms; }
#app.app-ready .team-showcase-card:nth-child(12) { animation-delay: 1300ms; }

/* Team cards keep the rotating surface separate from the entrance animation. */
body[data-page="team"] .team-flip-card {
  perspective: 1200px;
  border-radius: 12px;
  outline-offset: 6px;
}

body[data-page="team"] .team-flip-inner {
  display: grid;
  min-height: 320px;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

body[data-page="team"] .team-flip-front,
body[data-page="team"] .team-flip-back {
  grid-area: 1 / 1;
  min-width: 0;
  border-radius: 12px;
  background: var(--accent);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

body[data-page="team"] .team-flip-front {
  display: grid;
  place-items: center;
  aspect-ratio: auto;
  transform: rotateY(0deg);
}

body[data-page="team"] .team-flip-front img {
  position: absolute;
  inset: 0;
}

body[data-page="team"] .team-flip-initials {
  color: var(--navy);
  font-size: 64px;
  font-weight: 800;
}

body[data-page="team"] .team-flip-back {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding: 28px;
  transform: rotateY(180deg);
  color: var(--navy);
}

body[data-page="team"] .team-flip-back h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

body[data-page="team"] .team-flip-back p {
  color: var(--navy);
  font-size: 16px;
  line-height: 1.45;
}

body[data-page="team"] .team-linkedin-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 12px 16px;
  min-height: 44px;
  border: 2px solid var(--navy);
  border-radius: 7px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

body[data-page="team"] .team-linkedin-button:hover,
body[data-page="team"] .team-linkedin-button:focus-visible {
  background: var(--white);
  color: var(--navy);
}

body[data-page="team"] .team-flip-card:focus-within .team-flip-inner {
  transform: rotateY(180deg);
}

body[data-page="team"] .team-flip-card:focus-visible {
  outline: 2px solid var(--accent);
}

@media (hover: hover) and (pointer: fine) {
  body[data-page="team"] .team-flip-card:hover .team-flip-inner {
    transform: rotateY(180deg);
  }
}

@media (max-width: 520px) {
  body[data-page="team"] .team-showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="team"] .team-flip-inner {
    transition: none;
  }
  body[data-page="team"] #app .team-flip-card {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Services merged hero layout */
body[data-page="services"] .services-hero {
  height: auto;
  min-height: 0;
  padding: 166px 0 112px;
  background: var(--navy);
  isolation: isolate;
}

body[data-page="careers"] .careers-services-hero {
  height: auto;
  min-height: 0;
  padding: 166px 0 112px;
  background: var(--navy);
  isolation: isolate;
}

body[data-page="contact"] .contact-hero {
  height: auto;
  min-height: 0;
  padding: 166px 0 112px;
  background: var(--navy);
  isolation: isolate;
}

body[data-page="services"] .services-hero-grid {
  height: auto;
  min-height: 0;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 64px;
  padding: 0;
}

body[data-page="careers"] .careers-services-hero-grid {
  height: auto;
  min-height: 0;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 64px;
  padding: 0;
}

body[data-page="contact"] .contact-hero-grid {
  height: auto;
  min-height: 0;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 64px;
  padding: 0;
}

body[data-page="services"] .services-hero-copy {
  min-height: 0;
  max-width: 1200px;
}

body[data-page="careers"] .careers-services-hero-copy {
  min-height: 0;
  max-width: 1200px;
}

body[data-page="contact"] .contact-hero-copy {
  min-height: 0;
  max-width: 1200px;
}

body[data-page="services"] .services-hero-copy h1 {
  max-width: 620px;
  color: var(--white);
  line-height: 1.08;
  text-transform: uppercase;
}

body[data-page="careers"] .careers-services-hero-copy h1 {
  max-width: 900px;
  color: var(--white);
  line-height: 1.08;
  text-transform: uppercase;
}

body[data-page="contact"] .contact-hero-copy h1 {
  max-width: 900px;
  color: var(--white);
  line-height: 1.08;
  text-transform: uppercase;
}

body[data-page="services"] .services-hero-copy h1 > span {
  display: block;
}

body[data-page="services"] .services-hero-copy .lead {
  max-width: 1040px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(14px, 1.08vw, 18px);
  font-weight: 600;
  line-height: 1.35;
}

body[data-page="careers"] .careers-services-hero-copy .lead {
  max-width: 1040px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(14px, 1.08vw, 18px);
  font-weight: 600;
  line-height: 1.35;
}

body[data-page="contact"] .contact-hero-copy .lead {
  max-width: 1040px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(14px, 1.08vw, 18px);
  font-weight: 600;
  line-height: 1.35;
}

body[data-page="contact"] .contact-hero-contact-grid {
  position: relative;
  z-index: 2;
  align-items: stretch;
}

body[data-page="contact"] .contact-hero-contact-grid > .card {
  display: flex;
  height: 100%;
  border-color: rgba(51, 186, 158, 0.38);
  background: rgba(19, 35, 62, 0.9);
  color: var(--white);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body[data-page="careers"] .careers-openings {
  position: relative;
  z-index: 2;
  margin-top: 16px;
  padding-top: 100px;
}

body[data-page="careers"] .careers-openings .grid {
  margin-top: 0;
}

body[data-page="careers"] .careers-vacancy-board {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.22);
}

body[data-page="careers"] .vacancy-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 32px 36px 12px;
  background: var(--white);
}

body[data-page="careers"] .vacancy-search {
  position: relative;
  min-width: min(100%, 280px);
}

body[data-page="careers"] .vacancy-search span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

body[data-page="careers"] .vacancy-search input,
body[data-page="careers"] .vacancy-tools select {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: #eaf4ff;
  color: var(--navy);
  font-size: 17px;
  font-weight: 500;
  outline: 0;
}

body[data-page="careers"] .vacancy-search input {
  width: 100%;
  padding: 0 22px;
}

body[data-page="careers"] .vacancy-tools select {
  min-width: 128px;
  padding: 0 42px 0 24px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 25px) 22px, calc(100% - 17px) 22px;
  background-size: 8px 8px, 8px 8px;
  background-repeat: no-repeat;
}

body[data-page="careers"] .vacancy-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1fr);
  min-height: 640px;
}

body[data-page="careers"] .vacancy-list {
  display: grid;
  align-content: start;
  padding: 24px 36px 34px;
  background: var(--white);
}

body[data-page="careers"] .vacancy-list-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(2, 14, 34, 0.12);
  padding: 26px 0 28px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease;
}

body[data-page="careers"] .vacancy-list-item:hover,
body[data-page="careers"] .vacancy-list-item.is-selected {
  transform: translateX(6px);
}

body[data-page="careers"] .vacancy-logo {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(2, 14, 34, 0.12);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
}

body[data-page="careers"] .vacancy-logo img {
  width: 74%;
  height: 74%;
  object-fit: contain;
}

body[data-page="careers"] .vacancy-list-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

body[data-page="careers"] .vacancy-company {
  color: rgba(2, 14, 34, 0.62);
  font-size: 18px;
  font-weight: 500;
}

body[data-page="careers"] .vacancy-list-copy strong {
  color: #248cff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

body[data-page="careers"] .vacancy-meta {
  color: rgba(2, 14, 34, 0.66);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}

body[data-page="careers"] .vacancy-meta b {
  color: rgba(2, 14, 34, 0.42);
  font-weight: 500;
}

body[data-page="careers"] .vacancy-preview {
  display: grid;
  min-height: 640px;
  align-content: center;
  padding: 48px;
  background: #e8f4ff;
  color: var(--navy);
}

body[data-page="careers"] .vacancy-empty-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #248cff;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

body[data-page="careers"] .vacancy-detail-card {
  display: grid;
  gap: 24px;
  align-content: start;
}

body[data-page="careers"] .vacancy-detail-head {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
}

body[data-page="careers"] .vacancy-detail-head h2 {
  margin: 4px 0 8px;
  color: var(--navy);
  font-size: clamp(28px, 2.6vw, 42px);
  font-weight: 900;
  line-height: 1.06;
}

body[data-page="careers"] .vacancy-detail-head p,
body[data-page="careers"] .vacancy-intro,
body[data-page="careers"] .vacancy-detail-card li {
  color: rgba(2, 14, 34, 0.72);
  font-size: 16px;
  line-height: 1.55;
}

body[data-page="careers"] .vacancy-detail-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

body[data-page="careers"] .vacancy-detail-card ul {
  margin: 0;
  padding-left: 20px;
}

body[data-page="careers"] .vacancy-apply {
  display: grid;
  gap: 12px;
  margin-top: 6px;
  padding: 24px;
  border: 1px solid rgba(51, 186, 158, 0.28);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

body[data-page="careers"] .vacancy-apply input,
body[data-page="careers"] .vacancy-apply textarea {
  border-color: rgba(2, 14, 34, 0.12);
  background: var(--white);
}

body[data-page="careers"] .vacancy-job-page {
  padding-top: 160px;
}

body[data-page="careers"] .vacancy-job-page .vacancy-detail-card {
  border-radius: 8px;
  padding: 42px;
  background: #e8f4ff;
}

body[data-page="services"] .services-hero-services {
  position: relative;
  z-index: 2;
  width: 100%;
}

body[data-page="services"] .services-hero-services .grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 44px;
  margin-top: 0;
}

body[data-page="services"] .services-hero-services .service-card {
  position: relative;
  display: grid;
  min-height: 216px;
  align-content: start;
  gap: 22px;
  overflow: hidden;
  padding: 34px 36px 46px;
  border: 1px solid rgba(51, 186, 158, 0.2);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(51, 186, 158, 0.2), rgba(255, 255, 255, 0.07));
  color: var(--white);
  box-shadow: inset 0 0 36px rgba(51, 186, 158, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

body[data-page="services"] .services-hero-services .service-card {
  opacity: 0;
  translate: 0 34px;
}

#app.app-ready body[data-page="services"] .services-hero-services .service-card,
body[data-page="services"] #app.app-ready .services-hero-services .service-card {
  animation: service-grid-load 760ms cubic-bezier(0.2, 0.78, 0.18, 1) both;
}

body[data-page="services"] #app.app-ready .services-hero-services .service-card:nth-child(1) { animation-delay: 120ms; }
body[data-page="services"] #app.app-ready .services-hero-services .service-card:nth-child(2) { animation-delay: 200ms; }
body[data-page="services"] #app.app-ready .services-hero-services .service-card:nth-child(3) { animation-delay: 280ms; }
body[data-page="services"] #app.app-ready .services-hero-services .service-card:nth-child(4) { animation-delay: 360ms; }
body[data-page="services"] #app.app-ready .services-hero-services .service-card:nth-child(5) { animation-delay: 440ms; }
body[data-page="services"] #app.app-ready .services-hero-services .service-card:nth-child(6) { animation-delay: 520ms; }
body[data-page="services"] #app.app-ready .services-hero-services .service-card:nth-child(7) { animation-delay: 600ms; }
body[data-page="services"] #app.app-ready .services-hero-services .service-card:nth-child(8) { animation-delay: 680ms; }
body[data-page="services"] #app.app-ready .services-hero-services .service-card:nth-child(9) { animation-delay: 760ms; }
body[data-page="services"] #app.app-ready .services-hero-services .service-card:nth-child(10) { animation-delay: 840ms; }
body[data-page="services"] #app.app-ready .services-hero-services .service-card:nth-child(11) { animation-delay: 920ms; }
body[data-page="services"] #app.app-ready .services-hero-services .service-card:nth-child(12) { animation-delay: 1000ms; }
body[data-page="services"] #app.app-ready .services-hero-services .service-card:nth-child(13) { animation-delay: 1080ms; }
body[data-page="services"] #app.app-ready .services-hero-services .service-card:nth-child(14) { animation-delay: 1160ms; }
body[data-page="services"] #app.app-ready .services-hero-services .service-card:nth-child(15) { animation-delay: 1240ms; }
body[data-page="services"] #app.app-ready .services-hero-services .service-card:nth-child(16) { animation-delay: 1320ms; }

@keyframes service-grid-load {
  from {
    opacity: 0;
    translate: 0 34px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

body[data-page="services"] .services-hero-services .service-card:hover {
  border-color: rgba(51, 186, 158, 0.52);
  box-shadow: inset 0 0 50px rgba(51, 186, 158, 0.07), 0 18px 42px rgba(0, 0, 0, 0.22);
  transform: scale(1.02);
}

body[data-page="services"] .services-hero-services .service-card::before {
  content: "";
  position: absolute;
  right: -28px;
  bottom: 40px;
  width: 200px;
  height: 104px;
  background: var(--accent);
  opacity: 0.1;
  -webkit-mask: url("brand/pcgen-outline-icon.svg") center / contain no-repeat;
  mask: url("brand/pcgen-outline-icon.svg") center / contain no-repeat;
  pointer-events: none;
}

body[data-page="services"] .services-hero-services .service-card-dot {
  width: 9px;
  height: 9px;
  background: var(--accent);
}

body[data-page="services"] .services-hero-services .service-card h3 {
  max-width: 260px;
  color: var(--white);
  font-size: calc(clamp(26px, 2.2vw, 36px) - 2pt);
  font-weight: 900;
  line-height: 1.12;
}

body[data-page="services"] .services-hero-services .service-card p,
body[data-page="services"] .services-hero-services .service-card summary {
  max-width: 240px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 7pt;
  font-weight: 600;
  line-height: 1.28;
}

body[data-page="services"] .services-hero-services .service-card-bar {
  position: absolute;
  right: 36px;
  bottom: 28px;
  left: 36px;
  height: 9px;
  background: var(--accent);
}

body[data-page="services"] .services-cta-section {
  position: relative;
  overflow: hidden;
  padding-top: 250px;
  padding-bottom: 250px;
  border-top: 24px solid var(--accent);
  background:
    linear-gradient(90deg, rgba(2, 14, 34, 0.86), rgba(2, 14, 34, 0.5)),
    url("backgrounds/Layer 10.webp") center / cover no-repeat;
  color: var(--white);
}

body[data-page="services"] .services-cta-grid {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: center;
  gap: clamp(56px, 10vw, 160px);
}

body[data-page="services"] .services-cta-copy h2 {
  max-width: 860px;
  color: var(--white);
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 900;
  line-height: 1.08;
}

body[data-page="services"] .services-cta-question {
  color: var(--accent);
}

body[data-page="services"] .services-cta-copy .lead {
  max-width: 620px;
  margin-top: 82px;
  color: var(--white);
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 400;
  line-height: 1.18;
}

body[data-page="services"] .services-cta-action {
  display: flex;
  justify-content: center;
}

body[data-page="services"] .services-cta-button {
  display: grid;
  width: min(100%, 330px);
  min-height: 260px;
  align-content: center;
  justify-content: start;
  margin-top: 0;
  padding: 36px 38px 34px;
  border: 0;
  border-radius: 0;
  background: rgba(19, 35, 62, 0.74);
  color: var(--white);
  opacity: 1;
  filter: none;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

body[data-page="services"] .services-cta-button span {
  margin-bottom: 56px;
  color: var(--white);
  font-size: 36px;
  font-weight: 900;
}

body[data-page="services"] .services-cta-button strong {
  color: var(--white);
  font-size: clamp(38px, 3.8vw, 52px);
  font-weight: 900;
  line-height: 1.18;
  text-transform: uppercase;
}

body[data-page="services"] .services-cta-section::before,
body[data-page="services"] .services-cta-section::after {
  display: none;
}

body[data-page="clients"] .clients-hero {
  height: auto;
  min-height: 0;
  padding: 150px 0 104px;
  background: var(--navy);
  isolation: isolate;
}

body[data-page="clients"] .clients-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1fr);
  gap: clamp(44px, 6vw, 92px);
  align-items: center;
  min-height: 0;
}

body[data-page="clients"] .clients-hero-copy {
  min-height: 0;
  max-width: 780px;
}

body[data-page="clients"] .clients-hero-kicker {
  display: block;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

body[data-page="clients"] .clients-hero-copy h1 {
  max-width: 900px;
  color: var(--white);
  font-size: 60pt;
  font-weight: 900;
  line-height: 1.06;
  text-transform: uppercase;
}

body[data-page="clients"] .clients-hero-copy h1 > span {
  display: block;
}

body[data-page="clients"] .clients-hero-copy .lead {
  max-width: 720px;
  margin-top: 42px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(15px, 1.1vw, 18px);
  font-weight: 600;
  line-height: 1.55;
}

body[data-page="clients"] .clients-hero-stories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body[data-page="clients"] .clients-hero-story {
  display: grid;
  min-height: 245px;
  margin: 0;
  padding: 30px;
  align-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(19, 35, 62, 0.78);
  color: var(--white);
}

body[data-page="clients"] .clients-hero-story:nth-child(2) {
  background: rgba(51, 186, 158, 0.24);
}

body[data-page="clients"] .clients-hero-story:nth-child(3) {
  background: rgba(255, 255, 255, 0.1);
}

body[data-page="clients"] .clients-hero-story:nth-child(2n) {
  border-right: 0;
}

body[data-page="clients"] .clients-hero-story:nth-last-child(-n + 2) {
  border-bottom: 0;
}

body[data-page="clients"] .clients-hero-story-number {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

body[data-page="clients"] .clients-hero-story p {
  margin: 20px 0 24px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

body[data-page="clients"] .clients-hero-story cite {
  color: var(--white);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.35;
}

body[data-page="clients"] .clients-hero-story cite span {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
}

body[data-page="clients"] .clients-hero-logo-panel {
  position: relative;
  z-index: 2;
  margin-top: 72px;
  opacity: 1;
}

body[data-page="clients"] .clients-hero-logos {
  opacity: 1;
}

body[data-page="clients"] .clients-hero-logos .logo-tile img {
  width: 150px;
  height: auto;
  max-width: 150px;
  max-height: none;
  opacity: 1;
}

@media (max-width: 1180px) {
  body[data-page="services"] .services-hero-services .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-page="clients"] .clients-hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  body[data-page="clients"] .clients-hero-copy {
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  body[data-page="services"] .services-hero {
    padding: 126px 0 72px;
  }

  body[data-page="careers"] .careers-services-hero {
    padding: 126px 0 72px;
  }

  body[data-page="services"] .services-hero-grid {
    gap: 42px;
  }

  body[data-page="careers"] .careers-services-hero-grid {
    gap: 42px;
  }

  body[data-page="careers"] .careers-openings {
    padding-top: 70px;
  }

  body[data-page="careers"] .vacancy-layout {
    grid-template-columns: 1fr;
  }

  body[data-page="careers"] .vacancy-preview {
    min-height: 420px;
  }

  body[data-page="services"] .services-hero-services .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="services"] .services-cta-section {
    padding-top: 130px;
    padding-bottom: 130px;
  }

  body[data-page="services"] .services-cta-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  body[data-page="services"] .services-cta-copy .lead {
    margin-top: 42px;
  }

  body[data-page="services"] .services-cta-action {
    justify-content: flex-start;
  }

  body[data-page="clients"] .clients-hero {
    padding: 126px 0 76px;
  }
}

@media (max-width: 520px) {
  body[data-page="clients"] .clients-hero {
    padding: 104px 0 58px;
  }

  body[data-page="clients"] .clients-hero-copy h1 {
    font-size: clamp(42px, 16vw, 60px);
  }

  body[data-page="clients"] .clients-hero-stories {
    grid-template-columns: 1fr;
  }

  body[data-page="clients"] .clients-hero-story {
    min-height: 0;
    border-right: 0;
  }

  body[data-page="clients"] .clients-hero-story:nth-child(3) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  body[data-page="services"] .services-hero-services .grid {
    grid-template-columns: 1fr;
  }

  body[data-page="careers"] .vacancy-tools,
  body[data-page="careers"] .vacancy-list,
  body[data-page="careers"] .vacancy-preview {
    padding-inline: 20px;
  }

  body[data-page="careers"] .vacancy-search {
    width: 100%;
  }

  body[data-page="careers"] .vacancy-tools select {
    flex: 1 1 130px;
  }

  body[data-page="careers"] .vacancy-list-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  body[data-page="careers"] .vacancy-logo {
    width: 38px;
    height: 38px;
  }

  body[data-page="services"] .services-cta-section {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  body[data-page="services"] .services-cta-copy h2 {
    font-size: clamp(38px, 12vw, 54px);
  }

  body[data-page="services"] .services-cta-copy .lead {
    font-size: 22px;
  }

  body[data-page="services"] .services-cta-button {
    min-height: 210px;
  }
}

@media (max-width: 820px) {
  body[data-page="contact"] .contact-hero {
    padding: 126px 0 72px;
  }

  body[data-page="contact"] .contact-hero-grid {
    gap: 42px;
  }

  body[data-page="contact"] .contact-hero-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body[data-page="contact"] .contact-hero {
    padding: 100px 0 56px;
  }
}

/* Mouse-responsive homepage background; foreground content remains stationary. */
body[data-page="home"] .home-hero {
  background-color: #061c39;
}

body[data-page="home"] .home-hero::before {
  display: block;
  inset: -56px;
  background: url("backgrounds/HeaderBG-4.webp") center / cover no-repeat;
  opacity: 0.9;
  transform: perspective(1200px) translate3d(var(--hero-mouse-x, 0px), var(--hero-mouse-y, 0px), 0) rotateX(var(--hero-tilt-x, 0deg)) rotateY(var(--hero-tilt-y, 0deg)) scale(1.04);
  transform-origin: center;
  pointer-events: none;
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  body[data-page="home"] .home-hero::before {
    inset: 0;
    transform: none;
  }
}

/* Consistent horizontal margins for every page's content containers. */
.remote-header-link.client-access-link {
  background: transparent;
  color: var(--white);
}
.remote-header-link.client-access-link:hover {
  background: var(--accent);
}
.main-nav-access,
.footer-access-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.main-nav-access {
  padding-top: 18px;
  border-top: 1px solid rgba(51, 186, 158, 0.45);
}
.main-nav.is-open .main-nav-access a,
.footer-access-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
}
.main-nav.is-open .main-nav-access a:hover,
.footer-access-links a:hover { color: var(--accent); }
.footer-access-links { margin-top: 24px; }
.footer-access-links a:focus-visible { outline: 2px solid #ff9000; outline-offset: 4px; }

/* Six partner logos in two rows, capped at the requested desktop width. */
.logos.home-hero-logos {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(450px, 100%);
  max-width: 450px;
  gap: 40px;
}
.logos.home-hero-logos .logo-tile {
  width: 100%;
  min-width: 0;
  height: 38px;
  min-height: 38px;
  justify-content: center;
}
.logos.home-hero-logos .logo-tile:nth-child(n) img {
  width: auto;
  height: 38px;
  max-width: 100%;
  max-height: 38px;
  object-fit: contain;
}

body[data-page] .container {
  width: calc(100% - 100px);
  max-width: none;
  margin-left: 50px;
  margin-right: 50px;
}
