/* UNITIC About motion layer. Static content remains visible and usable if the
   module fails; every enhancement is scoped to .about-page. */

.about-page { overflow-x: clip; }

/* The shared stylesheet has CSS entrances for non-React marketing pages.
   About is owned by GSAP, so prevent competing animations. */
.about-page .pv-hero .breadcrumbs,
.about-page .pv-copy > .pv-kicker,
.about-page .pv-h1-wrap,
.about-page .pv-hero .pv-sub,
.about-page .pv-hero-ctas,
.about-page .pv-media,
.about-page .pv-sticker,
.about-page .pv-f-bolt {
  animation: none !important;
}

/* Free SplitLines masks. aria-label stays on the original heading while these
   visual fragments are aria-hidden. */
.about-page .motion-measure { display: inline; }
.about-page .motion-word { display: inline-block; }
.about-page .motion-line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.about-page .motion-line-inner { display: inline-block; }
.about-page .motion-emphasis { position: relative; }
.about-page .motion-emphasis-ink {
  position: absolute;
  inset: 0;
  color: #DD7800;
  opacity: 0;
  pointer-events: none;
}

/* -------------------------------------------------------------------------
   Three-step story: static/mobile first; pinning is enabled only after the
   motion controller is alive and only on desktop.
   ------------------------------------------------------------------------- */
.about-page .pv-process {
  position: relative;
  color: var(--p-on);
  background: var(--p-d1);
  border-bottom: 2px solid var(--p-bd1);
}
.about-page .pv-process-pin {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 24px;
}
.about-page .pv-process-step {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(36px, 6vw, 72px);
  padding: clamp(40px, 6vw, 76px) 0;
  border-bottom: 1px solid var(--p-bd2);
}
.about-page .pv-process-step:last-child { border-bottom: 0; }
.about-page .pv-process-progress { display: none; }

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .about-page.motion-enhanced .pv-process-pin {
    height: 100svh;
    min-height: 680px;
    display: flex;
    align-items: center;
    padding-top: 92px;
    padding-bottom: 40px;
  }
  .about-page.motion-enhanced .pv-process-steps {
    position: relative;
    width: 100%;
    height: min(620px, calc(100svh - 132px));
  }
  .about-page.motion-enhanced .pv-process-step {
    position: absolute;
    inset: 0;
    padding: 0 0 0 54px;
    border: 0;
  }
  .about-page.motion-enhanced .pv-process-progress {
    display: flex;
    position: absolute;
    z-index: 4;
    left: 24px;
    top: 50%;
    height: 132px;
    width: 14px;
    transform: translateY(-50%);
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  .about-page .pv-process-line {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 50%;
    width: 1px;
    background: rgba(255,255,255,.16);
    transform: translateX(-50%);
  }
  .about-page .pv-process-line i {
    display: block;
    width: 100%;
    height: 100%;
    background: #DD7800;
    transform: scaleY(0);
    transform-origin: 50% 0;
  }
  .about-page .pv-process-dot {
    position: relative;
    z-index: 2;
    width: 12px;
    height: 12px;
    padding: 3px;
    border-radius: 50%;
    background: var(--p-d1);
    border: 1px solid rgba(255,255,255,.35);
  }
  .about-page .pv-process-dot i {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: #DD7800;
    transform: scale(0);
  }
}

@media (max-width: 1023px) {
  .about-page .pv-process-step { grid-template-columns: 1fr; }
  .about-page .pv-process-step .pv-visual { margin-top: 8px; }
}

/* -------------------------------------------------------------------------
   Category marquee
   ------------------------------------------------------------------------- */
.about-page .motion-marquee {
  width: 100%;
  margin: 30px 0 20px;
  overflow: hidden;
}
.about-page .motion-marquee-row { overflow: hidden; padding: 5px 0; }
.about-page .motion-marquee-track {
  display: flex;
  width: max-content;
  gap: 10px;
  will-change: transform;
}
.about-page .motion-marquee-track .ab-chip { flex: 0 0 auto; }

/* -------------------------------------------------------------------------
   Finishing touches
   ------------------------------------------------------------------------- */
.about-page .motion-fill {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.about-page .motion-fill::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #5C2E0F;
  transform: translateX(-102%);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.about-page .motion-fill:hover::before,
.about-page .motion-fill:focus-visible::before { transform: translateX(0); }

.about-page .pv-nav-links a,
.about-page .pv-menu-links a,
.about-page .pv-f-col a {
  position: relative;
  text-decoration: none;
}
.about-page .pv-nav-links a::after,
.about-page .pv-menu-links a::after,
.about-page .pv-f-col a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.about-page .pv-nav-links a:hover::after,
.about-page .pv-menu-links a:hover::after,
.about-page .pv-f-col a:hover::after { transform: scaleX(1); }

.about-page .pv-aud {
  transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s cubic-bezier(.16,1,.3,1);
}
@media (hover: hover) and (pointer: fine) {
  .about-page .pv-aud:hover,
  .about-page .pv-aud:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px -26px rgba(0,0,0,.75);
  }
}

.about-page .motion-faq-chevron {
  flex: 0 0 auto;
  font-size: 26px;
  line-height: 1;
  color: rgba(247,242,234,.55);
  transform-origin: 50% 50%;
}
.about-page.motion-enhanced details.ab-faq-item summary::after { display: none; }
.about-page.motion-enhanced .ab-faq-a { overflow: hidden; padding: 0 32px; }
.about-page.motion-enhanced .ab-faq-a p { padding-bottom: 26px; }
.about-page.motion-enhanced details.ab-faq-item::details-content {
  transition: none;
  height: auto;
  overflow: visible;
}

@media (hover: hover) and (pointer: fine) {
  .about-page.motion-enhanced .pv-aud-extra {
    grid-template-rows: 1fr;
    opacity: 1;
  }
  .about-page.motion-enhanced .pv-aud::after { opacity: .35; }
  .about-page.motion-enhanced .pv-aud-kicker { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .about-page .motion-line-inner,
  .about-page .motion-emphasis,
  .about-page .motion-marquee-track,
  .about-page .pv-aud,
  .about-page .motion-fill::before { transition: none !important; transform: none !important; }
}
