/* intro v29 — Rolls-Royce thread: circle-expand reveal, half-ring, chat alignment, dual-layer parallax */

.intro-thread { min-height: 88vh; }

/* Clip-path circle expand from centre on load */
.intro-thread__reveal {
    animation: intro-thread-expand 900ms ease forwards;
}
@keyframes intro-thread-expand {
    from { clip-path: circle(0% at 50% 50%); }
    to   { clip-path: circle(150% at 50% 50%); }
}

/* Half-ring at the boundary (fixed size — no BS w-N/h-N utility) */
.intro-thread__half {
    width: 16rem;
    height: 8rem;
    opacity: 0.7;
    filter: blur(2px);
}
.intro-thread__sun { width: 6rem; height: 6rem; }
.intro-thread [data-msg] { max-width: 28rem; }

/* Dual-layer parallax offset (set by JS via custom props) */
.intro-thread__island [data-layer] {
    transition: transform 200ms ease-out;
    transform: translate(var(--px, 0), var(--py, 0));
}

/* Chat thread alternate alignment + retro corner tails */
.intro-thread [data-msg] { border-bottom-left-radius: 0.25rem; }
.intro-thread [data-msg]:nth-child(even) {
    margin-left: auto;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
    .intro-thread__reveal { animation: none; }
    .intro-thread__island [data-layer] { transition: none; }
}

/* group-hover та картка */
.services__tile--lift {
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.services__tile--lift:hover {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  transform: translateY(-0.75rem);
}

@media (min-width: 640px) {
  .services__tile--lift:hover {
    transform: translateY(-0.75rem) scale(1.05);
  }
}

.services__media {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services__row:hover .services__media {
  transform: scale(1.1);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.services__heading {
  transition: color 0.3s ease;
}

.services__row:hover .services__heading {
  color: #2563eb;
}

.dark .services__row:hover .services__heading {
  color: #60a5fa;
}

[data-bs-theme="dark"] .services__row:hover .services__heading {
  color: var(--bs-primary, #6ea8fe);
}

.services__accent {
  transition: width 0.3s ease;
}

.services__row:hover .services__accent {
  width: 6rem;
}

.services__badge--offset {
  top: 2rem;
  inset-inline-end: 2rem;
}

.services__decor--blur {
  filter: blur(64px);
}

.services__decor-root {
  z-index: -1;
}

/* BS: розміри блобів (TW — через w-72 / w-96 у sem) */
.services__blob-a {
  width: 18rem;
  height: 18rem;
}

.services__blob-b {
  width: 24rem;
  height: 24rem;
}

/* process spread — dotted column grid, editorial headline, fluted image band */
.process-spread__root {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.process-spread__dots {
    background-image: radial-gradient(circle, currentColor 0.75px, transparent 0.75px);
    background-size: 4.5rem 100%;
    opacity: 0.12;
}

.process-spread__headline {
    letter-spacing: -0.03em;
}

.process-spread__hero {
    position: relative;
    min-height: 18rem;
    padding: 1.5rem;
}

.process-spread__orb {
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 0;
    transform: translate(-50%, -50%);
}

.process-spread__orb-scene {
    position: relative;
    width: 20rem;
    height: 20rem;
}

.process-spread__orb-ring {
    position: absolute;
    border-style: solid;
    border-color: currentColor;
}

.process-spread__orb-ring--outer {
    inset: 0;
    border-width: 1px;
    opacity: 0.35;
    animation: process-spread-spin 14s linear infinite;
}

.process-spread__orb-ring--inner {
    top: 17.5%;
    left: 17.5%;
    width: 65%;
    height: 65%;
    border-width: 2px;
    opacity: 0.55;
    animation: process-spread-spin 9s linear infinite reverse;
}

.process-spread__orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 20%;
    height: 20%;
    margin-top: -10%;
    margin-left: -10%;
    animation: process-spread-pulse 2.8s ease-in-out infinite;
}

@keyframes process-spread-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes process-spread-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.85;
    }

    50% {
        transform: scale(1.18);
        opacity: 1;
    }
}

@media (min-width: 768px) {
    .process-spread__root {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .process-spread__hero {
        min-height: 22rem;
        padding: 2rem;
    }

    .process-spread__orb-scene {
        width: 26rem;
        height: 26rem;
    }
}

@media (min-width: 992px) {
    .process-spread__root {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .process-spread__hero {
        min-height: 28rem;
        padding: 2.5rem;
    }

    .process-spread__orb-scene {
        width: 33rem;
        height: 33rem;
    }
}

.process-spread__step-num {
    min-width: 1.75rem;
    font-variant-numeric: tabular-nums;
}

.process-spread__media {
    width: 100%;
    margin-inline-start: 0;
    aspect-ratio: 4 / 3;
    min-height: 18rem;
}

@media (min-width: 992px) {
    .process-spread__media {
        aspect-ratio: auto;
        min-height: 100%;
        height: 100%;
    }
}

.process-spread__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-spread__flute {
    width: 46%;
    pointer-events: none;
    opacity: 0.55;
    mix-blend-mode: overlay;
    background-image: repeating-linear-gradient(
        90deg,
        currentColor 0,
        currentColor 1px,
        transparent 1px,
        transparent 13px
    );
    backdrop-filter: blur(1px) saturate(1.15);
    -webkit-backdrop-filter: blur(1px) saturate(1.15);
    mask-image: linear-gradient(90deg, black 0%, black 72%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, black 0%, black 72%, transparent 100%);
}

@media (max-width: 991px) {
    .process-spread__media {
        aspect-ratio: 16 / 10;
    }

    .process-spread__flute {
        width: 42%;
    }
}


.spectrum-rubric__panel--rise:hover { transform: scale(1.05); transition: transform .2s ease; }

.content-ledger__stem {
    height: 4rem;
    transform: translateX(-50%);
}


.pulse-boost__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.pulse-boost__inner {
    max-width: 72rem;
    width: 100%;
    box-sizing: border-box;
}

/* Bootstrap: col-* внутри d-flex без .row даёт неверную ширину и обрезание справа */
.pulse-boost__split-row-bs {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .pulse-boost__split-row-bs {
        flex-direction: row;
        align-items: center;
    }

    .pulse-boost__split-row-bs > * {
        flex: 1 1 0;
        min-width: 0;
        max-width: 50%;
        box-sizing: border-box;
    }
}

.pulse-boost__vessel--rise:hover { transform: scale(1.05); transition: transform .2s ease; }

@keyframes pulse-boost-highlight-throb-track {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.pulse-boost__highlight--throb {
    animation: pulse-boost-highlight-throb-track 2s cubic-bezier(.4,0,.6,1) infinite;
}

.pulse-boost__jump--rise:hover { transform: scale(1.05); transition: transform .2s ease; }

.pulse-boost__control--rise:hover { transform: scale(1.05); transition: transform .2s ease; }

