.intro-gradient-card__area {
    max-width: 48rem;
}


.gist-cta-hover {
    transition: background-color 0.2s ease;
}

.gist-cta-hover:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.gist-paper {
    border-radius: 2px;
}

.gist-sq-8  { width: 2rem;   height: 2rem;   flex-shrink: 0; }
.gist-sq-10 { width: 2.5rem; height: 2.5rem; flex-shrink: 0; }
.gist-sq-12 { width: 3rem;   height: 3rem;   flex-shrink: 0; }
.gist-sq-16 { width: 4rem;   height: 4rem;   flex-shrink: 0; }
.gist-sq-20 { width: 5rem;   height: 5rem;   flex-shrink: 0; }

.gist-corner {
    width: 1.75rem;
    height: 1.75rem;
    border-color: var(--bs-primary) !important;
}

.gist-corner--top-start {
    border-top: 2px solid var(--bs-primary);
    border-left: 2px solid var(--bs-primary);
}

.gist-corner--top-end {
    border-top: 2px solid var(--bs-primary);
    border-right: 2px solid var(--bs-primary);
}

.gist-corner--bottom-start {
    border-bottom: 2px solid var(--bs-primary);
    border-left: 2px solid var(--bs-primary);
}

.gist-corner--bottom-end {
    border-bottom: 2px solid var(--bs-primary);
    border-right: 2px solid var(--bs-primary);
}

.gist-paper-lines {
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 11px,
        rgba(255, 255, 255, 0.4) 11px,
        rgba(255, 255, 255, 0.4) 12px
    );
}

.gist-meta-header {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
}

.gist-field-label {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    min-width: 7.5rem;
}

.gist-note-radius {
    border-radius: 0 6px 6px 0;
}

.gist-note-rule {
    border-bottom: 4px solid var(--bs-primary);
}

.gist-divider-rule {
    height: 0.5rem;
    background-color: rgba(var(--bs-primary-rgb), 0.06);
    border-top: 2px solid rgba(var(--bs-primary-rgb), 0.35);
    border-bottom: 2px solid rgba(var(--bs-primary-rgb), 0.35);
}

.gist-seal-text {
    font-size: 0.5rem;
    letter-spacing: 0.05em;
}

.gist-footer-meta {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
}

.gist-dot {
    width: 0.25rem;
    height: 0.25rem;
}

/* v23 — Bootstrap branch: same rhythm as Tailwind gap-lg + grid columns */
.numbered-step-grid-timeline__bs-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

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

@media (min-width: 1024px) {
    .numbered-step-grid-timeline__bs-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Parity with Tailwind max-w-2xl on header block */
.numbered-step-grid-timeline__area-bw {
    max-width: 42rem;
}

.numbered-step-grid-timeline__min-shrink {
  min-width: 0;
}

.values-circle-block__card {
    max-width: 24rem;
}

.values-circle-block__item {
    max-width: 24rem;
}

.values-circle-block__thumb {
    width: 5rem;
    height: 5rem;
}

/* team v25 — compact grid + animated background */
.team-catalog__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.team-catalog__blob {
  border-radius: 35% 65% 60% 40% / 45% 35% 65% 55%;
  animation: team-catalog-blob-morph 10s ease-in-out infinite;
  transform-origin: center;
}

.team-catalog__blob--tl {
  top: -5rem;
  left: -4rem;
  width: 16rem;
  height: 16rem;
}

.team-catalog__blob--br {
  bottom: -6rem;
  right: -5rem;
  width: 20rem;
  height: 20rem;
  animation-duration: 12s;
  animation-delay: 1.5s;
}

.team-catalog__glow {
  top: 50%;
  left: 50%;
  width: 24rem;
  height: 24rem;
  animation: team-catalog-glow-pulse 8s ease-in-out infinite;
  transform-origin: center;
}

.team-catalog__ring--1 {
  top: 2rem;
  right: 2.5rem;
  width: 8rem;
  height: 8rem;
  animation: team-catalog-spin 26s linear infinite;
  transform-origin: center;
}

.team-catalog__ring--2 {
  bottom: 3rem;
  left: 1.5rem;
  width: 6rem;
  height: 6rem;
  animation: team-catalog-pulse-ring 6s ease-in-out infinite;
  transform-origin: center;
}

.team-catalog__spark {
  animation: team-catalog-spark-float 4s ease-in-out infinite;
}

.team-catalog__spark--1 {
  top: 20%;
  left: 15%;
  width: 0.5rem;
  height: 0.5rem;
  animation-delay: 0s;
}

.team-catalog__spark--2 {
  top: 35%;
  right: 20%;
  width: 0.75rem;
  height: 0.75rem;
  animation-delay: 0.6s;
}

.team-catalog__spark--3 {
  bottom: 30%;
  left: 40%;
  width: 0.5rem;
  height: 0.5rem;
  animation-delay: 1.2s;
}

.team-catalog__grid-dots {
  background-image: radial-gradient(circle, var(--bs-primary) 1px, transparent 1px);
  background-size: 1.75rem 1.75rem;
  animation: team-catalog-dots-drift 18s linear infinite;
}

.team-catalog__card-media {
  height: 7rem;
}

@media (min-width: 768px) {
  .team-catalog__card-media {
    height: 8rem;
  }
}

.team-catalog__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-catalog__card:hover .team-catalog__card-img {
  transform: scale(1.08);
}

@keyframes team-catalog-blob-morph {
  0%,
  100% {
    border-radius: 35% 65% 60% 40% / 45% 35% 65% 55%;
    transform: scale(1);
  }
  50% {
    border-radius: 55% 45% 40% 60% / 50% 60% 40% 50%;
    transform: scale(1.06);
  }
}

@keyframes team-catalog-glow-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

@keyframes team-catalog-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes team-catalog-pulse-ring {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes team-catalog-spark-float {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(-0.5rem);
    opacity: 1;
  }
}

@keyframes team-catalog-dots-drift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 1.75rem 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-catalog__blob,
  .team-catalog__glow,
  .team-catalog__ring--1,
  .team-catalog__ring--2,
  .team-catalog__spark,
  .team-catalog__grid-dots {
    animation: none;
  }
}

/* quote v21 — card-deck overlap, celtic-knot corners, chrome-frame avatar, clip-path hover reveal */

/* blueprint engineering-paper grid — pattern uses currentColor, no literal color values here */
.quote-deck__blueprint {
    background-image:
        repeating-linear-gradient(0deg, currentColor 0, currentColor 1px, transparent 1px, transparent 24px),
        repeating-linear-gradient(90deg, currentColor 0, currentColor 1px, transparent 1px, transparent 24px);
    background-size: 24px 24px;
}

/* concentric decorative rings — size/position only, border color comes from the sem/theme classes in the template */
.quote-deck__ring {
    top: 50%;
    left: 50%;
    pointer-events: none;
}
.quote-deck__ring--sm {
    width: 12rem;
    height: 12rem;
    transform: translate(-50%, -50%);
}
.quote-deck__ring--md {
    width: 18rem;
    height: 18rem;
    transform: translate(-50%, -50%);
}
.quote-deck__ring--lg {
    width: 24rem;
    height: 24rem;
    transform: translate(-50%, -50%);
}

/* lightning-flash overlay — opacity-only keyframes, irregular via staggered delays */
@keyframes quoteDeckFlash {
    0%, 88%, 100% { opacity: 0; }
    91% { opacity: 1; }
    94% { opacity: 0.2; }
}
.quote-deck__flash {
    animation: quoteDeckFlash 6s steps(1, end) infinite;
}
.quote-deck__flash--a { animation-delay: 0s; }
.quote-deck__flash--b { animation-delay: 2.3s; }
.quote-deck__flash--c { animation-delay: 4.1s; }

/* card-deck overlap rhythm — variable tight/loose offsets, resets to a plain stack below md */
@media (min-width: 768px) {
    .quote-deck__item:nth-child(1) {
        transform: translateY(0.5rem);
        margin-right: -1.25rem;
        z-index: 1;
    }
    .quote-deck__item:nth-child(2) {
        transform: translateY(-0.75rem);
        margin-left: -0.5rem;
        margin-right: -2rem;
        z-index: 3;
    }
    .quote-deck__item:nth-child(3) {
        transform: translateY(1rem);
        margin-left: -0.75rem;
        z-index: 2;
    }
}

.quote-deck__card {
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.quote-deck__card:hover,
.quote-deck__card:focus-within {
    transform: translateY(-0.5rem);
    z-index: 10;
}

/* celtic-knot corner accents — identical sem content per corner, shape/placement handled here */
.quote-deck__knot {
    width: 1.25rem;
    height: 1.25rem;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 35% 35%, 35% 100%, 0 100%);
}
.quote-deck__knot--tl {
    position: absolute;
    top: -0.375rem;
    left: -0.375rem;
}
.quote-deck__knot--tr {
    position: absolute;
    top: -0.375rem;
    right: -0.375rem;
    transform: rotate(90deg);
}
.quote-deck__knot--bl {
    position: absolute;
    bottom: -0.375rem;
    left: -0.375rem;
    transform: rotate(270deg);
}
.quote-deck__knot--br {
    position: absolute;
    bottom: -0.375rem;
    right: -0.375rem;
    transform: rotate(180deg);
}

/* browser-chrome framing for the icon tile */
.quote-deck__chrome {
    height: 1.25rem;
}
.quote-deck__chrome-dot {
    width: 0.375rem;
    height: 0.375rem;
    flex: none;
}
.quote-deck__avatar {
    width: 3.5rem;
}
.quote-deck__glyph {
    height: 2.75rem;
}

/* clip-path reveal on hover — pure CSS, no JS */
.quote-deck__reveal {
    clip-path: inset(0 0 100% 0);
    max-height: 0;
    transition: clip-path 250ms ease, max-height 250ms ease;
}
.quote-deck__card:hover .quote-deck__reveal,
.quote-deck__card:focus-within .quote-deck__reveal {
    clip-path: inset(0 0 0 0);
    max-height: 6rem;
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-deck-root [role="listitem"]:hover,
    .quote-deck-root article:hover,
    .quote-deck-root [class*="quote-deck__card"]:hover,
    .quote-deck-root .quote-deck__book:hover,
    .quote-deck-root .quote-deck__step:hover,
    .quote-deck-root .quote-deck__index-card:hover,
    .quote-deck-root .quote-deck__pill:hover,
    .quote-deck-root .quote-deck__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-deck-root [role="listitem"],
.quote-deck-root article,
.quote-deck-root [class*="quote-deck__card"],
.quote-deck-root .quote-deck__book,
.quote-deck-root .quote-deck__step,
.quote-deck-root .quote-deck__index-card,
.quote-deck-root .quote-deck__pill {
    transition: transform 200ms ease;
}

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

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

