/* intro v25 — Sagmeister ticket: corner patch, spiral binding, ticket perforation, square thumb */

/* Corner accent patch → triangle */
.intro-tkt__patch {
    width: 10rem;
    height: 10rem;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    opacity: 0.9;
}
.intro-tkt__spiral { height: 1rem; }
.intro-tkt__body { min-width: 0; }
.intro-tkt__close { width: 2rem; height: 2rem; }

/* Torn notebook spiral binding holes (colour from Tailwind text-*, holes via mask) */
.intro-tkt__spiral {
    -webkit-mask: radial-gradient(circle 5px at center, black 98%, transparent 100%) 0 0 / 30px 100%;
    mask: radial-gradient(circle 5px at center, black 98%, transparent 100%) 0 0 / 30px 100%;
    background: currentColor;
    opacity: 0.5;
}

/* Square cropped thumbnail */
.intro-tkt__thumb {
    width: 6rem;
    height: 6rem;
    object-fit: cover;
}

/* Ticket stub perforation (currentColor from the card text) */
.intro-tkt__ticket { transition: box-shadow 240ms ease; }
.intro-tkt__ticket::after {
    content: "";
    position: absolute;
    top: 0.75rem;
    bottom: 0.75rem;
    left: 7.5rem;
    border-left: 2px dashed currentColor;
    opacity: 0.25;
    pointer-events: none;
}
@media (max-width: 575.98px) {
    .intro-tkt__ticket::after { display: none; }
}

/* integrations — unified hover (layout; shadow + lift; respect reduced motion) */
.integrations-card-hover {
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.integrations-card-hover:hover {
    box-shadow:
        0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);
    transform: translateY(-2px) scale(1.03);
}

.integrations-card-hover--shadow-only {
    transition: box-shadow 0.35s ease;
}

.integrations-card-hover--shadow-only:hover {
    transform: none;
    box-shadow:
        0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);
}

@media (prefers-reduced-motion: reduce) {
    .integrations-card-hover:hover {
        transform: none;
    }
}

/* Primary tile: wpg-preview --tw-primary-* | --bs-primary-scale-*; inherited --bs-primary hex */
.integrations__icon-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    --_ie-from: rgb(var(--tw-primary-500, var(--bs-primary-scale-500, 99 102 241)) / 1);
    --_ie-to: rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1);
    background-color: var(--bs-primary, rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1));
    background-image: linear-gradient(to bottom right, var(--_ie-from), var(--_ie-to));
}
.integrations__icon-tile i {
    color: inherit;
}
.integrations__icon-tile svg,
.integrations__icon-tile :is(path, circle, rect, polygon) {
    fill: currentColor;
}

/* Softer card hover shadow (avoids muddy stack with shadow-lg / BS cards) */
.integrations-card-hover:hover {
    box-shadow: 0 0.375rem 1rem rgba(15, 23, 42, 0.07);
}
.integrations-card-hover--shadow-only:hover {
    box-shadow: 0 0.375rem 1rem rgba(15, 23, 42, 0.07);
}

/* Dot grid background */
.integrations__dot-grid {
    background-image: radial-gradient(circle, currentColor 1px, transparent 1px);
    background-size: 20px 20px;
}

/* v23 — Zigzag alternating list: sizing, max-width, transitions (no colors) */
.integrations-zigzag-list__entry {
    width: 100%;
    max-width: 90%;
}

@media (min-width: 576px) {
    .integrations-zigzag-list__entry {
        max-width: 85%;
    }
}

.integrations-zigzag-list__entry:hover .integrations__icon-tile {
    transform: scale(1.05);
}

.integrations-zigzag-list__tile-size {
    width: 4rem;
    height: 4rem;
    flex: none;
}

.integrations-zigzag-list__card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Hover: icon-tile scale already handled above; h3 color moved out of the sem directive */
.integrations-zigzag-list__entry .integrations__icon-tile { transition: transform 0.3s ease; }
.integrations-zigzag-list__entry h3 { transition: color 0.3s ease; }
.integrations-zigzag-list__entry:hover h3 { color: var(--bs-primary, rgb(var(--tw-primary-400) / 1)); }
.dark .integrations-zigzag-list__entry:hover h3 { color: var(--bs-primary, rgb(var(--tw-primary-600) / 1)); }

/* faq v21 — gazette newspaper columns + animated mesh */
.gazette-faq__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .gazette-faq__layout {
    grid-template-columns: 1fr;
  }
}

.gazette-faq__story {
  text-align: justify;
}

/* Orbs — sizes, blur, drift (colors in Blade) */
.gazette-faq__orb--north {
  width: 18rem;
  height: 18rem;
  filter: blur(48px);
}

.gazette-faq__orb--south {
  width: 24rem;
  height: 24rem;
  filter: blur(64px);
}

.gazette-faq__orb--center {
  width: 12rem;
  height: 12rem;
  filter: blur(40px);
}

.gazette-faq__band--pulse {
  animation: gazette-faq-band-pulse-seq 6s ease-in-out infinite;
}

@keyframes gazette-faq-band-pulse-seq {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@keyframes gazette-faq-orb-drift-north-seq {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(2.5rem, -1.5rem) scale(1.06);
  }
  66% {
    transform: translate(-1.25rem, 1.25rem) scale(0.96);
  }
}

.gazette-faq__orb--north {
  animation: gazette-faq-orb-drift-north-seq 20s ease-in-out infinite;
}

@keyframes gazette-faq-orb-drift-south-seq {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  40% {
    transform: translate(-2rem, -1rem) scale(1.08);
  }
  70% {
    transform: translate(1.5rem, 2rem) scale(0.94);
  }
}

.gazette-faq__orb--south {
  animation: gazette-faq-orb-drift-south-seq 24s ease-in-out infinite;
}

@keyframes gazette-faq-orb-drift-center-seq {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-1.5rem, 1rem) rotate(12deg);
  }
}

.gazette-faq__orb--center {
  animation: gazette-faq-orb-drift-center-seq 16s ease-in-out infinite;
}

.gazette-faq__band--delay {
  animation-delay: 2s;
}

.gazette-faq__orb--delay-mid {
  animation-delay: 0.8s;
}

.gazette-faq__orb--delay-late {
  animation-delay: 1.4s;
}

/* Sparks */
.gazette-faq__spark--lead {
  top: 5rem;
  left: 3rem;
  width: 0.75rem;
  height: 0.75rem;
}

.gazette-faq__spark--trail {
  top: 8rem;
  right: 5rem;
  width: 0.5rem;
  height: 0.5rem;
}

.gazette-faq__spark--base {
  bottom: 7rem;
  left: 33%;
  width: 0.625rem;
  height: 0.625rem;
}

@keyframes gazette-faq-spark-throb-seq {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.gazette-faq__spark-anim--throb {
  animation: gazette-faq-spark-throb-seq 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes gazette-faq-spark-bounce-seq {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30%);
  }
}

.gazette-faq__spark-anim--bounce {
  animation: gazette-faq-spark-bounce-seq 1.2s ease-in-out infinite;
}

@keyframes gazette-faq-spark-ping-seq {
  75%,
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.gazette-faq__spark-anim--ping {
  animation: gazette-faq-spark-ping-seq 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

