/* Premium public footer — isolated from legacy shell rules. */
.site-footer.site-footer--premium {
    --footer-ink: #f7f3e9;
    --footer-muted: #aebdcb;
    --footer-line: rgba(226, 237, 247, .12);
    --footer-gold: #d7aa45;
    --footer-gold-soft: #f0d28a;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 0;
    border: 0;
    color: var(--footer-ink);
    background: #03142d;
}

.site-footer--premium .footer-quality-art {
    position: absolute;
    z-index: -2;
    inset: 0;
    margin: 0;
    pointer-events: none;
}

.site-footer--premium .footer-quality-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .9;
}

.site-footer--premium::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(3, 20, 45, .86) 0%, rgba(3, 20, 45, .74) 36%, rgba(3, 20, 45, .5) 66%, rgba(3, 20, 45, .34) 100%),
        linear-gradient(180deg, rgba(3, 20, 45, .12), rgba(3, 20, 45, .02) 62%, rgba(1, 9, 22, .44));
}

.site-footer--premium .footer-quality-signature {
    position: relative;
    z-index: 1;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    color: #f0d28a;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.site-footer--premium .footer-quality-signature span {
    color: #f7f3e9;
}

.site-footer--premium .footer-quality-signature i {
    margin-inline: .42em;
    color: var(--footer-gold);
    font-style: normal;
}

.site-footer--premium > .container,
.site-footer--premium .footer-legal {
    position: relative;
    z-index: 1;
}

.site-footer--premium .footer-main-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.28fr) minmax(140px, .55fr) minmax(165px, .64fr) minmax(275px, 1fr);
    gap: clamp(30px, 4vw, 62px);
    align-items: start;
    padding-top: clamp(38px, 4vw, 54px);
    padding-bottom: 38px;
    border: 0;
}

.site-footer--premium .footer-identity {
    min-width: 0;
}

.site-footer--premium .footer-brand-panel {
    display: grid;
    grid-template-columns: 98px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    max-width: 370px;
    min-height: 108px;
    padding: 0 18px 16px 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.site-footer--premium .footer-logo,
.site-footer--premium.site-footer--refined .footer-logo {
    position: relative;
    isolation: auto;
    display: block;
    width: 98px !important;
    height: 98px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.site-footer--premium .footer-logo::before,
.site-footer--premium .footer-logo::after {
    content: none !important;
    display: none !important;
}

.site-footer--premium .footer-logo img,
.site-footer--premium.site-footer--refined .footer-logo img {
    position: absolute !important;
    inset: 0 !important;
    z-index: auto !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain;
    filter: none !important;
}

.site-footer--premium .footer-brand-panel__copy {
    min-width: 0;
    padding-left: 16px;
    border-left: 1px solid rgba(240, 210, 138, .28);
    color: var(--footer-ink);
}

.site-footer--premium .footer-brand-panel__copy span {
    display: block;
    color: var(--footer-gold-soft);
    font-size: .6rem;
    font-weight: 850;
    letter-spacing: .13em;
    line-height: 1.35;
    text-transform: uppercase;
}

.site-footer--premium .footer-brand-panel__copy strong {
    display: block;
    margin-top: 7px;
    color: #f7f3e9;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.13;
}

.site-footer--premium .footer-identity > p {
    max-width: 390px;
    margin: 17px 0 0;
    color: #becad5;
    font-size: .81rem;
    line-height: 1.7;
}

.site-footer--premium .footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.site-footer--premium .footer-social a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(238, 245, 251, .16);
    border-radius: 13px;
    color: var(--footer-gold-soft);
    background: rgba(255, 255, 255, .035);
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.site-footer--premium .footer-social a:hover {
    border-color: rgba(240, 210, 138, .55);
    background: rgba(215, 170, 69, .11);
    transform: translateY(-2px);
}

.site-footer--premium .footer-links,
.site-footer--premium .footer-contact {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.site-footer--premium .footer-links h2,
.site-footer--premium .footer-contact h2 {
    margin: 2px 0 14px;
    color: var(--footer-gold-soft);
    font-size: .69rem;
    font-weight: 850;
    letter-spacing: .15em;
    line-height: 1.4;
    text-transform: uppercase;
}

.site-footer--premium .footer-links > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 46px;
    border-bottom: 1px solid var(--footer-line);
    color: #d9e2ea;
    font-size: .8rem;
}

.site-footer--premium .footer-links > a i {
    flex: 0 0 auto;
    color: #8496a8;
    font-size: .72rem;
    transition: color .2s ease, transform .2s ease;
}

.site-footer--premium .footer-links > a:hover {
    color: #fff;
}

.site-footer--premium .footer-links > a:hover i {
    color: var(--footer-gold-soft);
    transform: translate(2px, -2px);
}

.site-footer--premium .footer-contact > p {
    margin: -1px 0 9px;
    color: var(--footer-muted);
    font-size: .76rem;
    line-height: 1.55;
}

.site-footer--premium .footer-contact > a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 55px;
    padding: 7px 0;
    border-top: 1px solid var(--footer-line);
}

.site-footer--premium .footer-contact > a > i {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(215, 170, 69, .2);
    border-radius: 50%;
    color: var(--footer-gold-soft);
    background: rgba(215, 170, 69, .08);
}

.site-footer--premium .footer-contact > a > span {
    display: grid;
    min-width: 0;
}

.site-footer--premium .footer-contact small {
    color: #94a7b8;
    font-size: .66rem;
}

.site-footer--premium .footer-contact strong {
    margin-top: 2px;
    overflow-wrap: anywhere;
    color: #e8eef3;
    font-size: .75rem;
    line-height: 1.35;
}

.site-footer--premium .footer-contact > a:hover strong {
    color: #fff;
}

.site-footer--premium .footer-credentials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(210px, .85fr);
    align-items: stretch;
    padding-top: 0;
    padding-bottom: 0;
    border-top: 1px solid var(--footer-line);
    border-bottom: 1px solid var(--footer-line);
}

.site-footer--premium .footer-credentials > div {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    min-height: 86px;
    padding: 14px clamp(14px, 2vw, 28px) 14px 0;
}

.site-footer--premium .footer-credentials > div + div {
    padding-left: clamp(14px, 2vw, 28px);
    border-left: 1px solid var(--footer-line);
}

.site-footer--premium .footer-credentials > div > i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(215, 170, 69, .28);
    border-radius: 13px;
    color: var(--footer-gold-soft);
    background: rgba(215, 170, 69, .07);
}

.site-footer--premium .footer-credentials > div > span {
    display: grid;
    min-width: 0;
}

.site-footer--premium .footer-credentials strong {
    color: #edf2f6;
    font-size: .73rem;
    line-height: 1.35;
}

.site-footer--premium .footer-credentials small {
    margin-top: 3px;
    color: #8fa2b3;
    font-size: .64rem;
    line-height: 1.35;
}

.site-footer--premium .footer-contact-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 86px;
    padding: 14px 0 14px clamp(18px, 2vw, 30px);
    border-left: 1px solid var(--footer-line);
    color: #071b3a;
    font-size: .76rem;
    font-weight: 850;
}

.site-footer--premium .footer-contact-link::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 11px 0 11px auto;
    width: min(250px, 18vw);
    border-radius: 15px;
    background: linear-gradient(135deg, #d3a23a, #e2bd62);
}

.site-footer--premium .footer-contact-link {
    position: relative;
    z-index: 0;
}

.site-footer--premium .footer-contact-link span {
    padding-left: clamp(13px, 1.6vw, 22px);
}

.site-footer--premium .footer-contact-link i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-right: 13px;
    border: 1px solid rgba(7, 27, 58, .18);
    border-radius: 50%;
    transition: transform .2s ease;
}

.site-footer--premium .footer-contact-link:hover i {
    transform: translate(2px, -2px);
}

.site-footer--premium .footer-legal {
    border: 0;
    background: rgba(1, 9, 22, .9);
}

.site-footer--premium .footer-legal > .container {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto minmax(190px, 1fr);
    align-items: center;
    gap: 28px;
    min-height: 72px;
}

.site-footer--premium .footer-copyright {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 20px;
    color: #9aabba;
    font-size: .66rem;
}

.site-footer--premium .footer-copyright span + span {
    position: relative;
}

.site-footer--premium .footer-copyright span + span::before {
    content: "•";
    position: absolute;
    left: -12px;
    color: #53687b;
}

.site-footer--premium .footer-legal nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 16px;
    color: #a8b6c2;
    font-size: .66rem;
}

.site-footer--premium .footer-legal nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.site-footer--premium .footer-legal nav a:hover {
    color: #fff;
}

.site-footer--premium .footer-created {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 10px;
}

.site-footer--premium .footer-created > span {
    color: #9cabb8;
    font-size: .61rem;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.site-footer--premium .footer-created img {
    width: 118px;
    height: auto;
    object-fit: contain;
    opacity: .86;
    filter: invert(1);
}

.site-footer--premium a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(36, 95, 143, .78);
}

@media (max-width: 1180px) {
    .site-footer--premium .footer-main-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 46px;
    }

    .site-footer--premium .footer-credentials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer--premium .footer-credentials > div:nth-child(3) {
        border-top: 1px solid var(--footer-line);
        border-left: 0;
        padding-left: 0;
    }

    .site-footer--premium .footer-contact-link {
        border-top: 1px solid var(--footer-line);
    }

    .site-footer--premium .footer-contact-link::before {
        width: min(320px, 38vw);
    }
}

@media (max-width: 900px) {
    .site-footer--premium .footer-legal > .container {
        grid-template-columns: 1fr auto;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .site-footer--premium .footer-legal nav {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-start;
    }

    .site-footer--premium .footer-created {
        grid-column: 2;
        grid-row: 1;
    }
}

@media (max-width: 700px) {
    .site-footer--premium::after {
        background: linear-gradient(180deg, rgba(3, 20, 45, .42) 0%, rgba(3, 20, 45, .82) 18%, rgba(3, 20, 45, .91) 74%, rgba(3, 20, 45, .58) 100%);
    }

    .site-footer--premium .footer-quality-art img {
        object-position: center top;
        opacity: .84;
    }

    .site-footer--premium .footer-quality-signature {
        min-height: 82px;
        padding-block: 15px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
    }

    .site-footer--premium .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 29px;
        padding-top: 32px;
        padding-bottom: 30px;
    }

    .site-footer--premium .footer-brand-panel {
        max-width: 390px;
    }

    .site-footer--premium .footer-links,
    .site-footer--premium .footer-contact {
        grid-column: auto;
    }

    .site-footer--premium .footer-credentials {
        grid-template-columns: 1fr;
    }

    .site-footer--premium .footer-credentials > div,
    .site-footer--premium .footer-credentials > div:nth-child(3) {
        min-height: 74px;
        padding: 12px 0;
        border-top: 1px solid var(--footer-line);
        border-left: 0;
    }

    .site-footer--premium .footer-credentials > div:first-child {
        border-top: 0;
    }

    .site-footer--premium .footer-contact-link {
        min-height: 68px;
        margin: 10px 0;
        padding: 0;
        border: 0;
    }

    .site-footer--premium .footer-contact-link::before {
        inset: 0;
        width: 100%;
    }

    .site-footer--premium .footer-contact-link span {
        padding-left: 18px;
    }

    .site-footer--premium .footer-contact-link i {
        margin-right: 14px;
    }

    .site-footer--premium .footer-legal > .container {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-top: 18px;
        padding-bottom: 20px;
    }

    .site-footer--premium .footer-created,
    .site-footer--premium .footer-legal nav {
        grid-column: auto;
        grid-row: auto;
        justify-self: start;
        justify-content: flex-start;
    }

    .site-footer--premium .footer-created {
        width: 100%;
        justify-content: space-between;
    }

    .site-footer--premium .footer-copyright span + span::before {
        display: none;
    }
}

@media (max-width: 430px) {
    .site-footer--premium .footer-brand-panel {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 12px;
        min-height: 110px;
        padding: 8px 13px 8px 8px;
        border-radius: 19px;
    }

    .site-footer--premium .footer-logo,
    .site-footer--premium.site-footer--refined .footer-logo {
        width: 92px !important;
        height: 91px !important;
    }

    .site-footer--premium .footer-brand-panel__copy {
        padding-left: 12px;
    }

    .site-footer--premium .footer-brand-panel__copy strong {
        font-size: .95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer--premium *,
    .site-footer--premium *::before,
    .site-footer--premium *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Global public footer: promoted from the homepage footer and stripped of the top signature layer. */
.site-footer--legacy-global[hidden] {
    display: none !important;
}

.site-footer.home-v9-footer {
    --home-gold: var(--footer-gold, #d7aa45);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 0;
    color: #fff;
    background: #04162f;
}

.site-footer.home-v9-footer::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(4, 22, 47, .86) 0%, rgba(4, 22, 47, .74) 36%, rgba(4, 22, 47, .5) 66%, rgba(4, 22, 47, .34) 100%),
        linear-gradient(180deg, rgba(4, 22, 47, .12), rgba(4, 22, 47, .02) 62%, rgba(1, 9, 22, .44));
}

.home-v9-footer__art {
    position: absolute;
    z-index: -2;
    inset: 0;
    margin: 0;
    pointer-events: none;
}

.home-v9-footer__art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .9;
}

.home-v9-footer > .container {
    position: relative;
    z-index: 1;
}

.home-v9-footer__grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, minmax(0, 1fr));
    gap: 42px;
    padding-block: 34px 30px;
}

.home-v9-footer__brand {
    padding-right: 34px;
    border-right: 1px solid rgba(255, 255, 255, .13);
}

.home-v9-footer__brand > a {
    width: 270px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-v9-footer__brand img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.home-v9-footer__brand > a.home-v9-footer__brand-link {
    width: min(154px, 100%);
    display: block;
}

.home-v9-footer__brand > a.home-v9-footer__brand-link img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 135px;
    aspect-ratio: 360 / 315;
    object-fit: contain;
    object-position: left center;
}

.home-v9-footer__brand > a > span {
    display: grid;
    color: #fff;
    line-height: 1;
    text-transform: uppercase;
}

.home-v9-footer__brand > a > span strong {
    display: block;
    color: var(--home-gold);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.home-v9-footer__brand > a > span b {
    display: block;
    margin-top: 6px;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: .11em;
    line-height: 1.15;
    text-transform: uppercase;
}

.home-v9-footer__brand > a > span small {
    display: block;
    margin-top: 2px;
    color: #8f9daf;
    font-size: 7px;
    font-weight: 780;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-v9-footer__brand p {
    max-width: 330px;
    margin: 14px 0 0;
    color: #aeb9c9;
    font-size: 12px;
    line-height: 1.65;
}

.home-v9-footer .home-v9-footer__social {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.home-v9-footer .home-v9-footer__social a {
    width: auto;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dce5ef;
    background: rgba(255, 255, 255, .035);
    font-size: 11px;
    font-weight: 760;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.home-v9-footer .home-v9-footer__social a i {
    color: var(--home-gold);
    font-size: 15px;
}

.home-v9-footer .home-v9-footer__social a:hover {
    border-color: rgba(218, 171, 66, .58);
    color: #fff;
    background: rgba(218, 171, 66, .1);
    transform: translateY(-2px);
}

.home-v9-footer a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(36, 95, 143, .78);
}

.home-v9-footer nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.home-v9-footer nav strong {
    margin-bottom: 7px;
    color: #f0cf7d;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.home-v9-footer nav a {
    min-height: 38px;
    display: flex;
    align-items: center;
    color: #c5cfdd;
    font-size: 12px;
}

.home-v9-footer nav a:hover {
    color: #fff;
}

.home-v9-footer__legal {
    min-height: 58px;
    margin-top: 0;
    padding-block: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: #98a6b9;
    font-size: 11px;
}

.home-v9-footer__legal::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 calc(50% - 50vw);
    border-radius: 0;
    background: rgba(1, 9, 22, .9);
}

.home-v9-footer__copyright-short {
    display: none;
}

.home-v9-footer__created {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.home-v9-footer__created img {
    width: 96px;
    height: 22px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .92;
}

@media (max-width: 1180px) {
    .home-v9-footer__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 28px 24px;
    }

    .home-v9-footer__brand {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 220px minmax(0, 1fr);
        align-items: center;
        column-gap: 28px;
        row-gap: 8px;
        padding: 0 0 22px;
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    .home-v9-footer .home-v9-footer__social {
        grid-column: 2;
        margin-top: 0;
    }
}

@media (max-width: 700px) {
    .site-footer.home-v9-footer::after {
        background: linear-gradient(180deg, rgba(4, 22, 47, .42) 0%, rgba(4, 22, 47, .82) 18%, rgba(4, 22, 47, .91) 74%, rgba(4, 22, 47, .58) 100%);
    }

    .home-v9-footer__art img {
        object-position: center top;
        opacity: .84;
    }

    .home-v9-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 18px;
        padding-block: 28px 24px;
    }

    .home-v9-footer__brand {
        grid-column: 1 / -1;
        display: block;
        padding-bottom: 20px;
    }

    .home-v9-footer__brand p {
        max-width: 100%;
    }

    .home-v9-footer nav a {
        min-height: 40px;
    }

    .home-v9-footer__legal {
        width: min(calc(100% - 28px), 1440px);
        min-height: 0;
        margin-top: 0;
        padding-block: 12px 13px;
        display: grid;
        grid-template-columns: max-content minmax(0, 1fr) max-content;
        align-items: center;
        justify-content: stretch;
        gap: 8px;
        line-height: 1.3;
        font-size: 9px;
        white-space: nowrap;
    }

    .home-v9-footer__copyright-full {
        display: none;
    }

    .home-v9-footer__copyright-short {
        display: inline;
    }

    .home-v9-footer__motto {
        min-width: 0;
        overflow: hidden;
        text-align: center;
        text-overflow: ellipsis;
    }

    .home-v9-footer__created {
        width: auto;
        min-height: 34px;
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        letter-spacing: .09em;
        white-space: nowrap;
    }

    .home-v9-footer__created > span {
        font-size: 8px;
    }

    .home-v9-footer__created img {
        width: 76px;
        height: auto;
        max-width: none;
    }
}

@media (max-width: 430px) {
    .home-v9-footer__legal {
        width: min(calc(100% - 24px), 1440px);
        grid-template-columns: max-content minmax(0, 1fr) max-content;
        gap: 6px;
        padding-block: 12px 13px;
        font-size: 9px;
    }

    .home-v9-footer__created {
        align-items: center;
        flex-direction: row;
        justify-content: flex-end;
        gap: 6px;
    }

    .home-v9-footer__created img {
        width: 72px;
        max-width: none;
    }
}

@media (max-width: 350px) {
    .home-v9-footer__grid {
        grid-template-columns: 1fr;
    }

    .home-v9-footer__brand {
        grid-column: 1;
    }

    .home-v9-footer__created {
        gap: 4px;
    }

    .home-v9-footer__created > span {
        font-size: 7px;
    }

    .home-v9-footer__created img {
        width: 62px;
    }
}

/* Compact brand treatment for the global footer. */
body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__grid {
    gap: 30px;
    padding-block: 24px 20px;
}

body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__brand {
    display: block;
    padding: 0 26px 0 0;
}

.home-v9-footer__brand-summary {
    display: flex;
    align-items: center;
    gap: 14px;
}

body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__brand p {
    flex: 1;
    max-width: none;
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
}

body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__brand > .home-v9-footer__brand-summary > a.home-v9-footer__brand-link {
    flex: 0 0 52px;
    order: 2;
    width: 52px;
    height: 52px;
    margin-left: auto;
    display: grid;
    place-items: center;
}

body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__brand > .home-v9-footer__brand-summary > a.home-v9-footer__brand-link img {
    width: 52px;
    height: 52px;
    max-height: none;
    aspect-ratio: 1;
    object-position: center;
}

body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__social {
    margin-top: 10px;
}

body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__legal {
    min-height: 50px;
    padding-block: 8px;
}

@media (max-width: 1024px) {
    body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__brand {
        padding: 0 0 16px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }
}

@media (max-width: 620px) {
    body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__grid {
        gap: 22px 18px;
        padding-block: 22px 18px;
    }

    body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__brand-summary {
        gap: 12px;
    }

    body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__brand > .home-v9-footer__brand-summary > a.home-v9-footer__brand-link,
    body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__brand > .home-v9-footer__brand-summary > a.home-v9-footer__brand-link img {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-v9-footer .home-v9-footer__social a {
        transition: none;
    }

    .home-v9-footer .home-v9-footer__social a:hover {
        transform: none;
    }
}

/* Keep the brand block aligned with the footer link columns on desktop. */
@media (min-width: 901px) {
    .home-v9-footer__grid {
        grid-template-columns: minmax(250px, 1.7fr) repeat(4, minmax(105px, .78fr));
        align-items: start;
        gap: clamp(26px, 2.8vw, 40px);
    }

    .home-v9-footer__brand {
        grid-column: auto;
        display: block;
        padding: 0 30px 0 0;
        border-right: 1px solid rgba(255, 255, 255, .13);
        border-bottom: 0;
    }

    .home-v9-footer .home-v9-footer__social {
        grid-column: auto;
        margin-top: 12px;
    }
}

/* Let the footer background reach the viewport edges while its content keeps the page alignment. */
body .site-footer.site-footer--premium.home-v9-footer {
    width: 100%;
    margin-inline: 0;
    border-top: 1px solid rgba(215, 170, 69, .24);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
}

body .site-footer.site-footer--premium.home-v9-footer > .container {
    width: min(1280px, calc(100% - 64px));
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: clamp(26px, 3.2vw, 44px);
}

@media (max-width: 900px) {
    body .site-footer.site-footer--premium.home-v9-footer > .container {
        width: calc(100% - 40px);
        padding-inline: 24px;
    }
}

@media (max-width: 760px) {
    body .site-footer.site-footer--premium.home-v9-footer > .container {
        width: calc(100% - 24px);
        padding-inline: 16px;
    }

    body.is-account-area .site-footer.site-footer--premium.home-v9-footer {
        margin-bottom: calc(70px + env(safe-area-inset-bottom));
    }
}

/* The homepage footer is the canonical footer layout on every public surface. */
@media (min-width: 1025px) {
    body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__grid {
        grid-template-columns: 2fr repeat(4, minmax(0, 1fr));
        align-items: start;
        gap: 42px;
    }

    body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__brand {
        grid-column: auto;
        display: block;
        padding: 0 34px 0 0;
        border-right: 1px solid rgba(255, 255, 255, .13);
        border-bottom: 0;
    }

    body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__social {
        grid-column: auto;
        margin-top: 12px;
    }
}

@media (min-width: 621px) and (max-width: 1024px) {
    body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 28px 24px;
        padding-block: 32px 28px;
    }

    body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__brand {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 220px minmax(0, 1fr);
        align-items: center;
        column-gap: 28px;
        row-gap: 8px;
        padding: 0 0 22px;
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__social {
        grid-column: 2;
        margin-top: 0;
    }
}

@media (max-width: 620px) {
    body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 18px;
        padding-block: 28px 24px;
    }

    body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__brand {
        grid-column: 1 / -1;
        display: block;
        padding: 0 0 20px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__brand p {
        max-width: 100%;
    }

    body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__social {
        grid-column: auto;
        margin-top: 12px;
    }
}

@media (max-width: 350px) {
    body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__grid {
        grid-template-columns: 1fr;
    }

    body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__brand {
        grid-column: 1;
    }
}

/* Final compact footer overrides. */
body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__grid { gap: 30px; padding-block: 24px 20px; }
body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__brand { display: block; padding: 0 26px 0 0; }
body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__social { margin-top: 10px; }
body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__legal { min-height: 50px; padding-block: 8px; }

@media (max-width: 1024px) {
    body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__brand { display: block; padding: 0 0 16px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
}

@media (max-width: 620px) {
    body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__grid { gap: 22px 18px; padding-block: 22px 18px; }
    body .site-footer.site-footer--premium.home-v9-footer .home-v9-footer__social { margin-top: 10px; }
}
