/* Enhanced public footer. Scoped specificity also wins if public-trust.css loads later. */
.site-footer.site-footer--enhanced {
    --footer-cream: #faf7f2;
    --footer-copy: #e3d9ce;
    --footer-gold: #e8d49a;
    --footer-line: rgba(232, 212, 154, .24);
    border-top: 2px solid #c9a84c;
    background: #28211c;
    padding: clamp(2.5rem, 5vw, 4rem) 0 0;
    color: var(--footer-copy);
    font-family: Jost, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    text-align: left;
}

.site-footer.site-footer--enhanced .premier-shell {
    width: min(1180px, calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
}

.site-footer.site-footer--enhanced .site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: 2.75rem;
}

.site-footer.site-footer--enhanced .site-footer__identity,
.site-footer.site-footer--enhanced .site-footer__links,
.site-footer.site-footer--enhanced .site-footer__public-trust,
.site-footer.site-footer--enhanced .site-footer__visit-details,
.site-footer.site-footer--enhanced .site-footer__map-area {
    min-width: 0;
}

.site-footer.site-footer--enhanced p {
    margin: 0;
    color: var(--footer-copy);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

.site-footer.site-footer--enhanced a {
    color: var(--footer-cream);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    text-underline-offset: .25em;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.site-footer.site-footer--enhanced a:hover {
    color: var(--footer-gold);
}

.site-footer.site-footer--enhanced a:focus-visible,
.site-footer.site-footer--enhanced iframe:focus-visible {
    outline: 3px solid var(--footer-gold);
    outline-offset: 4px;
}

.site-footer.site-footer--enhanced .site-footer__brand {
    display: inline-flex;
    max-width: 100%;
    margin-bottom: 1.1rem;
}

.site-footer.site-footer--enhanced .site-footer__brand img {
    display: block;
    width: 168px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.site-footer.site-footer--enhanced .site-footer__tagline {
    max-width: 29ch;
    color: var(--footer-cream);
    font-size: 18px;
    line-height: 1.55;
}

.site-footer.site-footer--enhanced .site-footer__description {
    max-width: 35ch;
    margin-top: .85rem;
}

.site-footer.site-footer--enhanced .site-footer__heading {
    margin: 0 0 1rem;
    color: var(--footer-cream);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -.015em;
    line-height: 1.2;
    text-transform: none;
}

.site-footer.site-footer--enhanced .site-footer__profiles {
    display: block;
    margin-top: 1.5rem;
}

.site-footer.site-footer--enhanced .site-footer__social-heading,
.site-footer.site-footer--enhanced .site-footer__subheading {
    margin: 0 0 .6rem;
    color: var(--footer-gold);
    font-family: Jost, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .015em;
    line-height: 1.5;
    text-transform: none;
}

.site-footer.site-footer--enhanced .site-footer__social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.site-footer.site-footer--enhanced .site-footer__profiles .site-footer__social-link {
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    border: 1px solid #e3d9ce;
    border-radius: 50%;
    background: var(--footer-cream);
    color: #28211c;
    text-decoration: none;
}

.site-footer.site-footer--enhanced .site-footer__profiles a:first-child {
    flex-basis: 48px;
}

.site-footer.site-footer--enhanced .site-footer__social-link img {
    display: block;
    width: 24px;
    max-width: 24px;
    height: 24px;
    object-fit: contain;
    object-position: center;
    filter: brightness(0);
}

.site-footer.site-footer--enhanced .site-footer__profiles .site-footer__social-link:hover {
    border-color: var(--footer-gold);
    background: var(--footer-gold);
    transform: translateY(-2px);
}

.site-footer.site-footer--enhanced .site-footer__links {
    display: grid;
    grid-column: auto;
    justify-items: stretch;
    gap: 1.4rem;
    width: auto;
    border: 0;
    padding: 0;
    text-align: left;
}

.site-footer.site-footer--enhanced .site-footer__nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .1rem .8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer.site-footer--enhanced .site-footer__nav-list li {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.site-footer.site-footer--enhanced .site-footer__links .site-footer__nav-list a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 44px;
    padding: .35rem 0;
    color: var(--footer-cream);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.45;
    text-decoration: none;
    text-transform: none;
    overflow-wrap: anywhere;
}

.site-footer.site-footer--enhanced .site-footer__links .site-footer__nav-list a:hover {
    color: var(--footer-gold);
    text-decoration: underline;
}

.site-footer.site-footer--enhanced .site-footer__materials {
    display: block;
    margin: 0;
    border-top: 1px solid var(--footer-line);
    padding-top: 1.1rem;
}

.site-footer.site-footer--enhanced .site-footer__links .site-footer__nav-list--materials a {
    color: var(--footer-copy);
}

.site-footer.site-footer--enhanced .site-footer__links .site-footer__nav-list--materials a:hover {
    color: var(--footer-gold);
}

.site-footer.site-footer--enhanced .site-footer__links .site-footer__consultation {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 48px;
    padding: .75rem 1rem;
    border: 1px solid #b99b61;
    border-radius: 3px;
    color: var(--footer-gold);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1.4;
    text-transform: none;
    text-decoration: none;
}

.site-footer.site-footer--enhanced .site-footer__links .site-footer__consultation:hover {
    border-color: var(--footer-gold);
    background: var(--footer-gold);
    color: #28211c;
}

.site-footer.site-footer--enhanced .site-footer__public-trust {
    grid-column: auto;
    border: 0;
    padding: 0;
}

.site-footer.site-footer--enhanced .site-footer__visit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.site-footer.site-footer--enhanced .site-footer__address {
    max-width: 30ch;
    color: var(--footer-cream);
    font-size: 16px;
    font-style: normal;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.site-footer.site-footer--enhanced .site-footer__hours {
    display: grid;
    gap: .15rem;
    margin: .8rem 0 .3rem;
    color: var(--footer-copy);
    font-size: 16px;
    line-height: 1.6;
}

.site-footer.site-footer--enhanced .site-footer__hours div {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1rem;
}

.site-footer.site-footer--enhanced .site-footer__hours dt {
    min-width: 5.5rem;
    font-weight: 400;
}

.site-footer.site-footer--enhanced .site-footer__hours dd {
    margin: 0;
}

.site-footer.site-footer--enhanced .site-footer__phone,
.site-footer.site-footer--enhanced .site-footer__directions {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-height: 44px;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.45;
    text-decoration: underline;
    text-decoration-color: rgba(232, 212, 154, .6);
    overflow-wrap: anywhere;
}

.site-footer.site-footer--enhanced .site-footer__phone {
    color: var(--footer-cream);
    font-weight: 500;
}

.site-footer.site-footer--enhanced .site-footer__map {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border: 1px solid var(--footer-line);
    border-radius: 4px;
    background: #f0ebe3;
}

.site-footer.site-footer--enhanced .site-footer__map iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 180px;
    border: 0;
}

.site-footer.site-footer--enhanced .site-footer__directions {
    margin-top: .3rem;
    color: var(--footer-gold);
}

.site-footer.site-footer--enhanced .site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .3rem 1.5rem;
    border-top: 1px solid var(--footer-line);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.site-footer.site-footer--enhanced .site-footer__copyright {
    font-size: 16px;
    line-height: 1.55;
}

.site-footer.site-footer--enhanced .site-footer__legal {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--footer-copy);
    text-decoration: underline;
    text-decoration-color: rgba(232, 212, 154, .4);
}

.site-footer.site-footer--enhanced .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

/* Tablet: two comfortable columns, then a full-width showroom row. */
@media (max-width: 1000px) {
    .site-footer.site-footer--enhanced .site-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.25rem 2.5rem;
    }

    .site-footer.site-footer--enhanced .site-footer__links {
        grid-column: auto;
    }

    .site-footer.site-footer--enhanced .site-footer__public-trust {
        grid-column: 1 / -1;
        border-top: 1px solid var(--footer-line);
        padding-top: 1.75rem;
    }

    .site-footer.site-footer--enhanced .site-footer__visit-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: 2.5rem;
    }
}

/* Phone: all groups remain visible, with two-column navigation and 48px logos. */
@media (max-width: 640px) {
    .site-footer.site-footer--enhanced .premier-shell {
        width: calc(100% - 40px);
    }

    .site-footer.site-footer--enhanced .site-footer__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
        padding-bottom: 1.75rem;
    }

    .site-footer.site-footer--enhanced .site-footer__description {
        max-width: 38ch;
    }

    .site-footer.site-footer--enhanced .site-footer__links {
        grid-column: auto;
        gap: 1.3rem;
        border-top: 1px solid var(--footer-line);
        padding-top: 1.75rem;
    }

    .site-footer.site-footer--enhanced .site-footer__public-trust {
        grid-column: auto;
        padding-top: 1.75rem;
    }

    .site-footer.site-footer--enhanced .site-footer__visit-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: .85rem;
    }

    .site-footer.site-footer--enhanced .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: .25rem;
        padding-top: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer.site-footer--enhanced a {
        transition: none;
    }

    .site-footer.site-footer--enhanced .site-footer__profiles .site-footer__social-link:hover {
        transform: none;
    }
}
