/* Canonical in-document homepage hero. */
.ctg-homepage-hero-stage{
  width:100%;
  min-height:calc(100svh - 3.875rem);
  display:grid;
  grid-template-rows:minmax(min-content,1fr) auto;
  background:var(--ctg-public-surface-dark);
}

.ctg-homepage-hero{
  position:relative;
  isolation:isolate;
  width:100%;
  min-height:0;
  height:100%;
  margin:0;
  padding:clamp(1.375rem,2.6vw,2.375rem) max(var(--ctg-public-gutter),calc((100% - 86.25rem) / 2));
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(35rem,.98fr);
  gap:clamp(2.625rem,4vw,4.25rem);
  align-items:center;
  overflow:hidden;
  background:var(--ctg-public-surface-dark);
}

.ctg-homepage-hero::after{
  position:absolute;
  z-index:1;
  inset:0;
  content:"";
  pointer-events:none;
  background:linear-gradient(90deg,rgba(32,34,38,.95) 0%,rgba(32,34,38,.84) 38%,rgba(32,34,38,.33) 69%,rgba(32,34,38,.12) 100%);
}

.ctg-homepage-hero__copy{
  position:relative;
  z-index:2;
  max-width:47.5rem;
}

.ctg-homepage-hero__mobile-eyebrow,
.ctg-homepage-hero__mobile-title,
.ctg-homepage-hero__mobile-lede,
.ctg-homepage-hero__mobile-cta-label,
.ctg-homepage-hero__mobile-benefits,
.ctg-homepage-mobile-proof,
.ctg-homepage-industry-ticker{
  display:none;
}

@media(min-width:1024px){
  .ctg-homepage-hero-stage{
    min-height:calc(100svh - 5.5rem);
  }

  .ctg-homepage-hero__copy{
    left:calc(5rem - max(1.5rem,calc(50vw - 43.125rem)));
  }
}

/* Match the existing navigation component's compact 1024–1080px mode. */
@media(min-width:1024px) and (max-width:1080px){
  .ctg-homepage-hero-stage{
    min-height:calc(100svh - 3.875rem);
  }
}

.ctg-homepage-hero .hero-title{
  max-inline-size:var(--ctg-public-measure-display);
  margin:0;
  color:var(--ctg-public-heading-dark);
  font-family:var(--ctg-public-font-heading);
  font-size:var(--ctg-public-type-h1);
  font-weight:580;
  line-height:1.1;
  letter-spacing:-.058em;
}

.ctg-homepage-hero .hero-title-line{
  display:block;
  color:inherit;
  white-space:nowrap;
}

.ctg-homepage-hero .hero-lede{
  width:100%;
  max-inline-size:var(--ctg-public-measure-lede);
  text-wrap:pretty;
  margin:2.75rem 0 0;
  color:var(--ctg-public-body-dark);
  font-family:var(--ctg-public-font-body);
  font-size:var(--ctg-public-type-body);
  line-height:1.7;
  letter-spacing:-.018em;
}

.ctg-homepage-hero .hero-lede strong{
  color:#d9dce2;
  font-weight:750;
}

.ctg-homepage-hero .hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  margin-top:2.75rem;
}

.ctg-homepage-hero .hero-cta-assurance{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.5rem 1.125rem;
  margin-top:.875rem;
  color:#8f97a3;
  font-family:var(--ctg-public-font-body);
  font-size:.8125rem;
  font-weight:600;
  line-height:1.35;
  letter-spacing:.015em;
}

.ctg-homepage-hero .hero-cta-assurance span{
  white-space:nowrap;
}

.ctg-homepage-hero__artwork{
  position:absolute;
  z-index:0;
  inset:0;
  min-width:0;
  margin:0;
}

.ctg-homepage-hero__artwork img{
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  object-position:center center;
}

@media(max-width:1023px){
  .ctg-homepage-hero{
    grid-template-columns:minmax(0,1fr);
    align-items:center;
  }

  .ctg-homepage-hero__copy{
    max-width:61.25rem;
  }
}

@media(max-width:767px){
  .ctg-homepage-hero-stage{
    min-height:0;
    display:block;
  }

  .ctg-homepage-hero{
    min-height:clamp(24rem,62.4svh,30.4rem);
    padding:clamp(1.8rem,5.2svh,2.8rem) var(--ctg-public-gutter);
    align-items:center;
  }

  .ctg-homepage-hero::after{
    background:linear-gradient(90deg,rgba(19,21,25,.95) 0%,rgba(23,25,29,.87) 48%,rgba(25,27,31,.52) 77%,rgba(25,27,31,.3) 100%);
  }

  .ctg-homepage-hero__copy{
    width:100%;
    max-width:31rem;
  }

  .ctg-homepage-hero__mobile-eyebrow{
    display:block;
    margin:0 0 1.25rem;
    color:var(--ctg-public-eyebrow-primary);
    font-family:var(--ctg-public-font-body);
    font-size:var(--ctg-public-type-eyebrow);
    font-weight:750;
    letter-spacing:.15em;
    line-height:1.5;
    text-transform:uppercase;
  }

  .ctg-homepage-hero__mobile-eyebrow span{
    display:block;
    white-space:nowrap;
  }

  .ctg-homepage-hero__desktop-title,
  .ctg-homepage-hero__desktop-lede{
    display:none;
  }

  .ctg-homepage-hero__mobile-title,
  .ctg-homepage-hero__mobile-lede{
    display:block;
  }

  .ctg-homepage-hero .hero-title{
    max-width:12.5ch;
    font-size:clamp(2.5rem,11.2vw,3.25rem);
    line-height:1.03;
    letter-spacing:-.055em;
  }

  .ctg-homepage-hero .hero-title-line{
    white-space:normal;
  }

  .ctg-homepage-hero .hero-lede{
    max-width:24rem;
    margin-top:1rem;
    color:#d5d8df;
    font-size:1rem;
    font-weight:600;
    line-height:1.5;
  }

  .ctg-homepage-hero .hero-actions{
    margin-top:1.5rem;
  }

  .ctg-homepage-hero .hero-actions .ctg-cta{
    width:clamp(10.25rem,45vw,11.5rem);
    min-width:10.25rem;
  }

  .ctg-homepage-hero__desktop-cta-label{
    display:none;
  }

  .ctg-homepage-hero__mobile-cta-label{
    display:inline;
  }

  .ctg-homepage-hero__mobile-benefits{
    width:max-content;
    max-width:100%;
    display:grid;
    grid-template-columns:repeat(3,max-content);
    column-gap:1.5rem;
    margin:1.875rem 0 0;
    padding:0;
    color:rgba(220,224,232,.72);
    font-family:var(--ctg-public-font-body);
    font-size:.6875rem;
    font-weight:650;
    letter-spacing:.04em;
    line-height:1.2;
    list-style:none;
  }

  .ctg-homepage-hero__mobile-benefits li{
    min-width:0;
  }

  .ctg-homepage-hero__mobile-benefits span{
    display:block;
  }

  .ctg-homepage-hero .hero-cta-assurance{
    display:none;
  }

  .ctg-homepage-hero__artwork img{
    object-position:63% center;
  }

  .ctg-homepage-mobile-proof{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    width:100%;
    padding:1rem 0;
    border-top:1px solid rgba(209,220,241,.14);
    border-bottom:1px solid rgba(209,220,241,.14);
    background:var(--ctg-public-surface-dark);
  }

  .ctg-homepage-mobile-proof__item{
    position:relative;
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 .5rem;
    text-align:center;
  }

  .ctg-homepage-mobile-proof__item + .ctg-homepage-mobile-proof__item{
    border-left:0;
  }

  .ctg-homepage-mobile-proof__item + .ctg-homepage-mobile-proof__item::before{
    position:absolute;
    inset-block:0;
    left:0;
    width:1px;
    content:"";
    background:rgba(209,220,241,.18);
  }

  .ctg-homepage-mobile-proof__item:nth-child(2)::before{
    transform:translateX(2.05vw);
  }

  .ctg-homepage-mobile-proof__item:nth-child(3)::before{
    transform:translateX(.67vw);
  }

  .ctg-homepage-mobile-proof__item:nth-child(4)::before{
    transform:translateX(calc(2.25vw - 4.6875px));
  }

  .ctg-homepage-mobile-proof__content{
    width:100%;
    height:100%;
    min-width:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    transform:translateY(.375rem);
  }

  .ctg-homepage-mobile-proof__content strong,
  .ctg-homepage-mobile-proof__content span{
    display:block;
    transform:translateX(1vw);
  }

  .ctg-homepage-mobile-proof__content strong{
    color:var(--ctg-public-heading-dark);
    font-family:var(--ctg-public-font-heading);
    font-size:clamp(1rem,4.5vw,1.25rem);
    font-weight:600;
    letter-spacing:-.035em;
    line-height:1.1;
  }

  .ctg-homepage-mobile-proof__content span{
    width:100%;
    min-height:2.5em;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    margin-top:.4rem;
    color:var(--ctg-public-body-dark);
    font-family:var(--ctg-public-font-body);
    font-size:clamp(.5625rem,2.35vw,.6875rem);
    font-weight:650;
    line-height:1.25;
  }

  .ctg-homepage-industry-ticker{
    display:block;
    padding:.875rem 0;
    background:var(--ctg-public-surface-light);
  }

  .ctg-homepage-industry-ticker > .redesign-shell{
    width:100%;
  }

  .ctg-homepage-industry-ticker .redesign-proof-trusted{
    position:relative;
    display:block;
  }

  .ctg-homepage-industry-ticker .redesign-proof-track-viewport{
    --industry-ticker-safe-inset:6%;
    --industry-ticker-safe-offset:calc(6vw - 3.36px);
    width:calc(100% - 3.5rem);
    -webkit-mask-image:linear-gradient(90deg,transparent 0,black var(--industry-ticker-safe-inset),black 96%,transparent 100%);
    mask-image:linear-gradient(90deg,transparent 0,black var(--industry-ticker-safe-inset),black 96%,transparent 100%);
  }

  .ctg-homepage-industry-ticker .redesign-proof-track{
    --industry-ticker-start-offset:var(--industry-ticker-safe-offset);
    transform:translate3d(var(--industry-ticker-start-offset),0,0);
  }

  .ctg-homepage-industry-ticker .redesign-proof-track.is-ready{
    animation-delay:.75s;
  }

  .ctg-homepage-industry-ticker .redesign-proof-track-group li{
    flex:0 0 108px;
    min-width:108px;
    max-width:108px;
    white-space:nowrap;
    color:var(--ctg-public-body-light);
  }

  .ctg-homepage-industry-ticker .redesign-proof-icon{
    filter:brightness(0) saturate(100%) opacity(.7);
  }

  .ctg-industry-ticker__advance{
    position:absolute;
    z-index:2;
    right:.5rem;
    top:50%;
    transform:translateY(-50%);
    width:2.75rem;
    height:2.75rem;
    display:grid;
    padding:0;
    place-items:center;
    border:0;
    border-radius:0;
    background:transparent;
    color:var(--ctg-public-heading-light);
    cursor:pointer;
  }

  .ctg-industry-ticker__advance svg{
    width:1.25rem;
    height:1.25rem;
    fill:none;
    stroke:currentColor;
    stroke-width:1.75;
    stroke-linecap:round;
    stroke-linejoin:round;
  }

  .ctg-industry-ticker__advance:focus-visible{
    outline:2px solid var(--ctg-public-eyebrow-primary);
    outline-offset:2px;
  }

  .ctg-tech-ticker-v47{
    display:none;
  }
}

@media(max-width:767px) and (prefers-reduced-motion:reduce){
  .ctg-homepage-industry-ticker .redesign-proof-track-viewport{
    overflow-x:auto;
  }

  .ctg-homepage-industry-ticker .redesign-proof-track{
    display:flex;
    width:max-content;
  }

  .ctg-homepage-industry-ticker .redesign-proof-track-group{
    width:max-content;
    flex-wrap:nowrap;
    justify-content:flex-start;
  }
}

@media(prefers-reduced-motion:reduce){
  .ctg-homepage-hero *,
  .ctg-homepage-hero *::before,
  .ctg-homepage-hero *::after{
    animation:none;
    transition:none;
  }
}

/* Technology ticker: canonical hero-bottom owner. */
.ctg-tech-ticker-v47 {
  --ctg-tech-ticker-v47-segment-width: max(100vw, 2400px);
  --ctg-tech-ticker-v47-duration: 56s;
  --ctg-tech-ticker-v47-color: #f8f8f6fa;
  position: relative;
  width: 100%;
  padding: clamp(18px, 1.9vw, 28px) 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  background: linear-gradient(180deg, rgba(255, 255, 255, .018), rgba(255, 255, 255, .004));
}

.ctg-tech-ticker-v47__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.ctg-tech-ticker-v47__track {
  width: max-content;
  display: flex;
  align-items: center;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  animation: ctg-tech-ticker-v47-scroll var(--ctg-tech-ticker-v47-duration) linear infinite;
  will-change: transform;
}

.ctg-tech-ticker-v47__segment {
  width: var(--ctg-tech-ticker-v47-segment-width);
  min-width: var(--ctg-tech-ticker-v47-segment-width);
  max-width: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex: 0 0 var(--ctg-tech-ticker-v47-segment-width);
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-around;
  gap: 0;
  list-style: none;
}

.ctg-tech-ticker-v47__item {
  margin: 0;
  padding: 0;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.ctg-tech-ticker-v47__tech {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, .7vw, 12px);
  color: rgba(244, 244, 241, .76);
  font-size: clamp(.78rem, .73rem + .18vw, .9rem);
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.ctg-tech-ticker-v47__icon {
  inline-size: clamp(1.65rem, 1.42rem + .6vw, 2.15rem);
  block-size: clamp(1.65rem, 1.42rem + .6vw, 2.15rem);
  display: block;
  flex: 0 0 clamp(1.65rem, 1.42rem + .6vw, 2.15rem);
  background: var(--ctg-tech-ticker-v47-color);
  -webkit-mask-image: var(--ctg-tech-icon);
  mask-image: var(--ctg-tech-icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.ctg-tech-ticker-v47__icon--wide {
  inline-size: calc(clamp(1.65rem, 1.42rem + .6vw, 2.15rem) * 1.7);
  flex-basis: calc(clamp(1.65rem, 1.42rem + .6vw, 2.15rem) * 1.7);
}

.ctg-tech-ticker-v47__label {
  color: rgba(244, 244, 241, .76);
}

.ctg-tech-ticker-v47:hover .ctg-tech-ticker-v47__track,
.ctg-tech-ticker-v47:focus-within .ctg-tech-ticker-v47__track {
  animation-play-state: paused;
}

@keyframes ctg-tech-ticker-v47-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(0px - var(--ctg-tech-ticker-v47-segment-width)), 0, 0);
  }
}

@media (min-width: 941px) {
  .ctg-tech-ticker-v47 {
    z-index: 30;
    isolation: isolate;
  }
}

@media (max-width: 940px) {
  .ctg-tech-ticker-v47 {
    z-index: auto;
  }
}

@media (max-width: 760px) {
  .ctg-tech-ticker-v47 {
    --ctg-tech-ticker-v47-segment-width: max(100vw, 2200px);
    --ctg-tech-ticker-v47-duration: 52s;
    padding: 17px 0;
  }

  .ctg-tech-ticker-v47__tech {
    font-size: .8rem;
  }

  .ctg-tech-ticker-v47__icon {
    inline-size: 1.65rem;
    block-size: 1.65rem;
    flex-basis: 1.65rem;
  }

  .ctg-tech-ticker-v47__icon--wide {
    inline-size: calc(1.65rem * 1.7);
    flex-basis: calc(1.65rem * 1.7);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ctg-tech-ticker-v47__viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: thin;
  }

  .ctg-tech-ticker-v47__track {
    animation: none;
    transform: none;
    will-change: auto;
  }

  .ctg-tech-ticker-v47__segment {
    width: max-content;
    min-width: 100%;
    padding-inline: 24px;
    flex-basis: auto;
    justify-content: center;
    gap: clamp(24px, 3vw, 48px);
  }

  .ctg-tech-ticker-v47__segment[aria-hidden="true"] {
    display: none;
  }
}
