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

/* Card hover: scale */
.portfolio-item-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-item-hover:hover {
    transform: scale(1.05);
}

/* Overlay: fade in on card hover */
.portfolio-overlay-hover {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.portfolio-item-hover:hover .portfolio-overlay-hover {
    opacity: 1;
}


.manuscript-bodycopy__decor-1 {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.manuscript-bodycopy__decor-2 {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.manuscript-bodycopy__decor-3 {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.manuscript-bodycopy__decor-4 {
    position: absolute;
    bottom: 1.5rem;
    right: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.manuscript-bodycopy__title-trail { margin-bottom: 2rem; }

.manuscript-bodycopy__rule-trail { margin-bottom: 2rem; }

.manuscript-bodycopy__frame-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

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

/* quote v21 — card-deck overlap, celtic-knot corners, chrome-frame avatar, clip-path hover reveal */

/* blueprint engineering-paper grid — pattern uses currentColor, no literal color values here */
.quote-deck__blueprint {
    background-image:
        repeating-linear-gradient(0deg, currentColor 0, currentColor 1px, transparent 1px, transparent 24px),
        repeating-linear-gradient(90deg, currentColor 0, currentColor 1px, transparent 1px, transparent 24px);
    background-size: 24px 24px;
}

/* concentric decorative rings — size/position only, border color comes from the sem/theme classes in the template */
.quote-deck__ring {
    top: 50%;
    left: 50%;
    pointer-events: none;
}
.quote-deck__ring--sm {
    width: 12rem;
    height: 12rem;
    transform: translate(-50%, -50%);
}
.quote-deck__ring--md {
    width: 18rem;
    height: 18rem;
    transform: translate(-50%, -50%);
}
.quote-deck__ring--lg {
    width: 24rem;
    height: 24rem;
    transform: translate(-50%, -50%);
}

/* lightning-flash overlay — opacity-only keyframes, irregular via staggered delays */
@keyframes quoteDeckFlash {
    0%, 88%, 100% { opacity: 0; }
    91% { opacity: 1; }
    94% { opacity: 0.2; }
}
.quote-deck__flash {
    animation: quoteDeckFlash 6s steps(1, end) infinite;
}
.quote-deck__flash--a { animation-delay: 0s; }
.quote-deck__flash--b { animation-delay: 2.3s; }
.quote-deck__flash--c { animation-delay: 4.1s; }

/* card-deck overlap rhythm — variable tight/loose offsets, resets to a plain stack below md */
@media (min-width: 768px) {
    .quote-deck__item:nth-child(1) {
        transform: translateY(0.5rem);
        margin-right: -1.25rem;
        z-index: 1;
    }
    .quote-deck__item:nth-child(2) {
        transform: translateY(-0.75rem);
        margin-left: -0.5rem;
        margin-right: -2rem;
        z-index: 3;
    }
    .quote-deck__item:nth-child(3) {
        transform: translateY(1rem);
        margin-left: -0.75rem;
        z-index: 2;
    }
}

.quote-deck__card {
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.quote-deck__card:hover,
.quote-deck__card:focus-within {
    transform: translateY(-0.5rem);
    z-index: 10;
}

/* celtic-knot corner accents — identical sem content per corner, shape/placement handled here */
.quote-deck__knot {
    width: 1.25rem;
    height: 1.25rem;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 35% 35%, 35% 100%, 0 100%);
}
.quote-deck__knot--tl {
    position: absolute;
    top: -0.375rem;
    left: -0.375rem;
}
.quote-deck__knot--tr {
    position: absolute;
    top: -0.375rem;
    right: -0.375rem;
    transform: rotate(90deg);
}
.quote-deck__knot--bl {
    position: absolute;
    bottom: -0.375rem;
    left: -0.375rem;
    transform: rotate(270deg);
}
.quote-deck__knot--br {
    position: absolute;
    bottom: -0.375rem;
    right: -0.375rem;
    transform: rotate(180deg);
}

/* browser-chrome framing for the icon tile */
.quote-deck__chrome {
    height: 1.25rem;
}
.quote-deck__chrome-dot {
    width: 0.375rem;
    height: 0.375rem;
    flex: none;
}
.quote-deck__avatar {
    width: 3.5rem;
}
.quote-deck__glyph {
    height: 2.75rem;
}

/* clip-path reveal on hover — pure CSS, no JS */
.quote-deck__reveal {
    clip-path: inset(0 0 100% 0);
    max-height: 0;
    transition: clip-path 250ms ease, max-height 250ms ease;
}
.quote-deck__card:hover .quote-deck__reveal,
.quote-deck__card:focus-within .quote-deck__reveal {
    clip-path: inset(0 0 0 0);
    max-height: 6rem;
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-deck-root [role="listitem"]:hover,
    .quote-deck-root article:hover,
    .quote-deck-root [class*="quote-deck__card"]:hover,
    .quote-deck-root .quote-deck__book:hover,
    .quote-deck-root .quote-deck__step:hover,
    .quote-deck-root .quote-deck__index-card:hover,
    .quote-deck-root .quote-deck__pill:hover,
    .quote-deck-root .quote-deck__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-deck-root [role="listitem"],
.quote-deck-root article,
.quote-deck-root [class*="quote-deck__card"],
.quote-deck-root .quote-deck__book,
.quote-deck-root .quote-deck__step,
.quote-deck-root .quote-deck__index-card,
.quote-deck-root .quote-deck__pill {
    transition: transform 200ms ease;
}

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

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

/* FAQ v4 — collapsed panel (no display:none: scrollHeight must be measurable after class toggle) */
.support-qna-content-veiled {
    max-height: 0 !important;
    overflow: hidden;
    opacity: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    pointer-events: none;
}

/* Thumb sizes */
.support-qna__thumb-md { width: 2.5rem; height: 2.5rem; }
.support-qna__thumb-sm { width: 2rem; height: 2rem; }

/* Corner blob sizes */
.support-qna__corner-blob-lg { width: 8rem; height: 8rem; }
.support-qna__corner-blob-md { width: 6rem; height: 6rem; }

/* Dot positions */
.support-qna__dot-a { top: 6rem; left: 33%; width: 0.75rem; height: 0.75rem; }
.support-qna__dot-b { top: 10rem; right: 33%; width: 0.5rem; height: 0.5rem; }
.support-qna__dot-c { bottom: 8rem; left: 50%; width: 1rem; height: 1rem; }

/* Stripe positions for gradient bands */
.support-qna__stripe-top { height: 8rem; }
.support-qna__stripe-mid { top: 4rem; height: 6rem; }

/* Blob positions */
.support-qna__blob-a { top: 5rem; left: 3rem; width: 4rem; height: 4rem; }
.support-qna__blob-b { top: 8rem; right: 4rem; width: 3rem; height: 3rem; }
.support-qna__blob-c { bottom: 6rem; left: 25%; width: 5rem; height: 5rem; }

/* Animation delays */
.support-qna__ornament--delay-2 { animation-delay: 0.5s; }
.support-qna__ornament--delay-3 { animation-delay: 0.8s; }
.support-qna__ornament--delay-4 { animation-delay: 1s; }
.support-qna__ornament--delay-5 { animation-delay: 1.2s; }
.support-qna__ornament--delay-6 { animation-delay: 1.5s; }
.support-qna__ornament--delay-7 { animation-delay: 2s; }

@keyframes support-qna-ornament-beat-cycle {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.support-qna__ornament--beat {
    animation: support-qna-ornament-beat-cycle 2s cubic-bezier(.4,0,.6,1) infinite;
}

@keyframes support-qna-ornament-spring-cycle {
    0%, 100% { transform: translateY(0); animation-timing-function: cubic-bezier(.8,0,1,1); }
    50%       { transform: translateY(-25%); animation-timing-function: cubic-bezier(0,0,.2,1); }
}
.support-qna__ornament--spring {
    animation: support-qna-ornament-spring-cycle 1s infinite;
}

@keyframes support-qna-ornament-wave-cycle {
    75%, 100% { transform: scale(2); opacity: 0; }
}
.support-qna__ornament--wave {
    animation: support-qna-ornament-wave-cycle 1s cubic-bezier(0,0,.2,1) infinite;
}

.support-qna__ornament--lift:hover { transform: scale(1.25); transition: transform .2s ease; }

.support-qna__mark--lift:hover { transform: scale(1.1); transition: transform .2s ease; }


.signup-conversion__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.signup-conversion__slate--lift:hover { transform: scale(1.05); transition: transform .2s ease; }

.signup-conversion__action--lift:hover { transform: scale(1.05); transition: transform .2s ease; }

.signup-conversion__cards-bs {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}

.signup-conversion__cards-bs > .signup-conversion__slate--lift {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .signup-conversion__cards-bs > .signup-conversion__slate--lift {
        flex: 1 1 calc((100% - 2rem) / 2);
        max-width: calc((100% - 2rem) / 2);
    }
}

@media (min-width: 992px) {
    .signup-conversion__cards-bs > .signup-conversion__slate--lift {
        flex: 1 1 calc((100% - 4rem) / 3);
        max-width: calc((100% - 4rem) / 3);
    }
}

