/* Homepage hero and offer placement; the navigation, ticker, and proof content retain their styles. */
#esc #hero.client-home-hero {
  display: block;
  width: 100%;
  min-height: 0;
  margin-top: -40px;
  padding: calc(clamp(48px, 6vw, 78px) + 40px) 5% 72px;
  overflow: hidden;
  background-color: #07070a;
  background-image: linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 52px 52px;
}

#esc #hero .client-home-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

#esc #hero .client-home-main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: 440px;
}

#esc #hero .client-home-copy { min-width: 0; }

#esc #hero .client-home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 11px;
  border: 1px solid rgba(167, 139, 250, .27);
  border-radius: 6px;
  color: #a78bfa;
  font: 500 11px/1.45 'JetBrains Mono', monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

#esc #hero .client-home-kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 10px #a78bfa;
}

#esc #hero.client-home-hero h1 {
  max-width: 650px;
  margin: 22px 0 20px;
  color: #ececf1;
  font: 700 clamp(42px, 5.3vw, 76px)/1.03 'Bricolage Grotesque', sans-serif;
  letter-spacing: -.045em;
  text-wrap: balance;
}

#esc #hero.client-home-hero h1 em,
#esc #hero.client-home-hero h2 em { color: #a78bfa; font-style: normal; }

#esc #hero .client-home-description {
  max-width: 590px;
  margin: 0;
  color: rgba(236, 236, 241, .68);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.65;
}

#esc #hero .client-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

#esc #hero .client-home-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid rgba(167, 139, 250, .27);
  border-radius: 6px;
  color: #ececf1;
  background: #101018;
  font: 500 11px/1.3 'JetBrains Mono', monospace;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

#esc #hero .client-home-action-primary {
  border-color: #8b5cf6;
  background: #8b5cf6;
  color: #fff;
}

#esc #hero .client-home-action:hover {
  transform: translateY(-2px);
  border-color: #a78bfa;
  background: #211932;
}

#esc #hero .client-home-action-primary:hover { background: #9a6cf8; }
#esc #hero .client-home-action:focus-visible,
#esc .client-home-offer-section .client-home-replay:focus-visible { outline: 2px solid #c5adff; outline-offset: 4px; }

#esc #hero .client-home-orbit {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  margin: 0 auto 34px;
}

#esc #hero .client-home-orbit-ring {
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(167, 139, 250, .27);
  border-radius: 50%;
  pointer-events: none;
}

#esc #hero .client-home-orbit-ring-outer::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 4px solid transparent;
  border-top-color: rgba(167, 139, 250, .65);
  border-radius: 50%;
  filter: drop-shadow(0 0 9px rgba(139, 92, 246, .45));
  animation: client-home-orbit-turn 24s linear infinite;
}

#esc #hero .client-home-orbit-ring-inner {
  inset: 27%;
  border-color: rgba(167, 139, 250, .13);
  border-style: dashed;
}

#esc #hero .client-home-core {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  width: 25%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(167, 139, 250, .36);
  border-radius: 50%;
  background: #171322;
  box-shadow: 0 0 40px rgba(139, 92, 246, .22);
  color: var(--violet, #8b5cf6);
  font: 700 clamp(9px, 1.1vw, 13px)/1.1 'Bricolage Grotesque', sans-serif;
  letter-spacing: .09em;
  text-align: center;
}

#esc #hero .client-home-core .client-home-core-mark {
  display: block;
  width: clamp(24px, 3vw, 38px);
  height: clamp(24px, 3vw, 38px);
}

#esc #hero .client-home-node {
  position: absolute;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 6px;
  width: 31%;
  min-height: 70px;
  padding: 12px;
  border: 1px solid rgba(167, 139, 250, .27);
  border-radius: 7px;
  background: #101018;
  color: #ececf1;
  font: 500 clamp(10px, .93vw, 12px)/1.3 'JetBrains Mono', monospace;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .2);
}

#esc #hero .client-home-node small {
  color: #a78bfa;
  font-size: 10px;
  letter-spacing: .08em;
}

#esc #hero .client-home-node-one { top: 4%; left: 0; }
#esc #hero .client-home-node-two { top: 4%; right: 0; }
#esc #hero .client-home-node-three { bottom: 8%; left: 0; }
#esc #hero .client-home-node-four { bottom: 8%; right: 0; }

#esc #hero .client-home-platform {
  position: absolute;
  z-index: 2;
  right: 18%;
  bottom: -26px;
  left: 18%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid rgba(167, 139, 250, .3);
  border-radius: 6px;
  background: #14111c;
  color: #a78bfa;
  font: 500 11px/1.3 'JetBrains Mono', monospace;
  text-align: center;
}

#esc .client-home-offer-section {
  width: 100%;
  padding: 56px 5% 0;
  background: #07070a;
}

#esc .client-home-offer-section .client-home-offer {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

#esc .client-home-offer-section + #clients { padding-top: 72px; }

#esc .client-home-offer-section .client-home-offer-heading p {
  margin: 0;
  color: #a78bfa;
  font: 500 10px/1.5 'JetBrains Mono', monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

#esc .client-home-offer-section h2 {
  margin: 8px 0 20px;
  color: #ececf1;
  font: 700 clamp(26px, 3vw, 38px)/1.08 'Bricolage Grotesque', sans-serif;
  letter-spacing: -.04em;
}

#esc .client-home-offer-section h2 em { color: #a78bfa; font-style: normal; }

#esc .client-home-offer-section .client-home-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

#esc .client-home-offer-section .client-home-pillar {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 9px;
  background: #101018;
}

#esc .client-home-offer-section .client-home-pillar strong {
  display: block;
  margin-bottom: 8px;
  color: #ececf1;
  font: 700 19px/1.2 'Bricolage Grotesque', sans-serif;
}

#esc .client-home-offer-section .client-home-pillar p {
  margin: 0;
  color: rgba(236, 236, 241, .62);
  font-size: 14px;
  line-height: 1.5;
}

#esc .client-home-offer-section .client-home-replay {
  display: block;
  margin: 20px 0 0 auto;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: rgba(167, 139, 250, .85);
  cursor: pointer;
  font: 500 11px/1.3 'JetBrains Mono', monospace;
}

#esc .client-home-offer-section .client-home-replay:hover { color: #fff; }

@keyframes client-home-orbit-turn { to { transform: rotate(360deg); } }
@keyframes client-home-arrive {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

html.client-home-intro-done #esc #hero .client-home-copy,
html.client-home-intro-done #esc #hero .client-home-orbit {
  animation: client-home-arrive .8s cubic-bezier(.2, .8, .2, 1) both;
}

html.client-home-intro-done #esc #hero .client-home-orbit { animation-delay: .1s; }

/* The source homepage's shooting-star logo intro, adapted to the existing header logo. */
html.client-home-intro-armed #esc,
html.client-home-intro-running #esc { visibility: hidden; }
html.client-home-intro-running { overflow: hidden; }

.client-home-intro {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20000;
  overflow: hidden;
  isolation: isolate;
  background: #07070a;
  pointer-events: none;
}

html.client-home-intro-armed .client-home-intro,
html.client-home-intro-running .client-home-intro { display: block; }

.client-home-intro-sky {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(139, 92, 246, .1), transparent 48%);
}

.client-home-intro-sky::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 18% 21%, rgba(236, 236, 241, .55) 1px, transparent 1.6px),
    radial-gradient(circle at 70% 66%, rgba(167, 139, 250, .45) 1px, transparent 1.6px),
    radial-gradient(circle at 84% 32%, rgba(236, 236, 241, .3) 1px, transparent 1.5px);
  background-size: 490px 330px, 610px 530px, 270px 450px;
}

.client-home-intro-lockup {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 4%;
  transform-origin: 0 0;
  will-change: transform;
}

.client-home-intro-mark {
  position: relative;
  flex: 0 0 20%;
  height: 100%;
  will-change: transform;
}

.client-home-intro-symbol {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 0 16px rgba(139, 92, 246, .5));
  will-change: transform;
}

.client-home-intro-word {
  flex: 1;
  color: #ececf1;
  font: 700 36px/1 'Bricolage Grotesque', sans-serif;
  letter-spacing: .14em;
  opacity: 0;
  white-space: nowrap;
  will-change: transform, opacity, filter;
}

.client-home-intro-trail {
  position: absolute;
  right: 60%;
  top: calc(50% - 12px);
  width: min(52vw, 740px);
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, .04) 12%, rgba(167, 139, 250, .38) 70%, #a78bfa);
  filter: blur(7px);
  transform-origin: right center;
}

.client-home-intro-trail::before {
  content: '';
  position: absolute;
  inset: 10px 0;
  background: linear-gradient(90deg, transparent, #a78bfa);
  box-shadow: 0 0 20px rgba(139, 92, 246, .4);
}

.client-home-intro-label {
  position: absolute;
  bottom: 42px;
  left: max(28px, 5vw);
  color: rgba(236, 236, 241, .55);
  font: 12px/1.5 'JetBrains Mono', monospace;
  letter-spacing: .13em;
}

@media (max-width: 900px) {
  #esc #hero.client-home-hero { padding: 86px 6% 64px; }
  #esc #hero .client-home-main { grid-template-columns: 1fr; gap: 45px; min-height: 0; }
  #esc #hero .client-home-orbit { max-width: 410px; }
  #esc .client-home-offer-section { padding: 48px 6% 0; }
  #esc .client-home-offer-section + #clients { padding-top: 64px; }
}

@media (max-width: 560px) {
  #esc #hero.client-home-hero { padding: 74px 6% 52px; }
  #esc #hero.client-home-hero h1 { font-size: clamp(38px, 10vw, 55px); }
  #esc #hero .client-home-actions { flex-direction: column; align-items: stretch; }
  #esc #hero .client-home-action { width: 100%; }
  #esc #hero .client-home-orbit { max-width: 340px; }
  #esc #hero .client-home-node { width: 34%; min-height: 66px; padding: 9px; font-size: 10px; }
  #esc #hero .client-home-core { gap: 6px; font-size: 9px; }
  #esc #hero .client-home-core .client-home-core-mark { width: 25px; height: 25px; }
  #esc .client-home-offer-section .client-home-pillars { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  #esc #hero .client-home-orbit {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
    margin-bottom: 0;
  }
  #esc #hero .client-home-orbit-ring { display: none; }
  #esc #hero .client-home-core,
  #esc #hero .client-home-node,
  #esc #hero .client-home-platform {
    position: static;
    width: auto;
    min-height: 0;
    transform: none;
  }
  #esc #hero .client-home-core { grid-column: 1 / -1; width: 88px; height: 88px; margin: 0 auto 8px; }
  #esc #hero .client-home-core .client-home-core-mark { width: 23px; height: 23px; }
  #esc #hero .client-home-node { min-height: 68px; }
  #esc #hero .client-home-platform { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .client-home-intro { display: none !important; }
  #esc #hero .client-home-orbit-ring-outer::after,
  html.client-home-intro-done #esc #hero .client-home-copy,
  html.client-home-intro-done #esc #hero .client-home-orbit { animation: none !important; }
  #esc .client-home-offer-section .client-home-replay { display: none; }
}
