/* intro v18 — Emigre clay: blurred photo, ECG draw, typewriter caret */

/* Blurred background photo, sharp panel sits over it */
.intro-clay [data-photo] {
    width: 66%;
    aspect-ratio: 4 / 3;
}
.intro-clay__img {
    object-fit: cover;
    filter: blur(5px) saturate(1.05);
    transform: scale(1.06);
}

/* Heartbeat / ECG line draw (stroke colour = currentColor from Tailwind text-*) */
.intro-clay__ecg-path {
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: intro-clay-ecg 4s linear infinite;
}
@keyframes intro-clay-ecg {
    0%   { stroke-dashoffset: 1400; }
    60%  { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -1400; }
}

/* Typewriter caret while typing */
.intro-clay__type .is-typing {
    border-right: 2px solid currentColor;
    animation: intro-clay-caret 800ms step-end infinite;
}
@keyframes intro-clay-caret {
    50% { border-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
    .intro-clay__ecg-path { animation: none; stroke-dashoffset: 0; }
}

/* About v10 — tab visibility and active state (no palette in CSS) */

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

.guide-ab10-tab-panel.guide-ab10-tab-panel-hidden {
    display: none;
}

.guide-ab10-tab-btn.guide-ab10-tab-active {
    font-weight: 700;
    transform: translateY(-1px);
}

.guide-ab10-tab-btn.guide-ab10-tab-inactive {
    font-weight: 500;
    opacity: 0.9;
}

.bento-metrics-timeline__blob {
    width: 24rem;
    height: 24rem;
    filter: blur(48px);
}

.bento-metrics-timeline__blob--top {
    top: -6rem;
    left: -6rem;
}

.bento-metrics-timeline__blob--bottom {
    bottom: -6rem;
    right: -6rem;
}

.bento-metrics-timeline__pip {
    width: 6px;
    height: 6px;
}

.bento-metrics-timeline__icon {
    width: 2rem;
    height: 2rem;
}

.bento-metrics-timeline__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .bento-metrics-timeline__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@keyframes bento-metrics-timeline__fade-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.bento-metrics-timeline__animate {
    animation: bento-metrics-timeline__fade-in 0.5s ease forwards;
}

.bento-metrics-timeline__card {
    transition: transform 200ms ease;
}

.bento-metrics-timeline__card:hover {
    transform: translateY(-0.125rem);
}

.lineup-circle-hero__portrait {
    width: 12rem;
    height: 12rem;
}

.lineup-circle-hero__min-shrink {
  min-width: 0;
}

/* quote v11 — constellation layout, LED-style cards, CRT phosphor background */
/* All color values below are `currentColor` (inherited from the Tailwind/Bootstrap
   text-color utility on the same element) or plain theme-token utilities set in the
   template — no hex/rgb/hsl literals live here. */

.constellation-quote__phosphor {
    background-image: radial-gradient(circle at 50% 20%, currentColor, transparent 70%);
}

.constellation-quote__scanlines {
    background-image: repeating-linear-gradient(
        to bottom,
        currentColor 0,
        currentColor 1px,
        transparent 1px,
        transparent 4px
    );
    background-size: 100% 4px;
}

/* drifting noise-field blobs — layout/animation only, tint comes from the tw/bs bg utility */
.constellation-quote__blob {
    width: 18rem;
    height: 18rem;
    filter: blur(48px);
    animation: constellation-quote-drift 18s ease-in-out infinite;
}

.constellation-quote__blob--a {
    top: -4rem;
    left: -3rem;
    animation-delay: 0s;
}

.constellation-quote__blob--b {
    right: -3rem;
    bottom: -5rem;
    animation-delay: 6s;
}

.constellation-quote__blob--c {
    top: 38%;
    left: 55%;
    width: 14rem;
    height: 14rem;
    animation-delay: 12s;
}

@keyframes constellation-quote-drift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: .55;
    }
    50% {
        transform: translate(2rem, -1.5rem) scale(1.12);
        opacity: .9;
    }
}

/* geometric constellation accents (pentagon / octagon) */
.constellation-quote__shape {
    width: 3rem;
    height: 3rem;
}

.constellation-quote__shape--pentagon {
    top: 1.5rem;
    right: 8%;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.constellation-quote__shape--octagon {
    bottom: 2rem;
    left: 6%;
    width: 2.5rem;
    height: 2.5rem;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

/* thin connecting lines between constellation nodes */
.constellation-quote__line {
    height: 1px;
}

.constellation-quote__line--a {
    top: 46%;
    left: 8%;
    width: 34%;
    transform: rotate(6deg);
}

.constellation-quote__line--b {
    top: 58%;
    right: 8%;
    width: 34%;
    transform: rotate(-8deg);
}

/* staggered node offsets for the constellation feel — margin (not transform) so grid gap stays intact */
.constellation-quote__col--2 {
    margin-top: 1.75rem;
}

.constellation-quote__col--3 {
    margin-top: 2.25rem;
}

.constellation-quote__col--4 {
    margin-top: 0.25rem;
}

.constellation-quote__card {
    min-height: 15rem;
    letter-spacing: .04em;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

/* drag-to-reorder visual feedback — opacity only, no color change */
.constellation-quote__col.is-dragging {
    opacity: .4;
}

.constellation-quote__col.is-drop-target .constellation-quote__card {
    transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
    .constellation-quote__blob {
        animation: none;
    }
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .constellation-quote-root [role="listitem"]:hover,
    .constellation-quote-root article:hover,
    .constellation-quote-root [class*="constellation-quote__card"]:hover,
    .constellation-quote-root .constellation-quote__book:hover,
    .constellation-quote-root .constellation-quote__step:hover,
    .constellation-quote-root .constellation-quote__index-card:hover,
    .constellation-quote-root .constellation-quote__pill:hover,
    .constellation-quote-root .constellation-quote__item:hover {
        transform: translateY(-0.125rem);
    }
}

.constellation-quote-root [role="listitem"],
.constellation-quote-root article,
.constellation-quote-root [class*="constellation-quote__card"],
.constellation-quote-root .constellation-quote__book,
.constellation-quote-root .constellation-quote__step,
.constellation-quote-root .constellation-quote__index-card,
.constellation-quote-root .constellation-quote__pill {
    transition: transform 200ms ease;
}

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

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

