/* =========================================================================
   Fern & Ivy Café CMS — Public styles
   Warm-charcoal + olive-green theme (install.md §11 / §14)
   ========================================================================= */

:root {
    /* Surfaces — dark, but not black (§14). */
    --bg:           #141416;
    --bg-alt:       #1c1c20;
    --card:         #26262c;
    --card-hover:   #2f2f36;
    --border:       #383840;
    --border-soft:  rgba(255, 255, 255, 0.08);

    /* Text. */
    --text:         #b9b9bf;
    --text-muted:   #7e7e85;
    --heading:      #ffffff;

    /* Single accent (§14). */
    --accent:       #8b9a3c;
    --accent-light: #a4b357;
    --accent-ink:   #16170a;
    --accent-glow:  rgba(139, 154, 60, 0.22);

    /* Semantic — translucent per §11. */
    --ok-bg:        rgba(40, 167, 69, 0.15);
    --ok-fg:        #6fce85;
    --warn-bg:      rgba(255, 193, 7, 0.15);
    --warn-fg:      #ffd866;
    --error-bg:     rgba(220, 53, 69, 0.18);
    --error-fg:     #ff8b95;
    --info-bg:      rgba(79, 140, 255, 0.15);
    --info-fg:      #8fb6ff;

    /* Typography. */
    --font-heading: 'Lora', Georgia, 'Times New Roman', serif;
    --font-body:    'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:    'SFMono-Regular', Menlo, Consolas, monospace;

    /* Rhythm. */
    --radius-sm:    4px;
    --radius-md:    8px;
    --radius-lg:    16px;

    --shadow-sm:    0 1px 2px rgba(0, 0, 0, 0.28);
    --shadow-md:    0 6px 18px rgba(0, 0, 0, 0.35);
    --shadow-lg:    0 18px 48px rgba(0, 0, 0, 0.55);

    --transition:   180ms cubic-bezier(0.4, 0, 0.2, 1);

    --container:        72rem;
    --container-wide:   84rem;
    --container-narrow: 44rem;

    --header-h-mobile:  60px;
    --header-h-desktop: 80px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a {
    color: var(--accent-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color var(--transition);
}
a:hover, a:focus-visible { color: var(--heading); }

:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 3px;
    border-radius: 2px;
}

code, pre, kbd, samp {
    font-family: var(--font-mono);
    font-size: 0.92em;
}
code {
    background: var(--bg-alt);
    padding: 0.08em 0.35em;
    border-radius: 3px;
    color: var(--accent-light);
}
pre {
    background: var(--bg-alt);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    overflow-x: auto;
    border: 1px solid var(--border);
}
pre code { background: none; padding: 0; }

blockquote {
    margin: 1.5rem 0;
    padding: 0.5rem 0 0.5rem 1.25rem;
    border-left: 4px solid var(--accent);
    color: var(--text);
    font-style: italic;
}

hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 2.5rem 0;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.5rem 0;
}
th, td {
    padding: 0.65em 0.8em;
    border: 1px solid var(--border);
    text-align: left;
}
th {
    background: var(--bg-alt);
    color: var(--heading);
    font-weight: 600;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--heading);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 2rem; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin-top: 1.75rem; }
h4 { font-size: 1.15rem; margin-top: 1.5rem; }
h5, h6 { font-size: 1rem; margin-top: 1.25rem; }

p { margin: 0 0 1.2rem; }
.lead {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--heading);
    margin-bottom: 2rem;
}

ul, ol { margin: 0 0 1.2rem; padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }

dl { margin: 0 0 1.2rem; }
dt { color: var(--heading); font-weight: 600; margin-top: 0.75rem; }
dd { margin: 0 0 0.5rem; }

/* ---------- Accessibility ---------- */

.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-link {
    position: absolute;
    top: -3rem;
    left: 1rem;
    background: var(--accent);
    color: var(--accent-ink);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    z-index: 1000;
    transition: top var(--transition);
}
.skip-link:focus {
    top: 1rem;
    color: var(--accent-ink);
}

/* ---------- Layout primitives ---------- */

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}
.container-wide   { max-width: var(--container-wide); }
.container-narrow { max-width: var(--container-narrow); }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.1;
    background: var(--accent);
    color: var(--accent-ink);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition), color var(--transition),
                border-color var(--transition), transform var(--transition);
}
.btn:hover, .btn:focus-visible {
    background: var(--accent-light);
    color: var(--accent-ink);
    transform: translateY(-1px);
}
.btn-primary   { background: var(--accent); color: var(--accent-ink); }
.btn-secondary {
    background: transparent;
    color: var(--accent-light);
    border-color: var(--accent);
}
.btn-secondary:hover, .btn-secondary:focus-visible {
    background: rgba(139, 154, 60, 0.1);
    color: var(--accent-light);
    border-color: var(--accent-light);
}
.btn-link {
    background: transparent;
    color: var(--accent-light);
    border-color: transparent;
    padding: 0.4rem 0.6rem;
    text-decoration: underline;
}
.btn-link:hover, .btn-link:focus-visible {
    background: transparent;
    color: var(--heading);
}
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---------- Preview banner ---------- */

.preview-banner {
    background: var(--warn-bg);
    color: var(--warn-fg);
    border-bottom: 1px solid rgba(255, 193, 7, 0.35);
    padding: 0.75rem 0;
    font-size: 0.95rem;
    text-align: center;
}
.preview-banner a {
    color: var(--warn-fg);
    font-weight: 600;
    margin-left: 0.5rem;
}

/* ---------- Site header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(20, 20, 22, 0.82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border-soft);
}
.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h-mobile);
}
@media (min-width: 768px) {
    .site-header-inner { min-height: var(--header-h-desktop); }
}
.site-brand {
    color: var(--heading);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}
.site-brand:hover, .site-brand:focus-visible { color: var(--accent-light); }
.site-brand-name { white-space: nowrap; }
.site-logo {
    height: 40px;
    width: auto;
    max-width: 180px;
}
@media (min-width: 768px) {
    .site-logo { height: 52px; }
}

/* Nav toggle (mobile). */
.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color var(--transition);
}
.nav-toggle:hover, .nav-toggle:focus-visible { border-color: var(--accent); }
.nav-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 768px) {
    .nav-toggle { display: none; }
}

/* Primary nav. */
.site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1.25rem 1rem;
}
.site-nav.is-open { display: block; }
.site-nav .nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.site-nav .nav-link {
    display: block;
    color: var(--text);
    text-decoration: none;
    padding: 0.7rem 0.9rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
    font-weight: 500;
}
.site-nav .nav-link:hover, .site-nav .nav-link:focus-visible {
    background: rgba(139, 154, 60, 0.12);
    color: var(--accent-light);
}
.site-nav .nav-link.is-active {
    color: var(--accent-light);
    background: rgba(139, 154, 60, 0.08);
}
@media (min-width: 768px) {
    .site-nav {
        position: static;
        display: block;
        background: transparent;
        border: 0;
        padding: 0;
    }
    .site-nav .nav-list {
        flex-direction: row;
        align-items: center;
        gap: 0.15rem;
    }
    .site-nav .nav-link {
        padding: 0.6rem 1rem;
    }
}

/* ---------- Main + page wrappers ---------- */

.site-main {
    flex: 1;
    outline: none;
}

.page-body { padding: 3rem 1.25rem; }
.page-header { margin-bottom: 2rem; }
.page-title {
    margin-bottom: 0;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
}

.page-content-body { max-width: 44rem; }
.page-content-body img {
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
    box-shadow: var(--shadow-md);
}
.page-content-body .img-fluid    { max-width: 100%; height: auto; }
.page-content-body .img-rounded  { border-radius: var(--radius-md); }
.page-content-body .img-circle   { border-radius: 50%; }
.page-content-body .img-thumbnail {
    padding: 4px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.page-content-body .img-float-left  { float: left;  margin: 0.5rem 1rem 1rem 0; max-width: 50%; }
.page-content-body .img-float-right { float: right; margin: 0.5rem 0 1rem 1rem; max-width: 50%; }
.page-content-body .img-center      { display: block; margin: 1.5rem auto; }

/* ---------- Hero ---------- */

.page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at center top, var(--accent-glow), transparent 55%),
        linear-gradient(to bottom, var(--bg-alt), var(--bg));
}
.page-hero figure { margin: 0; }
.page-hero img {
    display: block;
    width: 100%;
    max-height: 72vh;
    min-height: 260px;
    object-fit: cover;
}
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 45%,
        rgba(20, 20, 22, 0.55) 85%,
        rgba(20, 20, 22, 0.9) 100%
    );
}
.page-hero-plain {
    min-height: 32vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.25rem;
}
.page-hero-plain .hero-title {
    color: var(--heading);
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    text-align: center;
    margin: 0;
}

/* ---------- Hero slider (v2) ---------- */

.hero-slideshow {
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

/* Slideshow container — height is set per slide inline; the .hero-slides
   wrapper just holds the stack of slides in place. */
.hero-slides {
    position: relative;
    display: block;
    background: var(--bg-alt);
    min-height: 100px;
}

/* Each slide fills the slider bounds. Height comes from the slide's own
   inline style (controlled per-slide from the editor). */
.hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* First slide dictates the slideshow's height (so inline height on a
   <figure> actually propagates up to its parent). Subsequent slides stack
   on top absolutely. */
.hero-slide:first-child { position: relative; }

/* Fade transition — default. */
.hero-slideshow--fade .hero-slide {
    transition: opacity 600ms ease-in-out;
}

/* Slide transition — new slide enters from the right, old slide exits left. */
.hero-slideshow--slide .hero-slide {
    transform: translateX(100%);
    transition: opacity 400ms ease, transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hero-slideshow--slide .hero-slide.is-active {
    transform: translateX(0);
}

/* Image + picture fill the slide. The object-fit value is set per-slide via
   the data-fit attribute (= layout.image_fit). */
.hero-slide picture,
.hero-slide > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    display: block;
    pointer-events: none;
}
.hero-slide[data-fit="cover"]    picture > img,
.hero-slide[data-fit="cover"]    > img { object-fit: cover;   object-position: center; width: 100%; height: 100%; }
.hero-slide[data-fit="contain"]  picture > img,
.hero-slide[data-fit="contain"]  > img { object-fit: contain; object-position: center; width: 100%; height: 100%; }
.hero-slide[data-fit="fill"]     picture > img,
.hero-slide[data-fit="fill"]     > img { object-fit: fill;                               width: 100%; height: 100%; }
.hero-slide[data-fit="original"] picture > img,
.hero-slide[data-fit="original"] > img { object-fit: none;    object-position: center; width: 100%; height: 100%; }

.hero-slide picture { inset: 0; }
.hero-slide picture > img { position: absolute; inset: 0; }

/* Overlay sits above the image and below the content. */
.slide-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Content wrapper — flex container whose alignment picks the text position.
   pointer-events pass-through so clicks on empty parts of the slide don't
   land on invisible content. */
.slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    padding: clamp(1rem, 4vw, 3rem);
    pointer-events: none;
}
.slide-content > * { pointer-events: auto; }

/* Horizontal position (justify-content). */
.slide-content[data-h-pos="left"]   { justify-content: flex-start; }
.slide-content[data-h-pos="center"] { justify-content: center; }
.slide-content[data-h-pos="right"]  { justify-content: flex-end; }

/* Vertical position (align-items). */
.slide-content[data-v-pos="top"]    { align-items: flex-start; }
.slide-content[data-v-pos="middle"] { align-items: center; }
.slide-content[data-v-pos="bottom"] { align-items: flex-end; }

.slide-content-inner {
    max-width: 52rem;
    text-align: inherit;
}
.slide-content[data-h-pos="left"]   .slide-content-inner { text-align: left; }
.slide-content[data-h-pos="center"] .slide-content-inner { text-align: center; }
.slide-content[data-h-pos="right"]  .slide-content-inner { text-align: right; }

.slide-title {
    color: inherit;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.15;
    margin: 0 0 1rem;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}
.slide-description {
    color: inherit;
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.55;
    margin: 0 0 1.5rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
    white-space: pre-line;  /* respect newlines from the editor textarea */
}
.slide-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: inherit;
}
.slide-buttons .btn-outline {
    background: transparent;
    color: inherit;
    border: 1.5px solid currentColor;
}
.slide-buttons .btn-outline:hover,
.slide-buttons .btn-outline:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    color: inherit;
    transform: translateY(-1px);
}

/* Entry animations — fire when a slide gains .is-active. */
.hero-slide.is-active .slide-content[data-anim="none"]    { animation: none; }
.hero-slide.is-active .slide-content[data-anim="fade-in"] {
    animation: slideContentFadeIn 700ms ease 180ms both;
}
.hero-slide.is-active .slide-content[data-anim="slide-up"] {
    animation: slideContentSlideUp 700ms ease 180ms both;
}
@keyframes slideContentFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideContentSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slideshow--slide .hero-slide {
        transform: none !important;
        transition: opacity 200ms ease !important;
    }
    .hero-slide.is-active .slide-content[data-anim] {
        animation: none !important;
    }
}

/* Arrows. */
.hero-slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(20, 20, 22, 0.45);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), transform var(--transition);
}
.hero-slide-arrow:hover,
.hero-slide-arrow:focus-visible {
    background: rgba(20, 20, 22, 0.75);
    transform: translateY(-50%) scale(1.08);
}
.hero-slide-arrow-prev { left: 1rem; }
.hero-slide-arrow-next { right: 1rem; }

/* Dots. */
.hero-slideshow-nav {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 1rem;
    z-index: 3;
}
.hero-slide-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}
.hero-slide-dot:hover, .hero-slide-dot:focus-visible {
    background: var(--accent-light);
    transform: scale(1.25);
}
.hero-slide-dot.is-active {
    background: var(--accent);
    border-color: var(--accent-light);
}

/* ---------- Menu page ---------- */

.menu-body { padding: 2.5rem 0 4rem; }
.menu-intro {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto 3rem;
    padding: 0 1.25rem;
}
.menu-intro .page-title { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.menu-intro-body { color: var(--text); }

.menu-legend {
    margin: 0 0 2.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}
.menu-legend h2 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    color: var(--heading);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
}
.menu-legend-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}
.menu-legend-list li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text);
    font-size: 0.92rem;
    margin: 0;
}

.menu-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem 1.25rem;
    font-style: italic;
}

.menu-sections {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 0 1.25rem;
    max-width: var(--container-wide);
    margin: 0 auto;
}

.menu-section-head {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 2rem;
}
.menu-section-name {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0 0 0.5rem;
    color: var(--heading);
}
.menu-section-desc {
    color: var(--text-muted);
    font-style: italic;
    margin: 0;
}

.menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) {
    .menu-items { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

.menu-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition), transform var(--transition),
                background var(--transition);
    margin: 0;
}
.menu-item:hover {
    border-color: rgba(139, 154, 60, 0.5);
    background: var(--card-hover);
}
.menu-item-image {
    flex: 0 0 96px;
    margin: 0;
}
.menu-item-image img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
.menu-item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}
.menu-item-head {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    justify-content: space-between;
    flex-wrap: wrap;
}
.menu-item-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--heading);
    margin: 0;
    font-weight: 600;
}
.menu-item-price {
    color: var(--accent-light);
    font-weight: 600;
    font-size: 1.05rem;
    white-space: nowrap;
}
.menu-item-desc {
    margin: 0;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.55;
}
.menu-item-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.menu-item-tags li { margin: 0; }

/* ---------- Dietary badges ---------- */

.dietary-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 1.6rem;
    padding: 0 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ---------- 404 ---------- */

.error-hero {
    padding: 4rem 1.25rem;
    text-align: center;
    background:
        radial-gradient(ellipse at center top, var(--accent-glow), transparent 60%),
        linear-gradient(to bottom, var(--bg-alt), var(--bg));
    min-height: 50vh;
}
.error-hero .eyebrow {
    color: var(--accent-light);
    font-family: var(--font-mono);
    font-size: 1rem;
    letter-spacing: 0.25em;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
}
.error-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    margin-bottom: 1rem;
}
.error-hero .lead { margin: 0 auto 1rem; max-width: 34rem; }

/* ---------- Footer ---------- */

.site-footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-soft);
    color: var(--text);
    margin-top: auto;
    padding-top: 3rem;
}
.site-footer-inner {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
    padding-bottom: 2.5rem;
}
@media (min-width: 720px) {
    .site-footer-inner { grid-template-columns: 2fr 1.25fr 1fr; }
}

.footer-col-title {
    font-family: var(--font-heading);
    color: var(--heading);
    font-size: 1.05rem;
    margin: 0 0 1rem;
    letter-spacing: 0.02em;
}
.footer-address {
    font-style: normal;
    color: var(--text);
    margin: 0 0 0.75rem;
    line-height: 1.75;
}
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.footer-contact a {
    color: var(--accent-light);
    text-decoration: none;
}
.footer-contact a:hover, .footer-contact a:focus-visible {
    color: var(--heading);
    text-decoration: underline;
}

.footer-hours { margin: 0; display: grid; gap: 0.25rem; }
.footer-hours-row {
    display: grid;
    grid-template-columns: 6rem 1fr;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.15rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}
.footer-hours-row:last-child { border-bottom: 0; }
.footer-hours dt { margin: 0; color: var(--text); font-weight: 500; }
.footer-hours dd { margin: 0; color: var(--heading); font-family: var(--font-mono); font-size: 0.92rem; }
.footer-hours-closed { color: var(--text-muted); font-style: italic; font-family: var(--font-body); }

.footer-social {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.footer-social a {
    color: var(--text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.65rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
}
.footer-social a:hover, .footer-social a:focus-visible {
    color: var(--heading);
    background: rgba(139, 154, 60, 0.08);
}
.social-icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    background-color: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    flex-shrink: 0;
}
.social-icon-facebook {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M13 22v-8h3l1-4h-4V7.5c0-1.1.5-2 2-2h2V2h-3c-3 0-5 1.9-5 5v3H6v4h3v8h4z'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M13 22v-8h3l1-4h-4V7.5c0-1.1.5-2 2-2h2V2h-3c-3 0-5 1.9-5 5v3H6v4h3v8h4z'/></svg>");
}
.social-icon-instagram {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 2h10c2.8 0 5 2.2 5 5v10c0 2.8-2.2 5-5 5H7c-2.8 0-5-2.2-5-5V7c0-2.8 2.2-5 5-5zm0 2c-1.7 0-3 1.3-3 3v10c0 1.7 1.3 3 3 3h10c1.7 0 3-1.3 3-3V7c0-1.7-1.3-3-3-3H7zm5 3.5a4.5 4.5 0 110 9 4.5 4.5 0 010-9zm0 2a2.5 2.5 0 100 5 2.5 2.5 0 000-5zm5-3a1 1 0 110 2 1 1 0 010-2z'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 2h10c2.8 0 5 2.2 5 5v10c0 2.8-2.2 5-5 5H7c-2.8 0-5-2.2-5-5V7c0-2.8 2.2-5 5-5zm0 2c-1.7 0-3 1.3-3 3v10c0 1.7 1.3 3 3 3h10c1.7 0 3-1.3 3-3V7c0-1.7-1.3-3-3-3H7zm5 3.5a4.5 4.5 0 110 9 4.5 4.5 0 010-9zm0 2a2.5 2.5 0 100 5 2.5 2.5 0 000-5zm5-3a1 1 0 110 2 1 1 0 010-2z'/></svg>");
}
.social-icon-twitter {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M18.3 2H21l-6.6 7.5L22 22h-6.4l-5-6.5L4.8 22H2l7.1-8L2 2h6.5l4.5 6 5.3-6zM17 20h1.6L7.1 4H5.4L17 20z'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M18.3 2H21l-6.6 7.5L22 22h-6.4l-5-6.5L4.8 22H2l7.1-8L2 2h6.5l4.5 6 5.3-6zM17 20h1.6L7.1 4H5.4L17 20z'/></svg>");
}
.social-label { font-size: 0.95rem; }

.site-footer-base {
    border-top: 1px solid var(--border-soft);
    padding: 1.2rem 0;
}
.footer-copy {
    margin: 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* ---------- Motion respect ---------- */

@media (prefers-reduced-motion: reduce) {
    .hero-slide { transition: none; }
}
