.hero-v27-block {
    max-width: 48rem;
}

.hero-v27-media {
    max-width: 64rem;
}

.hero-v27-glow {
    top: -1rem;
    left: 4rem;
    right: 4rem;
    height: 6rem;
    filter: blur(48px);
}

/* -- Button hover states -- */
.hero-btn-primary {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.hero-btn-primary:hover,
.hero-btn-primary:focus {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.hero-btn-outline-secondary {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-secondary:hover,
.hero-btn-outline-secondary:focus {
    background-color: var(--bs-secondary) !important;
    color: #fff !important;
    border-color: var(--bs-secondary) !important;
    transform: translateY(-1px);
}

.hero-btn-outline-primary-light {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-primary-light:hover,
.hero-btn-outline-primary-light:focus {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    border-color: var(--bs-primary) !important;
    transform: translateY(-1px);
}
.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);
}

.values-mission-panel__col {
    max-width: 24rem;
}

.values-mission-panel__thumb {
    width: 6rem;
    height: 6rem;
}

.values-mission-panel__card {
    max-width: 24rem;
}

/* team v19 — masonry with corner dots */
.team-masonry__media {
  height: 16rem;
}

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

.team-masonry__card-accent {
  width: 0.25rem;
  z-index: 1;
}

.team-masonry__decor {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0.08;
  pointer-events: none;
}

.team-masonry__decor--top-left {
  top: -40px;
  left: -40px;
  background-color: currentColor;
}

.team-masonry__decor--bottom-right {
  bottom: -40px;
  right: -40px;
  background-color: currentColor;
}

@media (max-width: 768px) {
  .team-masonry__decor {
    width: 80px;
    height: 80px;
  }
}


.halo-signup__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.halo-signup__inner {
    max-width: 64rem;
}

@keyframes halo-signup-spark-beat-track {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.halo-signup__spark--beat {
    animation: halo-signup-spark-beat-track 2s cubic-bezier(.4,0,.6,1) infinite;
}

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

