@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap");

/* Alternate calm surfaces in homepage reading order, after the image hero. */
.home-page .home-operations-section,
.home-page .home-nationwide-banner,
.home-page .fleet,
.home-page .contact {
  background: #fff;
}

.home-page .home-services,
.home-page .home-solutions,
.home-page .clients-teaser {
  background: var(--surface-soft);
}

/* Light homepage sections complement the image-led hero. */
.home-page .contact {
  background: #fff;
  color: var(--ink);
}

.home-page .contact-grid > div > p,
.home-page .contact-details span,
.home-page .section .light-label {
  color: var(--muted);
}

.home-page .contact-details p,
.home-page .contact-details a {
  color: var(--ink);
}

.home-page .contact-details > div {
  border-color: var(--line);
}

.home-page .contact-details a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-header .main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.site-header .main-nav a:not(.nav-cta),
.site-header .main-nav a[aria-current="page"]:not(.nav-cta),
.site-header .nav-dropdown-trigger,
.site-header .nav-dropdown-trigger.is-current {
  color: #ffffff !important;
  opacity: 0.95 !important;
  transition: opacity 0.2s ease, text-shadow 0.2s ease;
  text-decoration: none;
}
.site-header .main-nav a:not(.nav-cta):hover,
.site-header .main-nav a[aria-current="page"]:not(.nav-cta):hover,
.site-header .nav-dropdown-trigger:hover {
  opacity: 1 !important;
  color: #ffffff !important;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.5);
}
.site-header .brand {
  flex-shrink: 0;
}
.site-header .brand img {
  width: 200px;
  height: auto;
  display: block;
}
.home-hero .hero-slide-facility {
  background-position: center;
}

@media (max-width: 800px) {
  .home-hero .hero-slide-facility {
    background-image: url('../assets/optimized/home-facility-branding-mobile.webp') !important;
    background-position: 68% center;
  }
}

.home-hero {
  height: 680px !important;
  min-height: 680px !important;
  max-height: 680px !important;
}
.hero-layout,
.home-hero .hero-layout {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 5vw 100px !important;
  box-sizing: border-box;
}
.home-hero .hero-content {
  padding: 0 !important;
  max-width: 980px;
  transform: none !important;
  margin-top: 0 !important;
}
.hero-slide-content {
  display: none;
  opacity: 0;
}
.hero-slide-content.active {
  display: block;
  opacity: 1;
  animation: rkv-fade-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.home-hero h1 {
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: clamp(38px, 4.4vw, 64px) !important;
  line-height: 1.14 !important;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 980px !important;
  margin: 16px 0 20px !important;
  color: #ffffff;
}
.home-hero h1 .hero-line {
  display: inline-block;
  white-space: nowrap;
}
.home-hero .hero-copy {
  max-width: 620px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 27px;
}
.hero-tags span {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #fff;
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.track-card {
  align-self: center;
  background: #fff;
  color: var(--ink);
  padding: 24px 25px 26px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
  max-width: 340px;
}
.track-tabs {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid #deded9;
  margin-bottom: 24px;
}
.track-tabs button {
  border: 0;
  background: transparent;
  color: #8a8b89;
  padding: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.track-tabs button.active {
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
}
.track-card h2 {
  font: 600 25px/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
  margin: 0 0 11px;
}
.track-card p {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 20px;
}
.track-form label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.track-form input {
  width: 100%;
  border: 1px solid #d9dad6;
  padding: 13px 12px;
  font: inherit;
  font-size: 12px;
  outline: none;
}
.track-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}
.track-submit {
  width: 100%;
  margin-top: 11px;
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.track-submit span {
  color: var(--accent);
  font-size: 16px;
  margin-left: 8px;
}
.track-card small {
  display: block;
  color: #858682;
  font-size: 10px;
  line-height: 1.5;
  margin-top: 14px;
}
.home-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 32px 5vw;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.home-metrics div {
  padding: 0 24px;
  border-right: 1px solid var(--line);
}
.home-metrics div:first-child {
  padding-left: 0;
}
.home-metrics div:last-child {
  border-right: 0;
}
.home-metrics strong {
  display: block;
  font: 500 27px "Space Grotesk", sans-serif;
  letter-spacing: -0.045em;
}
.home-metrics span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.clients-teaser h2,
.career-teaser h2 {
  font-size: clamp(44px, 5vw, 72px);
}
.home-inline-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.text-link.dark {
  color: var(--ink);
}
.home-solutions {
  background: var(--surface-soft);
  color: var(--ink);
  padding: 110px 5vw 120px;
}
.home-solutions .section-heading {
  margin-bottom: 64px;
}
.home-solutions .section-heading h2 em {
  color: var(--accent);
  font-style: normal;
}
.home-solutions .section-heading p {
  color: var(--muted);
}
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(17, 18, 20, 0.16);
  border-bottom: 1px solid rgba(17, 18, 20, 0.16);
}
.solution-card {
  min-height: 255px;
  padding: 28px 28px 30px 0;
  border-right: 1px solid rgba(17, 18, 20, 0.16);
  display: flex;
  flex-direction: column;
}
.solution-card:not(:first-child) {
  padding-left: 28px;
}
.solution-card:last-child {
  border-right: 0;
}
.solution-card h3 {
  font: 500 25px "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
  margin: 0 0 13px;
  max-width: 200px;
}
.solution-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  max-width: 310px;
  margin: 0;
}
.solution-card a {
  margin-top: auto;
  padding-top: 28px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}
.solution-card a span {
  color: var(--accent);
  font-size: 16px;
  margin-left: 8px;
  display: inline-block;
  transition: transform 0.2s ease;
}
.solution-card a:hover {
  color: var(--accent);
}
.solution-card a:hover span {
  transform: translateX(4px);
}
.home-section-cta {
  margin-top: 42px;
}
.home-services {
  background: #eef0f2;
}
.home-services .section-heading {
  margin-bottom: 52px;
}
.home-services .section-heading p {
  color: var(--muted);
}
.home-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.home-service-card {
  background: #fff;
  border: 1px solid #dfe1e2;
  min-height: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(17, 18, 20, 0.05);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.home-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(17, 18, 20, 0.1);
}
.home-service-card img {
  display: block;
  width: 100%;
  height: 172px;
  object-fit: cover;
}
.home-service-copy {
  padding: 20px 20px 23px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.home-service-copy .service-number {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.home-service-copy h3 {
  font: 500 22px "Space Grotesk", sans-serif;
  color: var(--ink);
  margin: 22px 0 10px;
}
.home-service-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  max-width: none;
}
.home-service-copy a {
  margin-top: auto;
  padding-top: 22px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.home-service-copy a span {
  color: var(--accent);
  font-size: 16px;
  margin-left: 8px;
}
.home-service-link {
  display: inline-flex;
  margin-top: 35px;
}
.team-page-link {
  margin-top: 38px;
}
.clients-teaser,
.career-teaser {
  min-height: 430px;
}
@media (max-width: 1100px) {
  .site-header .main-nav {
    gap: 12px;
  }
  .home-hero h1 {
    font-size: clamp(58px, 7vw, 90px);
  }
  .hero-layout {
    gap: 5vw;
  }
  .home-service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 800px) {
  .site-header .main-nav {
    gap: 0;
  }
  .home-hero {
    min-height: max(680px, 100svh) !important;
    height: auto !important;
    max-height: none !important;
  }
  .hero-layout,
  .home-hero .hero-layout {
    padding: 115px 6vw 75px !important;
  }
  .home-hero .hero-content {
    padding: 0 !important;
  }
  .home-hero h1 {
    font-size: clamp(38px, 9.8vw, 54px) !important;
    margin: 18px 0 16px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.035em !important;
  }
  .home-hero h1 .hero-line {
    white-space: normal;
  }
  .home-hero .hero-copy {
    font-size: clamp(16px, 4.3vw, 18.5px) !important;
    line-height: 1.62 !important;
    max-width: 100% !important;
    color: rgba(255, 255, 255, 0.92) !important;
  }
  .home-hero .eyebrow {
    font-size: 13px !important;
    letter-spacing: 0.14em !important;
    font-weight: 700 !important;
  }
  .hero-tags {
    max-width: 330px;
  }
  .track-card {
    margin-top: 42px;
    max-width: none;
  }
  .home-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 24px 7vw;
  }
  .home-metrics div {
    min-height: 72px;
    padding: 0 15px 18px;
    margin-bottom: 18px;
  }
  .home-metrics div:nth-child(odd) {
    padding-left: 0;
  }
  .home-metrics div:nth-child(even) {
    border-right: 0;
  }
  .home-metrics div:last-child {
    grid-column: 1/-1;
    border-top: 1px solid var(--line);
    border-right: 0;
    padding: 18px 0 0;
    margin-bottom: 0;
  }
  .home-metrics strong {
    font-size: 23px;
  }
  .home-metrics span {
    font-size: 11px;
  }
  .home-inline-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
  .home-solutions {
    padding: 78px 7vw;
  }
  .solution-grid {
    grid-template-columns: 1fr;
  }
  .solution-card {
    min-height: 0;
    padding: 22px 0 25px;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 18, 20, 0.16);
  }
  .solution-card:not(:first-child) {
    padding-left: 0;
  }
  .solution-card:last-child {
    border-bottom: 0;
  }
  .solution-card h3 {
    margin-top: 0;
  }
  .home-services {
    padding-top: 76px;
    padding-bottom: 76px;
  }
  .home-service-grid {
    grid-template-columns: 1fr;
  }
  .home-service-card img {
    height: 190px;
  }
  .home-service-copy {
    padding: 20px;
  }
  .team-page-link {
    margin-top: 28px;
  }
  .clients-teaser,
  .career-teaser {
    min-height: 420px;
  }
}
/* Hero Timeline (Selectable Interactive Progress Bar) */
.hero-timeline {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: 100%;
  max-width: 820px;
  margin-bottom: 24px;
}
.timeline-item {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
  text-align: left;
  color: #ffffff;
  opacity: 0.6;
  transition: opacity 0.25s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.timeline-item:hover,
.timeline-item.active {
  opacity: 1;
}
.timeline-bar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  display: block;
}
.timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.3s ease;
}
.timeline-item.active .timeline-progress {
  width: 100%;
  transition: width 6.5s linear;
}
.timeline-label {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.timeline-index {
  font: 700 12px/1 "Space Grotesk", sans-serif;
  color: var(--accent);
}
.timeline-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}
@media (max-width: 700px) {
  .hero-timeline {
    gap: 8px;
  }
  .timeline-title {
    display: none;
  }
}

/* Operations & Reliability Editorial Layout */
.home-operations-section {
  background: var(--surface-soft);
  color: var(--ink);
  padding: 88px 5vw 96px;
}

body.home-page .section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 38px;
}

body.home-page .section-heading h2 {
  margin-bottom: 0;
}

.home-operations-section .section-heading h2 em {
  color: var(--accent);
}

body.home-page .section-heading p {
  max-width: 680px;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

/* Keep descriptions beneath headings in every homepage introduction. */
body.home-page :is(.nationwide-copy, .fleet-content, .clients-teaser-copy, .contact-grid > div) > h2 {
  margin-bottom: 0;
}
body.home-page :is(.nationwide-copy, .fleet-content, .clients-teaser-copy, .contact-grid > div) > h2 + p {
  max-width: 680px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.8;
  text-align: left;
}

.operations-editorial {
  width: 100%;
  max-width: 1280px;
}

.operations-list {
  border-top: 1px solid var(--line);
}

.operation-row {
  display: block;
  padding: clamp(22px, 3vw, 32px) 0;
  border-bottom: 1px solid var(--line);
}

.operation-row > div {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(320px, 1.2fr);
  column-gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.operation-kicker {
  display: block;
  grid-column: 1 / -1;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.operation-row h3 {
  margin: 0;
  color: var(--ink);
  font: 600 clamp(21px, 2vw, 28px) / 1.16 "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

.operation-row p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

/* Calm background; orange is reserved for smaller accents. */
.home-nationwide-banner {
  background: #fff;
  color: #111;
  padding: 0;
}
.nationwide-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: stretch;
  gap: 0;
}
.nationwide-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(52px, 5vw, 76px) clamp(32px, 4vw, 60px) clamp(52px, 5vw, 76px) 5vw;
}
.nationwide-copy h2 {
  font: 500 clamp(44px, 5vw, 72px) / 0.9 "Space Grotesk", sans-serif;
  letter-spacing: -0.05em;
  margin: 20px 0 24px;
  color: #111;
}
.nationwide-copy h2 em {
  font-style: normal;
  color: var(--accent);
}
.nationwide-copy p {
  font-size: 16px;
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 25px;
  color: var(--muted);
}
.nationwide-points {
  list-style: none;
  padding: 0;
  margin: 0 0 35px;
}
.nationwide-points li {
  font-size: 16px;
  line-height: 1.65;
  font-weight: 600;
  padding: 8px 0;
  color: #111;
}
.nationwide-points li::before {
  content: "✔ ";
  color: #fff;
  margin-right: 10px;
  font-weight: 800;
}
.nationwide-points li::before {
  color: var(--accent);
}
.nationwide-visual {
  width: 100%;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
.nationwide-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: 42% center;
}
@media (max-width: 1360px) {
  .nationwide-visual img {
    object-position: 36% center;
  }
}
@media (max-width: 1000px) {
  .operation-row > div {
    grid-template-columns: minmax(210px, 0.8fr) minmax(280px, 1.2fr);
    column-gap: 40px;
  }

  .home-nationwide-banner {
    padding: 0;
  }

  .nationwide-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .nationwide-copy {
    padding: 56px 5vw 72px;
  }

  .nationwide-visual {
    order: -1;
    min-height: 0;
    height: auto;
  }

  .nationwide-visual img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    min-height: 0;
    object-fit: cover;
    object-position: center;
  }
}
@media (max-width: 800px) {
  .nationwide-copy {
    padding: 52px 7vw 72px;
  }

  .nationwide-visual {
    min-height: 0;
    height: auto;
  }
}
@media (max-width: 750px) {
  .home-operations-section {
    padding-top: 68px;
    padding-bottom: 72px;
  }
  .home-operations-section .section-heading {
    margin-bottom: 28px;
  }
  .operation-row {
    padding: 19px 0 22px;
  }

  .operation-row > div {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .operation-row h3 {
    margin-bottom: 6px;
  }
}
.home-hero .hero-actions {
  position: relative;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  visibility: visible !important;
  opacity: 1 !important;
}
.home-hero .hero-actions .button {
  position: relative;
  z-index: 13;
  visibility: visible !important;
  opacity: 1 !important;
}

.home-hero .hero-track-button {
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(10, 15, 18, 0.35);
  color: #ffffff;
}
.home-hero .hero-track-button:hover,
.home-hero .hero-track-button:focus-visible {
  background: #ffffff;
  color: #111111;
}

@keyframes rkv-fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes rkv-hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .home-hero .hero-content > p:first-child {
    animation: rkv-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
  }
  .home-hero .hero-content h1 {
    animation: rkv-fade-up 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
  }
  .home-hero .hero-content .hero-copy {
    animation: rkv-fade-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
  }
  .home-hero .hero-content .hero-actions {
    animation: rkv-fade-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.36s both;
  }
  .home-hero .hero-slide.active {
    animation: rkv-hero-zoom 1.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .home-metrics > div {
    animation: rkv-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .home-metrics > div:nth-child(2) {
    animation-delay: 0.08s;
  }
  .home-metrics > div:nth-child(3) {
    animation-delay: 0.16s;
  }
  .home-metrics > div:nth-child(4) {
    animation-delay: 0.24s;
  }
  .home-metrics > div:nth-child(5) {
    animation-delay: 0.32s;
  }
}
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to bottom, rgba(5, 12, 16, 0.78) 0%, rgba(5, 12, 16, 0.3) 60%, transparent 100%);
  color: #ffffff;
  border-bottom: 0;
  box-shadow: none;
  z-index: 50;
}
.site-header .brand img {
  width: 200px;
  filter: none;
}
.site-header .main-nav a:not(.nav-cta),
.site-header .main-nav a[aria-current="page"]:not(.nav-cta) {
  color: #ffffff !important;
  opacity: 0.95;
}
.site-header .nav-dropdown-trigger,
.site-header .nav-dropdown-trigger:hover,
.site-header .nav-dropdown-trigger.is-current {
  color: #ffffff !important;
}
.site-header .menu-toggle {
  border: 0;
  border-radius: 50%;
  background: transparent;
}
body:not(.service-page) .menu-toggle span {
  background: #ffffff;
}
@media (max-width: 800px) {
  body:not(.service-page) .site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    padding: 0 6vw;
    background: linear-gradient(to bottom, rgba(5, 12, 16, 0.82) 0%, rgba(5, 12, 16, 0.35) 65%, transparent 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 0;
    box-shadow: none;
    z-index: 50;
  }
  body:not(.service-page) .site-header.nav-open,
  body:not(.service-page) .site-header:has(.main-nav.open) {
    background: #0d0f14;
  }
  body:not(.service-page) .brand img {
    width: 145px;
  }
  body:not(.service-page) .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: #0d0f14;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    flex-direction: column;
    padding: 16px 6vw 40px;
    gap: 0;
    overflow-y: auto;
    z-index: 999;
  }
  body:not(.service-page) .main-nav.open {
    display: flex;
  }
  body:not(.service-page) .main-nav a:not(.nav-cta) {
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  body:not(.service-page) .main-nav .nav-cta {
    margin-top: 12px;
    align-self: flex-start;
  }
  body:not(.service-page) .nav-dropdown-trigger,
  body:not(.service-page) .nav-dropdown-trigger:hover {
    color: #ffffff !important;
  }
}

/* Clients Teaser with Client Logos Grid */
.clients-teaser {
  display: block;
  background: #f6f5f0;
  padding: clamp(80px, 9vh, 120px) 5vw;
  border-top: 1px solid #e7e5de;
  border-bottom: 1px solid #e7e5de;
}
.clients-teaser-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.38fr);
  gap: clamp(40px, 5.5vw, 75px);
  align-items: center;
  justify-items: start;
  width: 100%;
  max-width: none;
  margin: 0;
}
.clients-teaser-copy {
  width: 100%;
  max-width: 560px;
  text-align: left;
  justify-self: start;
}
.clients-teaser h2 {
  font: 700 clamp(44px, 5vw, 72px)/1.04 "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 22px 0 20px;
}
.clients-teaser h2 em {
  color: var(--accent);
  font-style: normal;
}
.clients-teaser p {
  font-size: 16px;
  line-height: 1.8;
  color: #5c6068;
  margin-bottom: 30px;
}
.home-client-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: 100%;
}
.client-logo-card {
  background: #ffffff;
  border: 1px solid #e5e3dc;
  border-radius: 14px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 132px;
  box-shadow: 0 4px 14px rgba(17, 18, 20, 0.03);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.client-logo-card:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 12px 24px rgba(17, 18, 20, 0.08);
}
.client-logo-card img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
  display: block;
  filter: none;
  transition: filter 0.28s ease;
}
.client-logo-card:hover img {
  filter: none;
}
@media (max-width: 1050px) {
  .clients-teaser-layout {
    grid-template-columns: 1fr;
  }
  .clients-teaser-copy {
    max-width: 100%;
  }
}
@media (max-width: 800px) {
  .clients-teaser {
    padding: 76px 7vw;
  }
}
@media (max-width: 600px) {
  .home-client-logo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .client-logo-card {
    height: 108px;
    padding: 8px;
  }
}
