/* intro v21 — Loewe fold: vertical heading, watercolor blob, sketch figure, load rise */

/* Rotated 90° vertical heading */
.intro-fold__vtitle {
    writing-mode: vertical-rl;
    white-space: nowrap;
    line-height: 1;
}
@media (max-width: 767.98px) {
    .intro-fold__vtitle { writing-mode: horizontal-tb; }
}

/* Wax-seal / watercolor blob */
.intro-fold__blob {
    width: 24rem;
    height: 24rem;
    filter: blur(56px);
    opacity: 0.4;
    border-radius: 42% 58% 63% 37% / 45% 38% 62% 55%;
}

/* Drop-cap lead (framework-agnostic ::first-letter, no TW variant dependency) */
.intro-fold__lead::first-letter {
    font-size: 3rem;
    font-weight: 900;
    float: left;
    line-height: 0.9;
    margin-right: 0.75rem;
}

/* Like button fixed size (no BS w-N/h-N utility) */
.intro-fold__like {
    width: 2.25rem;
    height: 2.25rem;
}

/* Hand-drawn sketch treatment on the figure */
.intro-fold [data-figure] { aspect-ratio: 16 / 9; }
.intro-fold__img {
    object-fit: cover;
    filter: grayscale(0.35) contrast(1.12) saturate(0.9);
}

/* Subtle scale-up on load (0.92 → 1) */
.intro-fold__rise {
    opacity: 0;
    transform: scale(0.92);
    animation: intro-fold-rise 620ms ease forwards;
}
@keyframes intro-fold-rise {
    to { opacity: 1; transform: scale(1); }
}

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

.content-disclaimer-logo__mark {
    width: 5rem;
    height: 5rem;
}

.content-disclaimer-logo__mark--small {
    width: 3rem;
    height: 3rem;
}

.content-disclaimer-logo__mark--large {
    width: 6rem;
    height: 6rem;
}

.content-disclaimer-logo__mark svg {
    display: block;
    width: 100%;
    height: 100%;
}

.content-disclaimer-ticker__rail {
    animation: content-disclaimer-drift 9s ease-in-out infinite alternate;
}

.content-disclaimer-orb--large {
    width: 12rem;
    height: 12rem;
    animation: content-disclaimer-float 8s ease-in-out infinite;
}

.content-disclaimer-orb--small {
    width: 7rem;
    height: 7rem;
    animation: content-disclaimer-float 7s ease-in-out infinite reverse;
}

.content-disclaimer-corner {
    width: 4rem;
    height: 4rem;
    pointer-events: none;
}

.content-disclaimer-orbit__ring {
    animation: content-disclaimer-spin 14s linear infinite;
}

.content-disclaimer-rail__accent {
    width: 100%;
    height: 0.75rem;
    flex-shrink: 0;
    animation: content-disclaimer-grow 5s ease-in-out infinite alternate;
}

.content-disclaimer-pattern {
    pointer-events: none;
}

.content-disclaimer-pulse {
    width: 0.75rem;
    height: 0.75rem;
    animation: content-disclaimer-pulse 1.8s ease-in-out infinite;
}

@media (min-width: 768px) {
    .content-disclaimer-rail__accent {
        width: 0.75rem;
        height: auto;
    }
}

@keyframes content-disclaimer-drift {
    from { transform: translateX(-1rem); }
    to { transform: translateX(1rem); }
}

@keyframes content-disclaimer-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(0.75rem); }
}

@keyframes content-disclaimer-spin {
    from { transform: rotate(0deg) scale(1); }
    to { transform: rotate(360deg) scale(1.04); }
}

@keyframes content-disclaimer-grow {
    from { transform: scaleX(0.75); }
    to { transform: scaleX(1); }
}

@keyframes content-disclaimer-pulse {
    0%, 100% { transform: scale(1); opacity: 0.65; }
    50% { transform: scale(1.35); opacity: 1; }
}

/* process kanban — geometric decor, icon/body sizing */
.process-kb__geo {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.process-kb__geo::before {
    content: '';
    position: absolute;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    border: 3.5rem solid currentColor;
    opacity: 0.04;
    top: -7rem;
    right: -7rem;
}
.process-kb__geo::after {
    content: '';
    position: absolute;
    width: 10rem;
    height: 10rem;
    border: 2.5rem solid currentColor;
    opacity: 0.04;
    bottom: -3rem;
    left: -3rem;
}
.process-kb__icon {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}
.process-kb__body {
    min-width: 0;
}

/* 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: 20px 20px;
}

/* v23 — Zigzag alternating list: sizing, max-width, transitions (no colors) */
.integrations-zigzag-list__entry {
    width: 100%;
    max-width: 90%;
}

@media (min-width: 576px) {
    .integrations-zigzag-list__entry {
        max-width: 85%;
    }
}

.integrations-zigzag-list__entry:hover .integrations__icon-tile {
    transform: scale(1.05);
}

.integrations-zigzag-list__tile-size {
    width: 4rem;
    height: 4rem;
    flex: none;
}

.integrations-zigzag-list__card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Hover: icon-tile scale already handled above; h3 color moved out of the sem directive */
.integrations-zigzag-list__entry .integrations__icon-tile { transition: transform 0.3s ease; }
.integrations-zigzag-list__entry h3 { transition: color 0.3s ease; }
.integrations-zigzag-list__entry:hover h3 { color: var(--bs-primary, rgb(var(--tw-primary-400) / 1)); }
.dark .integrations-zigzag-list__entry:hover h3 { color: var(--bs-primary, rgb(var(--tw-primary-600) / 1)); }

@keyframes pull-quote-monocle-timeline__fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.pull-quote-monocle-timeline__visible {
    animation: pull-quote-monocle-timeline__fade-up 0.7s ease forwards;
}

.pull-quote-monocle-timeline__quote-decor {
    font-size: 160px;
    line-height: 1;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.pull-quote-monocle-timeline__quote-decor--left {
    top: 6rem;
    left: 2rem;
}

.pull-quote-monocle-timeline__quote-decor--right {
    bottom: 6rem;
    right: 2rem;
}

.pull-quote-monocle-timeline__title-size {
    font-size: clamp(1.5rem, 4vw, 3rem);
    letter-spacing: 0.15em;
}

.pull-quote-monocle-timeline__media-width {
    width: 12rem;
}

.pull-quote-monocle-timeline__thumb-square {
    aspect-ratio: 1;
}

.pull-quote-monocle-timeline__serif-font {
    font-family: Georgia, 'Times New Roman', serif;
}

.pull-quote-monocle-timeline__media-sm {
    max-width: 10rem;
}

.pull-quote-monocle-timeline__min-shrink {
  min-width: 0;
}

@media (min-width: 768px) {
    .pull-quote-monocle-timeline__item--split {
        display: flex;
        flex-direction: row-reverse;
        flex-wrap: wrap;
        gap: 3rem;
    }
}

.values-simple__thumb {
    width: 5rem;
    height: 5rem;
}

