/* Shared SVG arrows stay sharp and available without a downloaded icon font. */
.bf-arrow {
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    min-width: 18px;
    min-height: 18px;
    flex: 0 0 auto;
    vertical-align: middle;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.bf-mobile-nav {
    visibility: hidden;
    pointer-events: none;
    height: 100%;
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transition: transform .6s var(--bf-ease), visibility .6s;
}

body.is-mobile-nav-open .bf-mobile-nav {
    visibility: visible;
    pointer-events: auto;
}

.bf-mobile-nav__header {
    flex-shrink: 0;
}

.bf-mobile-nav nav {
    flex-shrink: 0;
    padding-block: 20px;
}

.bf-mobile-nav nav a,
.bf-mobile-nav nav button {
    min-height: 48px;
    line-height: 1.25;
}

.bf-loader__skip {
    position: absolute;
    z-index: 36;
    top: max(76px, calc(env(safe-area-inset-top) + 60px));
    right: max(20px, env(safe-area-inset-right));
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid rgba(231, 189, 123, .4);
    border-radius: 40px;
    background: rgba(8, 5, 4, .75);
    color: #fff;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

@media (max-width: 1024px), (max-width: 1366px) and (hover: none) and (pointer: coarse) {
    .bf-nav,
    .bf-header__menu-button {
        display: none;
    }

    .bf-header__inner {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .bf-header__mobile-button {
        display: block;
    }

    .padding-left-right {
        padding-inline: clamp(16px, 5vw, 38px);
    }

    .bf-mobile-nav {
        padding: max(16px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    }

    .bf-mobile-nav__header img {
        width: 110px;
        height: auto;
        max-height: 105px;
        object-fit: contain;
    }

    .bf-mobile-nav nav a,
    .bf-mobile-nav nav button {
        gap: 14px;
        padding-block: clamp(12px, 2.5vh, 22px);
        font-size: clamp(25px, 4.5vw, 42px);
    }

    .bf-mobile-nav nav span {
        font-size: 12px;
    }

    .bf-header__mobile-button,
    .bf-mobile-nav__header button,
    .bf-focus__arrow {
        min-width: 44px;
        min-height: 44px;
        flex-shrink: 0;
        touch-action: manipulation;
    }

    .bf-focus__arrows {
        flex-shrink: 0;
    }

    .bf-focus__arrow span {
        display: grid;
        place-items: center;
        line-height: 1;
    }

    .bf-loader__video-stage {
        width: 100% !important;
        height: 100% !important;
    }

    .bf-loader__video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .bf-loader__topbar {
        top: max(20px, env(safe-area-inset-top));
        left: max(20px, env(safe-area-inset-left));
        right: max(20px, env(safe-area-inset-right));
        gap: 10px;
        flex-wrap: wrap;
    }

    .bf-loader__progress {
        bottom: max(28px, calc(env(safe-area-inset-bottom) + 20px));
        width: min(80vw, 420px);
    }

    .bf-loader__sound {
        bottom: max(88px, calc(env(safe-area-inset-bottom) + 80px));
        min-height: 44px;
    }

    .bf-loader__enter {
        font-size: 13px;
        max-width: calc(100% - 40px);
    }

    .bf-menu-drawer__panel {
        width: min(870px, 100%);
        height: 100%;
        max-height: 100dvh;
        padding-bottom: env(safe-area-inset-bottom);
        -webkit-overflow-scrolling: touch;
    }

    .bf-menu-search input,
    .bf-newsletter input {
        font-size: 16px;
    }

    .bf-menu-drawer__close {
        min-width: 44px;
        min-height: 44px;
        flex-shrink: 0;
    }

    .bf-section-rail,
    .bf-focus-section-rail,
    .bfc-gallery-section-rail,
    .bf-footer-section-rail {
        min-width: 0;
        gap: 10px;
    }

    .bf-button {
        max-width: 100%;
        gap: 14px;
        white-space: normal;
    }

    .bf-button > span {
        flex-shrink: 0;
    }
}

@media (max-width: 700px) {
    .bf-menu-drawer__toolbar {
        grid-template-columns: minmax(0, 1fr);
    }

    .bf-menu-item {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 12px;
    }

    .bf-menu-item strong,
    .bf-menu-category__header p {
        overflow-wrap: anywhere;
    }

    .bf-menu-item b {
        white-space: nowrap;
    }

    .bf-hero .bf-hero-title {
        display: block;
        font-size: clamp(32px, 8vw, 52px);
        line-height: 1.1;
    }

    .bf-hero .bf-hero-title .bf-hero-title__line {
        display: block;
        white-space: normal;
    }
}

@media (max-width: 650px) {
    .bf-whatsapp__arrow {
        position: absolute;
        top: -4px;
        right: -4px;
        display: grid;
        width: 23px;
        height: 23px;
        background: #0b0806;
    }

    .bf-whatsapp__arrow .bf-arrow {
        min-width: 14px;
        min-height: 14px;
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 375px) {
    .bf-about .bf-section-rail,
    .bf-about .bf-section-rail span,
    .bf-focus-section-rail,
    .bfc-gallery-section-rail,
    .bf-footer-section-rail {
        font-size: 10px;
        letter-spacing: .08em;
    }
}

@media (max-width: 1024px) and (max-height: 500px) {
    .bf-mobile-nav__header img {
        width: 70px;
        max-height: 65px;
    }

    .bf-mobile-nav nav {
        margin-block: 0;
        padding-block: 12px;
    }

    .bf-mobile-nav nav a,
    .bf-mobile-nav nav button {
        padding-block: 10px;
        font-size: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bf-mobile-nav {
        transition: none;
    }
}

/* Layout refinement: retain the existing artwork, colours, and section order. */
@media (max-width: 1024px), (max-width: 1366px) and (hover: none) and (pointer: coarse) {
    :root {
        --bf-device-gutter: clamp(20px, 4.5vw, 44px);
        --bf-device-section: clamp(64px, 8vw, 96px);
    }

    html {
        scroll-padding-top: 100px;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    .bf-header .padding-left-right,
    .bf-hero > .padding-left-right {
        width: 100%;
        padding-inline: max(var(--bf-device-gutter), env(safe-area-inset-left)) max(var(--bf-device-gutter), env(safe-area-inset-right));
    }

    .bf-header .bf-header__inner {
        width: 100%;
        min-height: 84px;
    }

    .bf-hero .bf-hero__grid {
        grid-template-columns: minmax(0, 1fr);
        min-height: 100svh;
        padding-block: clamp(132px, 15svh, 176px) 64px;
        gap: 0;
    }

    .bf-hero .bf-hero__content {
        max-width: 660px;
        min-width: 0;
    }

    .bf-hero .bf-hero-title {
        display: flex;
        font-size: clamp(60px, 8.4vw, 86px);
        gap: .04em;
        letter-spacing: -.05em;
    }

    .bf-hero .bf-hero-description {
        max-width: 44ch;
        font-size: 15px;
        line-height: 1.85;
        margin-top: 24px;
        color: rgba(244, 229, 211, .75);
    }

    .bf-hero .bf-hero__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
    }

    .bf-hero .bf-button {
        min-height: 54px;
        font-size: 15px;
        letter-spacing: .04em;
    }

    .bf-about,
    .bf-focus,
    .bfc-gallery {
        padding-block: var(--bf-device-section);
    }

    .bf-about > .bf-container,
    .bf-focus .bf-focus__container,
    .bfsx-strip .bfsx-strip__container,
    .bfc-gallery .bfc-gallery__container,
    .bf-footer .bf-container {
        width: calc(100% - var(--bf-device-gutter) * 2);
        margin-inline: auto;
    }

    .bf-about .bf-about__grid > *,
    .bf-focus__header > *,
    .bf-footer-main > * {
        min-width: 0;
    }

    .bf-focus-section-rail,
    .bfc-gallery-section-rail,
    .bf-footer-section-rail,
    .bf-about .bf-section-rail {
        grid-template-columns: auto minmax(16px, 1fr) auto;
        gap: 16px;
        margin-bottom: 32px;
        font-size: clamp(24px, 3.2vw, 34px);
        letter-spacing: 0;
    }

    .bf-about .bf-section-rail span {
        font-size: inherit;
    }

    .bf-focus-section-rail strong,
    .bfc-gallery-section-rail strong,
    .bf-footer-section-rail strong,
    .bf-about .bf-section-rail strong {
        font-size: 16px;
    }

    .bf-mobile-nav nav a:focus-visible,
    .bf-mobile-nav nav button:focus-visible,
    .bf-focus__arrow:focus-visible,
    .bf-button:focus-visible {
        outline: 2px solid var(--bf-gold-light);
        outline-offset: 5px;
    }
}

@media (min-width: 701px) and (max-width: 1024px) {
    .bf-hero .bf-hero-benefits-wrap {
        margin-top: 36px;
    }

    .bf-focus__header {
        gap: 24px;
    }

    .bf-focus__heading {
        width: min(73%, 600px);
    }

    .bf-focus__heading h2 {
        font-size: clamp(42px, 5.8vw, 62px);
    }
}

@media (max-width: 700px) {
    .bf-header .bf-header__inner {
        min-height: 76px;
        padding-block: 8px;
    }

    .bf-hero .bf-hero__grid {
        padding-block: max(116px, calc(env(safe-area-inset-top) + 100px)) 44px;
    }

    .bf-hero .bf-hero-title {
        font-size: clamp(40px, 11.5vw, 68px);
        gap: .035em;
    }

    .bf-hero .bf-hero-title .bf-hero-title__line {
        white-space: nowrap;
    }

    .bf-hero .bf-hero-description {
        max-width: 36ch;
        font-size: 14px;
        line-height: 1.8;
    }

    .bf-hero .bf-hero-divider {
        width: min(76%, 340px);
        margin-block: 20px;
    }

    .bf-hero .bf-hero__actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .bf-hero .bf-button {
        width: 100%;
        justify-content: space-between;
        padding-inline: 22px 14px;
    }

    .bf-hero .bf-hero-benefits-wrap {
        margin-top: 28px;
        padding-top: 16px;
    }

    .bf-hero .bf-hero-benefit {
        padding-block: 13px;
    }

    .bf-hero .bf-hero-benefit small {
        font-size: 11px;
        line-height: 1.6;
    }

    .bf-about .bf-about__grid {
        row-gap: 36px;
    }

    .bf-about .bf-cafe-images {
        aspect-ratio: 4 / 4.2;
    }

    .bf-about .bf-about-content__title {
        font-size: clamp(27px, 6.9vw, 38px);
        line-height: 1.2;
    }

    .bf-about .bf-about-wide-story__copy {
        padding-left: 0;
        margin-top: 18px;
    }

    .bf-about .bf-about-content__statement {
        padding: 28px 20px;
    }

    .bf-about .bf-about-content__statement p {
        font-size: clamp(27px, 7vw, 38px);
        line-height: 1.3;
    }

    .bf-focus .bf-focus__header {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .bf-focus .bf-focus__heading {
        width: 100%;
    }

    .bf-focus .bf-focus__heading h2 {
        font-size: clamp(35px, 9vw, 48px);
        line-height: 1.1;
    }

    .bf-focus .bf-focus__header-side {
        width: 100%;
        margin: 0;
        padding: 0;
        align-items: flex-end;
    }

    .bf-focus .bf-focus__stage {
        width: calc(100% + var(--bf-device-gutter) * 2);
        margin-left: calc(var(--bf-device-gutter) * -1);
    }

    .bfc-gallery .bfc-gallery__intro p {
        font-size: 14px;
        line-height: 1.8;
    }

    .bfc-gallery .bfc-gallery-grid {
        scroll-padding-inline: 0;
        scroll-snap-type: x proximity;
        gap: 14px;
    }

    .bfc-gallery .bfc-gallery-card {
        flex-basis: 88%;
    }

    .bf-footer .bf-footer-heading h2 {
        font-size: clamp(36px, 9vw, 52px);
        line-height: 1.1;
    }

    .bf-footer .bf-footer-column {
        padding-block: 28px;
    }

    .bf-footer .bf-footer-bottom {
        padding-bottom: max(28px, env(safe-area-inset-bottom));
    }
}

@media (max-width: 700px) and (orientation: landscape) {
    .bf-hero .bf-hero__grid {
        padding-top: 110px;
    }

    .bf-hero .bf-hero__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
