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

.sketch-image-hover {
    transition: transform 0.3s ease;
}

.sketch-image-hover:hover {
    transform: scale(1.05);
}

.sketch-card-offset {
    right: -1.5rem;
    bottom: -1.5rem;
}

.accordion-playstation-timeline__chevron--open {
    transform: rotate(180deg);
}

.accordion-playstation-timeline__panel {
    max-height: 400px;
    transition: max-height 0.35s ease;
}

.accordion-playstation-timeline__panel[aria-hidden="true"],
.accordion-playstation-timeline__panel.is-closed {
    max-height: 0 !important;
}

.accordion-playstation-timeline__decor-tr {
    clip-path: polygon(100% 0, 100% 60%, 40% 0);
    top: 0;
    right: 0;
    width: 16rem;
    height: 16rem;
}

.accordion-playstation-timeline__decor-bl {
    clip-path: polygon(0 40%, 60% 100%, 0 100%);
    bottom: 0;
    left: 0;
    width: 12rem;
    height: 12rem;
}

.accordion-playstation-timeline__badge-size {
    width: 3.5rem;
    height: 2.5rem;
}

.accordion-playstation-timeline__panel--closed {
    max-height: 0;
}

.accordion-playstation-timeline__min-shrink {
  min-width: 0;
}

/* Values v23 - horizontal scroll-snap carousel (layout/size only, no colors) */

.values-airbnb__track {
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    list-style: none;
}

.values-airbnb__track::-webkit-scrollbar {
    display: none;
}

.values-airbnb__nav-btn {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    flex-shrink: 0;
}

.values-airbnb__card {
    scroll-snap-align: start;
    flex: 0 0 18rem;
    width: 18rem;
    max-width: 18rem;
    list-style: none;
}

@media (min-width: 576px) {
    .values-airbnb__card {
        flex: 0 0 20rem;
        width: 20rem;
        max-width: 20rem;
    }
}

.values-airbnb__dot {
    width: 0.625rem;
    height: 0.625rem;
    padding: 0;
    flex-shrink: 0;
    transform: scale(1);
    transition: transform 200ms ease;
}

.values-airbnb__dot.is-active {
    transform: scale(1.6);
}

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

