/* intro — tape mast: full masthead, metric rail, dual cards, letterbox */
.tape-mast__eyebrow {
    letter-spacing: 0.14em;
}

.tape-mast__title {
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.tape-mast__rule {
    height: 0;
}

.tape-mast__rail-item {
    min-width: 0;
}

@media (min-width: 992px) {
    .tape-mast__rail-item + .tape-mast__rail-item {
        border-left: 1px solid var(--bs-border-color);
        padding-left: 1.25rem;
    }
}

.tape-mast__card {
    padding: 1.25rem;
    min-height: 12rem;
}

.tape-mast__caption {
    font-size: 0.75rem;
    line-height: 1rem;
}

.tape-mast__chart {
    min-height: 6rem;
    overflow: visible;
}

.tape-mast__chart-fill {
    transform-origin: center bottom;
    animation: tape-mast-chart-fill 4.2s ease-in-out infinite;
}

.tape-mast__chart-line {
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    animation: tape-mast-chart-draw 4.2s ease-in-out infinite;
}

.tape-mast__chart-dot {
    animation: tape-mast-chart-dot 4.2s ease-in-out infinite;
}

.tape-mast__photo {
    min-height: 14rem;
}

.tape-mast__photo-img {
    object-fit: cover;
}

@keyframes tape-mast-chart-fill {
    0%, 12% { opacity: 0; transform: scaleY(0.55); }
    40%, 72% { opacity: 1; transform: scaleY(1); }
    88%, 100% { opacity: 0; transform: scaleY(0.55); }
}

@keyframes tape-mast-chart-draw {
    0% { stroke-dashoffset: 420; opacity: 0.35; }
    38% { stroke-dashoffset: 0; opacity: 1; }
    72% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: 420; opacity: 0.35; }
}

@keyframes tape-mast-chart-dot {
    0%, 28% { opacity: 0; transform: translateY(6px) scale(0.6); }
    42%, 72% { opacity: 1; transform: translateY(0) scale(1); }
    88%, 100% { opacity: 0; transform: translateY(6px) scale(0.6); }
}

@media (min-width: 768px) {
    .tape-mast__photo {
        min-height: 18rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tape-mast__chart-fill,
    .tape-mast__chart-line,
    .tape-mast__chart-dot {
        animation: none;
        opacity: 1;
        transform: none;
        stroke-dashoffset: 0;
    }
}

/* short stat captions sit in narrow columns on phones: long words break instead of spilling over */
.tape-mast__caption { min-width: 0; overflow-wrap: anywhere; }


.editorial-document__decor-1 {
    position: absolute;
    width: 8rem;
    height: 8rem;
    top: 0;
    right: 0;
    transform: translate(4rem, -4rem) rotate(45deg);
    z-index: 0;
    pointer-events: none;
}

.editorial-document__decor-2 {
    position: absolute;
    width: 12rem;
    height: 6rem;
    bottom: 0;
    left: 0;
    transform: translate(-6rem, 3rem) rotate(12deg);
    z-index: 0;
    pointer-events: none;
}

.editorial-document__decor-3 {
    position: absolute;
    width: 4rem;
    height: 4rem;
    top: 50%;
    left: 0;
    transform: translate(-2rem, -50%) rotate(45deg);
    z-index: 0;
    pointer-events: none;
}

.editorial-document__decor-4 {
    position: absolute;
    width: 5rem;
    height: 5rem;
    bottom: 25%;
    right: 33.333333%;
    transform: rotate(12deg);
    z-index: 0;
    pointer-events: none;
}

.editorial-document__decor-5 {
    position: absolute;
    width: 3rem;
    height: 3rem;
    top: 25%;
    left: 50%;
    transform: rotate(-12deg);
    z-index: 0;
    pointer-events: none;
}

.editorial-document__decor-6 {
    position: absolute;
    width: 2rem;
    height: 2rem;
    bottom: 50%;
    right: 0;
    transform: translate(1rem, 0) rotate(45deg);
    z-index: 0;
    pointer-events: none;
}

.editorial-document__divider-bar {
    height: 0.25rem;
}

.editorial-document__rule-trail { margin-bottom: 3rem; }

.editorial-document__shell-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.content-prose-measure {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

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

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

/* v28 - scattered rotation per card (per-index transform has no TW/BS utility) */
[data-scatter-card] {
    transition: transform 200ms ease;
}

/* fixed card width (w-64 has no equivalent Bootstrap utility) */
.scrapbook-pile__card {
    width: 16rem;
}

[data-scatter-card="0"] {
    transform: rotate(-3deg);
}

[data-scatter-card="1"] {
    transform: rotate(2deg) translateY(-0.5rem);
}

[data-scatter-card="2"] {
    transform: rotate(-1.5deg);
}

[data-scatter-card]:hover {
    transform: rotate(0deg) translateY(0);
}


.prompt-beacon__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.prompt-beacon__appeal--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

.prompt-beacon__sheet--haze { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

