/* intro v20 — Calvin Klein magazine: shimmer sheen, mist, scale-up reveal, strike-through draw */

.intro-mag__img { object-fit: cover; }
.intro-mag__figure { aspect-ratio: 21 / 9; }

/* Gold-foil sheen → shimmer sweep (gradient colours come from Tailwind, motion from CSS) */
.intro-mag__sheen {
    background-size: 220% 220%;
    animation: intro-mag-shimmer 3s linear infinite;
    opacity: 0.35;
}
@keyframes intro-mag-shimmer {
    0%   { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* Smoke / mist wisp */
.intro-mag__mist {
    width: 24rem;
    height: 24rem;
    filter: blur(48px);
    opacity: 0.4;
}

/* LED step badge fixed size (no BS w-N/h-N utility) */
.intro-mag__led {
    width: 4rem;
    height: 4rem;
}

/* Dashed connector line (no BS border-style utility) */
.intro-mag__connector {
    border-style: dashed;
}

/* Scale-up on scroll into view — hidden only once JS arms it (no-JS content stays visible) */
.intro-mag.is-armed .intro-mag__scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 560ms ease, transform 560ms ease;
}
.intro-mag.is-armed .intro-mag__scale.is-in {
    opacity: 1;
    transform: scale(1);
}

/* Strikethrough line draw on hover */
.intro-mag__strike { height: 0.125rem; width: 0; transition: width 300ms ease; }
.intro-mag__st:hover .intro-mag__strike { width: 100%; }

@media (prefers-reduced-motion: reduce) {
    .intro-mag__sheen { animation: none; }
    .intro-mag__scale { opacity: 1; transform: none; }
}

/* v26 - shared grid layout (works identically under Tailwind and Bootstrap; avoids
   mixing Bootstrap row/col gutters with a CSS gap on the same node) */
.schema-sheet__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .schema-sheet__layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .schema-sheet__layout {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* v26 - blueprint grid-line background + corner ticks (currentColor keeps it theme-safe) */
.steps-blueprint__grid {
    background-image:
        linear-gradient(currentColor 1px, transparent 1px),
        linear-gradient(90deg, currentColor 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 1;
}

[data-blueprint-panel]::before,
[data-blueprint-panel]::after {
    content: "";
    position: absolute;
    width: 0.75rem;
    height: 0.75rem;
}

[data-blueprint-panel]::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid;
    border-left: 2px solid;
}

[data-blueprint-panel]::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid;
    border-right: 2px solid;
}

/* Geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.gallery-diptych__section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.mxw-4xl {
    max-width: 56rem !important;
}

.mxw-2xl {
    max-width: 42rem !important;
}

.gallery-diptych__head {
    margin-bottom: 2rem;
}

.gallery-diptych__title {
    font-size: 1.875rem;
    margin-bottom: 0.75rem;
}

.gallery-diptych__lead {
    font-size: 1.125rem;
}

.gallery-diptych__stage {
    aspect-ratio: 16 / 9;
}

.gallery-diptych__label {
    top: 1rem;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    --bs-bg-opacity: 0.9;
}

.gallery-diptych__label--before {
    inset-inline-start: 1rem;
}

.gallery-diptych__label--after {
    inset-inline-end: 1rem;
}

.gallery-diptych__handle {
    width: 2.5rem;
    height: 2.5rem;
}

@media (min-width: 768px) {
    .gallery-diptych__title {
        font-size: 2.25rem;
    }
}

/* gallery v14 — before/after diptych divider */
[data-diptych-stage] {
    --split-pos: 50%;
}

.gallery-diptych__inner {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: ew-resize;
    touch-action: none;
    user-select: none;
}

.gallery-diptych__img {
    object-fit: cover;
    pointer-events: none;
}

.gallery-diptych__img--before {
    clip-path: inset(0 calc(100% - var(--split-pos)) 0 0);
}

.gallery-diptych__divider {
    --bs-bg-opacity: 0.8;
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--split-pos);
    width: 2px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.gallery-diptych__divider > * {
    pointer-events: auto;
}

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

