.hive-card {
    clip-path: polygon(18% 0%, 82% 0%, 100% 50%, 82% 100%, 18% 100%, 0% 50%);
    min-height: 22rem;
    padding: 3.75rem 3.25rem 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hive-card-icon {
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hive-card-glow,
.hive-card-accent {
    transition: transform 0.4s ease, opacity 0.3s ease, width 0.4s ease;
}

.hive-card:hover {
    transform: translateY(-0.4rem);
    box-shadow: var(--bs-box-shadow-lg);
    border-color: rgba(var(--bs-primary-rgb), 0.35) !important;
}

.hive-card:hover .hive-card-glow {
    transform: translate(1rem, -1rem) scale(1.12);
}

.hive-card:hover .hive-card-icon {
    transform: rotate(10deg) scale(1.04);
    box-shadow: var(--bs-box-shadow);
}

.hive-card:hover .hive-card-accent {
    width: 70% !important;
}

@media (max-width: 767.98px) {
    .hive-card {
        clip-path: none;
        min-height: 0;
        padding: 1.5rem;
        border-radius: 1.5rem;
    }
}

.feature-card-surface {
    position: relative;
    isolation: isolate;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.feature-card-surface > * {
    position: relative;
    z-index: 1;
}

.feature-card-surface::before {
    content: "";
    position: absolute;
    inset: calc(var(--bs-gutter-y, 1rem) * 0.5) calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    border-radius: inherit;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color-translucent);
    box-shadow: var(--bs-box-shadow-sm);
    z-index: 0;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.feature-card-surface:hover:before {
    box-shadow: var(--bs-box-shadow-lg);
    border-color: rgba(var(--bs-primary-rgb), 0.3);
}

/* -- Feature card hover -- */
.feat-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feat-card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.12) !important;
}

/* -- Icon box sizing -- */
.feat-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 2.5rem;
    min-height: 2.5rem;
}
.feat-icon-box--lg {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
}
.feat-icon-box--xl {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
}
.feat-icon-box--circle {
    border-radius: 50%;
}

/* -- Nav/filmstrip button hover -- */
.feat-btn-nav {
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.feat-btn-nav:hover {
    transform: scale(1.1);
}

/* -- Table row hover -- */
.feat-table-row-hover {
    transition: background-color 0.15s ease;
}
.feat-table-row-hover:hover {
    background-color: var(--bs-primary-bg-subtle) !important;
}

/* -- Accordion item hover -- */
.feat-accordion-hover summary:hover {
    background-color: var(--bs-primary-bg-subtle);
    border-radius: 0.75rem;
}

/* -- DL item hover -- */
.feat-dl-item-hover {
    transition: background-color 0.15s ease;
    border-radius: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.feat-dl-item-hover:hover {
    background-color: var(--bs-primary-bg-subtle);
}

/* -- Deck button hover -- */
.feat-deck-btn {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.feat-deck-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
/* 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);
}

/* Dot grid background */
.integrations__dot-grid {
    background-image: radial-gradient(circle, currentColor 1px, transparent 1px);
    background-size: 28px 28px;
    color: rgb(148 163 184 / 0.3);
}

/* v11 fixed sizes (Bootstrap branch; no colors) */
.integrations-v11__icon-tile {
    width: 3rem;
    height: 3rem;
}

.integrations-v11__center-dot {
    width: 1.25rem;
    height: 1.25rem;
    border: 4px solid var(--bs-body-bg);
}

.integrations-v11__step-dot {
    width: 0.5rem;
    height: 0.5rem;
}

.integrations-v11__card-col {
    width: 100%;
}

@media (min-width: 768px) {
    .integrations-v11__card-col {
        width: 41.666667%;
    }
}

.integrations-v11__dot-col {
    width: 16.666667%;
}

.integrations-v11__number {
    font-size: 3.75rem;
    line-height: 1;
    font-weight: 900;
    opacity: 0.25;
    user-select: none;
}

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

