.folio-grid-bg {
    background-image:
        linear-gradient(rgba(var(--bs-emphasis-color-rgb, 33, 37, 41), 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--bs-emphasis-color-rgb, 33, 37, 41), 0.06) 1px, transparent 1px);
    background-size: 1.5rem 1.5rem;
}

.dark .folio-grid-bg {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

.folio-glow {
    width: 24rem;
    height: 24rem;
    filter: blur(3rem);
    bottom: 0;
    left: -6rem;
}

.folio-cap {
    border-color: rgba(var(--bs-emphasis-color-rgb), 0.12);
}

.folio-sq-9 {
    width: 2.25rem;
    height: 2.25rem;
}

/* Вертикальний tagline на md+ */
@media (min-width: 768px) {
    .folio-rail-tagline {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        text-orientation: mixed;
        max-height: 22rem;
    }
}

.folio-rail-bs {
    width: min(100%, 16rem);
    min-height: min(22rem, 50vh);
    padding-right: 1.75rem;
    border-color: rgba(var(--bs-emphasis-color-rgb), 0.15) !important;
}

.folio-title-rule-bs {
    width: 4rem;
    height: 0.25rem;
    background-color: var(--bs-primary);
}

.folio-tile-bs {
    border: 1px solid rgba(var(--bs-emphasis-color-rgb), 0.12);
    border-radius: var(--bs-border-radius-xl, 0.75rem);
    background-color: var(--bs-body-bg);
    padding: 1rem;
    box-shadow: var(--bs-box-shadow-sm);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.folio-tile-bs:hover {
    border-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.35) !important;
    box-shadow: var(--bs-box-shadow);
}

.folio-cta {
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.folio-cta:hover {
    transform: translateY(-2px);
}

.folio-cta-bs {
    color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    background-color: transparent !important;
}

.folio-cta-bs:hover {
    color: #fff !important;
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.split-screen-halo {
    width: 600px;
    height: 600px;
}

.split-screen-halo-soft {
    width: 500px;
    height: 500px;
}

.split-screen-beam-main {
    width: 24rem;
    height: 1px;
}

.split-screen-beam-side {
    width: 20rem;
    height: 1px;
}

.split-screen-frame {
    width: 6rem;
    height: 6rem;
}

.split-screen-orb {
    width: 4rem;
    height: 4rem;
}

.split-screen-marker {
    width: 2rem;
    height: 2rem;
}

.split-screen-emblem {
    width: 5rem;
    min-width: 5rem;
    height: 5rem;
    min-height: 5rem;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@keyframes marquee-tabs-timeline__marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee-tabs-timeline__marquee-track {
    overflow: hidden;
}

.marquee-tabs-timeline__marquee-inner {
    animation: marquee-tabs-timeline__marquee 18s linear infinite;
    display: inline-flex;
}

.marquee-tabs-timeline__panel--hidden {
    display: none !important;
}

.marquee-tabs-timeline__tab--inactive {
    border: 1px solid var(--bs-secondary, #dee2e6);
    color: var(--bs-secondary, #6c757d);
    background-color: var(--bs-light, #f8f9fa);
}

.marquee-tabs-timeline__tab--active {
    background-color: var(--bs-primary, #0d6efd);
    color: #fff;
    border-color: var(--bs-primary, #0d6efd);
}

@keyframes marquee-tabs-timeline__panel-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.marquee-tabs-timeline__panel:not(.marquee-tabs-timeline__panel--hidden) {
    animation: marquee-tabs-timeline__panel-in 0.3s ease forwards;
}

.marquee-tabs-timeline__top-accent {
    height: 4px;
}

.marquee-tabs-timeline__icon-size {
    width: 4rem;
    height: 4rem;
}

/* team v21 — horizontal carousel (layout + motion; colors in Blade) */
.team-carousel__carousel-wrap {
  max-width: 100%;
}

.team-carousel__carousel {
  gap: 1.5rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.team-carousel__carousel::-webkit-scrollbar {
  display: none;
}

.team-carousel__slide {
  flex: 0 0 17.5rem;
  width: 17.5rem;
  scroll-snap-align: start;
}

.team-carousel__card-media {
  height: 12rem;
}

.team-carousel__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-carousel__nav {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms ease, background-color 200ms ease;
}

.team-carousel__nav:hover {
  transform: translateY(-50%) scale(1.08);
}

.team-carousel__nav--prev,
.team-carousel__nav--next {
  transform: translateY(-50%);
}

.team-carousel__nav--prev:hover,
.team-carousel__nav--next:hover {
  transform: translateY(-50%) scale(1.08);
}

