/* intro v20 — Calvin Klein magazine: shimmer sheen, mist, scale-up reveal, strike-through draw */

.intro-mag__img { object-fit: cover; }
.intro-mag__figure { aspect-ratio: 21 / 9; }

/* Gold-foil sheen → shimmer sweep (gradient colours come from Tailwind, motion from CSS) */
.intro-mag__sheen {
    background-size: 220% 220%;
    animation: intro-mag-shimmer 3s linear infinite;
    opacity: 0.35;
}
@keyframes intro-mag-shimmer {
    0%   { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* Smoke / mist wisp */
.intro-mag__mist {
    width: 24rem;
    height: 24rem;
    filter: blur(48px);
    opacity: 0.4;
}

/* LED step badge fixed size (no BS w-N/h-N utility) */
.intro-mag__led {
    width: 4rem;
    height: 4rem;
}

/* Dashed connector line (no BS border-style utility) */
.intro-mag__connector {
    border-style: dashed;
}

/* Scale-up on scroll into view — hidden only once JS arms it (no-JS content stays visible) */
.intro-mag.is-armed .intro-mag__scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 560ms ease, transform 560ms ease;
}
.intro-mag.is-armed .intro-mag__scale.is-in {
    opacity: 1;
    transform: scale(1);
}

/* Strikethrough line draw on hover */
.intro-mag__strike { height: 0.125rem; width: 0; transition: width 300ms ease; }
.intro-mag__st:hover .intro-mag__strike { width: 100%; }

@media (prefers-reduced-motion: reduce) {
    .intro-mag__sheen { animation: none; }
    .intro-mag__scale { opacity: 1; transform: none; }
}

.content-grid-gap {
    gap: 2rem;
}

.content-heading-gap {
    margin-bottom: 2rem;
}

.content-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.content-img-grows {
    display: block;
    width: 100%;
    height: 16rem;
    min-height: 16rem;
    flex-shrink: 0;
    object-fit: cover;
}
@media (min-width: 992px) {
    .content-img-grows {
        height: 20rem;
        min-height: 20rem;
    }
}

/* process diagonal — bg blob, card clip-path variants, hover lift */
.process-diag__bg-blob {
    position: absolute;
    width: 35rem;
    height: 35rem;
    border-radius: 50%;
    filter: blur(6rem);
    opacity: 0.05;
    pointer-events: none;
    top: -10rem;
    left: 30%;
    background: var(--bs-primary);
}
.process-diag__card {
    transition: transform 200ms ease;
}
.process-diag__card:hover {
    transform: scale(1.01);
}
.process-diag__card--0 {
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}
.process-diag__card--1 {
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 95%);
}
.process-diag__watermark {
    z-index: 0;
    max-width: 100%;
    overflow: hidden;
    user-select: none;
}

/* advantages broadsheet — sticky heading offset + decorative corner orb (layout only, no colors) */

/* mirror Tailwind md:top-24 in Bootstrap (sticky-md-top defaults to top:0) */
.advantages-broadsheet__box {
    top: 6rem;
}

.advantages-broadsheet__orb {
    width: 20rem;
    height: 20rem;
    bottom: -6rem;
    left: -6rem;
}

/* integrations — unified hover (layout; shadow + lift; respect reduced motion) */
.integrations-card-hover {
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.integrations-card-hover:hover {
    box-shadow:
        0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);
    transform: translateY(-2px) scale(1.03);
}

.integrations-card-hover--shadow-only {
    transition: box-shadow 0.35s ease;
}

.integrations-card-hover--shadow-only:hover {
    transform: none;
    box-shadow:
        0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);
}

@media (prefers-reduced-motion: reduce) {
    .integrations-card-hover:hover {
        transform: none;
    }
}

/* Primary tile: wpg-preview --tw-primary-* | --bs-primary-scale-*; inherited --bs-primary hex */
.integrations__icon-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    --_ie-from: rgb(var(--tw-primary-500, var(--bs-primary-scale-500, 99 102 241)) / 1);
    --_ie-to: rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1);
    background-color: var(--bs-primary, rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1));
    background-image: linear-gradient(to bottom right, var(--_ie-from), var(--_ie-to));
}
.integrations__icon-tile i {
    color: inherit;
}
.integrations__icon-tile svg,
.integrations__icon-tile :is(path, circle, rect, polygon) {
    fill: currentColor;
}

/* Softer card hover shadow (avoids muddy stack with shadow-lg / BS cards) */
.integrations-card-hover:hover {
    box-shadow: 0 0.375rem 1rem rgba(15, 23, 42, 0.07);
}
.integrations-card-hover--shadow-only:hover {
    box-shadow: 0 0.375rem 1rem rgba(15, 23, 42, 0.07);
}

/* v26 matrix-table: sizing & hover-scale parity for Bootstrap (no colors) */
.integrations-matrix-table__table {
    min-width: 37.5rem;
}
.integrations-matrix-table__th-name {
    width: 11rem;
}
.integrations-matrix-table__icon-size {
    width: 2.25rem;
    height: 2.25rem;
}
.integrations-matrix-table__bar {
    width: 4rem;
    height: 0.375rem;
}
.integrations-matrix-table__row .integrations__icon-tile {
    transition: transform 0.3s ease;
}
.integrations-matrix-table__row:hover .integrations__icon-tile {
    transform: scale(1.10);
}

/* Hover effects moved out of the sem directive (custom classes, framework-independent) */
.integrations-matrix-table__row .integrations__icon-tile { transition: transform 0.2s ease; }
.integrations-matrix-table__row:hover .integrations__icon-tile { transform: scale(1.1); }
.integrations-matrix-table__row .integrations__icon-tile + span { transition: color 0.2s ease; }
.integrations-matrix-table__row:hover .integrations__icon-tile + span { color: var(--bs-primary, rgb(var(--tw-primary-400) / 1)); }
.dark .integrations-matrix-table__row:hover .integrations__icon-tile + span { color: var(--bs-primary, rgb(var(--tw-primary-600) / 1)); }
@media (prefers-reduced-motion: reduce) {
    .integrations-matrix-table__row:hover .integrations__icon-tile { transform: none; }
}

/* faq wiki-nav — layout + motion (no colors) */
.faq-wiki-nav__aside {
  width: 100%;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .faq-wiki-nav__aside {
    width: 15rem;
  }
}

.faq-wiki-nav__layout {
  min-width: 0;
}

.faq-wiki-nav__menu-body {
  min-width: 0;
}

.faq-wiki-nav__main {
  flex: 1 1 0%;
  min-width: 0;
}

.faq-wiki-nav__menu-item {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  cursor: pointer;
  outline-offset: -2px;
}

.faq-wiki-nav__panel--active {
  display: block;
}

.faq-wiki-nav__reveal-item {
  opacity: 0;
  transform: translate3d(-1.25rem, 0, 0);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-wiki-nav__reveal-item--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.faq-wiki-nav__reveal-item:nth-child(1) {
  transition-delay: 0.05s;
}

.faq-wiki-nav__reveal-item:nth-child(2) {
  transition-delay: 0.12s;
}

.faq-wiki-nav__reveal-item:nth-child(3) {
  transition-delay: 0.19s;
}

.faq-wiki-nav__reveal-item:nth-child(4) {
  transition-delay: 0.26s;
}

.faq-wiki-nav__reveal-item:nth-child(5) {
  transition-delay: 0.33s;
}

.faq-wiki-nav__reveal-main {
  opacity: 0;
  transform: translate3d(1.5rem, 0, 0);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.15s;
}

.faq-wiki-nav__reveal-main--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.faq-wiki-nav__panel--enter .faq-wiki-nav__panel-inner {
  animation: faq-wiki-nav-panel-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes faq-wiki-nav-panel-in {
  from {
    opacity: 0;
    transform: translate3d(0, 1rem, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-wiki-nav__reveal-item,
  .faq-wiki-nav__reveal-main {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .faq-wiki-nav__reveal-item:nth-child(n) {
    transition-delay: 0s;
  }

  .faq-wiki-nav__panel--enter .faq-wiki-nav__panel-inner {
    animation: none;
  }
}

