/* intro v27 — Evangelion cascade: organic blob, wide banner, diagonal steps, slide-in L/R, word reveal */

/* Organic blob */
.intro-eva__blob {
    width: 24rem;
    height: 24rem;
    filter: blur(60px);
    opacity: 0.4;
    border-radius: 38% 62% 55% 45% / 55% 42% 58% 45%;
    animation: intro-eva-morph 12s ease-in-out infinite;
}
@keyframes intro-eva-morph {
    50% { border-radius: 55% 45% 42% 58% / 42% 58% 45% 55%; }
}

/* Single wide banner */
.intro-eva__banner-img {
    display: block;
    width: 100%;
    height: 12rem;
    object-fit: cover;
}
@media (min-width: 768px) {
    .intro-eva__banner-img { height: 16rem; }
}

/* Stepped diagonal cascade + asymmetric mixed sizes */
.intro-eva__row { margin-left: 0; }
.intro-eva__cell { max-width: 46rem; }
@media (min-width: 768px) {
    .intro-eva__row:nth-child(1) .intro-eva__cell { margin-left: 0;    max-width: 40rem; }
    .intro-eva__row:nth-child(2) .intro-eva__cell { margin-left: 3rem; max-width: 34rem; }
    .intro-eva__row:nth-child(3) .intro-eva__cell { margin-left: 6rem; max-width: 44rem; }
    .intro-eva__row:nth-child(4) .intro-eva__cell { margin-left: 9rem; max-width: 30rem; }
}

/* Slide-in from L / R on scroll — hidden only once JS arms it (no-JS content stays visible) */
.intro-eva.is-armed .intro-eva__row {
    opacity: 0;
    transition: opacity 560ms ease, transform 560ms ease;
}
.intro-eva.is-armed .intro-eva__row:nth-child(odd)  { transform: translateX(-2.5rem); }
.intro-eva.is-armed .intro-eva__row:nth-child(even) { transform: translateX(2.5rem); }
.intro-eva.is-armed .intro-eva__row.is-in { opacity: 1; transform: translateX(0); }

/* Letterpress-ish press using the element's own colour */
.intro-eva__press { text-shadow: 0 1px 0 currentColor; }

/* Word-by-word reveal */
.intro-eva__word { display: inline-block; }
.intro-eva.is-armed .intro-eva__word {
    opacity: 0;
    transform: translateY(0.6em);
    transition: opacity 420ms ease, transform 420ms ease;
}
.intro-eva.is-armed .intro-eva__reveal.is-in .intro-eva__word { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .intro-eva__blob { animation: none; }
    .intro-eva__row { opacity: 1; transform: none; }
    .intro-eva__word { opacity: 1; transform: none; }
}

.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;
}

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

.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 v28 — neon mosaic tiles + diagonal brand marquees */
.team-mosaic__diag-scene {
  overflow: hidden;
}

.team-mosaic__diag-strip {
  position: absolute;
  left: -25%;
  width: 150%;
  overflow: hidden;
  pointer-events: none;
}

.team-mosaic__diag-strip--a {
  top: 12%;
  transform: rotate(-14deg);
}

.team-mosaic__diag-strip--b {
  top: 36%;
  transform: rotate(10deg);
}

.team-mosaic__diag-strip--c {
  top: 58%;
  transform: rotate(-8deg);
}

.team-mosaic__diag-strip--d {
  top: 78%;
  transform: rotate(16deg);
}

.team-mosaic__diag-rail {
  display: inline-flex;
  will-change: transform;
}

.team-mosaic__diag-strip--a .team-mosaic__diag-rail {
  animation: team-mosaic-diag-run 38s linear infinite;
}

.team-mosaic__diag-strip--b .team-mosaic__diag-rail {
  animation: team-mosaic-diag-run-rev 32s linear infinite;
}

.team-mosaic__diag-strip--c .team-mosaic__diag-rail {
  animation: team-mosaic-diag-run 44s linear infinite;
  animation-delay: 4s;
}

.team-mosaic__diag-strip--d .team-mosaic__diag-rail {
  animation: team-mosaic-diag-run-rev 36s linear infinite;
  animation-delay: 2s;
}

.team-mosaic__diag-chunk {
  font-size: clamp(1.75rem, 5vw, 3.25rem);
  line-height: 1;
  flex-shrink: 0;
}

@keyframes team-mosaic-diag-run {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes team-mosaic-diag-run-rev {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.team-mosaic__item {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
}

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

.team-mosaic__shade {
  pointer-events: none;
}

.team-mosaic__glow {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(45deg, var(--bs-primary), transparent, var(--bs-primary));
  opacity: 0;
  z-index: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.team-mosaic__item:hover .team-mosaic__glow {
  opacity: 0.35;
  filter: blur(8px);
}

@media (prefers-reduced-motion: reduce) {
  .team-mosaic__diag-rail {
    animation: none;
  }
}

/* quote v19 — weirdcore single focus: progress bar, sunburst, pulsing rings, annotation panel */

.quote-weirdcore__progress-fill {
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 120ms linear;
}

.quote-weirdcore__lead {
    font-variant: small-caps;
    letter-spacing: 0.04em;
}

.quote-weirdcore__stage {
    min-height: 18rem;
}

.quote-weirdcore__rays {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.quote-weirdcore__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 9999px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.quote-weirdcore__ring--1 {
    width: 8rem;
    height: 8rem;
    animation: quoteWeirdcorePulse 3s ease-out infinite;
}
.quote-weirdcore__ring--2 {
    width: 11rem;
    height: 11rem;
    animation: quoteWeirdcorePulse 3s ease-out infinite 0.6s;
}
.quote-weirdcore__ring--3 {
    width: 14rem;
    height: 14rem;
    animation: quoteWeirdcorePulse 3s ease-out infinite 1.2s;
}
@keyframes quoteWeirdcorePulse {
    0% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.7; }
    70% { opacity: 0.15; }
    100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0; }
}

.quote-weirdcore__frame {
    width: min(100%, 22rem);
}
.quote-weirdcore__dot {
    width: 0.5rem;
    height: 0.5rem;
    flex: none;
}
.quote-weirdcore__panel-body {
    min-height: 14rem;
}
.quote-weirdcore__panel-grid {
    opacity: 0.55;
}
.quote-weirdcore__panel-mark {
    margin-top: 0.125rem;
}
.quote-weirdcore__panel-badge {
    letter-spacing: 0.08em;
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-weirdcore-root [role="listitem"]:hover,
    .quote-weirdcore-root article:hover,
    .quote-weirdcore-root [class*="quote-weirdcore__card"]:hover,
    .quote-weirdcore-root .quote-weirdcore__book:hover,
    .quote-weirdcore-root .quote-weirdcore__step:hover,
    .quote-weirdcore-root .quote-weirdcore__index-card:hover,
    .quote-weirdcore-root .quote-weirdcore__pill:hover,
    .quote-weirdcore-root .quote-weirdcore__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-weirdcore-root [role="listitem"],
.quote-weirdcore-root article,
.quote-weirdcore-root [class*="quote-weirdcore__card"],
.quote-weirdcore-root .quote-weirdcore__book,
.quote-weirdcore-root .quote-weirdcore__step,
.quote-weirdcore-root .quote-weirdcore__index-card,
.quote-weirdcore-root .quote-weirdcore__pill {
    transition: transform 200ms ease;
}

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

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

