/* Only narrow screens change; desktop continues to use its original layout. */
.mobileMenuToggle { display: none; }
.mobileReservationButton { display: none; }
@media (max-width: 1180px) {
    #pageNavigation .installAppButton:not([hidden]) {
        display: inline-flex;
        min-height: 44px;
        font-size: .65rem;
        line-height: 1.65;
    }
}
@media (max-width: 1180px) {
    html { scroll-padding-top: 72px; }
    html, body { width: 100%; overflow-x: clip; }
    body { min-width: 0; }
    #logo { top: max(16px, env(safe-area-inset-top)); left: max(18px, env(safe-area-inset-left)); width: 100px; min-width: 0; height: auto; z-index: 21; }
    #logo svg { width: 100%; height: auto; }
    .mobileMenuToggle {
        display: flex; position: fixed; z-index: 23; right: max(16px, env(safe-area-inset-right));
        top: max(17px, env(safe-area-inset-top)); width: 48px; height: 48px;
        border: none; 
        background: none;
        align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer;
    }
    .mobileMenuToggle span { width: 19px; height: 1px; background: #fff; transition: transform .25s, opacity .25s; }
    .mobileMenuOpen .mobileMenuToggle span:first-child { transform: translateY(6px) rotate(45deg); }
    .mobileMenuOpen .mobileMenuToggle span:nth-child(2) { opacity: 0; }
    .mobileMenuOpen .mobileMenuToggle span:last-child { transform: translateY(-6px) rotate(-45deg); }
    #pageNavigation, #navigation {
        position: fixed; inset: 0; width: 100%; height: 100dvh; z-index: 22;
        display: block; padding: calc(90px + env(safe-area-inset-top)) 24px 36px;
        overflow-y: auto; overscroll-behavior: contain; background: rgba(18,23,27,.97);
        opacity: 0; visibility: hidden; pointer-events: none; transform: none; filter: none;
        transition: opacity .25s, visibility .25s;
    }
    .mobileMenuOpen #pageNavigation, .mobileMenuOpen #navigation {
        opacity: 1; visibility: visible; pointer-events: auto; transform: none; filter: none;
    }
    .mobileMenuOpen { overflow: hidden; }
    #pageNavigation nav, #navigation nav { max-width: 460px; margin: 0 auto; padding-bottom: 40px; }
    #pageNavigation nav a, #navigation nav a { padding: 10px 0; font-size: 1rem; line-height: 1.3; }
    #pageNavigation .reservation, #navigation #reservation { margin: 0 0 12px; padding: 10px 0; }
    .hero, .heroImage { width: 100%; }
    .heroImage { background-position: center; }
    .heroImage video, .sectionImage video { width: 100%; height: 100%; object-fit: cover; }
    .heroContent { position: fixed; z-index: 1; left: 7vw; right: 7vw; bottom: max(9dvh, 36px); width: auto; transform: none; }
    .heroContent h1 { max-width: 100%; font-size: clamp(2.25rem, 8vw, 4rem); line-height: 1.06; margin-bottom: 22px; overflow-wrap: break-word; }
    .heroContent h2 { max-width: 100%; font-size: clamp(.9rem, 2.5vw, 1rem); letter-spacing: .03em; line-height: 1.5; }
    .heroContent .reservation, .heroContent #reservation { margin-top: 18px; }
    #content { width: 100%; min-width: 0; margin-top: 100dvh; padding: 72px 7vw 100px; gap: 30px; }
    #content p { font-size: .96rem; letter-spacing: .012em; line-height: 1.7; }
    #content h2 { max-width: 100%; font-size: 1.25rem; letter-spacing: .14em; overflow-wrap: anywhere; }
    #content img, #content iframe { max-width: 100%; height: auto; }
    .sectionImage { width: 100vw; max-width: none; height: 65dvh !important; min-height: 340px; margin-left: -7vw; margin-right: -7vw; }
    .sectionCaption { left: 8vw; right: 8vw; bottom: 6dvh; font-size: .68rem; letter-spacing: .16em; overflow-wrap: anywhere; }
    #experiences { gap: 36px; }
    #experiences h3, .benefitsGrid h2 { max-width: 100%; font-size: 1.3rem; letter-spacing: .16em; }
    .witnessSection { width: 100%; padding: 70px 0; }
    .contentStatement { margin-top: 50px; padding: 50px 0; }
    .ghostTitle { left: 0; top: 35px; max-width: 100%; font-size: clamp(3.2rem, 14vw, 6rem); overflow-wrap: anywhere; }
    .statementText { margin-top: 65px; }
    .journalArticle { width: 100%; padding: 60px 7vw; gap: 26px; }
    .journalArticleInner { width: 100%; max-width: 100%; }
    #reservations { padding: 0; overflow-y: auto; }
    #reservations > [data-app="inveeta"] { transform: translate3d(0, 18px, 0) scale(.99); }
    #reservations.inveeta-modal-open > [data-app="inveeta"] { transform: translate3d(0, 0, 0) scale(1); }
    #closeButton { right: 8px; top: max(8px, env(safe-area-inset-top)); z-index: 101; cursor: pointer; }
}

@media (prefers-reduced-motion: reduce) {
    #reservations, #reservations > [data-app="inveeta"], #reservations #closeButton {
        transition: none !important;
        filter: none;
        transform: none;
    }
}
@media (max-width: 480px) {
    .heroContent h1 { font-size: clamp(2.15rem, 9.3vw, 3.2rem); }
    .heroContent h2 { font-size: .97rem; }
    #content { padding-top: 58px; }
}
@media (max-height: 680px) and (max-width: 1180px) {
    .heroContent { bottom: 25px; }
    .heroContent h1 { font-size: clamp(1.8rem, 7vw, 3rem); margin-bottom: 12px; }
    .heroContent h2 { font-size: .9rem; }
}

/* Common dimensions for all experience and journal subpages on smaller screens. */
@media (max-width: 1180px) {
    :root { --page-edge: clamp(24px, 5vw, 68px); }
    #logo { left: var(--page-edge); }
    .mobileMenuToggle { right: var(--page-edge); }
    #pageNavigation nav, #navigation nav { width: min(100%, 520px); }
    #pageNavigation nav a, #navigation nav a { display: block; }
    .heroContent { left: var(--page-edge); right: var(--page-edge); max-width: 740px; }
    .heroContent h1 { max-width: 100%; }
    .heroContent h2 { max-width: 680px; }
    #content { padding: 88px var(--page-edge) 108px; }
    #content > p, #content > h2, #content > .quietNote { max-width: 720px; }
    #content p { margin-top: 0; }
    #content h2 { font-size: clamp(1.85rem, 4vw, 3rem); letter-spacing: -.025em; line-height: 1.1; }
    #content .statementHeader { max-width: 720px; font-size: clamp(2.25rem, 5vw, 3.8rem); letter-spacing: -.025em; line-height: 1.05; }
    .sectionImage { width: 100vw; margin-left: calc(-1 * var(--page-edge)); margin-right: calc(-1 * var(--page-edge)); }
    .sectionCaption { left: var(--page-edge); right: var(--page-edge); max-width: 610px; bottom: 8%; letter-spacing: .1em; line-height: 1.5; }
    #experiences h3, .benefitsGrid h2 { max-width: 100%; }
    .imageEssay, .storyGrid { width: 100vw; margin-left: calc(-1 * var(--page-edge)); }
    .imageEssay { min-height: 640px; padding: 110px var(--page-edge); }
    .imageEssayCopy { width: min(100%, 620px); gap: 20px; }
    .imageFrame::after, .imageEssay.reverse .imageFrame::after { background: linear-gradient(90deg, rgba(11,13,12,.91), rgba(11,13,12,.55) 65%, rgba(11,13,12,.28)), linear-gradient(0deg, rgba(11,13,12,.7), transparent 55%); }
    .storyCard, .storyCard:nth-child(even) { min-height: 650px; padding: 110px var(--page-edge); }
    .storyCard::after { background: linear-gradient(90deg, rgba(11,13,12,.92), rgba(11,13,12,.5) 72%, rgba(11,13,12,.25)), linear-gradient(0deg, rgba(11,13,12,.7), transparent 70%); }
    .storyCard h3 { max-width: 650px; font-size: clamp(2.3rem, 5vw, 4rem); }
    .storyCard p { max-width: 580px; }
    .quoteBlock { margin-left: 0; padding: 95px 0 85px 44px; }
    .quoteBlock blockquote { font-size: clamp(2.4rem, 5vw, 4.6rem); }
    .quoteBlock::before { top: 42px; font-size: 7rem; }
    .footerInvitation { min-height: 205px; padding: 38px var(--page-edge) 30px; }
    .footerInvitationContent { max-width: 560px; }
    .footerInvitation h2 { font-size: clamp(2.2rem, 4.2vw, 3rem); }
    .footerClosing { padding: 32px 0 28px; grid-template-columns: 110px minmax(0, 1fr); gap: 24px; }
    .footerQuietLinks { grid-column: 1 / -1; grid-template-columns: repeat(3, max-content); gap: 20px 34px; }
    .footerBottom { margin: 0 0 0 var(--page-edge); }
    .experienceChapter, .arcMoment, .menuMovement { padding: 38px 0; border-top: 1px solid var(--line-soft); gap: 16px; }
    .experienceChapter h3, .arcMoment h3, .menuMovement h3 { font-size: clamp(2rem, 4vw, 3.2rem); }
    .experienceChapter p, .arcMoment p, .menuMovement p { margin-top: 0; }
    .movementDishes { gap: 8px 12px; }
    .witnessSection { width: 100%; padding: 72px 0; }
    .statementText { margin-top: 50px; }
    .heroContent .eyebrow { margin-bottom: 28px; }
    #giftCertificateApp, #giftCertificateApp .inveeta-box { max-width: 100%; min-width: 0; }
    body[data-type="journal"] #content { display: block; padding: 80px var(--page-edge) 110px; }
    body[data-type="journal"] .journalArticle { width: 100%; padding: 60px 0; }
    body[data-type="journal"] .journalArticleInner { width: 100%; max-width: 720px; }
}
@media (max-width: 600px) {
    :root { --page-edge: 7vw; }
    #logo { top: max(18px, env(safe-area-inset-top)); width: 88px; min-width: 0; height: auto; }
    .heroContent { bottom: max(7dvh, 25px); }
    .heroContent h1 { font-size: clamp(2.2rem, 10vw, 3.5rem); }
    .heroContent h2 { font-size: 1rem; line-height: 1.4; }
    #content { padding-top: 72px; padding-bottom: 85px; gap: 28px; }
    #content h2 { font-size: clamp(1.8rem, 8vw, 2.55rem); }
    #content .statementHeader { font-size: clamp(2.1rem, 9vw, 3.2rem); }
    #content p { line-height: 1.65; }
    .sectionImage { height: min(72dvh, 640px) !important; min-height: 380px; }
    .sectionCaption { bottom: 8%; font-size: .72rem; }
    .imageEssay { min-height: 560px; padding: 95px var(--page-edge) 75px; align-items: flex-end; }
    .storyCard, .storyCard:nth-child(even) { min-height: 560px; padding: 90px var(--page-edge) 70px; }
    .storyCard h3 { margin-top: 22px; font-size: clamp(2.3rem, 9vw, 3.4rem); }
    .quoteBlock { padding: 80px 0 65px 28px; }
    .quoteBlock::before { top: 34px; font-size: 5.5rem; }
    .footerInvitation { min-height: 190px; padding: 34px var(--page-edge) 28px; }
    .footerInvitation h2 { font-size: clamp(2.1rem, 8vw, 2.7rem); }
    .footerClosing { grid-template-columns: 1fr; padding: 30px 0 28px; gap: 22px; }
    .footerMark { width: 68px; }
    .footerQuietLinks { grid-column: auto; grid-template-columns: 1fr; max-width: 400px; gap: 13px; }
    .footerBottom { flex-wrap: wrap; gap: 12px 20px; font-size: .68rem; }
    .footerBackToTop { margin-left: auto; }
    #giftCertificateApp .inveeta-progress { padding: 8px; gap: 4px; }
    #giftCertificateApp .inveeta-progress-item { min-height: 58px; padding: 8px 5px; font-size: .64rem; overflow-wrap: anywhere; }
    body[data-type="journal"] #content { padding: 65px var(--page-edge) 90px; }
}

/* Text blocks must fill the available column instead of inheriting desktop vw caps. */
@media (max-width: 1180px) {
    #content > p { width: 100%; align-self: stretch; }
    #content .statementHeader { display: block; width: 100%; max-width: none; overflow-wrap: normal; word-break: normal; }
    .sectionImage {
        position: relative;
        background-image: none !important;
        background-color: transparent;
        -webkit-mask-image: none;
        mask-image: none;
    }
    .sectionImage::before {
        content: "";
        position: absolute;
        z-index: 0;
        inset: 0;
        background-image: var(--section-image);
        background-position: var(--section-position, center);
        background-size: cover;
        background-repeat: no-repeat;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 74%, transparent 100%);
        mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 74%, transparent 100%);
        pointer-events: none;
    }
    .sectionImage::after { display: none; }
    .sectionImage.teamImage.is-visible { filter: none; }
    .sectionImage.teamImage::before { filter: brightness(1.22) contrast(1.06) saturate(1.05); }
    .sectionImage .sectionCaption {
        box-sizing: border-box;
        left: var(--page-edge);
        right: auto;
        width: calc(100% - 2 * var(--page-edge));
        max-width: 610px;
        overflow-wrap: normal;
        word-break: normal;
    }
}
@media (max-width: 600px) {
    #content .statementHeader { font-size: clamp(2rem, 7.5vw, 2.65rem); line-height: 1.12; }
    .sectionImage .sectionCaption {
        max-width: none;
        bottom: 5%;
        font-size: .73rem;
        letter-spacing: .08em;
        line-height: 1.5;
        text-shadow: 0 1px 12px rgba(0,0,0,.9);
    }
    
}

/* Phone composition: preserve the desktop visual language at a readable scale. */
@media (max-width: 600px) {
    #logo { z-index: 23; }
    .hero { height: 100dvh; }
    .heroImage { background-position: center center; }
    .heroContent {
        left: 8vw;
        right: 8vw;
        bottom: max(8dvh, 50px);
        max-width: none;
    }
    .heroContent .eyebrow {
        margin-bottom: 21px;
        font-size: .67rem;
        --eyebrow-spacing: .19em;
    }
    .heroContent h1 {
        max-width: 100%;
        margin: 0 0 18px;
        font-size: clamp(3rem, 12vw, 4.35rem);
        line-height: .98;
        letter-spacing: -.04em;
        overflow-wrap: normal;
        text-wrap: balance;
    }
    .heroContent h2 {
        max-width: 360px;
        font-size: .92rem;
        line-height: 1.52;
        letter-spacing: .012em;
    }
    .heroContent .reservation, .heroContent #reservation {
        margin-top: 22px;
        font-size: .77rem;
        letter-spacing: .16em;
    }
    #content {
        padding: 85px 8vw 105px;
        gap: 32px;
    }
    #content > p:first-child, #content > .statementHeader:first-child {
        padding-top: 26px;
        border-top: 1px solid rgba(232,222,207,.48);
    }
    #content .statementHeader {
        font-size: clamp(2.4rem, 10.2vw, 3.4rem);
        line-height: 1.04;
        letter-spacing: -.035em;
        text-wrap: balance;
    }
    #content > p:not(:first-child) {
        max-width: 39rem;
        font-size: .96rem;
        line-height: 1.74;
        letter-spacing: .006em;
    }
    .sectionImage {
        width: 100vw;
        height: auto !important;
        min-height: 0;
        margin-left: -8vw;
        margin-right: -8vw;
        padding: min(68dvh, 610px) 8vw 42px;
        -webkit-mask-image: none;
        mask-image: none;
    }
    .sectionImage::before {
        top: 0;
        bottom: auto;
        height: min(68dvh, 610px);
        background-size: auto 100%;
        background-position: var(--section-position, center top);
    }
    .sectionImage .sectionCaption {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: 38rem;
        padding-top: 25px;
        color: rgba(232,222,207,.78);
        font-size: .72rem;
        line-height: 1.65;
        letter-spacing: .12em;
        text-transform: uppercase;
        text-shadow: none;
    }
    .sectionImage .sectionCaption::before { content: none; }
    .sectionImage .sectionCaption span {
        color: rgba(232,222,207,.92);
        font-size: 0.85rem;
        line-height: 1.6;
        letter-spacing: 0.35em;
        
    }
    .sectionImage.teamImage .sectionCaption {
        font-size: .65rem;
    }
    .sectionImage.teamImage .sectionCaption span {
        font-size: .7rem;
        line-height: 1.7;
        letter-spacing: .16em;
    }
    .imageEssay {
        display: block;
        min-height: 0;
        margin-left: -8vw;
        margin-right: -8vw;
        padding: 0 8vw 42px;
    }
    .imageEssay .imageFrame {
        position: relative;
        inset: auto;
        width: 100vw;
        height: min(68dvh, 610px);
        min-height: 0;
        margin-left: -8vw;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 74%, transparent 100%);
        mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 74%, transparent 100%);
    }
    .imageEssay .imageFrame::after { display: none; }
    .imageEssay .imageEssayCopy {
        width: 100%;
        padding-top: 25px;
    }
    .storyGrid {
        margin-left: -8vw;
        margin-right: -8vw;
    }
    .storyCard, .storyCard:nth-child(even) {
        min-height: 0;
        padding: 0 8vw 42px;
        justify-content: flex-start;
        background: transparent;
    }
    .storyCard::before {
        position: relative;
        z-index: 0;
        inset: auto;
        display: block;
        flex-shrink: 0;
        width: 100vw;
        height: min(68dvh, 610px);
        margin: 0 0 25px -8vw;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 74%, transparent 100%);
        mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 74%, transparent 100%);
    }
    .storyCard::after { content: none; }
    .imageEssayCopy h2, .quietNote h2, .footerInvitation h2 {
        line-height: 1.03;
        letter-spacing: -.03em;
    }
}

/* Mobile navigation follows the desktop menu typography and hierarchy. */
@media (max-width: 1180px) {
    #pageNavigation, #navigation {
        z-index: 22;
        display: grid;
        grid-template-columns: minmax(0, 520px);
        align-content: start;
        padding: calc(clamp(170px, 22dvh, 210px) + env(safe-area-inset-top)) var(--page-edge)
                 calc(115px + env(safe-area-inset-bottom));
        background:
            linear-gradient(90deg, rgba(10,12,12,.97), rgba(10,12,12,.88)),
            url('/library/images/experience-atmospheric-015.webp') center / cover no-repeat,
            #0b0d0d;
        color: #e9e0d2;
    }
    .mobileMenuOpen #logo {
        z-index: 24;
        opacity: .72 !important;
        pointer-events: auto;
    }
    .mobileMenuOpen #logo svg path, .mobileMenuOpen #logo svg polygon { fill: #e9e0d2; }
    .mobileMenuOpen #logo svg line { stroke: #e9e0d2; }
    .mobileMenuToggle { z-index: 25; }
    .mobileMenuOpen .mobileMenuToggle { background: none; }
    #pageNavigation nav, #navigation nav {
        grid-area: 1 / 1;
        flex-shrink: 0;
        width: min(100%, 520px);
        max-width: 520px;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
    }
    #pageNavigation nav::before, #navigation nav::before {
        content: 'Explore';
        display: block;
        margin: 0 0 14px;
        padding: 0 100px 0 0;
        border: 0;
        color: var(--brass, #b89a65);
        font: 600 .65rem/1.4 var(--content-font, Poppins, sans-serif);
        letter-spacing: .17em;
        text-transform: uppercase;
    }
    html[lang="sl"] #pageNavigation nav::before { content: 'Odkrijte'; }
    #pageNavigation nav a, #navigation nav a {
        display: block;
        width: 100%;
        padding: 9px 0;
        border: 0;
        color: #e9e0d2;
        font: 300 clamp(.8rem, 1.6vw, .9rem)/1.4 var(--content-font, Poppins, sans-serif);
        letter-spacing: .08em;
        text-transform: uppercase;
        text-decoration: none;
        opacity: 1;
        filter: none;
        transition: color .3s ease;
    }
    #pageNavigation nav a::before { content: none; }
    #pageNavigation nav a:hover, #navigation nav a:hover {
        padding-left: 0;
        color: #fff;
        letter-spacing: .08em;
    }
    #pageNavigation nav a:focus-visible, #navigation nav a:focus-visible {
        outline: 1px solid var(--brass, #b89a65);
        outline-offset: 4px;
    }
    #pageNavigation nav a.is-current, #navigation nav a.is-current { color: #b89a65; }
    #pageNavigation nav a[href$="/gift-certificate"],
    #pageNavigation nav a[href$="/darilni-bon"] {
        margin-top: 14px;
        padding-top: 20px;
        border-top: 1px solid rgba(232,222,207,.16);
    }
    #pageNavigation .link-header, #navigation .link-header {
        display: block;
        margin: 0 0 4px;
        color: rgba(232,222,207,.52);
        font: 300 .59rem/1.4 var(--content-font, Poppins, sans-serif);
        letter-spacing: .09em;
        text-transform: uppercase;
    }
    #pageNavigation nav .menuDetails {
        margin-top: 30px;
        padding-top: 22px;
        border-top-color: rgba(232,222,207,.16);
    }
    #pageNavigation nav .menuRecognitions { font-size: .65rem; line-height: 1.65; }
    #pageNavigation nav .menuRecognitions h2 { font-size: .62rem; margin-bottom: 10px; }
    #pageNavigation nav .menuRecognitions li { margin-bottom: 5px; white-space: normal; }
    #pageNavigation .languageSwitch {
        position: static;
        grid-area: 1 / 1;
        justify-self: end;
        align-self: start;
        z-index: 1;
        flex-shrink: 0;
        width: auto;
        margin: 0;
        padding: 0;
        gap: 20px;
        font-size: .65rem;
        line-height: 1.4;
    }
}

/* Fixed image and copy sit behind the normally scrolling page on phones. */
@media (max-width: 600px) {
    body[data-type="experience"] #header {
        position: static;
    }
    body[data-type="experience"] #header .hero {
        position: fixed;
        inset: 0 auto auto 0;
        z-index: 0;
        width: 100%;
        height: 60dvh;
        overflow: hidden;
        pointer-events: none;
    }
    body[data-type="experience"] #header .heroImage {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background-position: center;
    }
    body[data-type="experience"] #header .hero::after {
        z-index: 1;
        background: linear-gradient(to bottom, transparent 35%, rgba(21,26,30,.3) 65%, #151a1e 100%);
        pointer-events: none;
    }
    body[data-type="experience"] #header .heroContent {
        position: fixed;
        top: auto;
        bottom: max(6dvh, 36px);
        left: 8vw;
        right: 8vw;
        z-index: 1;
        width: auto;
        max-width: none;
        padding: 0;
        background: transparent;
        pointer-events: none;
    }
    body[data-type="experience"] #header .heroContent [data-inveeta-open],
    body[data-type="experience"] #header .heroContent .reservation { pointer-events: auto; }
    body[data-type="experience"] #content {
        margin-top: 100dvh;
        padding-top: 45px;
    }
    body[data-type="experience"] #content > p:first-child,
    body[data-type="experience"] #content > .statementHeader:first-child { padding-top: 27px; }

    /* The hero keeps its scale; subsequent headings become quieter. */
    #content h2 {
        font-size: clamp(1.55rem, 6.2vw, 2rem);
        line-height: 1.13;
    }
    #content .statementHeader {
        font-size: clamp(1.9rem, 7.7vw, 2.55rem);
        line-height: 1.1;
    }
    .experienceChapter h3, .arcMoment h3, .menuMovement h3,
    .storyCard h3 {
        font-size: clamp(1.75rem, 7vw, 2.35rem);
        line-height: 1.06;
    }
    #experiences h3, .benefitsGrid h2 { font-size: 1.1rem; }
    .quoteBlock blockquote { font-size: clamp(1.9rem, 7.5vw, 2.6rem); }
    .footerInvitation h2 { font-size: clamp(2.1rem, 8vw, 2.7rem); }
    .ghostTitle { font-size: clamp(2.6rem, 10vw, 4rem); }

}

@media (max-width: 600px) and (max-height: 680px) {
    body[data-type="experience"] #header .heroContent { bottom: 18px; }
    body[data-type="experience"] #header .heroContent h2 { font-size: .9rem; line-height: 1.35; }
    body[data-type="experience"] #header .heroContent .eyebrow { margin-bottom: 12px; }
    body[data-type="experience"] #header .heroContent .reservation,
    body[data-type="experience"] #header .heroContent #reservation { margin-top: 10px; padding: 10px 0; }
}

/* Keep the invitation legible and typographic at smaller widths. */
@media (max-width: 1180px) {
    #footer {
        --edge: var(--page-edge);
    }
    .footerReservation {
        display: inline-flex;
        align-items: center;
        min-height: 36px;
        margin-top: 16px;
        padding: 0 0 5px;
        color: var(--vellum);
        background: transparent;
        border: 0;
        border-bottom: 1px solid var(--brass);
        font: 400 1.25rem/1.1 var(--header-font);
        letter-spacing: -.02em;
        text-transform: none;
    }
}

/* The mobile reservation action stays available as the story scrolls. */
@media (max-width: 1180px) {
    #logo { top: max(42px, calc(env(safe-area-inset-top) + 26px)); }
    .mobileMenuToggle { top: max(42px, calc(env(safe-area-inset-top) + 26px)); }

    body[data-type="experience"] #header .heroContent .reservation,
    body[data-type="experience"] #header .heroContent #reservation,
    body[data-type="experience"] #pageNavigation nav .reservation { display: none; }

    body[data-type="experience"] #layout::after {
        position: fixed;
        z-index: 89;
        right: 0;
        bottom: 0;
        left: 0;
        height: calc(150px + env(safe-area-inset-bottom));
        background: linear-gradient(to bottom, transparent 0%, rgba(29, 32, 33, .36) 18%, rgba(29, 32, 33, .82) 46%, rgba(29, 32, 33, .9) 100%);
        content: "";
        pointer-events: none;
    }
    .mobileReservationButton {
        position: fixed;
        z-index: 90;
        bottom: calc(env(safe-area-inset-bottom) + 20px);
        left: 50%;
        display: inline-flex;
        width: auto;
        min-height: 44px;
        padding: 8px 24px;
        align-items: center;
        border: 0;
        border-bottom: 1px solid rgba(184, 154, 101, .52);
        background: transparent;
        color: #e9e0d2;
        font: 300 .76rem/1.4 var(--content-font);
        letter-spacing: .18em;
        text-align: center;
        text-shadow: 0 2px 14px rgba(0, 0, 0, .8);
        text-transform: uppercase;
        transform: translateX(-50%);
        white-space: nowrap;
        cursor: pointer;
        transition: color .25s ease, border-color .25s ease;
    }
    .mobileReservationButton:hover { color: #fff; border-bottom-color: #e9e0d2; }
    .mobileReservationButton:focus-visible {
        outline: 2px solid #e9e0d2;
        outline-offset: 3px;
    }
    .heroContent { bottom: max(13dvh, calc(env(safe-area-inset-bottom) + 108px)); }
    #content { padding-bottom: calc(115px + env(safe-area-inset-bottom)); }
    #footer .footerBottom { padding-bottom: calc(105px + env(safe-area-inset-bottom)); }
    #pageNavigation { padding-bottom: calc(115px + env(safe-area-inset-bottom)); }
}

@media (max-width: 600px) {
    body[data-type="experience"] #header .heroContent {
        bottom: calc(env(safe-area-inset-bottom) + 112px);
    }
    .mobileReservationButton { min-height: 44px; }
}

/* A quiet brass marker for the current desktop chapter. */
@media (min-width: 1181px) {
    #pageNavigation nav > a.is-current, #navigation nav > a.is-current { position: relative; }
    #pageNavigation nav > a.is-current::before, #navigation nav > a.is-current::before {
        content: "";
        position: absolute;
        inset-inline-start: -13px;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--brass, #b89a65);
        pointer-events: none;
    }
    #pageNavigation nav > a.is-current[href$="/gift-certificate"]::before,
    #pageNavigation nav > a.is-current[href$="/darilni-bon"]::before { top: calc(50% + 6.5px); }
}
