/*
 * Groove v1. A split home screen, for Mexican and Italian restaurants alike: one black bar across the top (the name or logo, the pages and a
 * purple Order button), then a picture, silent video or slideshow on one half of the screen beside a panel of the main color holding the
 * words (stacked on a phone), and under it the featured dishes as words beside a grid of captioned pictures and the story as a picture
 * beside a panel of the accent color. Clean medium-weight type, round buttons. Colors come from the site's theme variables (see
 * Theme::css). The one rule that keeps it readable whatever a customer picks: text on the main color uses --c-on-primary, text on the
 * accent uses --c-on-accent, text on the black bar is the page color, text on the page uses --c-ink, links and kickers on the page use
 * --c-link. The main color and the accent fill bars, buttons and panels; they are never the color of words on the page.
 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--c-bg); color: var(--c-ink); font-family: var(--font-body); font-size: 1.15rem; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--c-link); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--c-ink); outline-offset: 3px; }
.site-header :focus-visible, .hero :focus-visible, .specials :focus-visible, .story-copy :focus-visible { outline-color: var(--c-ink); box-shadow: 0 0 0 5px var(--c-bg); }
.site-footer :focus-visible { outline-color: var(--c-bg); box-shadow: 0 0 0 5px var(--c-ink); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; z-index: 10; background: var(--c-primary); color: var(--c-on-primary); padding: .75rem 1rem; }
.skip:focus { left: 0; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.wrap.narrow { max-width: 44rem; }
section { padding: clamp(2.75rem, 7vw, 4.75rem) 0; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; text-transform: none; letter-spacing: 0; }
.ornament { display: none; }

/* Header: one black bar (the text color, the page color for its words). The name or logo at the left, the pages, and the purple Order button at the right. */
.site-header { position: relative; z-index: 5; background: var(--c-ink); color: var(--c-bg); }
.header-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; padding-top: .8rem; padding-bottom: .8rem; }
.brand { font-family: var(--font-heading); font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 800; line-height: 1.05; letter-spacing: 0; color: var(--c-bg); text-decoration: none; }
/* The owner's logo, when there is one, in place of the name. It is drawn as uploaded (a transparent PNG stays transparent) on the bar. */
.brand.has-logo { display: inline-block; line-height: 0; }
.brand.has-logo img { display: block; width: auto; height: auto; max-height: 4.25rem; max-width: min(16rem, 60vw); object-fit: contain; }
.site-header nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-header nav a { display: inline-block; padding: .5rem .1rem; color: var(--c-bg); font-size: 1rem; font-weight: 700; text-decoration: none; border-bottom: 3px solid transparent; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { border-bottom-color: var(--c-accent-on-ink); }
.site-header nav a.nav-cta { padding: .55rem 1.5rem; background: var(--c-primary); color: var(--c-on-primary); border: 2px solid var(--c-primary); border-radius: 999px; font-size: .95rem; }
.site-header nav a.nav-cta:hover { background: var(--c-bg); border-color: var(--c-bg); color: var(--c-ink); }
/* On a phone the pages fold behind a hamburger button, with Order online kept beside it, all in one row with the name or logo. The button is a checkbox and its label, so it works without a script. */
.nav-check, .nav-bar { display: none; }
@media (max-width: 52rem) {
    .header-bar { position: relative; flex-wrap: wrap; gap: .5rem .75rem; padding-top: .65rem; padding-bottom: .65rem; }
    .brand { flex: 1 1 0; min-width: 0; font-size: 1.35rem; }
    .brand.has-logo img { max-height: 3.4rem; max-width: 100%; }
    .nav-check { display: block; position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; }
    .nav-bar { display: flex; align-items: center; flex: none; gap: .45rem; }
    .nav-toggle, .nav-order { display: inline-flex; align-items: center; justify-content: center; min-height: 2.6rem; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; border-radius: 999px; }
    .nav-toggle { width: 2.6rem; background: transparent; color: var(--c-bg); border: 2px solid var(--c-bg); }
    .nav-check:focus-visible ~ .nav-bar .nav-toggle { outline: 3px solid var(--c-bg); outline-offset: 3px; }
    .nav-order { padding: .35rem 1rem; font-size: .9rem; white-space: nowrap; background: var(--c-primary); color: var(--c-on-primary); border: 2px solid var(--c-primary); }
    .nav-order:hover { background: var(--c-bg); border-color: var(--c-bg); color: var(--c-ink); }
    /* The words on the button are for screen readers' sake only (the checkbox itself is named Menu); the three bars turn into a cross while it is open. */
    .nav-label-open, .nav-label-close { display: none; }
    .nav-toggle-icon { position: relative; display: block; width: 1.2rem; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
    .nav-check:checked ~ .nav-bar .nav-toggle-icon { background: transparent; box-shadow: none; }
    .nav-check:checked ~ .nav-bar .nav-toggle-icon::before, .nav-check:checked ~ .nav-bar .nav-toggle-icon::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: currentColor; transform: rotate(45deg); }
    .nav-check:checked ~ .nav-bar .nav-toggle-icon::after { transform: rotate(-45deg); }
    .site-header nav { display: none; flex: 1 1 100%; }
    .nav-check:checked ~ nav { display: block; }
    .site-header nav ul { flex-direction: column; align-items: stretch; gap: 0; border-top: 2px solid var(--c-bg); }
    .site-header nav li.is-cta { display: none; }
    .site-header nav a { display: block; padding: .8rem .25rem; border-bottom: 1px solid var(--c-bg); }
    .site-header nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .25em; border-bottom-color: var(--c-bg); }
    .site-header .social-icons { display: none; flex: 1 1 100%; justify-content: flex-start; }
    .nav-check:checked ~ .social-icons { display: flex; }
}
/* On the narrowest phones the name or logo gets a row of its own, so it is never squeezed to nothing beside the buttons. */
@media (max-width: 23rem) {
    .brand { flex-basis: 100%; }
    .nav-bar { flex: 1 1 100%; justify-content: space-between; }
}

/* Hero: the split home screen. The picture, silent video or slideshow fills one half; the other half is a panel of the main color with the words. With no picture the panel runs the full width. On a phone the picture sits above the panel. */
.hero { background: var(--c-primary); color: var(--c-on-primary); }
.hero-split .split-words { background: linear-gradient(135deg, var(--c-primary) 35%, var(--c-primary-shade)); }
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr); min-height: min(78vh, 42rem); padding: 0; }
.hero-split.has-picture { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.hero-split .split-words { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 3rem); }
.hero-split:not(.has-picture) .split-words { align-items: center; text-align: center; padding-top: clamp(4rem, 12vw, 8rem); padding-bottom: clamp(4rem, 12vw, 8rem); }
.hero h1 { margin: 0 0 .7rem; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.12; text-transform: none; overflow-wrap: anywhere; color: var(--c-on-primary); }
.hero .lede { max-width: 32rem; margin: 0 0 1.6rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--c-on-primary); }
.hero .btn { display: block; align-self: stretch; max-width: 36rem; padding: .75rem 1.5rem; text-align: center; background: var(--c-accent); color: var(--c-on-accent); border-color: var(--c-accent); }
.hero-split:not(.has-picture) .btn { align-self: center; min-width: min(100%, 22rem); }
.hero .btn:hover { background: var(--c-on-primary); border-color: var(--c-on-primary); color: var(--c-primary); }

/* The picture half. A slideshow stacks its pictures and fades between them. */
.split-media { position: relative; min-height: 20rem; overflow: hidden; background: var(--c-ink); }
.split-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .3); pointer-events: none; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.slide.is-active { opacity: 1; }
.slide-caption { position: absolute; left: 1rem; bottom: 3.6rem; max-width: calc(100% - 2rem); margin: 0; padding: .3rem .9rem; background: var(--c-ink); color: var(--c-bg); border-radius: 999px; font-weight: 700; }
.slider-controls { position: absolute; inset: 0; pointer-events: none; }
.slider-controls > * { pointer-events: auto; }
.slider-prev, .slider-next { position: absolute; top: 50%; z-index: 3; width: 2.9rem; height: 2.9rem; margin-top: -1.45rem; padding: 0 0 .2rem; background: var(--c-accent); color: var(--c-on-accent); border: 2px solid var(--c-accent); border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.slider-prev { left: .9rem; }
.slider-next { right: .9rem; }
.slider-prev:hover, .slider-next:hover { background: var(--c-bg); border-color: var(--c-bg); color: var(--c-ink); }
.slider-dots { position: absolute; left: 1.2rem; bottom: 1.2rem; z-index: 3; display: flex; justify-content: flex-start; gap: .6rem; }
.slider-dot { width: .95rem; height: .95rem; padding: 0; background: var(--c-ink); border: 2px solid var(--c-bg); border-radius: 50%; cursor: pointer; }
.slider-dot.is-active { background: var(--c-accent); }
.slider-toggle { position: absolute; right: 1rem; bottom: 1rem; z-index: 3; padding: .4rem 1rem; background: var(--c-ink); color: var(--c-bg); border: 1px solid var(--c-bg); border-radius: 999px; font: inherit; font-size: .85rem; cursor: pointer; }
.slider-toggle:hover { background: var(--c-bg); color: var(--c-ink); }
.slider-prev:focus-visible, .slider-next:focus-visible, .slider-toggle:focus-visible, .slider-dot:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
@media (max-width: 52rem) {
    .hero-split.has-picture { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .split-media { min-height: 0; aspect-ratio: 4 / 3; }
    .hero-split .split-words { padding-top: 2.25rem; padding-bottom: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    .slide { transition: none; }
}

/* Rounded buttons. */
.btn { display: inline-block; padding: .6rem 1.8rem; background: var(--c-primary); color: var(--c-on-primary); border: 2px solid var(--c-ink); border-radius: 999px; font-family: var(--font-heading); font-size: 1rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.btn:hover { background: var(--c-ink); color: var(--c-bg); }
.site-footer .btn { border-color: var(--c-primary); }
.site-footer .btn:hover { background: var(--c-bg); color: var(--c-ink); border-color: var(--c-bg); }

.page-title { text-align: center; padding: clamp(2.25rem, 6vw, 4rem) 0 0; }
.page-title h1 { display: inline-block; margin: 0; padding-bottom: .4rem; font-size: clamp(2.2rem, 6vw, 3.5rem); border-bottom: 5px solid var(--c-accent); }
.page-title + section { padding-top: 2rem; }
/* The story is a dark band: give the title room above it so the underline is not sitting on the band's edge. */
.page-title:has(+ .story) { padding-bottom: clamp(1.5rem, 5vw, 2.5rem); }
.page-title + .story { padding-top: clamp(2.5rem, 6vw, 4rem); }

.section-title { margin: 0 0 2rem; text-align: center; font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
.section-title::after { content: ""; display: block; width: 4.5rem; height: 5px; margin: .7rem auto 0; background: var(--c-accent); border-radius: 3px; }

/* The small script over a heading. */
.kicker { margin: 0 0 .2rem; font-family: var(--font-accent); font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.2; color: var(--c-link); }
.kicker::before, .kicker::after { content: "\2013"; margin: 0 .35em; }

/* The featured dishes: words at the left, a grid of captioned pictures at the right. */
.feature-grid { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.feature.has-pictures .feature-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.feature-text h2 { margin: 0 0 1.1rem; font-size: clamp(2rem, 5vw, 3.2rem); }
.feature-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.feature-list li { margin: 0 0 .8rem; }
.feature-name { display: flex; align-items: baseline; gap: .5rem; margin: 0; font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600; letter-spacing: .03em; line-height: 1.25; text-transform: uppercase; }
.feature-desc { margin: .1rem 0 0; font-size: 1.05rem; }
.feature-pictures { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.feature-pictures img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.feature-caption { display: block; margin-top: .4rem; font-family: var(--font-heading); font-size: .95rem; font-weight: 600; letter-spacing: .07em; text-align: center; text-transform: uppercase; }

/* The story: a picture at the left beside a panel of the accent color (the panel alone when there is no picture). */
.story-band { display: grid; grid-template-columns: minmax(0, 1fr); padding: 0; background: var(--c-accent); color: var(--c-on-accent); }
.story-band.has-photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.story-photo { position: relative; min-height: 22rem; background: var(--c-ink); }
.story-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-copy { display: flex; align-items: center; padding: clamp(2.25rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem); }
.story-band:not(.has-photo) .story-copy { justify-content: center; text-align: center; }
.story-copy-inner { max-width: 34rem; }
.story-copy .kicker, .story-copy a:not(.btn) { color: inherit; }
.story-copy h2 { margin: 0 0 1rem; font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.story-copy p { margin: 0 0 1.1rem; }
.story-copy .btn { border-color: var(--c-on-accent); }
.story-copy .btn:hover { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }
/* On its own page the story is a black band, as in the other Mexican templates. */
.story { background: var(--c-ink); color: var(--c-bg); text-align: center; }
.story .section-title { color: var(--c-accent-on-ink); }
.story p { max-width: 38rem; margin: 0 auto 1.1rem; font-size: 1.2rem; }
.story .btn { border-color: var(--c-primary); }
.story .btn:hover { background: var(--c-bg); color: var(--c-ink); border-color: var(--c-bg); }

.more { margin: 2.25rem 0 0; text-align: center; }

/* The menu: left-aligned names in capitals, the price at the right of a dotted leader. */
.menu-jump ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem .5rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.menu-jump a { display: inline-block; padding: .3rem 1.1rem; color: var(--c-bg); background: var(--c-ink); border-radius: 999px; font-family: var(--font-heading); font-size: 1rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.menu-jump a:hover { background: var(--c-accent); color: var(--c-on-accent); }
.menu-category-note { max-width: 36rem; margin: -1rem auto 2rem; text-align: center; font-style: italic; }
.menu-items { display: grid; grid-template-columns: 1fr; gap: 1.6rem 3.5rem; list-style: none; margin: 0; padding: 0; }
.menu-item { display: flex; gap: 1rem; align-items: flex-start; }
.item-photo { flex: none; width: 6.5rem; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.item-body { flex: 1; min-width: 0; }
.menu-item h3 { display: flex; align-items: baseline; gap: .5rem; margin: 0 0 .2rem; font-size: 1.35rem; line-height: 1.2; }
.leader { flex: 1; min-width: 1rem; border-bottom: 2px dotted currentColor; transform: translateY(-.3em); }
.price { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600; white-space: nowrap; }
.menu-item p { margin: 0 0 .4rem; font-size: 1.05rem; }
.tags { display: flex; flex-wrap: wrap; gap: .3rem .5rem; margin: .1rem 0 .4rem; padding: 0; list-style: none; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tags li { padding: 0 .55rem; border: 1px solid var(--c-ink); border-radius: 999px; }
.menu-item .where { font-size: .95rem; font-weight: 700; }
.dishes .menu-items { max-width: 62rem; margin: 0 auto; }

/* Specials: a band of the main color holding cards. */
.specials { background: var(--c-primary); color: var(--c-on-primary); }
.specials .section-title { color: var(--c-on-primary); }
.specials .section-title::after { background: var(--c-on-primary); }
.special-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); max-width: 62rem; margin: 0 auto; padding: 0; list-style: none; }
.special { padding: 1.6rem 1.5rem; background: var(--c-bg); color: var(--c-ink); border-bottom: 6px solid var(--c-accent); }
.special-when { margin: 0 0 .4rem; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.special h2, .special h3 { margin: 0 0 .4rem; font-size: 1.65rem; }
.special .price { display: block; margin: 0 0 .4rem; }
.special p { margin: 0 0 .5rem; font-size: 1rem; }
.special-where { font-weight: 700; }

/* The Specials page: a banner, then wide cards down the page. Each card has its picture in a column on the left, so the pictures line up; a special without one gets a colored panel of the same size holding its days and price. */
.specials-banner { padding: clamp(2.5rem, 7vw, 4.5rem) 0; text-align: center; background: var(--c-primary); color: var(--c-on-primary); }
.specials-banner h1 { margin: 0 0 .6rem; font-size: clamp(2.4rem, 7vw, 4rem); }
.specials-banner p { max-width: 36rem; margin: 0 auto; padding: 0 1.25rem; font-size: 1.15rem; }
.special-cards { background: var(--c-surface); }
.special-cards ul { display: grid; gap: 1.75rem; max-width: 62rem; margin: 0 auto; padding: 0 1.25rem; list-style: none; }
.special-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--c-bg); color: var(--c-ink); box-shadow: 0 .4rem 1.4rem rgba(0, 0, 0, .14); }
.special-card-media { position: relative; min-height: 17rem; background: var(--c-accent); color: var(--c-on-accent); }
.special-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.special-card-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.special-card-label p { margin: 0; }
.special-card-label .special-when { font-family: var(--font-heading); font-size: clamp(1.4rem, 4vw, 2.1rem); font-weight: 700; letter-spacing: .06em; line-height: 1.15; text-transform: uppercase; }
.special-card-label .special-price { margin-top: .4rem; font-family: var(--font-heading); font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 700; line-height: 1; }
.special-card-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 4vw, 2.75rem); }
.special-card-copy h2 { margin: 0 0 .9rem; font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
.special-card-copy h2::after { content: ""; display: block; width: 3.5rem; height: 5px; margin-top: .55rem; background: var(--c-accent); }
.special-card-copy p { margin: 0 0 .7rem; font-size: 1.1rem; }
.special-card-copy .special-when { font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.special-card-copy .special-price { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; }
@media (max-width: 44rem) {
    .special-card { grid-template-columns: minmax(0, 1fr); }
    .special-card-media { min-height: 13rem; }
}
.specials-more { padding: clamp(2rem, 5vw, 3.5rem) 0; text-align: center; background: var(--c-bg); }
.specials-more p { margin: 0; }

/* Events: date on the left, the occasion on the right. */
.event-list { max-width: 48rem; margin: 0 auto; padding: 0; list-style: none; }
.event { display: grid; grid-template-columns: 11rem 1fr; gap: 1.5rem; padding: 1.4rem 0; border-top: 3px solid var(--c-ink); }
.event:last-child { border-bottom: 3px solid var(--c-ink); }
.event-when { margin: 0; font-size: .9rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.event-time { display: block; }
.event h2, .event h3 { margin: 0 0 .25rem; font-size: 1.65rem; }
.event p { margin: .25rem 0; font-size: 1rem; }
.event-where { font-weight: 700; }

/* Locations. */
.location-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); max-width: 62rem; margin: 0 auto; }
.location { padding: 1.5rem; text-align: center; border: 3px solid var(--c-ink); border-top: 8px solid var(--c-accent); }
.location h3 { margin: .2rem 0 .5rem; font-size: 1.7rem; }
.location h3 a { color: var(--c-ink); }
.location address { margin-bottom: .6rem; font-style: normal; }
.location p { margin: 0 0 .6rem; }
.badge { display: inline-block; margin: 0 0 .4rem; padding: 0 .6rem; background: var(--c-ink); color: var(--c-bg); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hours { display: grid; grid-template-columns: auto auto; justify-content: center; gap: .1rem 1.25rem; margin: .8rem 0; font-size: .95rem; text-align: left; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; }
.visit h2 { margin: 0 0 2rem; text-align: center; font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
.visit h2::after { content: ""; display: block; width: 4.5rem; height: 5px; margin: .7rem auto 0; background: var(--c-accent); }

/* Footer: black, an edge of the main color on top. */
.site-footer { padding: 3rem 0 1.75rem; background: var(--c-ink); color: var(--c-bg); border-top: 8px solid var(--c-primary); font-size: 1rem; }
.footer-brand { margin: 0 0 1.5rem; font-family: var(--font-heading); font-size: 2rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
.footer-columns { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); text-align: center; }
.site-footer h2 { margin: 0 0 .5rem; font-size: 1.3rem; letter-spacing: .06em; }
.site-footer a { color: inherit; }
.site-footer address { font-style: normal; }
.site-footer p { margin: 0 0 .5rem; }
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.credit { margin: 2.25rem 0 0; padding-top: 1.25rem; border-top: 1px solid currentColor; font-size: .9rem; text-align: center; }

@media (min-width: 52rem) {
    .menu-items { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 40rem) {

    .event { grid-template-columns: 1fr; gap: .25rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* Coming soon: a black panel, the main color as a rule and a tag. */
.soon { background: var(--c-ink); color: var(--c-bg); min-height: 100vh; display: grid; align-items: center; text-align: center; padding: 4rem 0; border-top: 10px solid var(--c-primary); border-bottom: 10px solid var(--c-accent); }
.soon :focus-visible { outline-color: var(--c-bg); }
.soon .soon-brand { margin: 0 0 1rem; font-family: var(--font-heading); font-size: clamp(2.2rem, 7vw, 4rem); font-weight: 700; line-height: 1.05; letter-spacing: .12em; text-transform: uppercase; }
/* The owner's logo, as uploaded (a transparent PNG stays transparent) on the dark panel. */
.soon .soon-logo { display: block; margin: 0 auto 1.5rem; width: auto; height: auto; max-height: 7rem; max-width: min(24rem, 80vw); object-fit: contain; }
.soon h1 { margin: 0 0 .75rem; font-size: clamp(2.4rem, 8vw, 4.75rem); color: var(--c-accent-on-ink); }
.soon .lede { max-width: 38rem; margin: 0 auto 1.75rem; font-size: clamp(1.1rem, 2.6vw, 1.5rem); }
.soon-opening { display: inline-block; margin: 0; padding: .45rem 1.4rem; background: var(--c-primary); color: var(--c-on-primary); font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.soon-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 3rem; margin-top: 2.5rem; padding: 1.5rem 0 0; border-top: 2px solid currentColor; font-size: 1rem; }
.soon-contact a { color: inherit; }
.soon-contact address { font-style: normal; }
.soon-contact h3 { margin: 0 0 .25rem; font-size: 1.3rem; }
.soon-contact p { margin: 0; }
.soon-contact .social { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.25rem; margin: 0; padding: 0; list-style: none; width: 100%; }

/* The social marks in the header, in the header's own text color. */
.social-icons { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .1rem .3rem; list-style: none; margin: 0; padding: 0; }
.social-icons a { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; color: inherit; border-radius: 50%; text-decoration: none; }
.social-icons a:hover { opacity: .7; }
.social-icon { display: block; width: 1.3rem; height: 1.3rem; }

/* Sections the owner adds: words, pictures beside them or in a gallery, and a button. The pictures are kept square-cornered and cropped to one shape so a mixed set still lines up. */
.block { padding: clamp(2.5rem, 6vw, 4.25rem) 0; }
.block-grid.beside { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.block-layout-right .block-grid.beside .block-images { order: 2; }
.block-images { display: grid; gap: .6rem; }
.block-images.count-2, .block-images.count-3, .block-images.count-4 { grid-template-columns: 1fr 1fr; }
/* Pictures are shown whole, never cropped to a box. One picture beside the words may be tall, so it is capped and centered. */
.block-images img, .block-gallery img { display: block; width: 100%; height: auto; }
.block-images.count-1 img { max-height: 40rem; object-fit: contain; }
.block-gallery { align-items: start; }
.block-text .section-title { text-align: left; }
.block-text .section-title::after { margin-left: 0; margin-right: auto; }
.block-text p { margin: 0 0 1rem; }
.block-text .more { margin-top: 1.25rem; text-align: left; }
.block-gallery { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: .75rem; margin: 2rem 0 0; padding: 0; }
.block-grid:not(.beside) .block-text { max-width: 44rem; margin: 0 auto; text-align: center; }
.block-grid:not(.beside) .block-text .section-title { text-align: center; }
.block-grid:not(.beside) .block-text .section-title::after { margin-left: auto; margin-right: auto; }
.block-grid:not(.beside) .block-text .more { text-align: center; }
@media (max-width: 44rem) {
    .block-grid.beside { grid-template-columns: 1fr; }
    .block-layout-right .block-grid.beside .block-images { order: 0; }
}

/* Rounded corners on the cards, to go with the rounded buttons. */
.special, .special-card, .location { border-radius: 14px; overflow: hidden; }
.special-card-media img { border-radius: 0; }
.soon-opening, .badge { border-radius: 999px; }

@media (max-width: 52rem) {
    .feature.has-pictures .feature-grid { grid-template-columns: minmax(0, 1fr); }
    .story-band.has-photo { grid-template-columns: minmax(0, 1fr); }
    .story-photo { min-height: 15rem; }
}
/* The small gallery beside the dishes: two columns of pictures, a link to the rest underneath. */
.feature-side .feature-pictures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-pictures a { display: block; }
.feature-more { margin: 1.25rem 0 0; text-align: center; }
