/* intro v22 — Lavazza brutalist: blueprint grid, aurora sweep, outlined heading, progressive stagger */

/* Blueprint engineering-paper grid (colour from Tailwind text-*, lines via currentColor) */
.intro-blue__grid {
    background-image:
        repeating-linear-gradient(0deg, currentColor 0 1px, transparent 1px 28px),
        repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 28px);
    opacity: 0.16;
}

/* Aurora wave sweep horizontal */
.intro-blue__aurora {
    background-size: 200% 100%;
    opacity: 0.3;
    animation: intro-blue-aurora 7s ease-in-out infinite;
}
@keyframes intro-blue-aurora {
    0%, 100% { background-position: 0% 0%; }
    50%      { background-position: 100% 0%; }
}

/* Text-stroke outlined heading (hollow fill, stroke = the element's Tailwind colour) */
.intro-blue__title {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2px currentColor;
    text-stroke: 2px currentColor;
    letter-spacing: -0.02em;
}

/* Progressive stagger reveal — pure CSS on the reliable [data-lane-item] attribute; always ends visible */
@keyframes intro-blue-rise {
    from { opacity: 0; transform: translateY(1.5rem); }
    to   { opacity: 1; transform: translateY(0); }
}
.intro-blue [data-lane-item] { animation: intro-blue-rise 500ms ease both; }
.intro-blue [data-lane-item]:nth-child(2) { animation-delay: 120ms; }
.intro-blue [data-lane-item]:nth-child(3) { animation-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
    .intro-blue__aurora { animation: none; }
    .intro-blue [data-lane-item] { animation: none; }
}

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

.services-grid-dense__dots {
    background-image: radial-gradient(currentColor 1px, transparent 1px);
    background-size: 18px 18px;
    pointer-events: none;
}

.dark .services-grid-dense__dots,
[data-bs-theme="dark"] .services-grid-dense__dots {
    color: var(--bs-primary);
}

/* v24 - ascending staircase offsets (per-index transform has no TW/BS utility) */
.climb-tier__badge {
    width: 2.75rem;
    height: 2.75rem;
}

@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);
    }
}


.splitview-scorecard__region--mb-2xl {
    margin-bottom: 4rem;
}

.splitview-scorecard__label--p-2xl {
    padding: 4rem;
}

.splitview-scorecard__column--p-2xl {
    padding: 4rem;
}

.splitview-scorecard__cell--p-2xl {
    padding: 4rem;
}

/* benefits sentinel — tabs + monitor board, layout/motion only (no colors) */
.benefits-sentinel__kicker { letter-spacing: .08em; }
.benefits-sentinel__live { display: inline-block; width: .5rem; height: .5rem; animation: benefits-sentinel-blink 1.6s ease-in-out infinite; }

.benefits-sentinel__tab { appearance: none; -webkit-appearance: none; font: inherit; cursor: pointer; outline-offset: 2px; }
.benefits-sentinel__fill { opacity: 0; transform: scale(.97); transition: opacity 300ms ease, transform 300ms ease; }
.benefits-sentinel__tab:hover .benefits-sentinel__fill { opacity: .5; transform: none; }
.benefits-sentinel__tab.is-active .benefits-sentinel__fill { opacity: 1; transform: none; }
.benefits-sentinel__bar {
    top: 1rem;
    bottom: 1rem;
    left: 0;
    width: .25rem;
    transform: scaleY(0);
    transition: transform 350ms ease;
}
.benefits-sentinel__tab.is-active .benefits-sentinel__bar { transform: scaleY(1); }
.benefits-sentinel__ico { width: 2.75rem; height: 2.75rem; transition: transform 300ms ease; }
.benefits-sentinel__tab.is-active .benefits-sentinel__ico { transform: scale(1.08); }

.benefits-sentinel__chip { width: 2.75rem; height: 2.75rem; }
.benefits-sentinel__board { min-height: 100%; }
.benefits-sentinel__pane.is-entering { animation: benefits-sentinel-enter 450ms ease both; }

.benefits-sentinel__chart { height: 9rem; }
.benefits-sentinel__chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.benefits-sentinel__chart [data-line] { stroke-dasharray: 1; stroke-dashoffset: 1; }
.benefits-sentinel__chart.is-drawn [data-line] { stroke-dashoffset: 0; transition: stroke-dashoffset 1200ms ease; }
.benefits-sentinel__chart [data-area] { opacity: 0; }
.benefits-sentinel__chart.is-drawn [data-area] { opacity: 1; transition: opacity 900ms ease 500ms; }
.benefits-sentinel__chart [data-grid] line { stroke-dasharray: 3 5; opacity: .25; }
.benefits-sentinel__pt {
    position: absolute;
    width: .75rem;
    height: .75rem;
    margin: -.375rem 0 0 -.375rem;
    transform: scale(0);
    transition: transform 300ms cubic-bezier(.5, 1.8, .5, 1);
}
.benefits-sentinel__chart.is-drawn .benefits-sentinel__pt { transform: scale(1); }
.benefits-sentinel__pt--last::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    border: 2px solid;
    animation: benefits-sentinel-beacon 2s ease-out 1.6s infinite;
}
.benefits-sentinel__axis { font-size: .75rem; line-height: 1rem; }
.benefits-sentinel__axis > span { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
.benefits-sentinel__axis > span:first-child { text-align: left; }
.benefits-sentinel__axis > span:last-child { text-align: right; }
@media (max-width: 575.98px) { .benefits-sentinel__axis > span:nth-child(even):not(:last-child) { visibility: hidden; } }
.benefits-sentinel__event > :last-child { max-width: 45%; min-width: 0; white-space: normal; overflow-wrap: anywhere; line-height: 1.2; }

.benefits-sentinel__dot { width: 2.25rem; height: 2.25rem; }
.benefits-sentinel__body { min-width: 0; }
.benefits-sentinel__event { opacity: 0; transform: translateY(.75rem); transition: opacity 400ms ease, transform 400ms ease; }
.benefits-sentinel__event.is-in { opacity: 1; transform: none; }
.benefits-sentinel__event.is-new { animation: benefits-sentinel-flash 900ms ease; }

@keyframes benefits-sentinel-blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes benefits-sentinel-enter { from { opacity: 0; transform: translateY(.75rem); } to { opacity: 1; transform: none; } }
@keyframes benefits-sentinel-beacon { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.8); opacity: 0; } }
@keyframes benefits-sentinel-flash { 0% { transform: translateY(-.75rem) scale(.98); opacity: 0; } 60% { transform: scale(1.01); opacity: 1; } 100% { transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .benefits-sentinel__live, .benefits-sentinel__pt--last::after, .benefits-sentinel__pane.is-entering, .benefits-sentinel__event.is-new { animation: none; }
    .benefits-sentinel__event { opacity: 1; transform: none; transition: none; }
    .benefits-sentinel__chart [data-line] { stroke-dashoffset: 0; }
    .benefits-sentinel__chart [data-area] { opacity: 1; }
    .benefits-sentinel__pt { transform: scale(1); transition: none; }
}

/* wpg-hidden: utility classes are renamed in production builds, so hidden states must not rely on .hidden / .d-none alone */
.benefits-sentinel[hidden], .benefits-sentinel [hidden], .benefits-sentinel .hidden.d-none { display: none !important; }
.benefits-sentinel__body > * { min-width: 0; overflow-wrap: anywhere; }

.cta-creative-hero__strings {
  position: absolute;
  inset: 0;
  bottom: 4.5rem;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.cta-creative-hero__string {
  position: absolute;
  top: -8%;
  width: 0;
  border-left-width: 1px;
  border-left-style: solid;
  transform-origin: top center;
  animation: cta-creative-hero__string-sway 4s ease-in-out infinite;
}

.cta-creative-hero__string--0 {
  left: 4%;
  height: 88%;
  animation-duration: 3.6s;
  animation-delay: 0s;
}

.cta-creative-hero__string--1 {
  left: 14%;
  height: 96%;
  animation-duration: 4.2s;
  animation-delay: -0.4s;
}

.cta-creative-hero__string--2 {
  left: 26%;
  height: 78%;
  animation-duration: 3.8s;
  animation-delay: -1.1s;
}

.cta-creative-hero__string--3 {
  left: 38%;
  height: 92%;
  animation-duration: 4.6s;
  animation-delay: -0.8s;
}

.cta-creative-hero__string--4 {
  left: 50%;
  height: 100%;
  animation-duration: 3.4s;
  animation-delay: -1.6s;
}

.cta-creative-hero__string--5 {
  left: 62%;
  height: 82%;
  animation-duration: 4.4s;
  animation-delay: -0.2s;
}

.cta-creative-hero__string--6 {
  left: 74%;
  height: 94%;
  animation-duration: 3.9s;
  animation-delay: -1.3s;
}

.cta-creative-hero__string--7 {
  left: 86%;
  height: 76%;
  animation-duration: 4.8s;
  animation-delay: -0.6s;
}

.cta-creative-hero__string--8 {
  left: 94%;
  height: 90%;
  animation-duration: 3.5s;
  animation-delay: -1.9s;
}

@keyframes cta-creative-hero__string-sway {
  0%,
  100% {
    transform: rotate(-2deg) translateX(0);
  }
  25% {
    transform: rotate(1.5deg) translateX(3px);
  }
  50% {
    transform: rotate(-1deg) translateX(-2px);
  }
  75% {
    transform: rotate(2deg) translateX(2px);
  }
}

.cta-creative-hero__wrap {
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.cta-creative-hero__subtitle-track {
  letter-spacing: 0.2em;
}

.cta-creative-hero__ring {
  inset: -0.35rem -0.5rem;
  border-radius: 9999px;
}

.cta-creative-hero__marquee-track {
  overflow: hidden;
}

.cta-creative-hero__marquee-inner {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  animation: cta-creative-hero__marquee 24s linear infinite;
}

@keyframes cta-creative-hero__marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.cta-creative-hero__cta {
  transition: filter 0.2s ease, transform 0.15s ease;
}

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

.cta-creative-hero__cta.btn:hover,
.cta-creative-hero__cta.btn:focus-visible {
  color: var(--bs-white);
  background-color: var(--bs-accent);
  border-color: var(--bs-accent);
}

@media (min-width: 768px) {
  .cta-creative-hero__wrap {
    padding-top: 5rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 767px) {
  .cta-creative-hero__strings {
    bottom: 3.5rem;
  }

  .cta-creative-hero__string--0,
  .cta-creative-hero__string--8 {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-creative-hero__string {
    animation: none;
    transform: none;
  }

  .cta-creative-hero__marquee-inner {
    animation: none;
  }

  .cta-creative-hero__cta:hover,
  .cta-creative-hero__cta:focus-visible {
    transform: none;
  }
}

