@keyframes rotateSquare {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.intro-pattern-overlay {
    background-image: repeating-linear-gradient(45deg, transparent, transparent 20px, currentColor 20px, currentColor 40px);
    opacity: 0.03;
    top: -20%;
    left: -30%;
    width: 100%;
    height: 100%;
    animation: rotateSquare 20s linear infinite;
}

.intro-pattern-content {
    max-width: 56rem;
}

.narrative-rot-neg-3 { transform: rotate(-3deg); }
.narrative-rot-neg-2 { transform: rotate(-2deg); }
.narrative-rot-neg-1 { transform: rotate(-1deg); }
.narrative-rot-0 { transform: rotate(0deg); }
.narrative-rot-1 { transform: rotate(1deg); }
.narrative-rot-2 { transform: rotate(2deg); }
.narrative-rot-3 { transform: rotate(3deg); }

.narrative-paper {
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0.25rem 0.45rem 1rem rgba(15, 23, 42, 0.16);
}

.narrative-board-pin {
    width: 0.75rem;
    height: 0.75rem;
}

.narrative-board-pin--top-start {
    top: 0.75rem;
    left: 0.75rem;
}

.narrative-board-pin--top-end {
    top: 0.75rem;
    right: 0.75rem;
}

.narrative-board-pin--bottom-start {
    bottom: 0.75rem;
    left: 0.75rem;
}

.narrative-board-pin--bottom-end {
    bottom: 0.75rem;
    right: 0.75rem;
}

.narrative-note-hover {
    transition: transform 0.3s ease, z-index 0.3s ease;
    z-index: 1;
}

.narrative-note-hover:hover {
    transform: rotate(0deg) translateY(-0.25rem) scale(1.03);
    z-index: 10;
}

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

.narrative-pin-label {
    font-size: 0.55rem;
    letter-spacing: 0.15em;

}

.narrative-pin-offset {
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1.5rem;
    height: 1.5rem;
}

@media (min-width: 768px) {
    .narrative-pin-offset {
        top: -0.75rem;
        width: 1.75rem;
        height: 1.75rem;
    }
}

.narrative-cta-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.classic-rail-timeline__line {
    width: 2px;
    left: 2rem;
}

@media (min-width: 768px) {
    .classic-rail-timeline__line {
        left: 50%;
        transform: translateX(-50%);
    }
}

.classic-rail-timeline__dot {
    width: 1rem;
    height: 1rem;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

@media (min-width: 768px) {
    .classic-rail-timeline__dot {
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.classic-rail-timeline__content {
    margin-left: 5rem;
}

@media (min-width: 768px) {
    .classic-rail-timeline__content {
        margin-left: 0;
        width: 50%;
    }

    .classic-rail-timeline__content--start {
        padding-right: 2.5rem;
    }

    .classic-rail-timeline__content--end {
        padding-left: 2.5rem;
    }

    .classic-rail-timeline__row--reverse {
        flex-direction: row-reverse;
    }
}

/* team v21 — horizontal carousel (layout + motion; colors in Blade) */
.team-carousel__carousel-wrap {
  max-width: 100%;
}

.team-carousel__carousel {
  gap: 1.5rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.team-carousel__carousel::-webkit-scrollbar {
  display: none;
}

.team-carousel__slide {
  flex: 0 0 17.5rem;
  width: 17.5rem;
  scroll-snap-align: start;
}

.team-carousel__card-media {
  height: 12rem;
}

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

.team-carousel__nav {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms ease, background-color 200ms ease;
}

.team-carousel__nav:hover {
  transform: translateY(-50%) scale(1.08);
}

.team-carousel__nav--prev,
.team-carousel__nav--next {
  transform: translateY(-50%);
}

.team-carousel__nav--prev:hover,
.team-carousel__nav--next:hover {
  transform: translateY(-50%) scale(1.08);
}

/* quote island — grain, grid draw-in, cutout type, device frame, vaporwave motion */

.quote-island__panel--blur {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.quote-island__grain {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.55'/%3E%3C/svg%3E");
}

.quote-island__grid-line {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: quote-island-draw 1800ms ease forwards;
}

.quote-island__grid-line--delay {
    animation-delay: 350ms;
}

@keyframes quote-island-draw {
    to {
        stroke-dashoffset: 0;
    }
}

.quote-island__orb {
    animation: quote-island-drift 9s ease-in-out infinite;
    filter: blur(4rem);
}

.quote-island__orb--a {
    width: 10rem;
    height: 10rem;
    top: -2rem;
    left: 25%;
}

.quote-island__orb--b {
    width: 13rem;
    height: 13rem;
    top: 33%;
    right: -2.5rem;
    animation-delay: -3s;
    animation-duration: 11s;
}

.quote-island__orb--c {
    width: 12rem;
    height: 12rem;
    bottom: -3rem;
    left: 33%;
    animation-delay: -6s;
    animation-duration: 13s;
}

@keyframes quote-island-drift {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.55;
    }
    33% {
        transform: translate(1.25rem, -0.75rem) scale(1.08);
        opacity: 0.85;
    }
    66% {
        transform: translate(-0.75rem, 1rem) scale(0.92);
        opacity: 0.65;
    }
}

.quote-island__panel {
    margin-inline: auto;
    max-width: 72rem;
}

.quote-island__cutout {
    -webkit-background-clip: text;
    background-clip: text;
    line-height: 1.05;
}

.quote-island__device {
    border-radius: 1.25rem;
    overflow: hidden;
}

.quote-island__device-notch {
    width: 3.5rem;
    height: 0.35rem;
    margin-inline: auto;
    border-radius: 9999px;
}

.quote-island__device-screen {
    aspect-ratio: 16 / 10;
}

.quote-island__device-display {
    height: 100%;
}

.quote-island__device-wave {
    max-width: 12rem;
}

.quote-island__device-dot {
    width: 0.5rem;
    height: 0.5rem;
}

.quote-island__support-media,
.quote-island__glyph {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
}

.quote-island__quotes.is-list .quote-island__support-media,
.quote-island__quotes.is-list .quote-island__glyph {
    width: 2.75rem;
    height: 2.75rem;
}

.quote-island__card-body {
    min-width: 0;
}

.quote-island__quotes.is-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 576px) {
    .quote-island__quotes.is-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.quote-island__quotes.is-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quote-island__quotes.is-list .quote-island__support-inner {
    align-items: center;
    gap: 0.75rem;
}

.quote-island__support-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.625rem;
}

.quote-island__toggle-btn {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    cursor: pointer;
    outline-offset: -2px;
    border-color: var(--bs-border-color);
    color: var(--bs-secondary-color);
    background-color: transparent;
}

.quote-island__toggle-btn.is-active {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
    background-color: var(--bs-primary-bg-subtle);
}

@media (prefers-reduced-motion: reduce) {
    .quote-island__grid-line {
        animation: none;
        stroke-dashoffset: 0;
    }

    .quote-island__orb {
        animation: none;
    }
}

@media (min-width: 992px) {
    .quote-island__split-col--featured {
        position: sticky;
        top: 1.5rem;
        align-self: start;
    }
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-island-root [role="listitem"]:hover,
    .quote-island-root article:hover,
    .quote-island-root [class*="quote-island__card"]:hover,
    .quote-island-root .quote-island__book:hover,
    .quote-island-root .quote-island__step:hover,
    .quote-island-root .quote-island__index-card:hover,
    .quote-island-root .quote-island__pill:hover,
    .quote-island-root .quote-island__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-island-root [role="listitem"],
.quote-island-root article,
.quote-island-root [class*="quote-island__card"],
.quote-island-root .quote-island__book,
.quote-island-root .quote-island__step,
.quote-island-root .quote-island__index-card,
.quote-island-root .quote-island__pill {
    transition: transform 200ms ease;
}

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

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

