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

.services-minimal__serif,
[data-serif] {
    font-family: Georgia, "Times New Roman", Times, serif;
}

.services-minimal__body {
    min-width: 0;
}

/* process glassmorphism — fog blobs, backdrop blur, rune decor, num sizing */
.process-glass__fog {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.process-glass__fog::before {
    content: '';
    position: absolute;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    filter: blur(5rem);
    opacity: 0.1;
    top: -10rem;
    left: -5rem;
    background: var(--bs-primary);
}

.process-glass__fog::after {
    content: '';
    position: absolute;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    filter: blur(5rem);
    opacity: 0.07;
    bottom: -8rem;
    right: -5rem;
    background: var(--bs-primary);
}

.process-glass__card {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.process-glass__card-hov:hover,
.process-glass__card-hov:focus-within {
    transform: translateY(-0.35rem);
    box-shadow: var(--bs-box-shadow-lg);
}

.process-glass__detail {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 280ms ease, opacity 220ms ease, margin-top 220ms ease;
}

.process-glass__card-hov:hover .process-glass__detail,
.process-glass__card-hov:focus-within .process-glass__detail {
    max-height: 12rem;
    opacity: 1;
    margin-top: 0.25rem;
}

.process-glass__rune {
    position: absolute;
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0.04;
    bottom: -0.5rem;
    right: 1rem;
    pointer-events: none;
    user-select: none;
}

.process-glass__num {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
    .process-glass__card,
    .process-glass__detail {
        transition: none;
    }

    .process-glass__card-hov:hover,
    .process-glass__card-hov:focus-within {
        transform: none;
    }

    .process-glass__detail {
        max-height: none;
        opacity: 1;
        overflow: visible;
    }
}

.stats__icon-dim {
  width: 4rem;
  height: 4rem;
}

.stats__decor-corner-ring {
  bottom: 1rem;
  right: 1rem;
  width: 1.5rem;
  height: 1.5rem;
}

.stats__decor-corner-dot {
  bottom: 1rem;
  left: 1rem;
  width: 0.75rem;
  height: 0.75rem;
}

.stats-card-hover {
  transition:
    box-shadow 0.5s ease,
    transform 0.5s ease;
}

.stats-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: scale(1.05);
}

.stats-gradient-overlay-hover {
  transition: opacity 0.5s ease;
  opacity: 0;
}

.stats-card-hover:hover .stats-gradient-overlay-hover {
  opacity: 1;
}

.stats-icon-box-hover {
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.stats-card-hover:hover .stats-icon-box-hover {
  box-shadow:
    0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  transform: scale(1.1) rotate(3deg);
}

.stats-icon-inner-hover {
  transition: transform 0.3s ease;
}

.stats-card-hover:hover .stats-icon-inner-hover {
  transform: scale(1.1);
}

.stats-decor-ring-hover {
  opacity: 0.2;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.stats-card-hover:hover .stats-decor-ring-hover {
  opacity: 0.4;
  transform: scale(1.5);
}

.stats-decor-dot-hover {
  opacity: 0.3;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.stats-card-hover:hover .stats-decor-dot-hover {
  opacity: 0.6;
  transform: scale(1.25);
}

/* Лише layout / рух; кольори теми — у Blade */
.socialproof-card-hover {
    transition:
        box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.socialproof__stat-value,
.socialproof__stat-label {
    transition: transform 0.3s ease, color 0.2s ease;
}

@media (hover: hover) {
    .socialproof-card-hover:hover {
        box-shadow: 0 22px 44px -18px rgba(15, 23, 42, 0.2);
    }

    .dark .socialproof-card-hover:hover {
        box-shadow: 0 22px 44px -14px rgba(0, 0, 0, 0.5);
    }

    .socialproof-card-hover:hover .socialproof__stat-value {
        transform: scale(1.08);
    }
}

@media (hover: hover) and (min-width: 640px) {
    .socialproof-card-hover--lift:hover {
        transform: translateY(-4px) scale(1.02);
    }
}

@media (prefers-reduced-motion: reduce) {
    .socialproof-card-hover,
    .socialproof__stat-value,
    .socialproof__stat-label {
        transition: none;
    }

    .socialproof-card-hover:hover,
    .socialproof-card-hover:hover .socialproof__stat-value,
    .socialproof-card-hover--lift:hover {
        transform: none;
    }
}

.socialproof__track {
    display: flex;
    width: max-content;
    animation: socialproof-marquee-scroll 35s linear infinite;
}

.socialproof__track:hover {
    animation-play-state: paused;
}

@keyframes socialproof-marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.socialproof__wrapper {
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.socialproof__icon-slot {
    width: 1.5rem;
    flex-shrink: 0;
}

.socialproof__stat-label {
    font-size: 0.7rem;
}

