/* ==========================================================================
   Site footer
   Sampled from the template at its 1920px design width: the footer runs on the
   same near full-bleed shell as the header (57px margins), not on the 1640px
   content container the middle sections use.
   ========================================================================== */

.site-footer {
    background-color: var(--bb-black);
    border-top: 1px solid var(--bb-hairline-soft);
}

.site-footer__inner {
    width: 100%;
    max-width: calc(var(--bb-shell) + var(--bb-gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--bb-gutter);
}

/* --- Top block ----------------------------------------------------------- */

.site-footer__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 3vw, 2.75rem);
    padding-block: clamp(1.5rem, 2.1vw, 2.375rem);
}

@media (min-width: 720px) {
    .site-footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .site-footer__top {
        grid-template-columns: 2fr 1.05fr 1.05fr 1.3fr 1.65fr;
        gap: clamp(1.25rem, 2vw, 2.5rem);
    }
}

.site-footer__brand {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1100px) {
    .site-footer__brand {
        justify-content: flex-start;
    }
}

.site-footer__logo {
    width: clamp(11rem, 21vw, 25rem);
    height: auto;
}

/* --- Columns ------------------------------------------------------------- */

.footer-col {
    min-width: 0;
}

/* The template rules every column off from the one before it. */
@media (min-width: 720px) {
    .footer-col {
        padding-left: clamp(1.25rem, 2vw, 2.5rem);
        border-left: 1px solid var(--bb-hairline);
    }
}

.footer-col__title {
    color: var(--bb-gold-400);
    font-family: var(--bb-font-sans);
    font-size: clamp(0.875rem, 1.05vw, 1.1875rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.footer-col__title::after {
    content: "";
    display: block;
    width: 2.5rem;
    height: 2px;
    margin-top: clamp(0.4rem, 0.55vw, 0.625rem);
    background-color: var(--bb-red-500);
}

.footer-col__list {
    display: grid;
    gap: clamp(0.35rem, 0.55vw, 0.6875rem);
    margin-top: clamp(0.75rem, 1.05vw, 1.25rem);
}

.footer-col__link {
    color: var(--bb-text-muted);
    font-size: clamp(0.8125rem, 0.92vw, 1.0625rem);
    line-height: 1.35;
    transition: color var(--bb-dur) var(--bb-ease);
}

.footer-col__link:hover {
    color: var(--bb-gold-300);
}

.footer-item {
    display: flex;
    align-items: center;
    gap: clamp(0.6rem, 0.9vw, 1rem);
    color: var(--bb-text-muted);
    font-size: clamp(0.8125rem, 0.92vw, 1.0625rem);
    line-height: 1.35;
}

.footer-item__icon {
    flex: none;
    width: clamp(1rem, 1.2vw, 1.375rem);
    height: clamp(1rem, 1.2vw, 1.375rem);
    color: var(--bb-gold-400);
}

.footer-col--contact .footer-col__list {
    gap: clamp(0.5rem, 0.75vw, 0.9375rem);
}

/* --- Social -------------------------------------------------------------- */

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.5rem, 0.7vw, 0.875rem);
    margin-top: clamp(0.9rem, 1.3vw, 1.5rem);
}

.footer-social__link {
    display: grid;
    place-items: center;
    width: clamp(2rem, 2.3vw, 2.625rem);
    height: clamp(2rem, 2.3vw, 2.625rem);
    border: 1px solid var(--bb-gold-700);
    border-radius: 50%;
    color: var(--bb-gold-300);
    transition: border-color var(--bb-dur) var(--bb-ease),
        color var(--bb-dur) var(--bb-ease),
        background-color var(--bb-dur) var(--bb-ease);
}

.footer-social__link:hover {
    border-color: var(--bb-gold-400);
    background-color: rgba(192, 141, 48, 0.12);
    color: var(--bb-gold-100);
}

.footer-social__icon {
    width: 52%;
    height: 52%;
}

/* --- Bottom strip -------------------------------------------------------- */

.site-footer__strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 1.6vw, 1.75rem);
    padding-block: clamp(0.875rem, 1.2vw, 1.375rem);
    border-top: 1px solid var(--bb-hairline);
}

@media (min-width: 900px) {
    .site-footer__strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: center;
    }

    .site-footer__strip .footer-strip__item + .footer-strip__item {
        padding-left: clamp(1.25rem, 2.4vw, 3rem);
        border-left: 1px solid var(--bb-hairline);
    }
}

.footer-strip__item {
    display: flex;
    align-items: center;
    gap: clamp(0.6rem, 1vw, 1.125rem);
    color: var(--bb-text);
    font-size: clamp(0.75rem, 0.85vw, 1rem);
    letter-spacing: var(--bb-tracking-wide);
    line-height: 1.35;
    text-transform: uppercase;
}

.footer-strip__icon {
    flex: none;
    width: clamp(1rem, 1.15vw, 1.375rem);
    height: clamp(1rem, 1.15vw, 1.375rem);
    color: var(--bb-gold-400);
}

.footer-strip__flag {
    flex: none;
    width: clamp(2.5rem, 3.6vw, 4.375rem);
    height: auto;
}

.footer-strip__item--tagline {
    gap: clamp(0.35rem, 0.6vw, 0.75rem);
}

.footer-strip__gold {
    color: var(--bb-gold-400);
}

.footer-strip__age {
    display: grid;
    flex: none;
    place-items: center;
    width: clamp(1.875rem, 2.1vw, 2.375rem);
    height: clamp(1.875rem, 2.1vw, 2.375rem);
    border: 1px solid var(--bb-gold-500);
    border-radius: 50%;
    color: var(--bb-gold-400);
    font-size: clamp(0.75rem, 0.9vw, 1.0625rem);
    font-weight: 600;
    letter-spacing: 0;
}

/* --- Legal band ---------------------------------------------------------- */

.site-footer__legal {
    background: var(--bb-black);
    border-top: 1px solid var(--bb-hairline-soft);
    padding: clamp(0.7rem, 0.95vw, 1.125rem) var(--bb-gutter);
    color: var(--bb-text-dim);
    font-size: clamp(0.75rem, 0.82vw, 0.9375rem);
    text-align: center;
}

/* --- Phones -------------------------------------------------------------- */

/* Below the two-column breakpoint the columns lose their vertical rules, so
   the stacked blocks are separated by a hairline instead. Quick Links and
   Rooms are short enough to sit side by side, which keeps the footer from
   turning into one very long scroll on a phone. */
@media (max-width: 719px) {
    .site-footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(1.125rem, 4vw, 1.5rem) clamp(1rem, 4vw, 1.5rem);
    }

    .site-footer__brand,
    .footer-col--amenities,
    .footer-col--contact {
        grid-column: 1 / -1;
    }

    .site-footer__logo {
        width: min(58vw, 15rem);
    }

    .footer-col {
        padding-top: clamp(1rem, 4vw, 1.25rem);
        border-top: 1px solid var(--bb-hairline-soft);
    }

    /* Bumped a step up from the desktop scale: 13px links and 32px targets
       are hard to hit on a phone. */
    .footer-col__link,
    .footer-item {
        font-size: 0.875rem;
    }

    .footer-col__link {
        display: inline-block;
        padding-block: 0.4rem;
    }

    .footer-social__link {
        width: 2.5rem;
        height: 2.5rem;
    }

    .footer-strip__item {
        font-size: 0.8125rem;
    }

    .footer-col--amenities .footer-col__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: clamp(0.75rem, 3vw, 1.25rem);
    }

    .footer-col--contact .footer-col__list {
        gap: 0.625rem;
    }

    .site-footer__strip {
        justify-items: center;
        text-align: center;
    }

    .footer-strip__item {
        justify-content: center;
    }
}

/* One column on the narrowest handsets, where two would start truncating. */
@media (max-width: 339px) {
    .site-footer__top {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-col--amenities .footer-col__list {
        grid-template-columns: minmax(0, 1fr);
    }
}
