.polaroid-cork-timeline__cork-bg {
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 20px,
            currentColor 20px,
            currentColor 21px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 20px,
            currentColor 20px,
            currentColor 21px
        );
}

.polaroid-cork-timeline__polaroid {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.polaroid-cork-timeline__polaroid:hover {
    z-index: 10;
}

.polaroid-cork-timeline__polaroid--r0 { transform: rotate(-3deg); }
.polaroid-cork-timeline__polaroid--r1 { transform: rotate(2deg); }
.polaroid-cork-timeline__polaroid--r2 { transform: rotate(-1.5deg); }
.polaroid-cork-timeline__polaroid--r3 { transform: rotate(3.5deg); }
.polaroid-cork-timeline__polaroid--r4 { transform: rotate(-2.5deg); }
.polaroid-cork-timeline__polaroid--r5 { transform: rotate(1.5deg); }

.polaroid-cork-timeline__pin {
    width: 1rem;
    height: 1rem;
}

.polaroid-cork-timeline__pin--tl { top: 1.5rem; left: 1.5rem; }
.polaroid-cork-timeline__pin--tr { top: 1.5rem; right: 1.5rem; }
.polaroid-cork-timeline__pin--bl { bottom: 1.5rem; left: 1.5rem; }
.polaroid-cork-timeline__pin--br { bottom: 1.5rem; right: 1.5rem; }
.polaroid-cork-timeline__pin--center {
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
}

.polaroid-cork-timeline__title-card {
    transform: rotate(-1deg);
}

.polaroid-cork-timeline__photo {
    width: 12rem;
}

@media (min-width: 768px) {
    .polaroid-cork-timeline__photo {
        width: 13rem;
    }
}

.polaroid-cork-timeline__caption-text {
    font-family: 'Courier New', monospace;
}

.values-mission-panel__col {
    max-width: 24rem;
}

.values-mission-panel__thumb {
    width: 6rem;
    height: 6rem;
}

.values-mission-panel__card {
    max-width: 24rem;
}

/* team v27 — alternating rows + morphing decor shapes */
.team-zigzag__scene {
  overflow: hidden;
}

.team-zigzag__morph {
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  transform-origin: center center;
  animation: team-zigzag-morph 11s ease-in-out infinite;
}

.team-zigzag__morph--a {
  animation-duration: 9s;
}

.team-zigzag__morph--b {
  animation-duration: 12s;
  animation-delay: 1.5s;
}

.team-zigzag__morph--c {
  animation-duration: 10s;
  animation-delay: 3s;
}

.team-zigzag__morph--d {
  animation-duration: 13s;
  animation-delay: 0.5s;
}

.team-zigzag__morph--e {
  animation-duration: 14s;
  animation-delay: 2s;
}

@keyframes team-zigzag-morph {
  0%,
  100% {
    border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
    transform: scale(1) rotate(0deg);
  }
  33% {
    border-radius: 65% 35% 45% 55% / 42% 58% 38% 62%;
    transform: scale(1.06) rotate(4deg);
  }
  66% {
    border-radius: 52% 48% 62% 38% / 58% 42% 55% 45%;
    transform: scale(0.94) rotate(-3deg);
  }
}

/* Ambient layer — spin, float, pulse (distinct from morph blobs) */
.team-zigzag__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.team-zigzag__orbit {
  transform-origin: center center;
  animation: team-zigzag-orbit-spin 22s linear infinite;
}

.team-zigzag__orbit--rev {
  animation-direction: reverse;
  animation-duration: 30s;
}

.team-zigzag__orbit--lg {
  width: 11rem;
  height: 11rem;
  animation-duration: 26s;
}

.team-zigzag__orbit--sm {
  width: 7rem;
  height: 7rem;
}

.team-zigzag__spark {
  animation: team-zigzag-spark-float 5.5s ease-in-out infinite;
}

.team-zigzag__spark--b {
  animation-delay: 0.8s;
  animation-duration: 4.5s;
}

.team-zigzag__spark--c {
  animation-delay: 1.6s;
  animation-duration: 6s;
}

.team-zigzag__prism {
  width: 2.5rem;
  height: 2.5rem;
  transform-origin: center center;
  animation: team-zigzag-prism-pulse 7s ease-in-out infinite;
}

.team-zigzag__sweep {
  transform-origin: center center;
  width: 8rem;
  height: 2px;
  animation: team-zigzag-sweep-drift 9s ease-in-out infinite;
}

.team-zigzag__sweep--alt {
  width: 6rem;
  animation-delay: 2s;
  animation-duration: 11s;
}

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

@keyframes team-zigzag-spark-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.45;
  }
  50% {
    transform: translateY(-0.75rem) scale(1.35);
    opacity: 1;
  }
}

@keyframes team-zigzag-prism-pulse {
  0%,
  100% {
    transform: rotate(45deg) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: rotate(52deg) scale(1.2);
    opacity: 0.85;
  }
}

@keyframes team-zigzag-sweep-drift {
  0%,
  100% {
    transform: rotate(-14deg) translateX(-0.5rem) scaleX(0.8);
    opacity: 0.2;
  }
  50% {
    transform: rotate(6deg) translateX(0.75rem) scaleX(1.15);
    opacity: 0.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-zigzag__morph,
  .team-zigzag__orbit,
  .team-zigzag__spark,
  .team-zigzag__prism,
  .team-zigzag__sweep {
    animation: none;
  }
}

.team-zigzag__portrait {
  width: 5.5rem;
  height: 5.5rem;
}

.team-zigzag__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.team-zigzag__min-shrink {
  min-width: 0;
}

/* quote v28 — cinema: rotating orbits, watermark, compare slider, text cards */

.quote-cinema__orbit {
    position: absolute;
    border-radius: 9999px;
    animation: quoteCinemaOrbit 60s linear infinite;
}
.quote-cinema__orbit--a {
    width: 28rem;
    height: 28rem;
    top: -8rem;
    left: -6rem;
}
.quote-cinema__orbit--b {
    width: 22rem;
    height: 22rem;
    bottom: -6rem;
    right: -4rem;
    animation-direction: reverse;
    animation-duration: 45s;
}
.quote-cinema__orbit--c {
    width: 16rem;
    height: 16rem;
    top: 35%;
    left: 55%;
    animation-duration: 75s;
}
@keyframes quoteCinemaOrbit {
    to { transform: rotate(360deg); }
}

.quote-cinema__watermark {
    opacity: 0.25;
}

.quote-cinema__compare {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 1rem;
}
.quote-cinema__compare-img {
    object-fit: cover;
}
.quote-cinema__compare-clip {
    position: absolute;
    inset: 0;
    width: 50%;
    overflow: hidden;
}
.quote-cinema__handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: ew-resize;
    width: 2rem;
    height: 2rem;
}

.quote-cinema__rail {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.25rem;
}
.quote-cinema__cell {
    scroll-snap-align: start;
    width: 11rem;
}

.quote-cinema__card {
    outline: 2px dashed currentColor;
    outline-offset: -4px;
}
.quote-cinema__texture {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: radial-gradient(circle at 20% 20%, currentColor 0.5px, transparent 0.6px);
    background-size: 6px 6px;
    pointer-events: none;
}

.quote-cinema__photo {
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 250ms ease;
}
.quote-cinema__card:hover .quote-cinema__photo,
.quote-cinema__card:focus-within .quote-cinema__photo {
    filter: grayscale(0);
}

.quote-cinema__card summary {
    cursor: pointer;
    list-style: none;
}
.quote-cinema__card summary::-webkit-details-marker {
    display: none;
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-cinema-root [role="listitem"]:hover,
    .quote-cinema-root article:hover,
    .quote-cinema-root [class*="quote-cinema__card"]:hover,
    .quote-cinema-root .quote-cinema__book:hover,
    .quote-cinema-root .quote-cinema__step:hover,
    .quote-cinema-root .quote-cinema__index-card:hover,
    .quote-cinema-root .quote-cinema__pill:hover,
    .quote-cinema-root .quote-cinema__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-cinema-root [role="listitem"],
.quote-cinema-root article,
.quote-cinema-root [class*="quote-cinema__card"],
.quote-cinema-root .quote-cinema__book,
.quote-cinema-root .quote-cinema__step,
.quote-cinema-root .quote-cinema__index-card,
.quote-cinema-root .quote-cinema__pill {
    transition: transform 200ms ease;
}

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

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

