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


.script-bodycopy__visual--rise:hover { transform: scale(1.1); transition: transform .2s ease; }

.script-bodycopy__split-panel-inset {
    padding: 4rem;
}

.content-wide-frame {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-heading-gap {
    margin-bottom: 2rem;
}

.content-base-height {
    display: block;
    width: 100%;
    height: 16rem;
    min-height: 16rem;
    flex-shrink: 0;
    object-fit: cover;
}

/* process kanban — geometric decor, icon/body sizing */
.process-kb__geo {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.process-kb__geo::before {
    content: '';
    position: absolute;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    border: 3.5rem solid currentColor;
    opacity: 0.04;
    top: -7rem;
    right: -7rem;
}
.process-kb__geo::after {
    content: '';
    position: absolute;
    width: 10rem;
    height: 10rem;
    border: 2.5rem solid currentColor;
    opacity: 0.04;
    bottom: -3rem;
    left: -3rem;
}
.process-kb__icon {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}
.process-kb__body {
    min-width: 0;
}

/* quote v24 — orbit layout: full-bleed photo, grain, SVG path draw-on-scroll */

.quote-orbit__frame {
    margin: 0;
    height: 100%;
}
.quote-orbit__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.quote-orbit__grain {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
    pointer-events: none;
}

.quote-orbit__path {
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    transition: stroke-dashoffset 1200ms ease;
}
.quote-orbit__path.is-drawn {
    stroke-dashoffset: 0;
}

.quote-orbit__grid {
    min-height: 12rem;
}
.quote-orbit__hub {
    width: 4.5rem;
    height: 4.5rem;
}
.quote-orbit__quote {
    font-variant: small-caps;
}

@media (min-width: 1200px) {
    .quote-orbit__col:nth-child(1) { transform: translateY(-0.5rem); }
    .quote-orbit__col:nth-child(2) { transform: translateY(0.75rem); }
    .quote-orbit__col:nth-child(3) { transform: translateY(-0.25rem); }
    .quote-orbit__col:nth-child(4) { transform: translateY(0.5rem); }
    .quote-orbit__col:nth-child(5) { transform: translateY(-0.75rem); }
    .quote-orbit__col:nth-child(6) { transform: translateY(0.25rem); }
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-orbit-root [role="listitem"]:hover,
    .quote-orbit-root article:hover,
    .quote-orbit-root [class*="quote-orbit__card"]:hover,
    .quote-orbit-root .quote-orbit__book:hover,
    .quote-orbit-root .quote-orbit__step:hover,
    .quote-orbit-root .quote-orbit__index-card:hover,
    .quote-orbit-root .quote-orbit__pill:hover,
    .quote-orbit-root .quote-orbit__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-orbit-root [role="listitem"],
.quote-orbit-root article,
.quote-orbit-root [class*="quote-orbit__card"],
.quote-orbit-root .quote-orbit__book,
.quote-orbit-root .quote-orbit__step,
.quote-orbit-root .quote-orbit__index-card,
.quote-orbit-root .quote-orbit__pill {
    transition: transform 200ms ease;
}

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

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

