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

.features-tab-grid__decor--pulse {
    top: 0;
    right: 0;
    animation: features-tab-grid-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.features-tab-grid__decor--spin {
    bottom: 0;
    left: 0;
    animation: features-tab-grid-spin-kf 1s linear infinite;
}

.features-tab-grid__decor--bounce {
    top: 50%;
    left: 25%;
    transform: rotate(-6deg);
    animation: features-tab-grid-bounce-kf 1s infinite;
}

.features-tab-grid__decor--line {
    top: 33.333333%;
    right: 25%;
    transform: rotate(6deg);
}

.features-tab-grid__tab {
    cursor: pointer;
}

.features-tab-grid__tab--active {
    border-bottom-color: var(--bs-primary, #0d6efd);
    color: var(--bs-primary, #0d6efd);
}

.features-tab-grid__tab--inactive {
    border-bottom-color: transparent;
    color: inherit;
}

.features-tab-grid__tab:hover {
    border-bottom-color: var(--bs-primary, #0d6efd);
    opacity: 0.8;
}

.features-tab-grid__card {
    transition: all 0.3s ease;
}

.features-tab-grid__card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.features-tab-grid__card:hover .features-tab-grid__title {
    color: var(--bs-primary, #0d6efd);
}

@keyframes features-tab-grid-pulse-kf {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

@keyframes features-tab-grid-spin-kf {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes features-tab-grid-bounce-kf {
    0%, 100% { transform: translateY(-25%) rotate(-6deg); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); }
}

/* -- Feature card hover -- */
.feat-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feat-card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.12) !important;
}

/* -- Icon box sizing -- */
.feat-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 2.5rem;
    min-height: 2.5rem;
}
.feat-icon-box--lg {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
}
.feat-icon-box--xl {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
}
.feat-icon-box--circle {
    border-radius: 50%;
}

/* -- Nav/filmstrip button hover -- */
.feat-btn-nav {
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.feat-btn-nav:hover {
    transform: scale(1.1);
}

/* -- Table row hover -- */
.feat-table-row-hover {
    transition: background-color 0.15s ease;
}
.feat-table-row-hover:hover {
    background-color: var(--bs-primary-bg-subtle) !important;
}

/* -- Accordion item hover -- */
.feat-accordion-hover summary:hover {
    background-color: var(--bs-primary-bg-subtle);
    border-radius: 0.75rem;
}

/* -- DL item hover -- */
.feat-dl-item-hover {
    transition: background-color 0.15s ease;
    border-radius: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.feat-dl-item-hover:hover {
    background-color: var(--bs-primary-bg-subtle);
}

/* -- Deck button hover -- */
.feat-deck-btn {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.feat-deck-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* -- BS-mode decorative shapes — subtle, non-intrusive -- */
.features-decor__bs-blob {
    background-color: var(--bs-primary-bg-subtle);
    opacity: 0.35;
    filter: blur(48px);
}
.features-decor__bs-shape {
    opacity: 0.15;
}
.features-decor__bs-line {
    border-left: 1px solid var(--bs-primary-border-subtle);
    opacity: 0.18;
}
.tips-cards__card {
    max-width: 24rem;
}

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

