/* Scroll-linked editorial movement */
.onon-about__line {
  display: block;
  color: inherit;
  opacity: var(--line-opacity, 1);
  transform: translate3d(var(--line-x, 0), 0, 0);
  transition: color .3s ease;
  will-change: transform, opacity;
}

.onon-about h2 .onon-about__line--two {
  color: #a87989;
}

.onon-about h2 .onon-about__line--two em {
  font-style: normal;
  font-weight: 300;
}

.onon-about h2 .onon-about__line--three {
  color: #7c183d;
}

.onon-about h2 .onon-about__line--three strong {
  color: inherit;
  font-weight: 650;
}

.onon-about h2 {
  max-width: 1080px;
  font-size: clamp(44px, 4.65vw, 82px);
  line-height: 1.01;
  letter-spacing: -.058em;
}

.onon-about__window video {
  width: 100%;
  height: calc(100% + 52px);
  display: block;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, calc(var(--about-shift) * -1px), 0) scale(1.04);
  will-change: transform;
}

.onon-about__handoff,
.onon-about__handoff:visited,
.onon-about__handoff:hover,
.onon-about__handoff:focus-visible {
  color: #7c183d !important;
}

.onon-about__handoff:hover small,
.onon-about__handoff:focus-visible small {
  color: #97566f !important;
}

.onon-about__handoff:hover > i,
.onon-about__handoff:focus-visible > i {
  color: #fff !important;
  background: #68122f;
  transform: translateY(4px);
}

.onon-services-index__cta,
.onon-services-index__cta:visited,
.onon-services-index__cta:hover,
.onon-services-index__cta:focus-visible,
.onon-references__cta,
.onon-references__cta:visited,
.onon-references__cta:hover,
.onon-references__cta:focus-visible {
  color: #fff !important;
}

.onon-services-index__list {
  position: relative;
}

.onon-services-index__list::after {
  content: "";
  position: absolute;
  left: -18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #f1b4c8;
  transform: scaleY(var(--services-progress, 0));
  transform-origin: 50% 0;
  box-shadow: 0 0 20px rgba(241,180,200,.38);
  pointer-events: none;
}

.onon-services-index.is-visible .onon-service-row {
  opacity: var(--service-opacity, 1);
  transform: translate3d(var(--service-x, 0), 0, 0);
  background-color: rgba(255,255,255,var(--service-glow, 0));
  transition: opacity .18s linear, transform .22s ease-out, background-color .22s ease-out, box-shadow .28s ease, color .28s ease;
  will-change: transform, opacity;
}

/* Minimal reference intro: restrained typography, thin rules, no heavy panel. */
.onon-references {
  padding-top: clamp(78px, 7vw, 118px);
}

.onon-references::before {
  top: 4%;
  opacity: .38;
}

.onon-references__intro.onon-references__intro--v2 {
  min-height: 0;
  margin: 0;
  padding: clamp(62px, 6vw, 104px) 0 clamp(58px, 5vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: clamp(40px, 7vw, 120px);
  overflow: visible;
  border-radius: 0;
  border-bottom: 1px solid rgba(165,31,80,.2);
  background: transparent;
  color: #861943;
}

.onon-references__intro--v2::before,
.onon-references__intro--v2::after,
.onon-references__ghost {
  display: none;
}

.onon-references__eyebrow {
  margin-bottom: clamp(23px, 2.4vw, 38px);
  color: #a05f76;
  font-size: 8px;
}

.onon-references .onon-references__intro--v2 h2 {
  max-width: 1050px;
  color: #861943;
  font-size: clamp(48px, 5vw, 88px);
  font-weight: 320;
  line-height: .96;
  letter-spacing: -.058em;
}

.onon-references .onon-references__intro--v2 h2 span {
  color: #aa7488;
  font-weight: 280;
}

.onon-references .onon-references__intro--v2 h2 em {
  color: #7c183d;
  font-weight: 520;
}

.onon-references .onon-references__intro--v2 p {
  max-width: 590px;
  margin-top: clamp(24px, 2.5vw, 38px);
  color: #8d596c;
  font-size: 12px;
}

.onon-references__seal {
  position: relative;
  width: 100%;
  flex-basis: auto;
  border-color: rgba(134,25,67,.25);
  background: transparent;
  color: #861943;
  backdrop-filter: none;
  animation-duration: 7s;
}

.onon-references__seal::before,
.onon-references__seal::after {
  background: rgba(134,25,67,.16);
}

.onon-references__selection-label {
  display: none;
}

.onon-logo-wall {
  margin-inline: 0;
  background: transparent;
}

.onon-logo-card {
  min-height: clamp(155px, 12vw, 220px);
  background: rgba(255,255,255,.12);
}

@media (max-width: 767px) {
  .onon-about__line {
    will-change: auto;
  }

  .onon-about h2 {
    font-size: clamp(34px, 9.5vw, 42px);
    line-height: 1.04;
    letter-spacing: -.05em;
  }

  .onon-about__window video {
    height: 100%;
    transform: none;
    will-change: auto;
  }

  .onon-services-index__list::after {
    left: -8px;
    width: 1px;
  }

  .onon-services-index.is-visible .onon-service-row {
    transition-duration: .14s;
  }

  .onon-references {
    padding-top: 70px;
  }

  .onon-references__intro.onon-references__intro--v2 {
    min-height: 0;
    margin: 0;
    padding: 44px 0 38px;
    display: block;
    border-radius: 0;
  }

  .onon-references__eyebrow {
    margin-bottom: 24px;
  }

  .onon-references .onon-references__intro--v2 h2 {
    font-size: clamp(38px, 10.8vw, 48px);
    line-height: 1;
  }

  .onon-references .onon-references__intro--v2 p {
    max-width: 330px;
    margin-top: 23px;
    font-size: 11px;
  }

  .onon-references__seal {
    display: none;
  }

  .onon-references__selection-label {
    min-height: 55px;
    margin: 0;
    padding: 0;
    border-radius: 0;
  }

  .onon-logo-wall {
    margin-inline: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .onon-about__line,
  .onon-services-index.is-visible .onon-service-row {
    opacity: 1 !important;
    transform: none !important;
    will-change: auto;
  }

  .onon-services-index__list::after {
    transform: scaleY(1);
  }
}
