/* intro v16 — Metropolis reel: film-perforation strips, image cover, load stagger, radius morph */

/* Film-perforation edge strips: colour comes from Tailwind bg-* on the element; mask punches holes */
.intro-reel__perf {
    -webkit-mask: radial-gradient(circle at center, transparent 0 0.28rem, black 0.3rem) center / 1.5rem 2.2rem;
    mask: radial-gradient(circle at center, transparent 0 0.28rem, black 0.3rem) center / 1.5rem 2.2rem;
    z-index: 1;
}

/* Background image fills the band, keeps aspect via object-fit (no BS utility) */
.intro-reel__row {
    min-height: 18rem;
    transition: border-radius 320ms ease;
    opacity: 0;
    animation: intro-reel-rise 520ms ease forwards;
}
.intro-reel__img {
    object-fit: cover;
    object-position: center;
}

/* Border-radius morph on hover */
.intro-reel__row:hover {
    border-radius: 2.25rem 0.5rem 2.25rem 0.5rem;
}

/* Stagger children — 80ms delay each on load */
.intro-reel__row:nth-child(1) { animation-delay: 0ms; }
.intro-reel__row:nth-child(2) { animation-delay: 80ms; }
.intro-reel__row:nth-child(3) { animation-delay: 160ms; }
.intro-reel__row:nth-child(4) { animation-delay: 240ms; }
.intro-reel__row:nth-child(5) { animation-delay: 320ms; }
.intro-reel__row:nth-child(6) { animation-delay: 400ms; }

@keyframes intro-reel-rise {
    from { opacity: 0; transform: translateY(1.5rem); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .intro-reel__row { animation: none; opacity: 1; }
}

/* Layout / motion — colors stay in Blade */

.overlay-panel-stack__tile {
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 380px;
  min-height: 340px;
}

.overlay-panel-stack__dock {
  transform: translateY(calc(100% - 3.25rem));
  transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.overlay-panel-stack__tile:hover .overlay-panel-stack__dock {
  transform: translateY(0);
}

.overlay-panel-stack__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.overlay-panel-stack__cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


@keyframes agenda-sessions-star-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.agenda-sessions__star-lg {
    position: absolute;
    top: 3rem;
    left: 2.5rem;
    width: 1.5rem;
    height: 1.5rem;
    animation: agenda-sessions-star-pulse 2s cubic-bezier(.4,0,.6,1) infinite;
}

@keyframes agenda-sessions-star-bounce {
    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); }
}
.agenda-sessions__star-sm {
    position: absolute;
    top: 6rem;
    right: 3rem;
    left: auto;
    width: 1rem;
    height: 1rem;
    animation: agenda-sessions-star-bounce 1s infinite;
    animation-delay: 0.5s;
}

@keyframes agenda-sessions-ring-ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}
.agenda-sessions__ring-lg {
    position: absolute;
    bottom: 6rem;
    left: 4rem;
    top: auto;
    width: 2rem;
    height: 2rem;
    box-sizing: border-box;
    border-width: 2px;
    animation: agenda-sessions-ring-ping 1s cubic-bezier(0,0,.2,1) infinite;
    animation-delay: 0.3s;
}
.agenda-sessions__ring-sm {
    position: absolute;
    bottom: 3rem;
    right: 6rem;
    left: auto;
    top: auto;
    width: 1.5rem;
    height: 1.5rem;
    box-sizing: border-box;
    border-width: 2px;
    animation: agenda-sessions-ring-ping 1s cubic-bezier(0,0,.2,1) infinite;
    animation-delay: 0.8s;
}

.agenda-sessions__blob { width: 5rem; height: 5rem; }
.agenda-sessions__accent { height: 0.25rem; }

/* BS: два стовпці з проміжком між рамками карток (аналог Tailwind gap-lg + md:w-[48%]) */
.agenda-sessions__pair-cell {
    width: 100%;
}
@media (min-width: 768px) {
    .agenda-sessions__pair-cell {
        flex: 0 1 calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
        width: auto;
    }
}

.agenda-sessions__story--glow:hover { transform: scale(1.05); transition: transform .2s ease; }
.agenda-sessions__slot--glow:hover { transform: scale(1.05); transition: transform .2s ease; }
.agenda-sessions__prompt--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

.tips-financial__card {
    max-width: 24rem;
}

.tips-financial__thumb {
    width: 2.5rem;
    height: 2.5rem;
}

/* glossary zig — reserved for layout-only hooks; motion lives in Tailwind on @sem('row'). */


.invite-boost__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

@keyframes invite-boost-flare-throb-cycle {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.invite-boost__flare--throb {
    animation: invite-boost-flare-throb-cycle 2s cubic-bezier(.4,0,.6,1) infinite;
}

@keyframes invite-boost-flare-rebound-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); }
}
.invite-boost__flare--rebound {
    animation: invite-boost-flare-rebound-cycle 1s infinite;
}

@keyframes invite-boost-flare-ping-cycle {
    75%, 100% { transform: scale(2); opacity: 0; }
}
.invite-boost__flare--ping {
    animation: invite-boost-flare-ping-cycle 1s cubic-bezier(0,0,.2,1) infinite;
}

@keyframes invite-boost-stroke-throb-cycle {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.invite-boost__stroke--throb {
    animation: invite-boost-stroke-throb-cycle 2s cubic-bezier(.4,0,.6,1) infinite;
}

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

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

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

