/* =========================================================
   PAGE INTROS
   Shared intro component used across site templates.
========================================================= */

.page-intro {
    position: relative;
    padding-top: 40px;
}

/* Normalize hero-to-intro spacing site-wide (matches membership forms baseline). */
.hero + * .page-intro {
    margin-top: 40px !important;
}

.page-intro::before {
    content: "";
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: -8px;
    height: 18px;
    pointer-events: none;
    background: radial-gradient(55% 110% at 50% 0%, rgba(15, 23, 42, .10), rgba(15, 23, 42, 0) 72%);
}

.page-intro.glass {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible !important;
}

.page-intro.glass::after {
    content: none;
}

.page-intro-head {
    max-width: 980px;
    margin: 0 auto 16px;
}

.page-intro-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .20em;
    text-transform: uppercase;
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(120% 180% at 20% 10%, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 55%),
        linear-gradient(180deg, #6a0015 0%, #4a000f 55%, #36000b 100%);
    color: #f7d36a;
    border: 1px solid rgba(246, 199, 76, .42);
    box-shadow:
        0 10px 26px rgba(0, 0, 0, .18),
        inset 0 1px 0 rgba(255, 255, 255, .14),
        inset 0 -1px 0 rgba(0, 0, 0, .18);
    transition: transform .16s ease, box-shadow .16s ease;
}

.page-intro-kicker::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 42%);
    opacity: .55;
    pointer-events: none;
    z-index: -1;
}

.page-intro-kicker:hover {
    transform: translateY(-1px);
    box-shadow:
        0 14px 34px rgba(0, 0, 0, .22),
        inset 0 1px 0 rgba(255, 255, 255, .16),
        inset 0 -1px 0 rgba(0, 0, 0, .20);
}

.page-intro-title {
    margin: 12px 0 8px;
    font-size: clamp(26px, 3.2vw, 34px);
    line-height: 1.15;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #3f000c;
}

.page-intro-sub {
    margin: 0;
    font-size: 17px;
    line-height: 1.65;
    opacity: .86;
    max-width: 860px;
    color: rgba(26, 10, 15, .86);
}

.intro-panel {
    max-width: 980px;
    margin: 0 auto;
    position: relative;
    border-radius: 22px;
    padding: 18px 18px 16px;
    background:
        radial-gradient(850px 320px at 12% 0%, rgba(246, 199, 76, .10), rgba(246, 199, 76, 0) 62%),
        radial-gradient(900px 520px at 90% 120%, rgba(90, 0, 17, .10), rgba(90, 0, 17, 0) 62%),
        rgba(255, 255, 255, .70);
    border: 1px solid rgba(15, 23, 42, .08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 10px 20px -12px rgba(15, 23, 42, .22),
        0 2px 10px rgba(15, 23, 42, .05),
        0 3px 6px rgba(15, 23, 42, .18);
}

.intro-panel::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 16px;
    border: 1px solid rgba(246, 199, 76, .16);
    pointer-events: none;
    opacity: .35;
}

.intro-panel-mark {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    isolation: isolate;
    background:
        radial-gradient(140% 160% at 25% 15%, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 55%),
        linear-gradient(180deg, #6a0015 0%, #4a000f 60%, #36000b 100%);
    color: #f7d36a;
    border: 1px solid rgba(246, 199, 76, .42);
    box-shadow:
        0 12px 26px rgba(0, 0, 0, .18),
        inset 0 1px 0 rgba(255, 255, 255, .14),
        inset 0 -1px 0 rgba(0, 0, 0, .18);
    text-shadow: 0 1px 0 rgba(0, 0, 0, .25);
}

.intro-panel-mark::before {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .10);
    opacity: .55;
    pointer-events: none;
}

.intro-panel-prose {
    padding-left: 58px;
    line-height: 1.75;
    opacity: .94;
    color: rgba(20, 20, 20, .82);
}

.intro-panel-prose p {
    margin: 0 0 10px;
}

.intro-panel-prose p:last-child {
    margin-bottom: 0;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-content: start;
    width: 100%;
    max-width: 360px;
    justify-self: end;
    align-self: start;
}

.intro-stat {
    position: relative;
    min-height: 138px;
    padding: 16px 14px 14px;
    border-radius: 18px;
    border: 1px solid rgba(90, 0, 17, .14);
    background: linear-gradient(180deg, #ffffff 0%, #f7f3ee 100%);
    box-shadow:
        0 16px 40px rgba(15, 23, 42, .10),
        0 6px 16px rgba(90, 0, 17, .08);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    overflow: visible;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-stat:hover {
    transform: translateY(-2px);
    border-color: rgba(246, 199, 76, .35);
    box-shadow:
        0 26px 64px rgba(15, 23, 42, .12),
        0 18px 34px rgba(246, 199, 76, .10),
        inset 0 1px 0 rgba(255, 255, 255, .90);
}

.intro-stats .stat-num {
    color: var(--maroon);
    font-weight: 900;
    font-size: clamp(32px, 2.7vw, 46px);
    line-height: 1;
    margin: 6px 0 7px;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
}

.intro-stats .stat-num.no-format {
    font-variant-numeric: tabular-nums;
}

.intro-stats .stat-label {
    position: relative;
    padding-top: 7px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .18em;
    line-height: 1.2;
    opacity: .86;
}

.intro-stats .stat-label::before {
    content: "";
    position: absolute;
    top: 0;
    left: 32%;
    right: 32%;
    height: 1px;
    background: rgba(90, 0, 17, .18);
}

@media (max-width: 700px) {
    .page-intro-kicker {
        font-size: 11px;
        letter-spacing: .16em;
    }

    .intro-panel-mark {
        display: none;
    }

    .intro-panel-prose {
        padding-left: 0;
    }

    .intro-stat {
        min-height: 122px;
        padding: 14px 10px 12px;
    }

    .intro-stats .stat-num {
        font-size: 30px;
    }
}

@media (max-width: 520px) {
    .intro-stats {
        grid-template-columns: 1fr;
    }
}
