/* A quiet editorial canvas for a vivid sculpture of forward motion. */
.home-page .site-header { color:#211a30; }
.home-page .site-header .brand-mark { color:#6438db; }
.home-page .site-header:not(.is-compact) .header-careers { background:#292034; border-color:#292034; color:#fff; backdrop-filter:none; }
.home-page .site-header:not(.is-compact) .icon-button { background:transparent; border-color:#26203228; }
.home-page .site-header:not(.is-compact) .header-careers:hover { background:#6033d2; border-color:#6033d2; }
.home-page .hero-sequence { position:relative; }
.home-page .momentum-hero {
  --hero-paper:#f7f7f9;
  position:relative; display:flex; flex-direction:column; align-items:stretch;
  isolation:isolate; overflow:hidden; overflow:clip;
  height:auto; min-height:min(900px,100svh); max-height:none;
  padding:132px 0 0; background:var(--hero-paper); color:#211a30;
}
.momentum-hero .hero-content {
  flex:1; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  gap:0; align-items:center; padding-top:0; padding-bottom:40px;
  min-height:540px; text-align:left; transform:none; opacity:1; will-change:auto;
}
.momentum-copy { position:relative; z-index:2; padding:36px 0 40px; min-width:0; }
.momentum-hero .momentum-eyebrow {
  display:block; color:#60576e; font-size:.875rem; font-weight:450;
  letter-spacing:.015em; text-transform:none; line-height:1.6; margin:0;
}
.momentum-eyebrow::before { display:none; }
.momentum-hero h1 {
  font-size:clamp(4.5rem,8.4vw,8rem); line-height:.99; letter-spacing:-.065em;
  font-weight:500; color:#211a30; margin:30px 0 0; overflow-wrap:normal;
}
.momentum-line { display:block; }
.home-page .momentum-hero h1 .momentum-progress {
  display:block; width:max-content; max-width:100%; color:#6438db;
  font-size:1.14em; line-height:1.08; font-weight:400; letter-spacing:-.065em;
  padding-right:.08em; margin-left:-.035em;
}
.momentum-people { display:block; font-size:.365em; font-weight:450; letter-spacing:-.045em; line-height:1.25; margin-top:24px; }
.momentum-proof { display:flex; align-items:center; gap:20px; margin-top:52px; }
.momentum-proof strong { display:inline-flex; align-items:center; font-size:2.25rem; font-weight:500; letter-spacing:-.065em; line-height:1; }
.momentum-proof strong span { font-size:.72em; color:#6438db; margin-left:2px; line-height:1; }
.momentum-proof > span { border-left:1px solid #211a3033; padding-left:20px; font-size:.875rem; line-height:1.5; color:#655c72; }
.momentum-visual { position:relative; z-index:1; min-width:0; align-self:center; aspect-ratio:1; margin-left:-5%; width:112%; pointer-events:none; mix-blend-mode:multiply; }
.momentum-art { width:100%; height:100%; transform:translate3d(var(--art-x,0px),var(--art-y,0px),0) rotate(var(--art-r,0deg)); transform-origin:50% 65%; transition:transform 1s cubic-bezier(.18,.67,.27,1); }
.momentum-art img { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:contain; }
.momentum-footer { position:relative; z-index:3; display:grid; grid-template-columns:1fr auto; gap:24px; align-items:center; border-top:1px solid #241b331c; padding-block:20px 24px; }
.home-page .momentum-hero .scroll-cue { color:#43384f; width:max-content; font-size:.875rem; gap:12px; }
.home-page .momentum-hero .scroll-cue span { width:40px; height:40px; border-color:#241b3326; background:transparent; transition:background .2s,color .2s; }
.momentum-hero .scroll-cue:hover span { background:#6438db; color:#fff; }
.momentum-hero .scroll-cue:hover svg { transform:translateY(2px); }
.momentum-motion { justify-self:end; padding:0; display:grid; place-items:center; width:44px; height:44px; border:1px solid #241b3326; border-radius:50%; background:transparent; color:#554a63; cursor:pointer; }
.momentum-motion[hidden] { display:none; }
.momentum-motion:hover { background:#ede9f4; }
.momentum-motion svg { width:20px; height:20px; }
.momentum-motion .motion-play { display:none; }
.momentum-motion[aria-pressed="true"] .motion-pause { display:none; }
.momentum-motion[aria-pressed="true"] .motion-play { display:block; }
.momentum-hero .scroll-cue:focus-visible,.momentum-motion:focus-visible { outline:2px solid #6438db; outline-offset:5px; }
.home-page .hero-sheet { position:relative; z-index:2; background:white; padding-top:46px; margin-top:0; }
.home-page .hero-sheet .stats { padding-bottom:68px; }
@media(prefers-reduced-motion:no-preference) {
  .momentum-art img { animation:momentum-float 9s ease-in-out infinite alternate; animation-play-state:paused; }
  .momentum-hero.is-motion-active .momentum-art img { animation-play-state:running; }
  .momentum-hero.has-entrance .momentum-copy > .eyebrow { animation:momentum-enter .75s ease-out both; }
  .momentum-hero.has-entrance h1 { animation:momentum-enter 1s .08s cubic-bezier(.2,.7,.3,1) both; }
  .momentum-hero.has-entrance .momentum-proof { animation:momentum-enter 1s .18s ease-out both; }
}
@keyframes momentum-float { from { transform:translateY(7px) rotate(-1deg); } to { transform:translateY(-9px) rotate(1deg); } }
@keyframes momentum-enter { from { opacity:0; transform:translateY(15px); } to { opacity:1; transform:translateY(0); } }
@media(min-width:1600px) {
  .momentum-hero .hero-content { min-height:610px; }
}
@media(min-width:721px) and (max-height:760px) {
  .home-page .momentum-hero { padding-top:100px; }
  .momentum-hero .hero-content { min-height:410px; padding-bottom:12px; }
  .momentum-copy { padding-block:18px; }
  .momentum-hero h1 { font-size:clamp(4rem,7.2vw,6.4rem); margin-top:18px; }
  .momentum-people { margin-top:18px; }
  .momentum-proof { margin-top:34px; }
  .momentum-visual { max-width:min(112%,68svh); margin-inline:auto; }
  .momentum-footer { padding-block:12px 16px; }
}
@media(max-width:1000px) and (min-width:721px) {
  .momentum-hero h1 { font-size:clamp(3.5rem,8.3vw,5.6rem); }
  .momentum-hero .momentum-eyebrow { font-size:.8125rem; max-width:280px; }
  .momentum-proof { gap:14px; }
  .momentum-proof > span { padding-left:14px; }
}
@media(max-width:720px) {
  .home-page .momentum-hero { min-height:100svh; padding-top:110px; }
  .momentum-hero .hero-content { display:flex; flex-direction:column; align-items:stretch; min-height:0; gap:0; padding-bottom:0; }
  .momentum-copy { padding:14px 0 0; }
  .momentum-hero .momentum-eyebrow { font-size:.8125rem; max-width:none; margin:0; }
  .momentum-hero h1 { font-size:clamp(3.75rem,13.5vw,6.75rem); line-height:.98; margin-top:22px; }
  .home-page .momentum-hero h1 .momentum-progress { font-size:1.12em; }
  .momentum-people { font-size:.415em; margin-top:16px; }
  .momentum-proof { margin-top:28px; gap:16px; }
  .momentum-proof strong { font-size:1.9rem; }
  .momentum-proof > span { font-size:.875rem; padding-left:16px; }
  .momentum-visual { width:min(100%,450px); margin:0 0 -4px; align-self:center; }
  .momentum-footer { grid-template-columns:1fr auto; gap:12px; padding-block:14px 18px; }
  .home-page .hero-sheet { padding-top:32px; }
}
@media(max-width:400px) {
  .home-page .momentum-hero { padding-top:100px; }
  .momentum-hero .momentum-eyebrow { max-width:260px; }
  .momentum-hero h1 { font-size:clamp(3.3rem,13vw,3.75rem); }
  .momentum-proof { margin-top:24px; }
}
@media(prefers-reduced-motion:reduce) {
  .momentum-art,.momentum-art img { transform:none!important; transition:none; animation:none!important; }
  .momentum-motion { display:none; }
}
@media(forced-colors:active) {
  .momentum-visual { display:none; }
  .momentum-hero .hero-content { display:block; }
}
@media print {
  .home-page .momentum-hero { min-height:0; padding-top:110px; break-inside:avoid; }
  .momentum-footer { display:none; }
}

/* The moon changes only the hero and its overlaid header controls. */
.home-page .header-actions > .hero-theme-toggle { display:grid; flex:none; }
.home-page .header-actions > .hero-theme-toggle[hidden] { display:none; }
.hero-theme-toggle .theme-sun { display:none; }
.hero-theme-toggle[aria-pressed="true"] .theme-moon { display:none; }
.hero-theme-toggle[aria-pressed="true"] .theme-sun { display:block; }
.home-page .hero-theme-toggle:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
html[data-hero-theme="purple"] .home-page .momentum-hero { background:var(--brand-gradient); color:#fff; }
html[data-hero-theme="purple"] .home-page .momentum-hero h1 { color:#fff; }
html[data-hero-theme="purple"] .home-page .momentum-hero h1 .momentum-progress { color:#f4deff; }
html[data-hero-theme="purple"] .momentum-hero .momentum-eyebrow,
html[data-hero-theme="purple"] .momentum-hero .momentum-proof > span,
html[data-hero-theme="purple"] .momentum-hero .momentum-proof strong span { color:#f4deff; }
html[data-hero-theme="purple"] .momentum-hero .momentum-proof > span { border-color:#ffffff50; }
html[data-hero-theme="purple"] .momentum-hero .momentum-footer { border-color:#ffffff40; }
html[data-hero-theme="purple"] .home-page .momentum-hero .scroll-cue,
html[data-hero-theme="purple"] .momentum-hero .momentum-motion { color:#fff; }
html[data-hero-theme="purple"] .home-page .momentum-hero .scroll-cue span,
html[data-hero-theme="purple"] .momentum-hero .momentum-motion { border-color:#ffffff70; }
html[data-hero-theme="purple"] .momentum-hero .momentum-motion:hover,
html[data-hero-theme="purple"] .momentum-hero .scroll-cue:hover span { background:#ffffff20; }
html[data-hero-theme="purple"] .momentum-hero .scroll-cue:focus-visible,
html[data-hero-theme="purple"] .momentum-hero .momentum-motion:focus-visible { outline-color:#fff; }
html[data-hero-theme="purple"] .home-page .site-header:not(.is-compact),
html[data-hero-theme="purple"] .home-page .site-header:not(.is-compact) .brand-mark { color:#fff; }
html[data-hero-theme="purple"] .home-page .site-header:not(.is-compact) .header-careers { background:#fff; border-color:#fff; color:#542de4; }
html[data-hero-theme="purple"] .home-page .site-header:not(.is-compact) .header-careers:hover { background:#f1e8ff; border-color:#f1e8ff; }
html[data-hero-theme="purple"] .home-page .site-header:not(.is-compact) .icon-button { border-color:#ffffff60; color:#fff; }
html[data-hero-theme="purple"] .home-page .site-header:not(.is-compact) .icon-button:hover { background:#ffffff20; }

/* Social controls respond immediately, before the header folds on scroll. */
.home-page .site-header:not(.is-compact) {
  --social-hover-fill:#5634e6;
  --social-hover-ink:#fff;
}
html[data-hero-theme="purple"] .home-page .site-header:not(.is-compact) {
  --social-hover-fill:#fff;
  --social-hover-ink:#5634e6;
}
.home-page .site-header:not(.is-compact) .header-actions > .icon-button:is([data-contact],[href*="linkedin.com"]):is(:focus-visible,:active) {
  background:var(--social-hover-fill); border-color:var(--social-hover-fill); color:var(--social-hover-ink);
  box-shadow:0 6px 18px -8px #5634e666;
}
@media(hover:hover) and (pointer:fine) {
  .home-page .site-header:not(.is-compact) .header-actions > .icon-button:is([data-contact],[href*="linkedin.com"]):hover {
    background:var(--social-hover-fill); border-color:var(--social-hover-fill); color:var(--social-hover-ink);
    box-shadow:0 6px 18px -8px #5634e666;
  }
}
@media(max-width:400px) {
  .home-page .site-header .brand { font-size:1rem; }
  .home-page .site-header .nav-inner { gap:12px; }
}
