/* Shared public-page safeguards. These load after each page stylesheet. */
.home-button--light {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-width: 196px;
    padding: 16px 28px;
    background: #fff !important;
    color: #922a5d !important;
    box-shadow: 0 12px 28px rgb(46 13 30 / 18%);
}

.home-button--light:hover,
.home-button--light:focus-visible {
    background: #2d252c !important;
    color: #fff !important;
}

.home-button--light span {
    color: inherit !important;
    font-size: 20px;
    line-height: 1;
}

/* Never allow legacy heading rules to reduce image-hero contrast. */
.home-hero h1,
.home-hero-copy p,
.highlights-hero h1,
.highlights-hero span,
.program-hero h1,
.program-hero-content > p:last-child,
.contact-hero h1,
.contact-hero span,
.membership-hero h1,
.membership-hero span,
.member-directory-hero h1,
.member-directory-hero > div > p:not(.member-directory-eyebrow) {
    color: #fff !important;
    text-shadow: 0 2px 22px rgb(20 10 17 / 58%);
}

.highlights-hero h1 em,
.program-hero h1 em,
.contact-hero h1 em,
.membership-hero h1 em,
.member-directory-hero h1 em {
    color: #ffc0dc !important;
}

/* Keep the editorial intro close to the card collection. */
.highlights-intro {
    padding-top: clamp(62px, 8vw, 104px) !important;
    padding-bottom: clamp(34px, 5vw, 62px) !important;
}

.highlights-events {
    padding-bottom: clamp(70px, 8vw, 112px) !important;
}

.highlights-moments-heading {
    display: block !important;
    max-width: 720px;
    margin: 0 0 44px !important;
}

.highlights-moments-heading .highlights-eyebrow {
    margin-bottom: 18px;
}

.highlights-moments-heading h2 {
    max-width: 640px;
    font-size: clamp(52px, 5.4vw, 78px);
}

.program-intro {
    padding: clamp(64px, 8vw, 104px) 0 clamp(34px, 5vw, 60px) !important;
}

.program-feature-grid {
    padding: clamp(38px, 5vw, 68px) 0 clamp(76px, 9vw, 120px) !important;
}

/* Creative Outlet and Performing Kids follow the same contained page rhythm as the other public pages. */
.program-page--boxed {
    padding: clamp(22px, 3vw, 46px) 0 0;
}

.program-page--boxed .program-hero,
.program-page--boxed .program-story,
.program-page--boxed .program-quote {
    width: min(1160px, calc(100% - 64px));
    margin-right: auto;
    margin-left: auto;
    overflow: hidden;
    border-radius: 28px;
}

.program-page--boxed .program-hero {
    min-height: clamp(500px, 47vw, 640px);
}

.program-page--boxed .program-intro {
    max-width: 1160px;
}

.program-page--boxed .program-story {
    margin-top: 24px;
    min-height: 460px;
    box-shadow: 0 16px 34px rgb(45 37 44 / 7%);
}

.program-page--boxed .program-story-image img {
    min-height: 460px;
}

/* The final invitation deliberately breaks out of the contained story cards. */
.program-page--boxed .program-cta {
    width: 100%;
    margin: 24px 0 0;
    border-radius: 0;
}

.program-quote {
    position: relative;
    isolation: isolate;
    margin-top: 24px;
    display: grid;
    align-items: center;
    min-height: 278px;
    padding: clamp(40px, 5vw, 72px) clamp(32px, 8vw, 132px);
    background: #2d252c;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgb(255 224 240 / 16%), 0 20px 45px rgb(45 37 44 / 14%);
}

.program-quote::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: '';
    background:
        radial-gradient(circle at 12% 10%, rgb(215 77 144 / 42%), transparent 34%),
        radial-gradient(circle at 88% 82%, rgb(144 36 92 / 48%), transparent 38%);
}

.program-quote::after {
    position: absolute;
    top: clamp(28px, 4vw, 54px);
    left: clamp(28px, 4vw, 58px);
    content: '“';
    color: rgb(255 195 220 / 28%);
    font: 700 clamp(92px, 11vw, 176px)/.5 Georgia, serif;
    pointer-events: none;
}

.program-quote blockquote {
    position: relative;
    max-width: 810px;
    margin: 0 auto 0 clamp(32px, 5vw, 96px);
    color: inherit;
    font-family: Georgia, serif;
    font-size: clamp(24px, 2.45vw, 38px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.28;
    letter-spacing: -.025em;
    text-align: left;
    text-wrap: balance;
}

/* Guardian portraits are intentionally prominent: a big photo on top of each card. */
.guardian-directory-card {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    min-height: 0;
    overflow: hidden;
}

.guardian-directory-card img,
.guardian-directory-initial {
    width: 100%;
    height: 340px;
    flex: none;
    border-radius: 0;
    object-fit: cover;
    object-position: center 22%;
}

.guardian-directory-initial {
    font-size: 84px;
}

.guardian-directory-card > div:last-child {
    padding: 22px 24px 28px;
    text-align: center;
}

/* Membership is a working directory: show names and details densely, not in oversized tiles. */
.member-directory:not(.member-directory--guardians) .member-directory-hero {
    padding: clamp(62px, 7vw, 92px) 0 clamp(58px, 6vw, 80px);
}

.member-directory:not(.member-directory--guardians) .member-directory-hero h1 {
    max-width: 720px;
    font-size: clamp(48px, 5.4vw, 80px);
}

.member-directory:not(.member-directory--guardians) .member-directory-hero > .home-shell > p:not(.member-directory-eyebrow) {
    max-width: 540px;
    margin-top: 22px;
    font-size: clamp(17px, 1.6vw, 20px);
}

.member-directory:not(.member-directory--guardians) .member-directory-section {
    padding: clamp(68px, 8vw, 104px) 0;
}

.member-directory:not(.member-directory--guardians) .member-directory-heading {
    margin-bottom: 34px;
}

.member-directory:not(.member-directory--guardians) .member-directory-heading h2 {
    font-size: clamp(40px, 4.4vw, 66px);
}

.member-directory:not(.member-directory--guardians) .member-directory-grid {
    gap: 14px;
}

.member-directory:not(.member-directory--guardians) .member-directory-card {
    min-height: 0;
    padding: 18px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgb(45 37 44 / 5%);
}

.member-directory:not(.member-directory--guardians) .member-directory-card-top {
    min-height: 0;
}

.member-directory:not(.member-directory--guardians) .member-directory-card-top img {
    width: 46px;
    height: 46px;
}

.member-directory:not(.member-directory--guardians) .member-directory-card h3 {
    margin: 14px 0 0;
    font-size: clamp(21px, 1.75vw, 27px);
    line-height: 1.06;
}

.member-directory:not(.member-directory--guardians) .member-directory-card p {
    font-size: 14px;
    line-height: 1.38;
}

.member-directory:not(.member-directory--guardians) .member-directory-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    align-items: baseline;
    margin-top: 9px;
}

.member-directory:not(.member-directory--guardians) .member-directory-card .member-directory-title,
.member-directory:not(.member-directory--guardians) .member-directory-address {
    margin: 0 !important;
    padding: 0 !important;
}

.member-directory:not(.member-directory--guardians) .member-directory-section--privilege .member-directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.member-directory:not(.member-directory--guardians) .member-directory-card--privilege {
    position: relative;
    overflow: hidden;
    min-height: 156px;
    padding: 22px 24px;
    border: 0;
    background: linear-gradient(145deg, #fff, #f7eff3);
}

/* The legacy display-heading rule is white. Directory cards sit on paper, so
   profile names need an explicit ink color and a compact reading rhythm. */
.member-directory:not(.member-directory--guardians) .member-directory-card h3 {
    margin: 12px 0 0;
    color: var(--directory-ink) !important;
    font-size: clamp(22px, 1.65vw, 26px);
    line-height: 1.04;
}

.member-directory:not(.member-directory--guardians) .member-directory-card--privilege .member-directory-meta {
    margin-top: 10px;
    padding-top: 0;
}

.member-directory:not(.member-directory--guardians) .member-directory-role,
.member-directory:not(.member-directory--guardians) .member-directory-city {
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
    line-height: 1.38;
}

.member-directory:not(.member-directory--guardians) .member-directory-role + .member-directory-city {
    margin-left: 12px !important;
    padding-left: 12px;
    border-left: 1px solid #c6b8bf;
}

.member-directory:not(.member-directory--guardians) .member-directory-card--privilege::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: #d04286;
}

.member-directory:not(.member-directory--guardians) .member-directory-section--privilege {
    background: linear-gradient(135deg, #261e25, #372834);
}

/* Timed image rotation for event cards. */
.highlights-event-media {
    position: relative;
    height: clamp(240px, 26vw, 390px);
    overflow: hidden;
    background: #2d252c;
}

.highlights-event-media img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: cover;
    opacity: 0;
    transition: opacity 650ms ease;
}

.highlights-event-media img.is-active {
    opacity: 1;
}

.highlights-event-media::after {
    content: '';
    position: absolute;
    right: 18px;
    bottom: 16px;
    width: 34px;
    height: 4px;
    border-radius: 999px;
    background: rgb(255 255 255 / 78%);
    box-shadow: 8px 0 0 rgb(255 255 255 / 36%), 16px 0 0 rgb(255 255 255 / 36%);
}

@media (max-width: 700px) {
    .program-intro {
        padding: 62px 0 34px !important;
    }

    .program-feature-grid {
        padding: 34px 0 70px !important;
    }

    .program-page--boxed {
        padding-top: 14px;
    }

    .program-page--boxed .program-hero,
    .program-page--boxed .program-story,
    .program-page--boxed .program-quote {
        width: calc(100% - 28px);
        border-radius: 20px;
    }

    .program-page--boxed .program-hero {
        min-height: 520px;
    }

    .program-page--boxed .program-story {
        margin-top: 14px;
        min-height: 0;
    }

    .program-page--boxed .program-story-image img {
        min-height: 280px;
    }

    .program-page--boxed .program-cta {
        margin-top: 14px;
    }

    .program-quote {
        margin-top: 14px;
        min-height: 0;
        padding: 46px 32px 44px;
    }

    .program-quote::after {
        top: 26px;
        left: 18px;
        font-size: 94px;
    }

    .program-quote blockquote {
        margin-left: 26px;
        font-size: clamp(22px, 6.4vw, 30px);
        line-height: 1.32;
    }

    .highlights-event-media {
        height: 255px;
    }

    .highlights-moments-heading {
        margin-bottom: 32px !important;
    }

    .guardian-directory-card {
        gap: 0;
        min-height: 0;
    }

    .guardian-directory-card img,
    .guardian-directory-initial {
        width: 100%;
        height: 360px;
    }

    .member-directory:not(.member-directory--guardians) .member-directory-hero {
        padding: 62px 0 58px;
    }

    .member-directory:not(.member-directory--guardians) .member-directory-hero h1 {
        font-size: 48px;
    }

    .member-directory:not(.member-directory--guardians) .member-directory-section {
        padding: 62px 0;
    }

    .member-directory:not(.member-directory--guardians) .member-directory-heading {
        margin-bottom: 28px;
    }

    .member-directory:not(.member-directory--guardians) .member-directory-card {
        min-height: 0;
        padding: 20px;
    }

    .member-directory:not(.member-directory--guardians) .member-directory-section--privilege .member-directory-grid {
        grid-template-columns: 1fr;
    }
}

/* The contact page is an enquiry form, not a pricing or package page. */
.contact-form-section {
    padding: 0 0 clamp(84px, 11vw, 152px);
}

.contact-form-panel {
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(34px, 5vw, 70px);
    border-radius: 32px;
    background: #f7f0f4;
    box-shadow: 0 24px 60px rgb(45 37 44 / 9%);
}

.contact-form-heading {
    max-width: 650px;
    margin: 0 auto 36px;
    text-align: center;
}

.contact-form-heading .contact-eyebrow { color: #0f4d59; }

.contact-form-heading h2 {
    margin: 0;
    color: #2d252c;
    font: 700 clamp(44px, 5vw, 72px) / .96 Georgia, serif;
    letter-spacing: -.055em;
}

.contact-form-heading span {
    display: block;
    max-width: 510px;
    margin: 18px auto 0;
    color: #5b5660;
    font: 400 17px / 1.5 Arial, sans-serif;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: #2d252c;
    font: 700 13px / 1.2 Arial, sans-serif;
}

.contact-form input:not([type='checkbox']),
.contact-form select,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e6d7df;
    border-radius: 14px;
    background: #fff;
    color: #2d252c;
    font: 400 17px / 1.35 Arial, sans-serif;
}

.contact-form input:not([type='checkbox']),
.contact-form select { height: 60px; padding: 0 18px; }

.contact-form textarea { min-height: 170px; padding: 17px 18px; resize: vertical; }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #c93d80;
    outline: 3px solid rgb(201 61 128 / 14%);
}

.contact-form small { color: #b1265f; font: 600 12px / 1.3 Arial, sans-serif; }

.contact-form-optin {
    display: flex !important;
    grid-template-columns: 22px 1fr;
    align-items: center;
    gap: 12px !important;
    color: #5b5660 !important;
    font: 400 15px / 1.4 Arial, sans-serif !important;
}

.contact-form-optin input { width: 20px; height: 20px; accent-color: #922a5d; }

.contact-form .home-button {
    justify-self: center;
    min-width: min(100%, 330px);
    border: 0;
    cursor: pointer;
}

@media (max-width: 700px) {
    .contact-form-panel { padding: 30px 20px; border-radius: 22px; }
    .contact-form-grid { grid-template-columns: 1fr; gap: 16px; }
    .contact-form-heading { margin-bottom: 28px; text-align: left; }
    .contact-form-heading span { margin-left: 0; }
    .contact-form .home-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .highlights-event-media img { transition: none; }
}

/* Responsive type guardrails: the legacy stylesheet changes the root rem size
   and applies broad !important h1/h2 values. Keep public-page display type
   readable without changing legacy admin-facing layouts. */
.about-page h1,
.about-page h2,
.highlights-page h1,
.highlights-page h2,
.program-page h1,
.program-page h2,
.member-directory h1,
.member-directory h2,
.membership-page h1,
.membership-page h2,
.contact-page h1,
.contact-page h2 {
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
}

@media (max-width: 700px) {
    /* These two legacy hero variants are not boxed, so they need their own
       type guard instead of inheriting the old 24px mobile h1 rule. */
    .program-page:not(.program-page--boxed) .program-hero h1,
    .contact-hero h1 {
        font-size: clamp(42px, 12vw, 52px) !important;
        line-height: .91 !important;
        letter-spacing: -.052em !important;
    }

    .program-page--boxed .program-hero h1 {
        font-size: clamp(42px, 12vw, 52px) !important;
        line-height: .91 !important;
        letter-spacing: -.052em !important;
    }

    .program-page--boxed .program-intro h2 {
        font-size: clamp(36px, 10.4vw, 44px) !important;
        line-height: .95 !important;
    }

    .program-page--boxed .program-story h2 {
        font-size: clamp(33px, 9.6vw, 40px) !important;
        line-height: .97 !important;
    }

    .program-page--boxed .program-cta h2 {
        font-size: clamp(40px, 11vw, 48px) !important;
        line-height: .94 !important;
    }

    .program-page--boxed .program-hero-content > p:last-child {
        font-size: 16px !important;
        line-height: 1.45 !important;
    }

    .about-mission h1 {
        font-size: clamp(42px, 11.4vw, 52px) !important;
        line-height: .98 !important;
    }

    .about-founder-story h2,
    .about-letter h2 {
        font-size: clamp(38px, 10.4vw, 48px) !important;
        line-height: .99 !important;
    }

    .highlights-hero h1 {
        font-size: clamp(43px, 12vw, 53px) !important;
        line-height: .91 !important;
    }

    .highlights-intro h2,
    .highlights-moments h2,
    .highlights-invite h2 {
        font-size: clamp(39px, 10.7vw, 48px) !important;
        line-height: .95 !important;
    }

    .member-directory-hero h1 {
        font-size: clamp(44px, 12vw, 54px) !important;
        line-height: .94 !important;
    }

    .member-directory-heading h2,
    .guardian-signup h2 {
        font-size: clamp(39px, 10.6vw, 48px) !important;
        line-height: .96 !important;
    }

    .membership-hero h1 {
        font-size: clamp(44px, 12vw, 54px) !important;
        line-height: .92 !important;
    }

    .membership-heading h2,
    .membership-form-layout h2,
    .contact-form-heading h2 {
        font-size: clamp(38px, 10.3vw, 47px) !important;
        line-height: .97 !important;
    }
}

@media (min-width: 701px) and (max-width: 900px) {
    .program-page:not(.program-page--boxed) .program-hero h1,
    .contact-hero h1 {
        font-size: clamp(58px, 8vw, 66px) !important;
        line-height: .9 !important;
    }

    .program-page--boxed .program-hero h1 {
        font-size: clamp(58px, 8vw, 66px) !important;
        line-height: .9 !important;
    }

    .program-page--boxed .program-intro h2,
    .program-page--boxed .program-story h2 {
        font-size: clamp(48px, 6.8vw, 56px) !important;
        line-height: .94 !important;
    }

    .program-page--boxed .program-cta h2 {
        font-size: clamp(52px, 7vw, 60px) !important;
        line-height: .93 !important;
    }

    .about-mission h1,
    .highlights-hero h1,
    .member-directory-hero h1,
    .membership-hero h1 {
        font-size: clamp(56px, 7.7vw, 66px) !important;
        line-height: .93 !important;
    }

    .about-founder-story h2,
    .about-letter h2,
    .highlights-intro h2,
    .highlights-moments h2,
    .highlights-invite h2,
    .member-directory-heading h2,
    .guardian-signup h2,
    .membership-heading h2,
    .membership-form-layout h2,
    .contact-form-heading h2 {
        font-size: clamp(47px, 6.7vw, 56px) !important;
        line-height: .95 !important;
    }
}

/* Reusable YouTube video gallery (facade -> click loads nocookie iframe) */
.video-gallery{padding:clamp(70px,9vw,120px) 0;background:var(--program-paper,#fffdfb);color:#29252a}
.video-gallery--plum{background:linear-gradient(165deg,#2d252c,#3a2a35);color:#fff}
.video-gallery-head{max-width:760px;margin:0 0 clamp(30px,4vw,52px)}
.video-gallery-kicker{margin:0 0 16px;font:800 12px/1 Arial,Helvetica,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#c93d80}
.video-gallery--plum .video-gallery-kicker{color:#f6b6d2}
.video-gallery-head h2{margin:0;font:700 clamp(40px,5vw,72px)/.95 Georgia,serif;letter-spacing:-.06em}
.video-gallery-head h2 em{color:#c93d80;font-style:italic}
.video-gallery--plum .video-gallery-head h2 em{color:#f69ac5}
.video-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.video-gallery-grid--single{grid-template-columns:1fr}
.video-gallery-grid--single .video-facade-play{width:88px;height:88px}
.video-gallery-grid--single .video-facade-play::before{border-width:16px 0 16px 26px}
.video-facade{position:relative;display:block;width:100%;aspect-ratio:var(--video-ratio,16/9);margin:0;padding:0;border:0;border-radius:18px;overflow:hidden;cursor:pointer;background:#231c21 center/cover no-repeat;box-shadow:0 16px 36px rgba(45,37,44,.16)}
.video-facade::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(22,13,19,.55),transparent 58%);transition:background .3s}
.video-facade:hover::after,.video-facade:focus-visible::after{background:linear-gradient(0deg,rgba(22,13,19,.7),rgba(201,61,128,.28))}
.video-facade-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:72px;height:72px;border-radius:50%;background:rgba(201,61,128,.94);display:grid;place-items:center;z-index:1;box-shadow:0 10px 26px rgba(146,42,93,.5);transition:transform .25s ease,background .25s}
.video-facade-play::before{content:"";margin-left:6px;border-style:solid;border-width:13px 0 13px 21px;border-color:transparent transparent transparent #fff}
.video-facade:hover .video-facade-play,.video-facade:focus-visible .video-facade-play{transform:translate(-50%,-50%) scale(1.09);background:#c93d80}
.video-facade-label{position:absolute;left:20px;right:20px;bottom:18px;z-index:1;color:#fff;text-align:left;font:800 16px/1.25 Georgia,serif;letter-spacing:-.01em;text-shadow:0 2px 12px rgba(0,0,0,.55)}
.video-frame{position:relative;width:100%;aspect-ratio:var(--video-ratio,16/9);border-radius:18px;overflow:hidden;background:#000;box-shadow:0 16px 36px rgba(45,37,44,.16)}
.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media(max-width:600px){.video-gallery-grid{grid-template-columns:1fr}.video-facade-play{width:60px;height:60px}}

/* Highlights — gallery link below the video groups */
.highlights-gallery-cta{text-align:center;margin-top:clamp(28px,4vw,44px)}

/* Highlights — segregated photo gallery albums (auto-sliding infinite marquee) */
.gallery-album{margin-top:clamp(30px,4vw,50px)}
.gallery-album-title{margin:0 0 16px;font:700 clamp(22px,2.6vw,34px)/1 Georgia,serif;letter-spacing:-.03em;color:#29252a}
.gallery-album-row{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}
.gallery-album-track{display:flex;width:max-content;will-change:transform;animation:gallery-marquee calc(var(--album-count,5)*5s) linear infinite}
.gallery-album-row--reverse .gallery-album-track{animation-direction:reverse}
.gallery-album-row:hover .gallery-album-track{animation-play-state:paused}
.gallery-album-track img{flex:0 0 clamp(280px,33vw,430px);height:300px;margin-right:14px;object-fit:cover;border-radius:14px;box-shadow:0 10px 26px rgba(45,37,44,.10)}
@keyframes gallery-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:600px){.gallery-album-track img{flex-basis:78vw;height:240px}}
@media(prefers-reduced-motion:reduce){.gallery-album-track{animation:none;width:auto}.gallery-album-row{overflow-x:auto;-webkit-mask-image:none;mask-image:none}.gallery-album-track img[aria-hidden="true"]{display:none}}

/* Homepage "Our Platforms" — auto-advancing looped carousel (cards duplicated in Blade; JS advances) */
.home-platforms-slider{overflow:hidden}
.home-platform-track{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none;padding-bottom:4px}
.home-platform-track::-webkit-scrollbar{display:none}
.home-platform-track>.home-platform-card{flex:0 0 clamp(280px,26vw,360px);scroll-snap-align:start}
.home-platform-card--upcoming{cursor:default;background:linear-gradient(150deg,#2d252c 0%,#7a2350 52%,#c93d80 100%)}
.home-platform-card--upcoming::after{background:linear-gradient(0deg,rgba(22,13,19,.6),transparent 70%)}
.home-platform-card .home-platform-badge{position:absolute;top:16px;left:16px;right:auto;bottom:auto;z-index:3;display:inline-block;width:auto;height:auto;grid-template-rows:none;background:#fff;color:#922a5d;font:800 11px/1 Arial,Helvetica,sans-serif;letter-spacing:.12em;text-transform:uppercase;padding:8px 14px;border-radius:99px;box-shadow:0 6px 18px rgba(0,0,0,.22)}
@media(max-width:600px){.home-platform-track>.home-platform-card{flex-basis:80%}}

/* Homepage hero — background video (image poster fallback; card still overhangs) */
.home-hero-media{position:absolute;inset:0;z-index:0;overflow:hidden;border-radius:inherit}
.home-hero-video{width:100%;height:100%;object-fit:cover;display:block}
.home-hero-media::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#160d13d9,transparent 58%)}
.home-hero-copy,.home-hero-card{z-index:2}
@media(prefers-reduced-motion:reduce){.home-hero-video{display:none}}

/* Footer credit — "Designed & Maintained by webxdev/" */
.home-footer-bottom{flex-wrap:wrap;row-gap:10px}
/* space-between only equalises the gaps, not the middle item's position — since the
   copyright and "Contact us" text differ in width, that leaves the credit line
   off-centre. A 3-column grid centres it against the row's true midpoint instead. */
@media(min-width:601px){
    .home-footer-bottom{display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center}
    .home-footer-bottom>span:first-child{justify-self:start}
    .home-footer-bottom .home-footer-credit{justify-self:center}
    .home-footer-bottom>a{justify-self:end}
}
.home-footer-credit{display:inline-flex!important;align-items:center;gap:6px;color:#fff!important;width:auto!important;white-space:nowrap}
.home-footer-credit-link{display:inline-flex!important;align-items:center;gap:7px;color:#fff!important;font-weight:800;text-decoration:none;margin:0!important;width:auto!important}
.home-footer-credit-link:hover{color:#ffc6df!important}
.home-footer-credit-mark{display:inline-flex!important;align-items:center;justify-content:center;width:22px!important;height:22px;border-radius:6px;background:#ff6b1c;flex:none}
.home-footer-credit-mark svg{width:12px;height:10px;fill:#0a0814}
.home-footer-credit-slash{color:#ff6b1c!important}

/* Thin brand accent border across the very top of every page */
.home-topbar{background:#c93d80;height:4px}
