/* intro — vault bento: copy left, rich bento right */
.vault-bento__eyebrow {
    letter-spacing: 0.12em;
}

.vault-bento__title {
    letter-spacing: -0.03em;
}

.vault-bento__stack {
    padding-left: 0.7rem;
}

.vault-bento__avatar {
    width: 2.75rem;
    height: 2.75rem;
    margin-left: -0.7rem;
    line-height: 1;
}

.vault-bento__board {
    min-height: 22rem;
    padding: 1rem;
}

.vault-bento__cloud {
    filter: blur(36px);
    width: 14rem;
    height: 10rem;
}

.vault-bento__cloud--one {
    transform: translate(-10%, -20%);
}

.vault-bento__cloud--two {
    width: 18rem;
    height: 12rem;
    transform: translate(70%, 80%);
}

.vault-bento__tile {
    padding: 1rem;
    min-height: 0;
}

.vault-bento__tile--chart {
    min-height: 11rem;
}

.vault-bento__tile--photo {
    min-height: 8rem;
}

.vault-bento__caption {
    font-size: 0.75rem;
    line-height: 1rem;
}

.vault-bento__chart {
    min-height: 5.5rem;
    overflow: visible;
}

.vault-bento__chart-fill {
    transform-origin: center bottom;
    animation: vault-bento-chart-fill 4.2s ease-in-out infinite;
}

.vault-bento__chart-line {
    stroke-dasharray: 380;
    stroke-dashoffset: 380;
    animation: vault-bento-chart-draw 4.2s ease-in-out infinite;
}

.vault-bento__chart-dot {
    animation: vault-bento-chart-dot 4.2s ease-in-out infinite;
}

.vault-bento__thumb-img {
    object-fit: cover;
}

@keyframes vault-bento-chart-fill {
    0%, 12% { opacity: 0; transform: scaleY(0.55); }
    40%, 72% { opacity: 1; transform: scaleY(1); }
    88%, 100% { opacity: 0; transform: scaleY(0.55); }
}

@keyframes vault-bento-chart-draw {
    0% { stroke-dashoffset: 380; opacity: 0.35; }
    38% { stroke-dashoffset: 0; opacity: 1; }
    72% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: 380; opacity: 0.35; }
}

@keyframes vault-bento-chart-dot {
    0%, 28% { opacity: 0; transform: translateY(5px) scale(0.6); }
    42%, 72% { opacity: 1; transform: translateY(0) scale(1); }
    88%, 100% { opacity: 0; transform: translateY(5px) scale(0.6); }
}

@media (min-width: 1024px) {
    .vault-bento__board {
        min-height: 28rem;
        padding: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vault-bento__chart-fill,
    .vault-bento__chart-line,
    .vault-bento__chart-dot {
        animation: none;
        opacity: 1;
        transform: none;
        stroke-dashoffset: 0;
    }
}

/* short stat captions sit in narrow columns on phones: long words break instead of spilling over */
.vault-bento__caption { min-width: 0; overflow-wrap: anywhere; }

/* Layout / motion — colors stay in Blade / @sem */

.gallery-mosaic-row__tile {
  transition: transform 0.3s ease;
}

.gallery-mosaic-row__tile:hover {
  transform: translateY(-0.25rem);
}

.gallery-mosaic-row__media {
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
}

.gallery-mosaic-row__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-mosaic-row__img {
    object-fit: cover;
}
.gallery-mosaic-row__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-flow-gap {
    gap: 4rem;
}

.content-prose-measure {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-body-frame {
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-medium-height {
    display: block;
    width: 100%;
    height: 18rem;
    min-height: 18rem;
    flex-shrink: 0;
    object-fit: cover;
}

/* image stagger — sm:translate-y-3 / sm:-translate-y-3 have no BS utility */
@media (min-width: 640px) {
    .content-stagger__img-up   { transform: translateY(0.75rem); }
    .content-stagger__img-down { transform: translateY(-0.75rem); }
}

/* dashed border — not a native BS utility */
.content-panel__dashed { border-style: dashed; }

/* decor line — fixed width to match w-16 */
.content-decor__line { width: 4rem; height: 0; display: block; }

/* CTA hover — transform/transition have no BS utility */
.content-cta__lift { transition: transform 150ms ease; }
.content-cta__lift:hover { transform: translateY(-2px); }

/* 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;
    width: 4rem;
    height: 4rem;
    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);
}

/* Hover effects moved out of the sem directive (custom classes, framework-independent) */
.integrations-v3__fx-card:hover .integrations__icon-tile { opacity: 0.9; }
.integrations-v3__fx-card .integrations__icon-tile i { transition: transform 0.3s ease; }
.integrations-v3__fx-card:hover .integrations__icon-tile i { transform: scale(1.1); }
.integrations-v3__fx-card h3 { transition: color 0.3s ease; }
.integrations-v3__fx-card:hover h3 { color: var(--bs-primary, rgb(var(--tw-primary-400) / 1)); }
.dark .integrations-v3__fx-card:hover h3 { color: var(--bs-primary, rgb(var(--tw-primary-600) / 1)); }
.integrations-v3__fx-card:hover .integrations-v3__overlay { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    .integrations-v3__fx-card:hover .integrations__icon-tile i { transform: none; }
}

/* subscribe v18 — geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.mailing-chat__section--py-4xl {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mxw-lg {
    max-width: 32rem !important;
}

.mailing-chat__line {
    gap: 0.75rem;
}

.mailing-chat__avatar,
.mailing-chat__send {
    width: 2.5rem;
    height: 2.5rem;
}

.mailing-chat__bubble {
    max-width: 20rem;
    padding: 0.75rem 1rem;
}

.mailing-chat__bubble--bot {
    border-bottom-left-radius: 0.25rem;
}

.mailing-chat__bubble--reply {
    border-bottom-right-radius: 0.25rem;
}

.mailing-chat__author {
    font-size: 0.75rem;
}

.mailing-chat__input {
    min-width: 0;
}

.mailing-chat__composer {
    min-height: 3rem;
}

.mailing-chat__send--hover {
    transition: transform 0.2s ease;
}

.mailing-chat__send--hover:hover {
    transform: scale(1.05);
}

.mailing-chat__bubble-in {
    animation: mailing-chat-bubble-in 0.3s ease-out;
}

@keyframes mailing-chat-bubble-in {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    .mailing-chat__bubble-in {
        animation: none;
    }
}

