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

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

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

/* features institution — hairline dividers between trust items (width/style only, color comes from Tailwind/BS classes) */

/* BS flex child needs min-width:0 to shrink instead of overflowing on long titles (no BS utility) */
.features-inst__body {
    min-width: 0;
}

.features-inst__item:not(:first-child) {
    border-top-width: 1px;
    border-top-style: solid;
}

@media (min-width: 768px) {
    /* equal-width columns regardless of text length (basis 0 + min-width:0 lets a text-heavy item shrink) */
    .features-inst__item {
        flex: 1 1 0%;
        min-width: 0;
    }

    .features-inst__item:not(:first-child) {
        border-top-width: 0;
        border-left-width: 1px;
        border-left-style: solid;
    }
}

.cta-stagger-services__grid-lines {
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.cta-stagger-services__grid-line {
  flex: 1 1 0;
  height: 100%;
  border-inline-end-width: 1px;
  border-inline-end-style: solid;
}

.cta-stagger-services__grid-line:last-child {
  border-inline-end-width: 0;
}

.cta-stagger-services__logo {
  display: grid;
  grid-template-columns: repeat(3, 1.25rem);
  gap: 0.25rem;
}

.cta-stagger-services__logo-cell {
  width: 1.25rem;
  height: 1.25rem;
}

.cta-stagger-services__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cta-stagger-services__item--shift {
  margin-inline-start: 12%;
}

.cta-stagger-services__item-num {
  font-size: 0.875rem;
  vertical-align: super;
  line-height: 0;
  margin-inline-end: 0.35rem;
}

@media (max-width: 767px) {
  .cta-stagger-services__item--shift {
    margin-inline-start: 0;
  }
}

@media (min-width: 768px) {
  .cta-stagger-services__item--shift {
    margin-inline-start: 14%;
  }
}

/* CTA button — TW + BS */
.cta-stagger-services__cta {
  transition: filter 0.2s ease, transform 0.15s ease;
}

.cta-stagger-services__cta:hover,
.cta-stagger-services__cta:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.cta-stagger-services__cta:hover .cta-stagger-services__cta-icon,
.cta-stagger-services__cta:focus-visible .cta-stagger-services__cta-icon {
  transform: translate(2px, -2px);
}

.cta-stagger-services__cta-icon {
  transition: transform 0.2s ease;
}

/* Service strip cards — BS hover parity */
.cta-stagger-services__item-hov {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cta-stagger-services__item-hov:hover,
.cta-stagger-services__item-hov:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--bs-box-shadow-lg);
  border-color: var(--bs-primary) !important;
}

.cta-stagger-services__item-hov:hover .cta-stagger-services__item-num,
.cta-stagger-services__item-hov:focus-within .cta-stagger-services__item-num {
  color: var(--bs-primary) !important;
}

@media (prefers-reduced-motion: reduce) {
  .cta-stagger-services__cta:hover,
  .cta-stagger-services__cta:focus-visible,
  .cta-stagger-services__item-hov:hover,
  .cta-stagger-services__item-hov:focus-within {
    transform: none;
  }

  .cta-stagger-services__cta:hover .cta-stagger-services__cta-icon,
  .cta-stagger-services__cta:focus-visible .cta-stagger-services__cta-icon {
    transform: none;
  }
}

