.services-page { background: var(--deep); }

#journey,
#proof,
#five-hours,
#build,
#consulting { scroll-margin-top: 88px; }

.desktop-nav a[aria-current='page'],
.site-footer nav a[aria-current='page'] { color: var(--white); }

.services-hero {
  position: relative;
  min-height: min(860px, 100svh);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  padding: clamp(132px, 17vh, 184px) 0 clamp(82px, 11vh, 118px);
}

.services-hero-glow {
  position: absolute;
  top: -52%;
  left: -15%;
  z-index: -1;
  width: min(78vw, 1060px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(91, 45, 27, .5) 0%, rgba(48, 30, 23, .22) 40%, rgba(14, 14, 14, 0) 71%);
  pointer-events: none;
  animation: servicesGlow 14s ease-in-out infinite alternate;
}

.services-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  gap: clamp(64px, 9vw, 130px);
  align-items: end;
}

.services-hero h1,
.service-section-heading h2,
.proof-flow-heading h2,
.services-close h2,
.entry-choice h3,
.case-run h3,
.continuation-offer h3,
.consulting-feature h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.services-hero h1 {
  max-width: 820px;
  margin-top: 28px;
  color: var(--cream-text);
  font-size: clamp(4rem, 7.4vw, 7.3rem);
  line-height: .9;
}

.services-hero h1 em {
  display: inline-block;
  padding-bottom: .07em;
  color: var(--flame);
  font-style: italic;
  line-height: 1.08;
}

.services-hero-copy > p {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.35vw, 1.18rem);
  line-height: 1.58;
  text-wrap: pretty;
}

.services-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}

.services-lens { margin: 0; border-top: 1px solid rgba(255, 255, 255, .5); }

.services-lens figcaption,
.services-lens-result span,
.entry-condition,
.case-run header > span,
.offer-stage {
  color: #8d8885;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.services-lens figcaption { padding: 18px 0 14px; }

.services-lens ol {
  position: relative;
  display: grid;
  height: 270px;
  margin: 0;
  padding: 0 0 0 24px;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  list-style: none;
}

.services-lens ol::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: rgba(255, 255, 255, .18);
  content: "";
}

.services-lens ol::after {
  position: absolute;
  top: 22px;
  left: -4px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--deep);
  border-radius: 50%;
  background: var(--flame);
  box-shadow: 0 0 0 1px rgba(255, 91, 35, .55);
  content: "";
  animation: lensScan 5.4s var(--ease) infinite;
}

.services-lens li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--dark-border);
}

.services-lens li:last-child { border-bottom: 0; }

.services-lens li span {
  color: var(--cream-text);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.025em;
}

.services-lens li small {
  color: #777270;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.services-lens-result {
  display: grid;
  gap: 8px;
  border-bottom: 1px solid var(--dark-border);
  padding: 24px 24px 26px;
  background: var(--flame);
}

.services-lens-result span { color: rgba(17, 17, 17, .64); }

.services-lens-result strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.25vw, 2rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.service-entry { padding: clamp(112px, 13vw, 170px) 0 clamp(124px, 14vw, 184px); }

.service-section-heading,
.proof-flow-heading { max-width: 960px; }

.service-section-heading h2,
.proof-flow-heading h2,
.services-close h2 {
  font-size: clamp(3.4rem, 6.7vw, 6.8rem);
  line-height: .93;
}

.service-section-heading h2,
.services-close h2 { color: var(--ink); }

.service-section-heading > p,
.proof-flow-heading > p,
.services-close-grid > div > p {
  max-width: 620px;
  margin: 26px 0 0;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.6;
}

.service-section-heading > p,
.services-close-grid > div > p { color: var(--graphite); }

.entry-choices {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  isolation: isolate;
  margin-top: clamp(64px, 8vw, 96px);
  border: 1px solid var(--ink);
  background: #f0eae0;
}

.entry-choices::before,
.entry-choices::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.entry-choices::before {
  inset: 0 auto 0 0;
  z-index: 0;
  width: 50%;
  background: var(--deep);
  transform: scaleX(1);
  transform-origin: left center;
  transition: transform 620ms cubic-bezier(.16, 1, .3, 1);
}

.entry-choices::after {
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 2;
  width: 2px;
  background: var(--flame);
  transform: translateX(-50%);
  transition: transform 620ms cubic-bezier(.16, 1, .3, 1);
}

.entry-choice {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  min-height: 480px;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(32px, 4.2vw, 54px);
  text-decoration: none;
}

.entry-choice-known {
  background: transparent;
  color: var(--cream-text);
}

.entry-choice-unclear { background: transparent; color: var(--ink); }

.entry-choice h3 {
  max-width: 580px;
  margin-top: 28px;
  font-size: clamp(2.65rem, 5.5vw, 5.5rem);
  line-height: .93;
}

.entry-choice-known h3 { color: var(--cream-text); }
.entry-choice-unclear h3 { color: var(--ink); }

.entry-choice > div > p {
  max-width: 520px;
  margin: 24px 0 0;
  font-size: 15px;
  line-height: 1.62;
}

.entry-choice-known > div > p { color: var(--muted); }
.entry-choice-unclear > div > p { color: var(--graphite); }

.entry-choice dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: auto 0 0;
  padding-top: 46px;
}

.entry-choice-unclear dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.entry-choice dl > div { border-top: 1px solid currentColor; padding: 16px 18px 0 0; }

.entry-choice dt {
  color: #807b78;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.entry-choice dd { margin: 9px 0 0; font-size: 13px; font-weight: 600; line-height: 1.4; }

.entry-choice-cta,
.case-run > a,
.continuation-offer a {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 700;
}

.entry-choice-cta span,
.case-run > a span,
.continuation-offer a span { font-family: var(--mono); transition: transform 220ms var(--ease); }

.entry-choice:hover .entry-choice-cta span,
.entry-choice:focus-visible .entry-choice-cta span,
.case-run > a:hover span,
.case-run > a:focus-visible span,
.continuation-offer a:hover span,
.continuation-offer a:focus-visible span { transform: translateX(4px); }

.entry-choice-known .entry-choice-cta { color: var(--cream-text); }
.entry-choice-known .entry-choice-cta span { color: var(--flame); }
.entry-choice-unclear .entry-choice-cta { color: var(--ink); }

.service-proof-flow { padding: clamp(112px, 13vw, 170px) 0 clamp(122px, 14vw, 184px); }
.proof-flow-heading h2 { color: var(--cream-text); }
.proof-flow-heading > p { color: var(--muted); }

.method-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(66px, 8vw, 98px) 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  list-style: none;
}

.method-track::before {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--flame);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1100ms var(--ease);
}

.motion-ready .method-track.is-visible::before { transform: scaleX(1); }

.method-track li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 20px;
  min-height: 250px;
  border-right: 1px solid rgba(255, 255, 255, .14);
  padding: clamp(34px, 4vw, 50px);
}

.method-track li:last-child { border-right: 0; }

.method-track li::before {
  position: absolute;
  top: -6px;
  left: clamp(34px, 4vw, 50px);
  width: 11px;
  height: 11px;
  border: 2px solid var(--deep);
  border-radius: 50%;
  background: var(--flame);
  content: "";
  opacity: 0;
  transform: scale(.5);
}

.motion-ready .method-track.is-visible li::before {
  animation: methodDot 600ms var(--ease) both;
  animation-delay: calc(var(--step, 0) * 180ms + 260ms);
}

.method-track li:nth-child(1) { --step: 0; }
.method-track li:nth-child(2) { --step: 1; }
.method-track li:nth-child(3) { --step: 2; }

.method-track li > span {
  color: var(--flame);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.method-track li > strong {
  max-width: 300px;
  color: var(--cream-text);
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.implementation-offer {
  margin-top: 44px;
  border: 1px solid rgba(255, 255, 255, .34);
}

.continuation-offer {
  display: flex;
  min-width: 0;
  min-height: 430px;
  flex-direction: column;
  padding: clamp(34px, 4.5vw, 58px);
}

.continuation-build {
  background: var(--flame);
  color: var(--ink);
}

.continuation-offer .offer-stage { color: rgba(17, 17, 17, .62); }

.continuation-offer h3 {
  max-width: 650px;
  margin-top: 24px;
  color: var(--ink);
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  line-height: .94;
}

.continuation-offer > p {
  max-width: 550px;
  margin: 24px 0 0;
  color: rgba(17, 17, 17, .72);
  font-size: 15px;
  line-height: 1.58;
}

.offer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: end;
  margin-top: auto;
  border-top: 1px solid rgba(17, 17, 17, .36);
  padding-top: 28px;
}

.offer-bottom strong {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -.035em;
  line-height: 1.08;
}

.offer-bottom strong small {
  color: rgba(17, 17, 17, .66);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
}

.continuation-offer a {
  margin-top: 0;
  color: var(--ink);
  white-space: nowrap;
}

.case-run > a { color: var(--cream-text); white-space: nowrap; }
.case-run > a span { color: var(--flame); }

.case-run {
  display: grid;
  grid-template-columns: minmax(230px, .7fr) minmax(0, 1.7fr) auto;
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(76px, 9vw, 112px);
  border: 1px solid rgba(255, 255, 255, .22);
  padding: clamp(30px, 4vw, 48px);
}

.case-run h3 { margin-top: 22px; color: var(--cream-text); font-size: clamp(2rem, 3.8vw, 3.5rem); line-height: .98; }
.case-run dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }

.case-run dl > div {
  min-height: 156px;
  border-left: 1px solid rgba(255, 255, 255, .14);
  padding: 0 24px;
}

.case-run dt {
  color: #817d7a;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.case-run dd { margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.case-run > a { margin-top: 0; }

.services-close { padding: 0 0 clamp(118px, 14vw, 176px); }

.consulting-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
  gap: clamp(48px, 8vw, 116px);
  align-items: end;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--light-border);
  padding: clamp(70px, 9vw, 112px) 0;
}

.consulting-feature .offer-stage { color: #737373; }

.consulting-feature h3 {
  max-width: 720px;
  margin-top: 22px;
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: .92;
}

.consulting-feature p {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--graphite);
  font-size: 16px;
  line-height: 1.58;
}

.consulting-feature-action {
  display: grid;
  gap: 28px;
  border-top: 1px solid var(--ink);
  padding-top: 28px;
}

.consulting-feature-action strong {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  letter-spacing: -.04em;
  line-height: 1;
}

.consulting-feature-action strong small {
  color: var(--graphite);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.consulting-feature-action a {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.consulting-feature-action a span { color: var(--flame); font-family: var(--mono); transition: transform 220ms var(--ease); }
.consulting-feature-action a:hover span,
.consulting-feature-action a:focus-visible span { transform: translateX(4px); }

.services-close-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(340px, .78fr);
  gap: clamp(64px, 9vw, 132px);
  align-items: end;
  padding-top: clamp(112px, 13vw, 164px);
}

.services-close-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }

@keyframes servicesGlow {
  from { transform: translate3d(-2%, -1%, 0) scale(.98); }
  to { transform: translate3d(3%, 2%, 0) scale(1.05); }
}

@keyframes lensScan {
  0%, 12% { opacity: .35; transform: translateY(0) scale(.8); }
  48%, 58% { opacity: 1; transform: translateY(108px) scale(1.15); }
  88%, 100% { opacity: .35; transform: translateY(216px) scale(.8); }
}

@keyframes methodDot {
  0% { opacity: .2; transform: scale(.5); }
  55% { opacity: 1; transform: scale(1.5); }
  100% { opacity: 1; transform: scale(1); }
}

@media (max-width: 1120px) {
  .offer-bottom { grid-template-columns: 1fr; align-items: start; }
  .continuation-offer a { white-space: normal; }
  .case-run { grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); }
  .case-run > a { grid-column: 2; }
  .case-run dl { grid-template-columns: 1fr; }
  .case-run dl > div {
    min-height: 0;
    border-left: 1px solid rgba(255, 255, 255, .14);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    padding: 18px 22px;
  }
  .case-run dl > div:last-child { border-bottom: 0; }
}

@media (max-width: 959px) {
  .services-hero { min-height: 0; padding-top: 140px; }
  .services-hero-grid,
  .entry-choices,
  .consulting-feature,
  .services-close-grid { grid-template-columns: 1fr; }
  .services-hero-grid { gap: 70px; }
  .services-hero-copy { text-align: center; }
  .services-hero-copy > p { margin-inline: auto; }
  .services-hero-actions { justify-content: center; }
  .services-lens { width: min(100%, 620px); margin-inline: auto; }
  .services-lens figcaption { text-align: center; }
  .entry-choices::before,
  .entry-choices::after { display: none; }
  .entry-choice-known { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .16); background: var(--deep); }
  .entry-choice-unclear { background: #f0eae0; }
  .method-track { grid-template-columns: 1fr; }
  .method-track::before {
    top: 0;
    right: auto;
    bottom: 0;
    width: 2px;
    height: auto;
    transform: scaleY(0);
    transform-origin: top;
  }
  .motion-ready .method-track.is-visible::before { transform: scaleY(1); }
  .method-track li {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    padding-left: 54px;
  }
  .method-track li:last-child { border-bottom: 0; }
  .method-track li::before { top: 42px; left: -5px; }
  .consulting-feature { align-items: start; }
  .consulting-feature-action { max-width: 560px; }
  .case-run { grid-template-columns: 1fr; }
  .case-run > a { grid-column: auto; }
  .case-run dl > div { border-left: 0; }
  .services-close-grid { align-items: start; }
}

@media (max-width: 640px) {
  .services-hero { padding: 124px 0 76px; }
  .services-hero-glow { top: -16%; left: -70%; width: 170vw; }
  .services-hero h1 { font-size: clamp(3.2rem, 15.2vw, 4.25rem); }
  .services-hero-copy > p { margin-top: 26px; font-size: 1rem; }
  .services-hero-actions { align-items: stretch; flex-direction: column; gap: 12px; margin-top: 32px; }
  .services-hero-actions .button,
  .services-hero-actions .text-link { width: 100%; justify-content: center; }
  .services-hero-grid { gap: 58px; }
  .service-entry,
  .service-proof-flow { padding-top: 92px; padding-bottom: 104px; }
  .service-section-heading h2,
  .proof-flow-heading h2,
  .services-close h2 { font-size: clamp(2.85rem, 13.5vw, 4rem); }
  .entry-choices { margin-top: 50px; }
  .entry-choice { min-height: 0; padding: 30px 24px; }
  .entry-choice h3 { font-size: 2.75rem; }
  .entry-choice dl,
  .entry-choice-unclear dl { grid-template-columns: 1fr; gap: 16px; margin-top: 42px; padding-top: 0; }
  .method-track { margin-top: 54px; }
  .method-track li { gap: 16px; padding: 34px 20px 34px 42px; }
  .method-track li::before { top: 37px; }
  .method-track li > strong { font-size: 1.72rem; }
  .continuation-offer { min-height: 0; gap: 24px; padding: 32px 24px; }
  .continuation-offer h3 { margin-top: 0; font-size: 2.7rem; }
  .continuation-offer > p { margin-top: 0; }
  .offer-bottom { margin-top: 16px; }
  .case-run { margin-top: 72px; padding: 26px 22px; }
  .case-run h3 { font-size: 2.55rem; }
  .case-run dl > div { padding: 18px 0; }
  .consulting-feature { gap: 42px; padding: 82px 0; }
  .consulting-feature h3 { font-size: clamp(3rem, 14vw, 4.25rem); }
  .services-close { padding-bottom: 104px; }
  .services-close-grid { gap: 44px; padding-top: 108px; }
  .services-close-actions { align-items: stretch; flex-direction: column; }
  .services-close-actions .button,
  .services-close-actions .text-link { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .services-hero-glow,
  .services-lens ol::after { animation: none !important; }
  .services-lens ol::after { transform: translateY(108px); }
  .entry-choices::before,
  .entry-choices::after { transition: none !important; }
}

@media (min-width: 960px) {
  .entry-choices:has(.entry-choice-known:focus)::before,
  .entry-choices:has(.entry-choice-known:focus-visible)::before {
    transform: scaleX(1.08);
  }

  .entry-choices:has(.entry-choice-known:focus)::after,
  .entry-choices:has(.entry-choice-known:focus-visible)::after {
    transform: translateX(calc(-50% + clamp(32px, 3.4vw, 48px)));
  }

  .entry-choices:has(.entry-choice-unclear:focus)::before,
  .entry-choices:has(.entry-choice-unclear:focus-visible)::before {
    transform: scaleX(.92);
  }

  .entry-choices:has(.entry-choice-unclear:focus)::after,
  .entry-choices:has(.entry-choice-unclear:focus-visible)::after {
    transform: translateX(calc(-50% - clamp(32px, 3.4vw, 48px)));
  }
}

@media (min-width: 960px) and (hover: hover) and (pointer: fine) {
  .entry-choices:has(.entry-choice-known:hover)::before { transform: scaleX(1.08); }
  .entry-choices:has(.entry-choice-known:hover)::after { transform: translateX(calc(-50% + clamp(32px, 3.4vw, 48px))); }
  .entry-choices:has(.entry-choice-unclear:hover)::before { transform: scaleX(.92); }
  .entry-choices:has(.entry-choice-unclear:hover)::after { transform: translateX(calc(-50% - clamp(32px, 3.4vw, 48px))); }
}
