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

/* Bootstrap: grid + gap (row gutters often collapse) */
.tips-detailed__bs-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .tips-detailed__bs-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.tips-detailed__subtitle-max {
    max-width: 42rem;
}

.tips-detailed__thumb {
    width: 3rem;
    height: 3rem;
}

.tips-detailed__cta-thumb {
    width: 2rem;
    height: 2rem;
}

.tips-detailed__min-shrink {
    min-width: 0;
}

.content-rail__side {
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .content-rail__side {
        width: 8rem;
    }

    .content-rail__vertical {
        writing-mode: vertical-rl;
        text-orientation: mixed;
    }
}

/* faq spotlight — layout + motion (no colors) */
.faq-spotlight__root {
  min-height: 100vh;
  min-height: 100dvh;
}

.faq-spotlight__cover {
  min-height: 0;
}

@media (min-width: 992px) {
  .faq-spotlight__cover {
    min-height: 100vh;
    min-height: 100dvh;
  }
}

.faq-spotlight__media {
  pointer-events: none;
}

.faq-spotlight__media-col {
  min-height: 14rem;
}

.faq-spotlight__media-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 992px) {
  .faq-spotlight__media-col {
    min-height: 100vh;
    min-height: 100dvh;
  }
}

.faq-spotlight__thumb {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  cursor: pointer;
}

.faq-spotlight__thumb-face {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.faq-spotlight__thumb-label {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.faq-spotlight__panel--active {
  display: block;
}

.faq-spotlight__reveal-block {
  opacity: 0;
  transform: translate3d(0, 1.5rem, 0);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-spotlight__reveal-block--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.faq-spotlight__reveal-item {
  opacity: 0;
  transform: translate3d(0, 1rem, 0) scale(0.98);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-spotlight__reveal-item--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(1) {
  transition-delay: 0.05s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(2) {
  transition-delay: 0.1s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(3) {
  transition-delay: 0.15s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(4) {
  transition-delay: 0.2s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(5) {
  transition-delay: 0.25s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(6) {
  transition-delay: 0.3s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(7) {
  transition-delay: 0.35s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(8) {
  transition-delay: 0.4s;
}

.faq-spotlight__panel--enter .faq-spotlight__panel-inner {
  animation: faq-spotlight-panel-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes faq-spotlight-panel-in {
  from {
    opacity: 0;
    transform: translate3d(0, 1rem, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-spotlight__reveal-block,
  .faq-spotlight__reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(n) {
    transition-delay: 0s;
  }

  .faq-spotlight__panel--enter .faq-spotlight__panel-inner {
    animation: none;
  }
}

/* quote v22 — filmstrip: VHS scanlines, rain, clouds, ID-badge cards, scroll reveal */

.quote-filmstrip__cloud {
    width: 14rem;
    height: 8rem;
    filter: blur(48px);
}
.quote-filmstrip__cloud--a {
    top: 10%;
    left: -4rem;
}
.quote-filmstrip__cloud--b {
    bottom: 8%;
    right: -3rem;
}

.quote-filmstrip__drop {
    width: 1px;
    animation: quoteFilmstripRain 4.5s linear infinite;
}
.quote-filmstrip__drop--1 { left: 12%; animation-delay: 0s; }
.quote-filmstrip__drop--2 { left: 28%; animation-delay: 0.8s; }
.quote-filmstrip__drop--3 { left: 44%; animation-delay: 1.6s; }
.quote-filmstrip__drop--4 { left: 60%; animation-delay: 0.4s; }
.quote-filmstrip__drop--5 { left: 76%; animation-delay: 2.1s; }
.quote-filmstrip__drop--6 { left: 88%; animation-delay: 1.2s; }
@keyframes quoteFilmstripRain {
    0% { transform: translateY(-120%); opacity: 0; }
    15% { opacity: 0.6; }
    100% { transform: translateY(120vh); opacity: 0; }
}

.quote-filmstrip__divider {
    width: 3rem;
    height: 0.25rem;
    margin-bottom: 1rem;
}

.quote-filmstrip__title {
    font-variant: small-caps;
}

.quote-filmstrip__panel {
    scroll-snap-type: x mandatory;
    min-width: 0;
}

@media (min-width: 992px) {
    .quote-filmstrip__aside {
        width: 18rem;
        max-width: 18rem;
    }
    .quote-filmstrip__panel {
        flex: 1 1 0;
        width: 0;
        max-width: 100%;
    }
}

.quote-filmstrip__track {
    width: max-content;
    min-width: 100%;
}

.quote-filmstrip__reveal {
    display: flex;
    flex-direction: column;
    min-height: 22rem;
    opacity: 1;
    transform: none;
    transition: opacity 600ms ease, transform 600ms ease;
}
.quote-filmstrip__reveal--left:not(.is-visible) {
    opacity: 0;
    transform: translateX(-2rem);
}
.quote-filmstrip__reveal--right:not(.is-visible) {
    opacity: 0;
    transform: translateX(2rem);
}
.quote-filmstrip__reveal--center:not(.is-visible) {
    opacity: 0;
    transform: translateY(1.5rem);
}
.quote-filmstrip__reveal.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.quote-filmstrip__card--focal {
    width: min(85vw, 22rem);
    min-height: 26rem;
}
.quote-filmstrip__card--support {
    width: min(72vw, 18rem);
    min-height: 22rem;
}

.quote-filmstrip__media {
    position: relative;
    flex: 1 1 auto;
    min-height: 14rem;
    overflow: hidden;
}
.quote-filmstrip__card--focal .quote-filmstrip__media {
    min-height: 16rem;
}

.quote-filmstrip__img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    min-height: 14rem;
}

.quote-filmstrip__clamp {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.quote-filmstrip__meta-quote {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.quote-filmstrip__sprockets {
    pointer-events: none;
}
.quote-filmstrip__sprockets--top {
    top: 0.35rem;
}
.quote-filmstrip__sprockets--bottom {
    bottom: 3.25rem;
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-filmstrip-root [role="listitem"]:hover,
    .quote-filmstrip-root article:hover,
    .quote-filmstrip-root [class*="quote-filmstrip__card"]:hover,
    .quote-filmstrip-root .quote-filmstrip__book:hover,
    .quote-filmstrip-root .quote-filmstrip__step:hover,
    .quote-filmstrip-root .quote-filmstrip__index-card:hover,
    .quote-filmstrip-root .quote-filmstrip__pill:hover,
    .quote-filmstrip-root .quote-filmstrip__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-filmstrip-root [role="listitem"],
.quote-filmstrip-root article,
.quote-filmstrip-root [class*="quote-filmstrip__card"],
.quote-filmstrip-root .quote-filmstrip__book,
.quote-filmstrip-root .quote-filmstrip__step,
.quote-filmstrip-root .quote-filmstrip__index-card,
.quote-filmstrip-root .quote-filmstrip__pill {
    transition: transform 200ms ease;
}

.quote-filmstrip-root a:focus-visible,
.quote-filmstrip-root button:focus-visible,
.quote-filmstrip-root [tabindex="0"]:focus-visible,
.quote-filmstrip-root input:focus-visible,
.quote-filmstrip-root summary:focus-visible,
.quote-filmstrip-root [role="slider"]:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

@media (hover: hover) {
    .quote-filmstrip-root button:hover,
    .quote-filmstrip-root a:hover,
    .quote-filmstrip-root summary:hover {
        opacity: 0.92;
    }
}

/* cta waves — SVG wave scroll (colors via currentColor in Blade) */
.cta-waves__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.cta-waves__track {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  height: 46%;
  display: flex;
  flex-direction: row;
  animation: cta-waves-flow 24s linear infinite;
  will-change: transform;
}

.cta-waves__track--front {
  bottom: 6%;
  height: 34%;
  animation-duration: 17s;
  animation-delay: -6s;
}

.cta-waves__svg {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  display: block;
}

@keyframes cta-waves-flow {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-waves__track {
    animation: none;
    transform: translateX(-25%);
  }
}

