/* =========================================================
   RevShyft Homepage — Production Styles
   ========================================================= */

:root {
  /* Brand */
  --navy: #222f4f;
  --teal: #4a9b88;
  --yellow: #facc52;
  --blue: #147a90;
  --white: #ffffff;

  /* Environment */
  --night: #000315;
  --hero-background: #000315; /* Locked sitewide hero / banner environment */
  --night-soft: #02091c;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.76);
  --text-muted: rgba(255, 255, 255, 0.58);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.22);

  /* Light editorial environment */
  --paper: #f7f8f5;
  --ink: #222f4f;
  --ink-secondary: rgba(34, 47, 79, 0.76);
  --ink-muted: rgba(34, 47, 79, 0.68);
  --paper-line: rgba(34, 47, 79, 0.17);
  --paper-line-strong: rgba(34, 47, 79, 0.3);

  /* Typography */
  --font-heading: "Montserrat", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --text-body: clamp(1rem, 0.97rem + 0.14vw, 1.125rem);
  --text-eyebrow: clamp(0.6875rem, 0.66rem + 0.1vw, 0.8125rem);
  --text-hero: clamp(3.75rem, 4.15vw, 4.5rem);

  /* Layout */
  --content-max: 80rem;
  --page-gutter: clamp(1.25rem, 3.35vw, 4rem);
  --section-space: clamp(7.5rem, 8.4vw, 10rem);
  --header-height: 5.5rem;
  --header-height-compact: 4.25rem;

  /* Structure */
  --radius-1: 0.25rem;
  --border-1: 1px;

  /* Motion */
  --ease-standard: cubic-bezier(0.2, 0.7, 0.2, 1);
  --duration-fast: 180ms;
  --duration-medium: 420ms;

  /* Hero art direction */
  --hero-art-shift-x: 0rem;
  --hero-canvas-max: 120rem; /* 1920px — standardized ultrawide composition canvas */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  min-width: 20rem;
  background: var(--night);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
picture {
  display: block;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

.container {
  width: min(100% - (2 * var(--page-gutter)), var(--content-max));
  margin-inline: auto;
}

.site-shell {
  position: relative;
  overflow: clip;
  background: var(--night);
}

/* -------------------------
   Navigation
   ------------------------- */

.site-header {
  position: fixed;
  top: 0;
  z-index: 30;
  width: 100%;
  min-height: var(--header-height);
  transition:
    min-height var(--duration-medium) var(--ease-standard),
    background-color var(--duration-medium) var(--ease-standard),
    border-color var(--duration-medium) var(--ease-standard),
    backdrop-filter var(--duration-medium) var(--ease-standard);
}

.site-header.is-scrolled,
.site-header.menu-open {
  min-height: var(--header-height-compact);
  background: rgba(0, 3, 21, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: min-height var(--duration-medium) var(--ease-standard);
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: clamp(8.6rem, 10vw, 10rem);
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 3vw, 3.25rem);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-link {
  position: relative;
  padding-block: 0.75rem;
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--duration-fast) ease;
}

.nav-link:not(.nav-link--cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0.42rem;
  height: 1px;
  background: var(--teal);
  transition: right var(--duration-medium) var(--ease-standard);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--white);
}

.nav-link:not(.nav-link--cta):hover::after,
.nav-link:not(.nav-link--cta):focus-visible::after {
  right: 0;
}

.nav-link--cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  padding: 0.72rem 1rem;
  color: #222f4f;
  background: var(--yellow);
  border: 1px solid var(--yellow);
  border-radius: 2px;
  line-height: 1;
  font-weight: 600;
  transition:
    filter var(--duration-fast) ease,
    transform var(--duration-fast) var(--ease-standard);
}

.nav-link--cta:hover,
.nav-link--cta:focus-visible {
  color: #222f4f;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.nav-link--cta:focus-visible {
  outline-color: var(--white);
}

.nav-link--cta span,
.text-cta span,
.mobile-nav__cta span {
  transition: transform var(--duration-fast) var(--ease-standard);
}

.nav-link--cta:hover span,
.nav-link--cta:focus-visible span,
.text-cta:hover span,
.text-cta:focus-visible span,
.mobile-nav__cta:hover span,
.mobile-nav__cta:focus-visible span {
  transform: translateX(0.25rem);
}

.menu-toggle,
.mobile-nav {
  display: none;
}


/* -------------------------
   Global Services navigation
   ------------------------- */

.nav-services {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-services__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.nav-services__caret {
  display: inline-block;
  margin-top: -0.12rem;
  font-size: 0.9em;
  line-height: 1;
  transition: transform var(--duration-fast) var(--ease-standard);
}

.nav-services.is-open .nav-services__caret {
  transform: rotate(180deg);
}

.nav-services::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -0.9rem;
  right: -0.9rem;
  z-index: 49;
  height: 0.55rem;
  pointer-events: none;
}

.nav-services.is-open::after {
  pointer-events: auto;
}

.nav-services__menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: -0.9rem;
  z-index: 50;
  width: max-content;
  min-width: 17.5rem;
  padding: 0.55rem;
  background: rgba(2, 7, 25, 0.985);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 1.1rem 2.8rem rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-0.3rem);
  transition:
    opacity var(--duration-fast) ease,
    transform var(--duration-fast) var(--ease-standard),
    visibility 0s linear var(--duration-fast);
}

.nav-services.is-open .nav-services__menu,
.nav-services.is-open:focus-within .nav-services__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.nav-services.is-open:focus-within .nav-services__caret,
.nav-services.is-open .nav-services__caret {
  transform: rotate(180deg);
}

.nav-services__menu a {
  display: block;
  padding: 0.72rem 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.35;
  white-space: nowrap;
  transition:
    color var(--duration-fast) ease,
    background-color var(--duration-fast) ease;
}

.nav-services__menu a:hover,
.nav-services__menu a:focus-visible {
  color: var(--white);
  background: rgba(74, 155, 136, 0.09);
}

.service__title-link {
  color: inherit;
  text-decoration: none;
}

.service__title-link:hover,
.service__title-link:focus-visible {
  color: inherit;
}

/* -------------------------
   Hero
   ------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  background: var(--hero-background);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 28%;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 3, 21, 0.44) 52%, var(--hero-background) 100%);
}

.hero__art {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  transform: translateX(var(--hero-art-shift-x));
  user-select: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + clamp(2rem, 4vh, 3.5rem));
  padding-bottom: clamp(5rem, 8vh, 7rem);
}

.hero__copy {
  width: min(49%, 39.5rem);
  margin-top: -1.5rem;
  animation: hero-reveal 760ms var(--ease-standard) both;
}

.eyebrow {
  margin: 0 0 1.6rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__eyebrow {
  display: inline-flex;
  color: var(--teal);
  align-items: center;
  gap: 0.75rem;
}

.hero__eyebrow::before {
  content: "";
  width: 2.75rem;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), rgba(74, 155, 136, 0.14));
}

h1 {
  margin: 0;
  max-width: 12.5ch;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 600;
  line-height: 1.035;
  letter-spacing: -0.042em;
  text-wrap: balance;
}

h1 span {
  color: rgba(255, 255, 255, 0.92);
}

.hero__body {
  max-width: 38rem;
  margin: 1.75rem 0 0;
  color: var(--text-secondary);
  font-size: clamp(1.0625rem, 1.01rem + 0.2vw, 1.1875rem);
  line-height: 1.62;
}

.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 0.82rem 1.05rem 0.86rem;
  color: #222f4f;
  background: var(--yellow);
  border: 1px solid var(--yellow);
  border-radius: 2px;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  transition:
    filter var(--duration-fast) ease,
    transform var(--duration-fast) var(--ease-standard);
}

.text-cta:hover {
  color: #222f4f;
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.text-cta:focus-visible {
  outline-color: var(--white);
}

/* -------------------------
   Proof bar
   ------------------------- */

.proof {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(1, 8, 27, 0.2), rgba(0, 3, 21, 0.96) 16%, var(--night) 100%);
  padding: clamp(2.8rem, 4.2vw, 4.25rem) 0 clamp(3.8rem, 5vw, 5rem);
}

.proof__rule {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100% - (2 * var(--page-gutter)), var(--content-max));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(74, 155, 136, 0), rgba(74, 155, 136, 0.56) 25%, rgba(250, 204, 82, 0.42) 72%, rgba(250, 204, 82, 0));
}

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

.proof__item {
  min-width: 0;
  padding: 0 clamp(1.6rem, 2.8vw, 2.75rem);
  animation: proof-reveal 620ms var(--ease-standard) both;
}

.proof__item:first-child {
  padding-left: 0;
}

.proof__item:last-child {
  padding-right: 0;
}

.proof__item + .proof__item {
  border-left: 1px solid var(--line);
}

.proof__item:nth-child(2) { animation-delay: 70ms; }
.proof__item:nth-child(3) { animation-delay: 140ms; }
.proof__item:nth-child(4) { animation-delay: 210ms; }

.proof dt {
  margin: 0;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.04rem + 0.55vw, 1.55rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.proof dd {
  max-width: 16rem;
  margin: 0.65rem 0 0;
  color: var(--text-muted);
  font-size: clamp(0.88rem, 0.84rem + 0.12vw, 0.95rem);
  line-height: 1.5;
}

/* -------------------------
   Services
   ------------------------- */

.services {
  position: relative;
  scroll-margin-top: calc(var(--header-height-compact) + 1.5rem);
  background: var(--paper);
  color: var(--ink);
  padding: clamp(3.75rem, 4.2vw, 5rem) 0 clamp(8rem, 9vw, 10rem);
  overflow: hidden;
}

.services__handoff {
  position: absolute;
  top: 0;
  left: 50%;
  height: 2.25rem;
  transform: translateX(-50%);
  pointer-events: none;
}

.services__handoff::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 72%;
  height: 1px;
  background: linear-gradient(90deg, rgba(74, 155, 136, 0.82), rgba(34, 47, 79, 0.16));
}

.services__handoff::after {
  content: "";
  position: absolute;
  top: 0;
  left: 72%;
  width: 1px;
  height: 2.25rem;
  background: linear-gradient(180deg, rgba(74, 155, 136, 0.76), rgba(74, 155, 136, 0));
}

.services__inner {
  position: relative;
}

.services__header {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(18rem, 5fr);
  align-items: end;
  gap: clamp(3rem, 7vw, 7rem);
  margin-bottom: clamp(2.25rem, 3.25vw, 3.375rem);
}

.services__heading-group {
  max-width: 46rem;
}

.services__eyebrow {
  margin-bottom: 1.5rem;
  color: var(--teal);
}

.services h2 {
  margin: 0;
  max-width: 12.5ch;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 3.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.services__system-mark {
  position: relative;
  height: 4.5rem;
  margin-bottom: 0.45rem;
  opacity: 0.92;
}

.services__system-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(34, 47, 79, 0.12), rgba(74, 155, 136, 0.58) 62%, rgba(34, 47, 79, 0.18));
}

.services__system-node {
  position: absolute;
  top: 50%;
  width: 0.42rem;
  height: 0.42rem;
  border: 1px solid rgba(74, 155, 136, 0.68);
  background: var(--paper);
  transform: translate(-50%, -50%) rotate(45deg);
}

.services__system-node--1 { left: 4%; }
.services__system-node--2 { left: 36%; }
.services__system-node--3 { left: 68%; }
.services__system-node--4 {
  left: 96%;
  width: 0.5rem;
  height: 0.5rem;
  border-color: var(--yellow);
  background: var(--yellow);
}

.services__landscape {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-flow: row;
  position: relative;
}

.service {
  position: relative;
  min-width: 0;
  padding: clamp(2rem, 2.6vw, 2.65rem) clamp(2rem, 3.1vw, 3rem) clamp(3rem, 4vw, 4rem);
}

.service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(34, 47, 79, 0.1), var(--paper-line) 12%, var(--paper-line) 88%, rgba(34, 47, 79, 0.08));
  transition: background-color var(--duration-medium) var(--ease-standard), opacity var(--duration-medium) var(--ease-standard);
}

.service::after {
  content: "";
  position: absolute;
  top: 1.65rem;
  bottom: 2.25rem;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(34, 47, 79, 0.05), var(--paper-line) 22%, var(--paper-line) 78%, rgba(34, 47, 79, 0.04));
  transition: background-color var(--duration-medium) var(--ease-standard), opacity var(--duration-medium) var(--ease-standard);
}

.service--product-marketing {
  grid-column: 1 / span 2;
  padding-left: 0;
}

.service--gtm-strategy {
  grid-column: 3 / span 2;
}

.service--sales-enablement {
  grid-column: 5 / span 2;
  padding-right: 0;
}

.service--research {
  grid-column: 1 / span 3;
  padding-left: 0;
}

.service--fractional {
  grid-column: 4 / span 3;
  padding-right: 0;
}

.service--product-marketing::after,
.service--research::after {
  display: none;
}

/* Keep the first line of capability labels aligned across the wider bottom row.
   Research naturally uses three description lines; reserve that same text depth
   for Fractional PMM instead of bottom-aligning its shorter capability row. */
@media (min-width: 1024px) {
  .service--research .service__description,
  .service--fractional .service__description {
    min-height: calc(3 * 1.62em);
  }

  .service--research .service__capabilities,
  .service--fractional .service__capabilities {
    margin-top: 0;
  }
}

.service__content {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.service__title {
  position: relative;
  margin: 0;
  max-width: none;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 1.3rem + 0.55vw, 1.85rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.027em;
  transition: transform var(--duration-medium) var(--ease-standard), color var(--duration-medium) var(--ease-standard);
}

.service__title::before {
  content: "";
  position: absolute;
  top: 0.18em;
  left: -0.9rem;
  width: 2px;
  height: 1.05em;
  background: var(--teal);
  opacity: 0;
  transform: scaleY(0.45);
  transform-origin: top;
  transition: opacity var(--duration-medium) var(--ease-standard), transform var(--duration-medium) var(--ease-standard);
}

.service__description {
  max-width: 31rem;
  margin: 1.05rem 0 0;
  color: var(--ink-secondary);
  font-size: clamp(0.98rem, 0.94rem + 0.12vw, 1.06rem);
  line-height: 1.62;
}

.service__capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.5rem;
  margin: auto 0 0;
  padding: 2rem 0 0;
  list-style: none;
}

.service__capabilities li {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.27rem 0.52rem 0.3rem;
  border: 1px solid rgba(34, 47, 79, 0.2);
  border-radius: var(--radius-1);
  color: rgba(34, 47, 79, 0.72);
  background: transparent;
  font-size: 0.675rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  white-space: normal;
  transition: border-color var(--duration-medium) var(--ease-standard), color var(--duration-medium) var(--ease-standard);
}

@media (hover: hover) and (pointer: fine) {
  .service:hover .service__title {
    color: #17233e;
    transform: translateX(0.2rem);
  }

  .service:hover .service__title::before {
    opacity: 1;
    transform: scaleY(1);
  }

  .service:hover .service__capabilities li {
    border-color: rgba(74, 155, 136, 0.48);
    color: rgba(34, 47, 79, 0.88);
  }

  .service:hover::before,
  .service:hover::after {
    opacity: 1;
    background-color: rgba(74, 155, 136, 0.34);
  }
}

/* Rebalance desktop hero art slightly toward the content grid on wider viewports. */
@media (min-width: 1200px) {
  :root {
    --hero-art-shift-x: clamp(-3.5rem, -2.7vw, -1.75rem);
  }
}

/*
   Standardized RevShyft ultrawide hero rule.
   The 1280px content grid remains independent. Once the viewport exceeds
   the 1920px visual canvas, hero artwork stays centered inside that canvas
   instead of drifting toward the physical far-right edge of an ultrawide display.
   Background color continues across the full viewport. Mobile/tablet behavior
   remains untouched.
*/
@media (min-width: 1921px) {
  .hero__art {
    inset: 0 auto 0 50%;
    width: var(--hero-canvas-max);
    transform: translateX(-50%);
  }
}

/* -------------------------
   Responsive — laptop/tablet
   ------------------------- */

@media (max-width: 1199px) {
  :root {
    --header-height: 5.125rem;
  }

  .hero__copy {
    width: min(50%, 35rem);
  }

  h1 {
    font-size: clamp(3.25rem, 5.15vw, 4rem);
  }

  .hero__body {
    max-width: 34rem;
  }
}

@media (max-width: 1023px) {
  :root {
    --page-gutter: clamp(1.5rem, 3.2vw, 2rem);
    --section-space: clamp(5.625rem, 10vw, 7.5rem);
  }

  .desktop-nav {
    gap: 1.75rem;
  }

  .hero {
    min-height: max(92svh, 43rem);
  }

  .hero__content {
    min-height: max(92svh, 43rem);
  }

  .hero__copy {
    width: min(53%, 31rem);
    margin-top: -0.75rem;
  }

  h1 {
    font-size: clamp(2.85rem, 5.6vw, 3.5rem);
    max-width: 12ch;
  }

  .hero__body {
    max-width: 30rem;
    font-size: 1.02rem;
  }

  .proof__item {
    padding-inline: 1.6rem;
  }

  .services__header {
    grid-template-columns: minmax(0, 1.45fr) minmax(14rem, 0.55fr);
    gap: 2.5rem;
    margin-bottom: 2.375rem;
  }

  .services h2 {
    font-size: clamp(2.4rem, 4.6vw, 3rem);
  }

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

  .service,
  .service--product-marketing,
  .service--gtm-strategy,
  .service--sales-enablement,
  .service--research,
  .service--fractional {
    grid-column: auto;
    padding: 2.2rem clamp(2rem, 4vw, 2.75rem) 3.35rem;
  }

  .service:nth-child(odd) {
    padding-left: 0;
  }

  .service:nth-child(even) {
    padding-right: 0;
  }

  .service:nth-child(odd)::after {
    display: none;
  }

  .service:nth-child(even)::after {
    display: block;
  }

  .service--fractional {
    grid-column: 1 / -1;
    padding-left: 0;
    padding-right: 0;
    max-width: 47rem;
  }

  .service--fractional::after {
    display: none;
  }
}

/* -------------------------
   Responsive — mobile
   ------------------------- */

@media (max-width: 767px) {
  :root {
    --page-gutter: clamp(1.25rem, 5vw, 1.5rem);
    --header-height: 4.75rem;
    --header-height-compact: 4.25rem;
  }

  .brand img {
    width: 8.55rem;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0.4rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--white);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    height: 1px;
    background: currentColor;
    transform-origin: center;
    transition: transform var(--duration-medium) var(--ease-standard), width var(--duration-medium) var(--ease-standard);
  }

  .menu-toggle span:first-child {
    width: 1.6rem;
  }

  .menu-toggle span:last-child {
    width: 1.1rem;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    width: 1.45rem;
    transform: translateY(0.22rem) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    width: 1.45rem;
    transform: translateY(-0.22rem) rotate(-45deg);
  }

  .mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    background: #020719;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .mobile-nav__inner {
    display: grid;
  }


  .mobile-nav__services {
    display: grid;
  }

  .mobile-nav__services-trigger {
    width: 100%;
    min-height: 3.65rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    color: rgba(255, 255, 255, 0.84);
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
  }

  .mobile-nav__services-trigger span {
    font-size: 1.15rem;
    font-weight: 400;
    transition: transform var(--duration-fast) var(--ease-standard);
  }

  .mobile-nav__services-trigger[aria-expanded="true"] span {
    transform: rotate(45deg);
  }

  .mobile-nav__services-submenu {
    display: grid;
    padding: 0 0 0.35rem 1rem;
    background: rgba(255, 255, 255, 0.018);
  }

  .mobile-nav__services-submenu[hidden] {
    display: none;
  }

  .mobile-nav__services-submenu a {
    min-height: 3.15rem;
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.72);
  }

  .mobile-nav__services-submenu a:hover,
  .mobile-nav__services-submenu a:focus-visible {
    color: var(--white);
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 3.65rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-nav a:last-child {
    border-bottom: 0;
  }

  .mobile-nav__cta {
    min-height: 3rem !important;
    margin: 0.75rem 0 1rem;
    padding: 0.8rem 1rem;
    justify-content: center !important;
    gap: 0.65rem;
    color: #222f4f !important;
    background: var(--yellow);
    border: 1px solid var(--yellow) !important;
    border-radius: 2px;
    font-weight: 600 !important;
    line-height: 1;
  }

  .mobile-nav__cta:hover,
  .mobile-nav__cta:focus-visible {
    color: #222f4f !important;
    filter: brightness(1.05);
  }

  .hero {
    min-height: max(100svh, 57.5rem);
  }

  .hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
      to bottom,
      rgba(0, 3, 21, 0) 0%,
      rgba(0, 3, 21, 0) 37%,
      rgba(0, 3, 21, 0.46) 44%,
      rgba(0, 3, 21, 0.78) 53%,
      rgba(0, 3, 21, 0.68) 63%,
      rgba(0, 3, 21, 0.34) 72%,
      rgba(0, 3, 21, 0) 82%
    );
  }

  .hero::after {
    height: 20%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 3, 21, 0.28) 40%, var(--hero-background) 100%);
  }

  .hero__art img {
    object-fit: contain;
    object-position: center bottom;
  }

  .hero__content {
    min-height: max(100svh, 57.5rem);
    display: block;
    padding-top: calc(var(--header-height) + clamp(1.8rem, 4.2svh, 2.8rem));
    padding-bottom: 3rem;
  }

  .hero__copy {
    width: min(100%, 33rem);
    margin-top: 0;
  }

  .eyebrow {
    margin-bottom: 1.25rem;
    font-size: 0.68rem;
    letter-spacing: 0.145em;
  }

  .hero__eyebrow {
    gap: 0.6rem;
  }

  .hero__eyebrow::before {
    width: 1.85rem;
  }

  h1 {
    max-width: 10.7ch;
    font-size: clamp(2.2rem, 8.75vw, 2.75rem);
    line-height: 1.03;
    letter-spacing: -0.04em;
  }

  .hero__body {
    max-width: 34ch;
    margin-top: 1.35rem;
    font-size: clamp(1rem, 3.9vw, 1.08rem);
    line-height: 1.57;
  }

  .text-cta {
    margin-top: 1.45rem;
    font-size: 0.95rem;
  }

  .proof {
    padding: 2.85rem 0 4.25rem;
  }

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

  .proof__item {
    min-height: 8.65rem;
    padding: 1.6rem 1.15rem 1.5rem 0;
  }

  .proof__item + .proof__item {
    border-left: 0;
  }

  .proof__item:nth-child(even) {
    padding-left: 1.15rem;
    padding-right: 0;
    border-left: 1px solid var(--line);
  }

  .proof__item:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .proof dt {
    font-size: clamp(1.08rem, 4.5vw, 1.25rem);
  }

  .proof dd {
    margin-top: 0.55rem;
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .services {
    padding: clamp(4.75rem, 14vw, 6rem) 0 clamp(5rem, 16vw, 6rem);
  }

  .services__handoff {
    height: 1.6rem;
  }

  .services__handoff::before {
    width: 68%;
  }

  .services__handoff::after {
    left: 68%;
    height: 1.6rem;
  }

  .services__header {
    display: block;
    margin-bottom: 3.5rem;
  }

  .services__eyebrow {
    margin-bottom: 1.15rem;
  }

  .services h2 {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(2.15rem, 9.1vw, 2.6rem);
    line-height: 1.06;
  }

  .services__system-mark {
    width: min(72%, 16rem);
    height: 2.75rem;
    margin: 1.4rem 0 0 auto;
  }

  .services__landscape {
    display: block;
  }

  .service,
  .service--product-marketing,
  .service--gtm-strategy,
  .service--sales-enablement,
  .service--research,
  .service--fractional,
  .service:nth-child(odd),
  .service:nth-child(even) {
    max-width: none;
    padding: 1.8rem 0 2.65rem;
  }

  .service::after,
  .service:nth-child(odd)::after,
  .service:nth-child(even)::after {
    display: none;
  }

  .service__title {
    max-width: none;
    font-size: clamp(1.38rem, 6.1vw, 1.62rem);
  }

  .service__description {
    max-width: 37rem;
    margin-top: 0.85rem;
    font-size: 0.99rem;
    line-height: 1.58;
  }

  .service__capabilities {
    margin-top: 0;
    padding-top: 1.45rem;
    gap: 0.4rem 0.42rem;
  }

  .service__capabilities li {
    min-height: 1.7rem;
    padding: 0.26rem 0.48rem 0.28rem;
    font-size: 0.665rem;
    letter-spacing: 0.055em;
  }
}

@media (max-width: 389px) {
  .hero {
    min-height: max(100svh, 56.5rem);
  }

  .hero__content {
    min-height: max(100svh, 56.5rem);
  }

  h1 {
    font-size: clamp(2.02rem, 8.9vw, 2.28rem);
  }

  .hero__body {
    max-width: 33ch;
    font-size: 0.98rem;
  }

  .proof__item {
    min-height: 8.9rem;
  }
}

/* -------------------------
   Motion
   ------------------------- */

@keyframes hero-reveal {
  from {
    opacity: 0;
    transform: translateY(0.8rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes proof-reveal {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* =========================================================
   Who We Help + Our Approach
   ========================================================= */

/* Services → Who We Help transition spacing. */
.services {
  padding-bottom: clamp(4rem, 4.6vw, 5rem);
}

.who-help {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  padding: clamp(3.25rem, 4vw, 4.5rem) 0 clamp(3.75rem, 4.5vw, 5rem);
}

.who-help__composition {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(24rem, 0.9fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.who-help .eyebrow,
.approach .eyebrow {
  color: var(--teal);
}

.who-help__header h2,
.approach__header h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.who-help__header h2 {
  max-width: 11.5ch;
  color: var(--ink);
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  line-height: 1.04;
}

.who-help__focus {
  position: relative;
  padding-left: clamp(2rem, 3vw, 3rem);
}

.who-help__focus::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), rgba(74, 155, 136, 0.2));
}

.who-help__focus::after {
  content: "";
  position: absolute;
  left: -0.25rem;
  bottom: -0.24rem;
  width: 0.56rem;
  height: 0.56rem;
  background: var(--yellow);
  transform: rotate(45deg);
}

.who-help__terms {
  display: grid;
  gap: 0.14rem;
}

.who-help__terms span {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(4rem, 6vw, 6.5rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.who-help__terms span:last-child {
  font-size: clamp(3.6rem, 5.5vw, 5.9rem);
}

.who-help__paragraph {
  max-width: 35rem;
  margin: clamp(2rem, 3vw, 2.75rem) 0 0;
  padding-top: clamp(1.45rem, 2vw, 1.85rem);
  border-top: 1px solid var(--paper-line);
  color: var(--ink-secondary);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.62;
}

/* Who We Help → Our Approach transition spacing. */
.approach {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--night);
  color: var(--white);
  padding: clamp(3.75rem, 4.5vw, 5rem) 0 clamp(4rem, 5vw, 5.5rem);
}

.approach::before {
  content: "";
  position: absolute;
  top: 0;
  left: max(var(--page-gutter), calc((100vw - var(--content-max)) / 2));
  width: min(42%, 31rem);
  height: 1px;
  background: linear-gradient(90deg, rgba(74, 155, 136, 0.72), rgba(74, 155, 136, 0));
}

.approach__ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 74%, rgba(20, 122, 144, 0.14), transparent 24%),
    radial-gradient(circle at 79% 29%, rgba(74, 155, 136, 0.07), transparent 27%);
}

.approach__header h2 {
  max-width: 20ch;
  color: var(--white);
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  line-height: 1.04;
}

.approach__field {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.75rem, 5vw, 6rem);
  min-height: 24rem;
  margin-top: clamp(2.5rem, 3.5vw, 3.5rem);
  padding-top: 5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.approach__base-line,
.approach__progress {
  position: absolute;
  left: 0;
  top: 1.25rem;
  height: 1px;
}

.approach__base-line {
  right: 0;
  background: var(--line);
}

.approach__progress {
  width: 0;
  background: linear-gradient(to right, rgba(74, 155, 136, 0.28), var(--teal) 62%, var(--yellow));
}

.approach__outcome {
  position: absolute;
  right: 0.2rem;
  top: calc(1.25rem - 0.3rem);
  width: 0.62rem;
  height: 0.62rem;
  background: var(--yellow);
  transform: rotate(45deg) scale(0);
}

.approach__zone {
  position: absolute;
  top: 3.25rem;
  bottom: 0;
  pointer-events: none;
}

.approach__zone--diagnose {
  left: 0;
  width: 33%;
  opacity: 0.65;
  background-image:
    radial-gradient(circle, rgba(74, 155, 136, 0.26) 1px, transparent 1.25px),
    radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1.25px);
  background-size: 2.5rem 2.5rem, 3.2rem 3.2rem;
  background-position: 0 0, 1.1rem 0.7rem;
  mask-image: linear-gradient(to right, rgba(0,0,0,0.85), transparent 95%);
}

.approach__zone--design {
  left: 29%;
  width: 43%;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(74, 155, 136, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 155, 136, 0.18) 1px, transparent 1px);
  background-size: 3.8rem 3.8rem;
  mask-image: linear-gradient(to right, transparent, rgba(0,0,0,0.9) 22%, rgba(0,0,0,0.82) 78%, transparent);
}

.approach__zone--drive {
  right: 0;
  width: 36%;
  opacity: 0.32;
  background-image: linear-gradient(90deg, rgba(250, 204, 82, 0.15) 1px, transparent 1px);
  background-size: 4.8rem 100%;
  mask-image: linear-gradient(to right, transparent, rgba(0,0,0,0.75) 34%, rgba(0,0,0,0.25));
}

.approach__stage {
  position: relative;
  z-index: 2;
}

.approach__stage h3 {
  margin: 0 0 1rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(2.9rem, 4.5vw, 4.6rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.approach__stage--drive h3 {
  color: var(--yellow);
}

.approach__stage p {
  max-width: 21rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.98rem, 1.1vw, 1.05rem);
  line-height: 1.62;
}

.approach.is-visible .approach__progress {
  width: 100%;
  transition: width 1250ms var(--ease-standard) 100ms;
}

.approach.is-visible .approach__outcome {
  transform: rotate(45deg) scale(1);
  transition: transform 380ms var(--ease-standard) 1150ms;
}

@media (max-width: 1023px) {
  .services {
    padding-bottom: 4rem;
  }

  .who-help__composition {
    grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 1fr);
    gap: 3rem;
  }

  .who-help__terms span {
    font-size: clamp(3.5rem, 7vw, 5rem);
  }

  .who-help__terms span:last-child {
    font-size: clamp(3.1rem, 6.3vw, 4.5rem);
  }

  .approach__field {
    gap: 2.5rem;
  }

  .approach__stage h3 {
    font-size: clamp(2.55rem, 4.8vw, 3.8rem);
  }
}

@media (max-width: 900px) {
  .approach__header h2 {
    max-width: 15ch;
  }

  .approach__field {
    display: block;
    min-height: auto;
    padding: 2.8rem 0 0 1.7rem;
    border-bottom: 1px solid var(--line);
  }

  .approach__base-line {
    display: none;
  }

  .approach__progress {
    left: 0;
    top: 0;
    width: 1px;
    height: 0;
    background: linear-gradient(to bottom, rgba(74, 155, 136, 0.3), var(--teal) 62%, var(--yellow));
  }

  .approach__outcome {
    right: auto;
    left: -0.3rem;
    top: auto;
    bottom: 0.2rem;
  }

  .approach__zone {
    inset-inline: 0;
    width: 100%;
    height: 33.333%;
  }

  .approach__zone--diagnose { top: 0; bottom: auto; }
  .approach__zone--design { top: 33.333%; left: 0; bottom: auto; }
  .approach__zone--drive { top: 66.666%; right: auto; bottom: auto; }

  .approach__stage {
    padding: 0 0 4.8rem;
  }

  .approach__stage--drive {
    padding-bottom: 2.6rem;
  }

  .approach.is-visible .approach__progress {
    width: 1px;
    height: 100%;
    transition: height 1250ms var(--ease-standard) 100ms;
  }
}

@media (max-width: 767px) {
  .services {
    padding-bottom: 2.75rem;
  }

  .who-help {
    padding-top: 3.25rem;
    padding-bottom: 3.5rem;
  }

  .who-help__composition {
    display: block;
  }

  .who-help__header h2 {
    max-width: 10.5ch;
  }

  .who-help__focus {
    margin-top: 2.5rem;
    padding-left: 1.35rem;
  }

  .who-help__terms span,
  .who-help__terms span:last-child {
    font-size: clamp(3.15rem, 15.5vw, 4.55rem);
    white-space: nowrap;
  }

  .who-help__paragraph {
    margin-top: 2rem;
    padding-top: 1.5rem;
    font-size: 0.98rem;
  }

  .approach {
    padding-top: 3.5rem;
    padding-bottom: 3.75rem;
  }

  .approach__header h2 {
    max-width: 14ch;
    font-size: clamp(2.45rem, 10.5vw, 3.2rem);
  }

  .approach__field {
    margin-top: 2.5rem;
  }

  .approach__stage h3 {
    font-size: clamp(2.7rem, 12.5vw, 3.6rem);
  }

  .approach__stage p {
    font-size: 0.98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .approach__progress {
    width: 100%;
    transition: none !important;
  }

  .approach__outcome {
    transform: rotate(45deg) scale(1);
    transition: none !important;
  }
}


/* =========================================================
   Representative Work
   ========================================================= */

.representative-work {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid rgba(169, 181, 199, 0.22);
  padding: clamp(4.5rem, 5vw, 6rem) 0 clamp(5rem, 5.6vw, 6.5rem);
}

.representative-work::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 78%, rgba(255,255,255,0.45) 100%),
    linear-gradient(to right, rgba(74, 155, 136, 0.04) 0%, rgba(74, 155, 136, 0) 22%);
}

.representative-work .eyebrow {
  color: var(--teal);
}

.representative-work__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(30rem, 0.98fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.representative-work__narrative h2 {
  margin: 0;
  max-width: 10.4ch;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(2.65rem, 4vw, 3.7rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.representative-work__body {
  max-width: 34rem;
  margin: 1.65rem 0 0;
  color: var(--ink-secondary);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.66;
}

.representative-work__system {
  position: relative;
  padding-top: 0.15rem;
}

.representative-work__system-title {
  margin: 0 0 1.45rem;
  color: var(--ink-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.representative-work__stack {
  --rep-content-inset: clamp(2.8rem, 3.7vw, 3.4rem);
  --rep-rail-x: 0.45rem;
  position: relative;
  padding-left: var(--rep-content-inset);
}

/* Static structural rail. Its start/end deliberately align to the first and
   last markers rather than extending beyond the output system. */
.representative-work__stack::before,
.representative-work__stack::after {
  content: "";
  position: absolute;
  left: var(--rep-rail-x);
  top: 2.55rem;
  bottom: 2.55rem;
  width: 1px;
  transform-origin: top;
}

.representative-work__stack::before {
  background: rgba(74, 155, 136, 0.25);
}

/* Animated progression: top → bottom, mirroring the horizontal progress line in Our Approach. */
.representative-work__stack::after {
  z-index: 1;
  background: linear-gradient(to bottom, rgba(74, 155, 136, 0.48), var(--teal) 72%, var(--yellow));
  transform: scaleY(0);
}

.representative-work.is-visible .representative-work__stack::after {
  transform: scaleY(1);
  transition: transform 1250ms var(--ease-standard) 100ms;
}

.representative-work__item {
  position: relative;
  padding: clamp(1.2rem, 1.6vw, 1.35rem) 0 1.35rem;
  border-top: 1px solid var(--paper-line-strong);
}

.representative-work__item:last-child {
  border-bottom: 1px solid var(--paper-line-strong);
}

/* Marker x-position is derived from the SAME variables as the rail. This
   fixes the desktop drift that did not occur on mobile. */
.representative-work__item::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: calc(var(--rep-rail-x) - var(--rep-content-inset));
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid var(--teal);
  background: var(--paper);
  transform: translate(-50%, -50%) rotate(45deg);
}

.representative-work__item--arrival::before {
  border-color: var(--yellow);
  background: var(--yellow);
}

.representative-work__item strong {
  display: block;
  max-width: none;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

@media (max-width: 1023px) {
  .representative-work {
    padding: 4.25rem 0 4.75rem;
  }

  .representative-work__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .representative-work__narrative h2 {
    max-width: 12ch;
  }

  .representative-work__body {
    max-width: 38rem;
  }
}

@media (max-width: 767px) {
  .representative-work {
    padding: 4rem 0 4.5rem;
  }

  .representative-work__narrative h2 {
    max-width: 11ch;
    font-size: clamp(2.2rem, 10vw, 2.85rem);
  }

  .representative-work__body {
    margin-top: 1.35rem;
    font-size: 0.98rem;
  }

  .representative-work__system-title {
    margin-bottom: 1.1rem;
  }

  .representative-work__stack {
    --rep-content-inset: 2.1rem;
    --rep-rail-x: 0.35rem;
  }

  .representative-work__stack::before,
  .representative-work__stack::after {
    top: 2.4rem;
    bottom: 2.4rem;
  }

  .representative-work__item {
    padding: 1rem 0 1.1rem;
  }

  .representative-work__item::before {
    width: 0.48rem;
    height: 0.48rem;
  }

  .representative-work__item strong {
    font-size: clamp(1.05rem, 5vw, 1.3rem);
    line-height: 1.32;
  }
}

@media (prefers-reduced-motion: reduce) {
  .representative-work__stack::after {
    transform: scaleY(1);
    transition: none !important;
  }
}


/* =========================================================
   Testimonials + Final CTA + Footer
   ========================================================= */

/* ---------------------------------------------------------
   Testimonials — 4-column ledger
   --------------------------------------------------------- */
.testimonials {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--paper-line-strong);
  border-bottom: 1px solid var(--paper-line-strong);
  padding: clamp(5rem, 6.1vw, 5.75rem) 0 clamp(4.5rem, 5.4vw, 5.25rem);
}

.testimonials__eyebrow {
  margin: 0 0 clamp(2.8rem, 3.8vw, 3.4rem);
  color: var(--teal);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--paper-line-strong);
  border-bottom: 1px solid var(--paper-line-strong);
}

.testimonial__item {
  display: flex;
  min-width: 0;
  min-height: 19rem;
  margin: 0;
  padding: clamp(1.6rem, 2.3vw, 2rem) clamp(1.4rem, 2vw, 1.8rem) clamp(1.7rem, 2.3vw, 2rem);
  flex-direction: column;
  justify-content: space-between;
}

.testimonial__item + .testimonial__item {
  border-left: 1px solid var(--paper-line-strong);
}

.testimonial__item p {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.018em;
}

.testimonial__item footer {
  display: grid;
  gap: 0.32rem;
  margin-top: 1.75rem;
}

.testimonial__item footer strong {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 0.91rem;
  font-weight: 600;
  line-height: 1.35;
}

.testimonial__item footer span {
  color: var(--ink-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.testimonials__note {
  margin: 1.35rem 0 0;
  max-width: 64rem;
  color: var(--ink-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ---------------------------------------------------------
   Final CTA — compact conversion band
   --------------------------------------------------------- */
.final-cta {
  display: flex;
  min-height: 340px;
  align-items: center;
  background: #000315;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.final-cta__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(17rem, 0.82fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.final-cta__copy h2 {
  margin: 0;
  max-width: 16ch;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 4.4vw, 3.9rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.final-cta__copy p {
  max-width: 40rem;
  margin: 1.15rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.62;
}

.final-cta__action {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.final-cta__button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 1.25rem;
  border: 1px solid var(--yellow);
  border-radius: 2px;
  background: var(--yellow);
  color: #222f4f;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.final-cta__button:hover {
  background: #fff0b4;
  border-color: #fff0b4;
  color: #222f4f;
  transform: translateY(-1px);
}

.final-cta__button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

/* ---------------------------------------------------------
   Footer — approved structured architecture
   --------------------------------------------------------- */
.site-footer {
  position: relative;
  background: #000315;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(18rem, 1.6fr) minmax(12rem, 1fr) minmax(10rem, 0.72fr) minmax(8rem, 0.62fr);
  gap: clamp(2.25rem, 4vw, 4.5rem);
  align-items: start;
  padding-top: clamp(3rem, 3.6vw, 4rem);
  padding-bottom: clamp(2.7rem, 3.2vw, 3.5rem);
}

.site-footer__brand-block {
  max-width: 25rem;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
}

.site-footer__brand img {
  display: block;
  width: 146px;
  height: auto;
}

.site-footer__description {
  max-width: 24rem;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.65;
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.62rem;
}

.site-footer__heading {
  margin: 0 0 0.45rem;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__column a,
.site-footer__legal-links a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-footer__column a:hover,
.site-footer__column a:focus-visible,
.site-footer__legal-links a:hover,
.site-footer__legal-links a:focus-visible {
  color: #fff;
}

.site-footer__column a:focus-visible,
.site-footer__legal-links a:focus-visible,
.site-footer__brand:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

.site-footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 4.35rem;
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__legal p {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.78rem;
  line-height: 1.5;
}

.site-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1.5rem;
}

.site-footer__legal-links a {
  font-size: 0.78rem;
}

.site-footer__anchor {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */
@media (max-width: 1023px) {
  .testimonials {
    padding: 4.75rem 0 4.5rem;
  }

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

  .testimonial__item {
    min-height: 17rem;
  }

  .testimonial__item + .testimonial__item {
    border-left: 0;
  }

  .testimonial__item:nth-child(odd) {
    border-right: 1px solid var(--paper-line-strong);
  }

  .testimonial__item:nth-child(-n+2) {
    border-bottom: 1px solid var(--paper-line-strong);
  }

  .final-cta {
    min-height: 330px;
  }

  .final-cta__layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(15rem, 0.72fr);
    gap: 2.5rem;
  }
}

/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */
@media (max-width: 767px) {
  .testimonials {
    padding: 4rem 0 4rem;
  }

  .testimonials__eyebrow {
    margin-bottom: 2rem;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .testimonial__item {
    min-height: 0;
    padding: 1.55rem 0 1.65rem;
    border-right: 0 !important;
    border-bottom: 1px solid var(--paper-line-strong) !important;
  }

  .testimonial__item p {
    font-size: 1.05rem;
    line-height: 1.52;
  }

  .testimonial__item footer {
    margin-top: 1.2rem;
  }

  .testimonials__note {
    margin-top: 1.25rem;
  }

  .final-cta {
    min-height: 0;
  }

  .final-cta__layout {
    grid-template-columns: 1fr;
    gap: 1.9rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .final-cta__copy h2 {
    max-width: none;
    font-size: clamp(2.25rem, 10vw, 3rem);
  }

  .final-cta__action {
    justify-content: flex-start;
  }
}

@media (max-width: 1023px) {
  .site-footer__main {
    grid-template-columns: minmax(16rem, 1.35fr) repeat(2, minmax(0, 1fr));
    gap: 2.5rem 2rem;
  }

  .site-footer__column:last-of-type {
    grid-column: 2;
  }
}

@media (max-width: 767px) {
  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }

  .site-footer__brand-block {
    max-width: 23rem;
  }

  .site-footer__brand img {
    width: 138px;
  }

  .site-footer__description {
    margin-top: 1rem;
    font-size: 0.88rem;
  }

  .site-footer__column:last-of-type {
    grid-column: auto;
  }

  .site-footer__column {
    gap: 0.58rem;
  }

  .site-footer__heading {
    margin-bottom: 0.35rem;
  }

  .site-footer__column a {
    min-height: 2.25rem;
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
  }

  .site-footer__legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 0;
    padding-top: 1.35rem;
    padding-bottom: 1.75rem;
  }

  .site-footer__legal-links {
    justify-content: flex-start;
    gap: 0.75rem 1.25rem;
  }

  .site-footer__legal-links a {
    min-height: 2.25rem;
    display: inline-flex;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .final-cta__button,
  .site-footer__column a,
  .site-footer__legal-links a {
    transition: none;
  }
}


/* =========================================================
   Production QA safeguards
   ========================================================= */

/* Fixed-header anchor behavior. */
[id] {
  scroll-margin-top: calc(var(--header-height-compact) + 1.25rem);
}

/* Prevent accidental overflow from long labels/metadata while preserving
   natural wrapping behavior. */
.testimonial__item,
.representative-work__item,
.service,
.final-cta__copy,
.final-cta__action {
  min-width: 0;
}

/* Consistent keyboard indication for all text links not already given a
   component-specific focus treatment. */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

/* Keep the fixed navigation stable when the mobile menu is opened. */
.site-header.menu-open {
  overscroll-behavior: contain;
}

@media (max-width: 767px) {
  /* Minimum comfortable tap area without changing the visual size. */
  .menu-toggle {
    min-width: 2.75rem;
    min-height: 2.75rem;
  }

  .text-cta,
  .final-cta__button,
  .mobile-nav__cta {
    min-height: 2.75rem;
  }
}

/* Final wrapping QA: preserve the intentional line break in Services
   without an artificial narrow measure, and allow the compact closing CTA to
   use its available 65% column instead of forcing a third line. */
.services h2,
.final-cta__copy h2 {
  max-width: none;
}


/* Accessibility color QA: use the brand blue for small text on
   light surfaces; the lighter teal remains the accent on dark surfaces. */
.services__eyebrow,
.who-help .eyebrow,
.representative-work .eyebrow,
.testimonials__eyebrow {
  color: var(--blue);
}

@media (prefers-reduced-motion: reduce) {
  .nav-services__menu,
  .nav-services__caret,
  .mobile-nav__services-trigger span {
    transition: none !important;
  }
}
