/* Photo-led menus and draft previews */
.customer-menu--photo-led {
    --restaurant-hero: #203c32;
    --restaurant-hero-ink: #fbf0d9;
    --restaurant-ink: #24352d;
    --restaurant-tint: #f4ecda;
    --restaurant-paper: #fbf7ef;
    --restaurant-width: 1200px;
    --juniper-gutter: clamp(18px, 4.3vw, 62px);
    --restaurant-edge: max(var(--juniper-gutter), (100% - var(--restaurant-width)) / 2);
    --menu-heading: Georgia, "Times New Roman", serif;
    --paper: var(--restaurant-paper);
    --ink: var(--restaurant-ink);
    --muted: color-mix(in srgb, var(--ink) 92%, var(--paper));
    --line: color-mix(in srgb, var(--ink) 22%, var(--paper));
}

.custom-page-colors .customer-menu--photo-led {
    --restaurant-hero: var(--accent);
    --restaurant-tint: color-mix(in srgb, var(--menu-source-paper) 26%, #fff9ef);
    --restaurant-paper: color-mix(in srgb, var(--menu-source-paper) 11%, #fffdf8);
    --restaurant-ink: #24211c;
}

.customer-menu--photo-led.font-sans { --menu-heading: var(--brand-sans); }
.customer-menu--photo-led.font-condensed { --menu-heading: "Arial Narrow", "Aptos Narrow", var(--brand-sans); }

.customer-menu--photo-led > .customer-menu-hero {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    column-gap: clamp(24px, 4vw, 64px);
    padding-inline: var(--restaurant-edge);
    background: var(--page-hero-background, var(--restaurant-hero));
    color: var(--page-hero-ink, var(--restaurant-hero-ink));
    border-block-end: 1px solid var(--line);
}

.customer-menu--photo-led > .customer-menu-text-hero { grid-template-columns: minmax(0, 1fr); }

.customer-menu--photo-led .juniper-hero-copy {
    min-width: 0;
    gap: 11px;
    padding: clamp(34px, 5vw, 72px) 0;
}

.customer-menu--photo-led .customer-menu-text-hero .juniper-hero-copy {
    width: 100%;
    margin: 0;
    align-items: flex-start;
    text-align: start;
}

.customer-menu--photo-led .customer-menu-text-hero .juniper-hero-copy::after { content: none; }
.customer-menu--photo-led .customer-menu-multilingual .juniper-hero-copy { padding-block-start: 72px; }

.customer-menu--photo-led .juniper-hero-copy h1 {
    margin: 0;
    max-width: 17ch;
    color: inherit;
    font: 400 clamp(2.85rem, 5.6vw, 5.45rem)/.99 var(--menu-heading);
    letter-spacing: -.055em;
    text-wrap: balance;
}

.customer-menu--photo-led:is(.font-sans, .font-condensed) h1 { font-weight: 740; }
.customer-menu--photo-led .juniper-logo { margin: 0; max-width: 146px; max-height: 64px; }

.customer-menu--photo-led .juniper-edition {
    color: inherit;
    font: 700 .85rem/1.45 var(--brand-sans);
    letter-spacing: .04em;
}

.customer-menu--photo-led .juniper-location {
    font-size: .93rem;
    font-weight: 540;
    letter-spacing: 0;
}

.customer-menu--photo-led .juniper-description {
    margin-block-start: 3px;
    max-width: 49ch;
    font-size: .97rem;
    line-height: 1.5;
}

.customer-menu--restaurant .restaurant-hero-descriptor {
    margin: 0;
    font-size: clamp(1rem, 1.55vw, 1.25rem);
    font-weight: 650;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.customer-menu--photo-led .juniper-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 18px;
    margin-block-start: 4px;
    font-size: .85rem;
    line-height: 1.45;
}

.customer-menu--photo-led .juniper-facts div { gap: 4px 7px; }
.customer-menu--photo-led .hero-action-row { margin-block-start: 7px; }

@media (min-width: 1024px) {
    .customer-menu--photo-led > .customer-menu-hero:not(.customer-menu-text-hero):has(.juniper-actions):has(.page-tools > details + [data-page-share]) {
        grid-template-columns: minmax(490px, .9fr) minmax(0, 1.1fr);
    }
    .customer-menu--photo-led > .customer-menu-hero:not(.customer-menu-text-hero):has(.juniper-actions a + a):has(.page-tools > details + [data-page-share]) {
        grid-template-columns: minmax(585px, .9fr) minmax(0, 1.1fr);
    }
}

.customer-menu--photo-led .juniper-actions a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    border: 1px solid currentColor;
    border-radius: 11px;
    padding: 8px 14px;
    background: transparent;
    color: inherit;
    font-size: .9rem;
}

.customer-menu--photo-led .juniper-actions a:hover {
    background: var(--page-hero-ink, var(--restaurant-hero-ink));
    color: var(--page-hero-background, var(--restaurant-hero));
}

.customer-menu--photo-led .language-selector :is(summary, .languages) { border-radius: 11px; }
.customer-menu--photo-led .customer-menu-hero :is(a, summary):focus-visible { outline-color: currentColor; }

.customer-menu--photo-led .restaurant-cover,
.customer-menu--photo-led .restaurant-section-artwork { position: relative; min-width: 0; border-radius: 14px; overflow: hidden; }

.customer-menu--photo-led .restaurant-cover {
    min-height: clamp(322px, 33vw, 485px);
    margin: clamp(12px, 1.55vw, 24px) 0;
}

.customer-menu--photo-led .restaurant-cover img,
.customer-menu--photo-led .restaurant-section-artwork img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--art-position, 50% 50%);
}

.customer-menu--photo-led .restaurant-cover img { position: absolute; inset: 0; }

.customer-menu--photo-led .juniper-menu { width: 100%; padding-block-end: 24px; }

.customer-menu.customer-menu--restaurant .menu-browser {
    --menu-nav-paper: #efe5d5;
    --menu-nav-ink: #3d2a1e;
}

.customer-menu--photo-led .restaurant-section-index {
    position: sticky;
    z-index: 3;
    inset-block-start: 0;
    border-block-end: 1px solid var(--line);
    background: var(--restaurant-tint);
}

.customer-menu--photo-led :is(.restaurant-section-index-inner, .juniper-section, .restaurant-menu-note, .customer-menu-credit) {
    width: min(var(--restaurant-width), 100% - 2 * var(--juniper-gutter));
    margin-inline: auto;
}

.customer-menu--photo-led .restaurant-section-index-inner { position: relative; padding-block: 5px; }

.customer-menu--photo-led .juniper-category-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: clamp(8px, 1.3vw, 20px);
    overflow-x: auto;
    margin: 0;
    padding: 0;
    border: 0;
    scrollbar-width: thin;
}

.customer-menu--photo-led .juniper-category-nav a {
    flex: 0 0 auto;
    min-height: 44px;
    max-inline-size: min(20rem, 76vw);
    padding: 6px 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    overflow-wrap: anywhere;
}

.customer-menu--photo-led .juniper-category-nav a:is(:hover, [aria-current]) {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.customer-menu--photo-led .restaurant-section-index :is(a, summary):focus-visible,
.customer-menu--photo-led .juniper-section:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: -2px;
}

.customer-menu--photo-led .juniper-section {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 0 clamp(22px, 4.4vw, 64px);
    padding-block: clamp(26px, 4.3vw, 56px);
    scroll-margin-block-start: 65px;
}

.customer-menu--restaurant .juniper-section + :is(.juniper-section, .page-location-map) {
    position: relative;
    border-block-start: 0;
}

.customer-menu--restaurant .juniper-section + :is(.juniper-section, .page-location-map)::before {
    content: "";
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    inline-size: 48px;
    block-size: 3px;
    border-radius: 2px;
    background: color-mix(in srgb, var(--ink) 52%, var(--paper));
}

.customer-menu--photo-led .restaurant-menu-anchor {
    position: absolute;
    inset-block-start: 0;
    scroll-margin-block-start: 65px;
}

.customer-menu--photo-led .juniper-section h2 {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 13px;
    padding: 0;
    border: 0;
    color: var(--ink);
    font: 400 clamp(2rem, 3.7vw, 3.45rem)/1.06 var(--menu-heading);
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
}

.customer-menu--photo-led:is(.font-sans, .font-condensed) .juniper-section h2 { font-weight: 730; }
.customer-menu--photo-led .juniper-section h2::after {
    content: "";
    flex: 1;
    min-width: 16px;
    border-block-start: 1px solid var(--line);
}

.customer-menu--photo-led .juniper-items,
.customer-menu--photo-led .juniper-item-group { min-width: 0; grid-template-columns: minmax(0, 1fr); gap: 0; }

.customer-menu--photo-led .juniper-item { min-width: 0; }

.customer-menu--photo-led .juniper-item:has(> :is(img, .menu-item-photo)) {
    display: grid;
    grid-template-columns: clamp(64px, 11vw, 112px) minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(10px, 2vw, 18px);
}

.customer-menu--photo-led .juniper-item img {
    width: 100%;
    aspect-ratio: 1.3;
    margin-block: 8px;
    border-radius: 9px;
}

.juniper-item .menu-item-photo {
    display: block;
    margin: 0;
    border-radius: 9px;
    cursor: zoom-in;
}

.menu-item-photo:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.menu-photo-dialog {
    box-sizing: border-box;
    width: min(960px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    padding: 12px;
    border: 0;
    border-radius: 14px;
    color: #fefefe;
    background: #24211c;
}

.menu-photo-dialog::backdrop { background: rgb(0 0 0 / 75%); }
.menu-photo-dialog form { display: flex; justify-content: flex-end; margin: 0 0 8px; padding: 0; }
.menu-photo-dialog button {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid currentColor;
    border-radius: 8px;
    padding: 0;
    color: inherit;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
}

.menu-photo-dialog figure { display: grid; gap: 12px; margin: 0; text-align: center; }
.menu-photo-dialog img {
    display: block;
    width: 100%;
    max-height: min(68dvh, calc(100dvh - 210px), 740px);
    object-fit: contain;
}

.menu-photo-dialog figcaption { font-weight: 700; overflow-wrap: anywhere; }

.menu-photo-navigation:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--action-gap);
    margin-block-start: var(--action-content-space);
}

.menu-photo-navigation button { padding: 8px 12px; font-size: .875rem; }
.menu-photo-navigation button[aria-disabled="true"] { opacity: .55; cursor: default; }

@media print { .menu-photo-dialog { display: none !important; } }

.customer-menu--photo-led .juniper-item .juniper-item-copy {
    min-width: 0;
    padding-block: clamp(10px, 1.15vw, 15px);
}

.customer-menu--photo-led .juniper-items-featured .juniper-item-group:first-child .juniper-item {
    overflow: visible;
    border-width: 0 0 1px;
    border-radius: 0;
    background: transparent;
}

.customer-menu--photo-led .juniper-item-group:last-child > .juniper-item:last-child {
    border-block-end-width: 0;
}

.customer-menu--photo-led .juniper-items-featured .juniper-item-group:first-child .juniper-item-copy {
    padding: clamp(10px, 1.15vw, 15px) 0;
}

.customer-menu--photo-led .juniper-item-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 6px clamp(10px, 2vw, 22px);
}

.customer-menu--photo-led .juniper-item .juniper-item-heading h3 {
    font: 700 clamp(1.04rem, 1.42vw, 1.36rem)/1.22 var(--menu-heading);
}

.customer-menu--photo-led .juniper-item strong {
    max-inline-size: min(35vw, 125px);
    color: var(--ink);
    font-size: clamp(.88rem, 1.28vw, 1rem);
    font-weight: 760;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
    line-height: 1.3;
    text-align: end;
    white-space: normal;
    overflow-wrap: anywhere;
}

.customer-menu--photo-led .juniper-item p {
    margin-block-start: 5px;
    font-size: .91rem;
    line-height: 1.47;
}

.customer-menu--photo-led .juniper-item a { color: var(--ink); }

.customer-menu--photo-led .restaurant-section-artwork { margin: 12px 0 0; }
.customer-menu--photo-led .restaurant-section-artwork img { aspect-ratio: 16 / 10; height: auto; border-radius: 14px; }

@media (min-width: 850px) {
    .customer-menu--photo-led .restaurant-section-with-artwork { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .customer-menu--photo-led:not(.customer-menu--specials) .juniper-section:not(.restaurant-section-with-artwork) .juniper-item-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: clamp(22px, 4.4vw, 64px);
        align-items: stretch;
    }

    .customer-menu--photo-led:not(.customer-menu--specials) .juniper-section:not(.restaurant-section-with-artwork)
        .juniper-item-group:last-child > .juniper-item:nth-child(odd):nth-last-child(2) {
        border-block-end-width: 0;
    }
}

@media (max-width: 740px) {
    .customer-menu--photo-led > .customer-menu-hero { grid-template-columns: minmax(0, 1fr); }
    .customer-menu--photo-led .juniper-hero-copy { gap: 8px; padding-block: 22px 28px; }
    .customer-menu--photo-led .juniper-hero-copy h1 { font-size: clamp(2.5rem, 10vw, 4.2rem); }
    .customer-menu--photo-led .juniper-location { font-size: .87rem; }
    .customer-menu--photo-led .restaurant-cover {
        grid-row: 1;
        min-height: 0;
        max-height: 280px;
        aspect-ratio: 16 / 9;
        margin: 12px 0 0;
        border-radius: 12px;
    }
    .customer-menu--photo-led .juniper-section h2 { font-size: clamp(1.95rem, 7.5vw, 2.75rem); }
}

@media (max-width: 767px) {
    .customer-menu--restaurant .restaurant-hero-descriptor { text-wrap: balance; }

    .customer-menu--restaurant .juniper-item:has(> .menu-item-photo) { align-items: start; }
    .customer-menu--restaurant .juniper-item .menu-item-photo { margin-block-start: 10px; }
    .customer-menu--restaurant .menu-item-photo img { margin-block: 0; }
    .customer-menu--restaurant .juniper-item .juniper-item-heading { column-gap: var(--action-gap); }

    .customer-menu--restaurant .page-location-map .page-location-map-links {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 138px), 1fr));
    }

    .customer-menu--restaurant .page-location-map-links a { justify-content: center; }
}

@media (max-width: 359px) {
    .customer-menu--restaurant .juniper-item:has(> .menu-item-photo) { grid-template-columns: 58px minmax(0, 1fr); }
    .customer-menu--restaurant .juniper-item .juniper-item-heading { column-gap: var(--compact-action-gap); }
}

.customer-menu--photo-led.customer-menu--compact-restaurant .juniper-hero-copy {
    padding-block: clamp(26px, 3.25vw, 42px);
}

.customer-menu--photo-led.customer-menu--scanned .juniper-hero-copy {
    padding-block: clamp(22px, 2.6vw, 34px);
}

.customer-menu--compact-restaurant .juniper-hero-copy h1 {
    max-width: 20ch;
    font-size: clamp(2.5rem, 4.6vw, 4.15rem);
    line-height: 1.04;
}

.customer-menu--scanned .juniper-hero-copy h1 {
    max-width: 26ch;
    font-size: clamp(2.35rem, 4.05vw, 3.6rem);
    line-height: 1.04;
}

.customer-menu--compact-restaurant .restaurant-cover {
    align-self: center;
    justify-self: end;
    inline-size: min(100%, 480px);
    min-block-size: 0;
    max-block-size: none;
    aspect-ratio: 3 / 2;
    margin-block: clamp(14px, 1.65vw, 24px);
}

:is(.customer-menu--compact-restaurant, .customer-menu--scanned) .juniper-section:first-of-type {
    padding-block-start: clamp(24px, 3vw, 40px);
}

@media (max-width: 740px) {
    .customer-menu--photo-led:is(.customer-menu--compact-restaurant, .customer-menu--scanned) .juniper-hero-copy {
        padding-block: 20px 24px;
    }

    .customer-menu--compact-restaurant .restaurant-cover {
        justify-self: center;
        margin-block: 12px 0;
    }
}

.customer-menu--photo-led :is(.restaurant-menu-note, .customer-menu-credit) {
    border-block-start: 1px solid var(--line);
    padding-block: 13px;
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.55;
}

.customer-menu--photo-led .restaurant-cover--original {
    display: flex;
    align-self: center;
    justify-content: center;
    min-block-size: 0;
    max-block-size: none;
    aspect-ratio: auto;
}

.customer-menu--photo-led .restaurant-cover--original img {
    position: static;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: min(70svh, 640px);
    object-fit: contain;
    border-radius: inherit;
}

@media (min-width: 1024px) {
    .customer-menu--restaurant .restaurant-cover--original img {
        max-height: min(50svh, 420px);
    }
}

@font-face {
    font-family: "Barlow Condensed";
    src: url("/brand/barlow-condensed-bold.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}

.customer-menu--daily.font-condensed {
    --menu-heading: "Barlow Condensed", "Arial Narrow", var(--brand-sans);
}

.customer-menu--daily .juniper-item strong { color: var(--daily-menu-price-ink, var(--ink)); }

.customer-menu--specials .hero-action-row > .page-tools {
    justify-content: flex-start;
    padding: 0;
    z-index: 4;
}

.customer-menu--specials .hero-action-row > .language-selector { position: relative; inset: auto; }

.customer-menu--specials .hero-action-row > .page-tools :is(button, summary),
.customer-menu--specials .hero-action-row > .language-selector summary {
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid var(--daily-tools-border, currentColor);
    border-radius: 6px;
    background: transparent;
    color: inherit;
}

.customer-menu--specials .hero-action-row > .page-tools :is(button, summary):hover,
.customer-menu--specials .hero-action-row > .language-selector summary:hover {
    background: var(--page-hero-ink, var(--restaurant-hero-ink));
    color: var(--page-hero-background, var(--restaurant-hero));
}

.customer-menu--specials .juniper-hero-copy :is(.page-tool-language-options, .language-selector .languages) {
    inset-inline-start: 0;
    inset-inline-end: auto;
}

.customer-menu--daily :is(.juniper-section, .restaurant-menu-note, .customer-menu-credit) {
    width: min(740px, 100% - 2 * var(--juniper-gutter));
    margin-inline: auto;
}

.customer-menu--weekly .juniper-section {
    width: min(1020px, 100% - 2 * var(--juniper-gutter));
    margin-inline: auto;
}

@media (min-width: 760px) {
    .customer-menu--weekly .juniper-section {
        grid-template-columns: minmax(0, 1fr) minmax(0, 2.65fr);
        column-gap: clamp(24px, 4.5vw, 72px);
    }

    .customer-menu--weekly .juniper-section h2 { grid-column: auto; }
}

.customer-menu--specials .juniper-section h2::after { content: none; }

.customer-menu--specials .specials-menu-date {
    font-size: .96rem;
    font-weight: 570;
}

.customer-menu--weekly {
    --restaurant-hero: #293531;
    --restaurant-hero-ink: #fef9eb;
}

:is(.customer-menu--fern-demo, .customer-menu--weekly) {
    --restaurant-paper: #fbf8ef;
    --restaurant-ink: #293531;
}

.customer-menu--fern-demo,
.juniper-page:not(.custom-page-colors) .customer-menu--weekly {
    --daily-tools-border: #cfb989;
}

.customer-menu--fern-demo .juniper-hero :is(.juniper-edition, .specials-menu-date) { color: #f0daab; }
.juniper-page:not(.custom-page-colors) .customer-menu--weekly .juniper-hero :is(.juniper-edition, .specials-menu-date) {
    color: var(--page-hero-ink, #f0daab);
}

:is(.customer-menu--fern-demo, .customer-menu--weekly.font-serif) .juniper-item .juniper-item-heading h3 {
    font-family: var(--brand-sans);
}
