/* intro v18 — Emigre clay: blurred photo, ECG draw, typewriter caret */

/* Blurred background photo, sharp panel sits over it */
.intro-clay [data-photo] {
    width: 66%;
    aspect-ratio: 4 / 3;
}
.intro-clay__img {
    object-fit: cover;
    filter: blur(5px) saturate(1.05);
    transform: scale(1.06);
}

/* Heartbeat / ECG line draw (stroke colour = currentColor from Tailwind text-*) */
.intro-clay__ecg-path {
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: intro-clay-ecg 4s linear infinite;
}
@keyframes intro-clay-ecg {
    0%   { stroke-dashoffset: 1400; }
    60%  { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -1400; }
}

/* Typewriter caret while typing */
.intro-clay__type .is-typing {
    border-right: 2px solid currentColor;
    animation: intro-clay-caret 800ms step-end infinite;
}
@keyframes intro-clay-caret {
    50% { border-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
    .intro-clay__ecg-path { animation: none; stroke-dashoffset: 0; }
}

.content-trio-showcase__image {
    display: block;
    width: 100%;
    height: 10rem;
    object-fit: cover;
}

.content-trio-showcase__image--tall {
    height: 14rem;
}

.content-trio-showcase__image--short {
    height: 8rem;
}

.content-trio-showcase__card-lift {
    transition: transform 180ms ease;
}

.content-trio-showcase__card-lift:hover {
    transform: translateY(-0.25rem);
}

.content-trio-showcase__float {
    animation: content-trio-showcase-float 7s ease-in-out infinite;
}

.content-trio-showcase__rail {
    width: 100%;
    height: 0.25rem;
}

.content-trio-showcase__thumb {
    width: 7rem;
    height: 5rem;
}

.content-trio-showcase__badge {
    width: 2.5rem;
    height: 2.5rem;
}

@media (min-width: 768px) {
    .content-trio-showcase__rail {
        width: 0.25rem;
        height: auto;
    }
}

@keyframes content-trio-showcase-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(0.5rem); }
}

.content-trio-showcase__dot {
    width: 0.5rem;
    height: 0.5rem;
}

.content-trio-showcase__float {
    width: 6rem;
    height: 6rem;
}

@media (min-width: 768px) {
    .content-trio-showcase__offset {
        margin-top: 2.5rem;
    }
}

/* process editor — brand mark sizing */
.process-editor__brand {
    letter-spacing: 0.04em;
}

/* process editor — hero bar between mega words */
.process-editor__hero-bar {
    flex: 1 1 6rem;
    height: 0.65rem;
    min-width: 3rem;
    max-width: 100%;
    align-self: flex-end;
    margin-bottom: 0.35em;
}

/* process editor — oversized condensed display type */
.process-editor__mega {
    letter-spacing: -0.06em;
    line-height: 0.82;
}

.process-editor__mega--lead {
    font-size: clamp(3.5rem, 16vw, 11rem);
}


.process-editor__mega--stack {
    font-size: clamp(3rem, 13vw, 9rem);
    margin-top: -0.08em;
}

/* process editor — italic accent word in kicker */
.process-editor__kicker {
    font-size: clamp(1.75rem, 4.5vw, 3.75rem);
}

.process-editor__kicker-accent {
    display: inline-block;
    font-size: clamp(2.25rem, 6vw, 5rem);
    line-height: 0.95;
    vertical-align: baseline;
    margin-inline: 0.15em;
}

/* process editor — vertical step nav */
.process-editor__nav-btn {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    cursor: pointer;
    outline-offset: -2px;
    transition: opacity 200ms ease, transform 200ms ease;
}

.process-editor__nav-btn.is-active {
    transform: translateX(0.25rem);
}

.process-editor__nav-btn.is-active .process-editor__nav-label {
    color: var(--tw-primary-900, var(--bs-primary));
    font-weight: 700;
}

.process-editor__nav-btn:not(.is-active) .process-editor__nav-label {
    opacity: 0.72;
}

.process-editor__panel {
    animation: process-editor-panel-in 280ms ease;
}

@keyframes process-editor-panel-in {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1023px) {
    .process-editor__hero-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .process-editor__hero-bar {
        width: 70%;
        flex: none;
        margin-bottom: 0;
    }

    .process-editor__kicker {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-editor__nav-btn,
    .process-editor__panel {
        animation: none;
        transition: none;
    }

    .process-editor__nav-btn.is-active {
        transform: none;
    }
}

/* 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);
}

/* Mosaic layout */
.integrations__mosaic-row {
    min-height: 320px;
}

.integrations__mosaic-desc {
    font-size: 0.875rem;
}

/* Mosaic tile sizing, layout and hover behaviour (no colors) */
.integrations-mosaic-overlay__tile {
    min-width: 0;
}

.integrations-mosaic-overlay__tile > img {
    transition: transform 0.7s ease;
}

.integrations-mosaic-overlay__tile--tall {
    min-height: 320px;
}

.integrations-mosaic-overlay__tile--short {
    min-height: 240px;
}

@media (min-width: 768px) {
    .integrations-mosaic-overlay__tile--wide {
        flex: 0 0 auto;
        width: 66.6667%;
    }
    .integrations-mosaic-overlay__tile--narrow {
        flex: 0 0 auto;
        width: 33.3333%;
    }
    .integrations-mosaic-overlay__tile--half {
        flex: 0 0 auto;
        width: 50%;
    }
}

.integrations-mosaic-overlay__icon {
    width: 2.5rem;
    height: 2.5rem;
}

.integrations-mosaic-overlay__category {
    letter-spacing: 0.05em;
}

.integrations-mosaic-overlay__desc {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    font-size: 0.875rem;
}

.integrations-mosaic-overlay__tile:hover > img {
    transform: scale(1.1);
}

.integrations-mosaic-overlay__tile:hover .integrations-mosaic-overlay__desc {
    max-height: 6rem;
}

@media (prefers-reduced-motion: reduce) {
    .integrations-mosaic-overlay__tile > img,
    .integrations-mosaic-overlay__desc {
        transition: none;
    }
    .integrations-mosaic-overlay__tile:hover > img {
        transform: none;
    }
}

/* Hover: overlay layers moved out of the sem directive (framework-independent; img + desc handled above) */
.integrations-mosaic-overlay__base,
.integrations-mosaic-overlay__tint { transition: opacity 0.3s ease; }
.integrations-mosaic-overlay__tile:hover .integrations-mosaic-overlay__base { opacity: 0.9; }
.integrations-mosaic-overlay__tile:hover .integrations-mosaic-overlay__tint { opacity: 1; }

/* faq v24 — luxe slide stage (click nav) */
.luxe-slides__stage {
  min-height: 100vh;
  min-height: 100dvh;
}

.luxe-slides__bg-image {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.luxe-slides__slide.is-active {
  animation: luxe-slide-fade-in 400ms ease;
}

.luxe-slides__slide.hidden {
  display: none !important;
}

@keyframes luxe-slide-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.luxe-slides__rule {
  width: 1px;
}

.luxe-slides__rule--tall {
  height: 3rem;
}

@media (min-width: 768px) {
  .luxe-slides__rule--tall {
    height: 4rem;
  }
}

.luxe-slides__eyebrow {
  letter-spacing: 0.35em;
}

.luxe-slides__headline {
  max-width: 56rem;
}

.luxe-slides__lead {
  max-width: 42rem;
}

.luxe-slides__section-title {
  width: 100%;
}

/* Sidebar: round only the inner (right) edge */
.luxe-slides__nav-panel {
  height: 100%;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

.luxe-slides__step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  cursor: pointer;
  outline-offset: 2px;
}

.luxe-slides__step-num {
  opacity: 0.7;
  font-size: 1.125rem;
  font-weight: 400;
  transition: opacity 250ms ease, font-size 250ms ease, font-weight 250ms ease;
}

.luxe-slides__step.is-active .luxe-slides__step-num {
  opacity: 1;
  font-size: 1.5rem;
  font-weight: 700;
}

.luxe-slides__step-mark {
  width: 2px;
  height: 2.5rem;
  opacity: 0;
  flex-shrink: 0;
  transition: opacity 250ms ease;
}

@media (min-width: 768px) {
  .luxe-slides__step-mark {
    height: 3rem;
  }
}

.luxe-slides__step.is-active .luxe-slides__step-mark {
  opacity: 1;
}

