/* intro v26 — Dieter Rams node: hex grid, bottom band, blurred ghost image, serif, typewriter */

/* Hexagon-ish grid (minimal, colour from Tailwind text-*, lines via currentColor) */
.intro-node__hex {
    background-image:
        repeating-linear-gradient(60deg, currentColor 0 1px, transparent 1px 26px),
        repeating-linear-gradient(-60deg, currentColor 0 1px, transparent 1px 26px);
    opacity: 0.1;
}

.intro-node__band { height: 10rem; opacity: 0.7; }

/* Blurred background photo behind the spotlight node */
.intro-node__ghost { height: 14rem; }
.intro-node__img {
    object-fit: cover;
    filter: blur(10px);
    opacity: 0.35;
    transform: scale(1.08);
}

/* Serif heading */
.intro-node__serif {
    font-family: ui-serif, Georgia, "Times New Roman", serif;
}

/* Org-chart stem connector */
.intro-node__stem {
    width: 1px;
    height: 2rem;
}

/* Typewriter caret */
.intro-node__type .is-typing {
    border-right: 2px solid currentColor;
    animation: intro-node-caret 800ms step-end infinite;
}
@keyframes intro-node-caret {
    50% { border-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
    .intro-node__type .is-typing { animation: 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;
}

/* v24 - ascending staircase offsets (per-index transform has no TW/BS utility) */
@media (min-width: 640px) {
    [data-stair-step] {
        transition: transform 200ms ease;
    }

    [data-stair-step="0"] {
        transform: translateX(0);
    }

    [data-stair-step="1"] {
        transform: translateX(1.5rem);
    }

    [data-stair-step="2"] {
        transform: translateX(3rem);
    }

    [data-stair-step="3"] {
        transform: translateX(4.5rem);
    }

    [data-stair-step="4"] {
        transform: translateX(6rem);
    }
}


.storyblock-chapter__bg-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.storyblock-chapter__heading-row-trail { margin-bottom: 2rem; }

.content-heading-gap {
    margin-bottom: 2rem;
}

.content-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}


.beacon-signal__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.beacon-signal__inner {
    max-width: 64rem;
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 1.5rem;
}

@keyframes beacon-signal-pin-blink-seq {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.beacon-signal__pin--blink {
    animation: beacon-signal-pin-blink-seq 2s cubic-bezier(.4,0,.6,1) infinite;
}

.beacon-signal__slab--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

.beacon-signal__record--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

.beacon-signal__prompt--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

.beacon-signal__action--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

/* Equal columns + row/column gap (flex-wrap + content width caused uneven cards) */
.beacon-signal__surround-row-bs {
    display: grid;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
    row-gap: 1.5rem;
}

@media (min-width: 768px) {
    .beacon-signal__surround-row-bs {
        column-gap: 1.25rem;
        row-gap: 1.75rem;
    }
}

@media (min-width: 992px) {
    .beacon-signal__surround-row-bs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 1.5rem;
        row-gap: 1.75rem;
    }
}

.beacon-signal__surround-row-bs > .beacon-signal__record--glow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    min-width: 0;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

