:root {
    /* Brand surfaces */
    --bg: #fffcf6;
    --paper: #fff4e8;
    --card: #ffffff;

    /* Text */
    --text: #002f33;
    --muted: #4d5562;

    /* Lines / borders */
    --line: #fce9da;

    /* Main Branféré teal */
    --accent: #007680;
    --accent-hover: #005e66;
    --accent-strong: #00464c;

    /* Support colors */
    --nature: #134c37;
    --warm: #b15d1c;

    /* Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;

    /* Layout */
    --container: 75rem;
    --gutter: 1.5rem;

    /* Shadow */
    --shadow-soft: 0 10px 30px rgba(0, 47, 51, 0.08);
}

/* ========== RESET / BASE ========== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Asap", "Inter", "Arial", sans-serif;
    line-height: 1.5;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
}

/* ========== TYPOGRAPHY ========== */

h1,
h2,
h3,
h4,
.tab {
    margin: 0;
    font-family: "Asap Condensed", "Arial Narrow", sans-serif;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.35rem, 3vw, 2rem);
}

p {
    margin: 0;
}

.site-subtitle,
.hero-subtitle,
.muted {
    color: var(--muted);
}

/* ========== LAYOUT ========== */

.container {
    width: min(var(--container), calc(100% - (var(--gutter) * 2)));
    margin-inline: auto;
}

/* ========== STATIC HEADER ========== */

.site-header {
    background: var(--card);
    border-bottom: 1px solid var(--line);
    padding: 1.5rem 0 1.2rem;
}

.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-align: center;
}

.logo {
    width: clamp(9rem, 16vw, 13rem);
    height: auto;
    flex: 0 0 auto;
}

.site-subtitle {
    font-family: "Asap Condensed", "Arial Narrow", sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

/* ========== RESTAURANT TABS ========== */

.restaurant-tabs {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    margin-bottom: 1.5rem;
}

.restaurant-tabs .container {
    display: flex;
    gap: 0.75rem;
    padding: 0.9rem 0;
    overflow-x: auto;
}

.tab {
    appearance: none;
    border: 1px solid var(--accent);
    background: var(--card);
    color: var(--accent);
    padding: 0.7rem 0.7rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tab:hover {
    background: var(--accent);
    color: var(--card);
}

.tab.active {
    background: var(--accent);
    color: var(--card);
    border-color: var(--accent);
}

.tab:focus-visible {
    outline: 2px solid var(--accent-strong);
    outline-offset: 2px;
}

.tab:active~.hero .hero-art-right {
    transform: scale(1.02);
}

/* ========== HERO ========== */

.hero {
    position: relative;
    width: 100%;
    height: clamp(160px, 36vw, 380px);
    overflow: hidden;
    background: linear-gradient(to bottom,
            rgba(0, 118, 128, 0.08),
            rgba(0, 118, 128, 0.15));
}

.hero-art {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-art-right {
    background-position: right bottom;
    background-size: contain;
    transition: transform 0.6s ease;
}

.hero-art-left {
    background-position: left bottom;
    background-size: contain;
}

/* subtle dark overlay for readability */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 47, 51, 0.08) 0%,
            rgba(0, 47, 51, 0.10) 35%,
            rgba(0, 47, 51, 0.18) 70%,
            rgba(0, 47, 51, 0.28) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: clamp(2rem, 5vw, 3.5rem);
    transform: translateY(-20%);
}

@media (max-width: 768px) {
    .hero h1 {
        transform: translateY(-30%);
    }
}

@media (max-width: 768px) {
    .hero::after {
        background: linear-gradient(to bottom,
                rgba(0, 47, 51, 0.04) 0%,
                rgba(0, 47, 51, 0.06) 45%,
                rgba(0, 47, 51, 0.14) 78%,
                rgba(0, 47, 51, 0.22) 100%);
    }
}

/* ========== STATUS BAR ========== */

.status-bar {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.status-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.85rem 0 1rem;
    flex-wrap: wrap;
}

.status-pill,
.hours-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.7rem 1rem;
    box-shadow: var(--shadow-soft);
}

.status-pill {
    font-weight: 700;
}

.status-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    display: inline-block;
}

.status-pill.is-open {
    color: var(--nature);
}

.status-pill.is-open .status-dot {
    background: #21805c;
}

.status-pill.is-closed {
    color: #8b3a3a;
}

.status-pill.is-closed .status-dot {
    background: #c94b4b;
}

.hours-pill strong {
    color: var(--text);
}

.hours-pill span {
    color: var(--muted);
}

.meta-text {
    display: block;
    max-width: 500px;
    margin: 0.75rem auto 0 auto;
    padding: 0.6rem 1rem;

    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;

    color: var(--accent);

    background: rgba(0, 118, 128, 0.08);
    border: 1px solid rgba(0, 118, 128, 0.2);
    border-radius: 999px;
}

/* ========== RESTAURANT CARDS ========== */

.content {
    width: min(var(--container), calc(100% - (var(--gutter) * 2)));
    margin-inline: auto;
    padding: 2rem 0 4rem;
}

.menu-section {
    margin-bottom: 2rem;
}

.menu-section h2 {
    margin-bottom: 1rem;
    color: var(--text);
}

.menu-section .group-title {
    color: var(--accent);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: 1rem;
}

.price-card {
    background: var(--accent);
    color: white;
    border-radius: var(--radius-lg);
    padding: 1.2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    cursor: default;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(0, 47, 51, 0.15);
}

.price-card span {
    display: block;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.price-card strong {
    font-size: 1.8rem;
}

.bundle-list {
    display: grid;
    gap: 0.75rem;
}

.bundle-card {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.bundle-card p {
    color: var(--muted);
    margin-top: 0.25rem;
}

.bundle-card span {
    font-weight: 800;
    color: var(--accent);
    white-space: nowrap;
}

.specials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 1rem;
}

.special-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.2rem;
    box-shadow: var(--shadow-soft);
}

.group-title {
    margin: 1.5rem 0 0.75rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
}

.menu-category {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
}

.special-card h3 {
    margin-bottom: 0.35rem;
}

.allergens {
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.85rem;
    opacity: 0.75;
}

@media (max-width: 768px) {
    .content {
        padding: 1.25rem 0 3rem;
    }

    .menu-section {
        margin-bottom: 1.5rem;
    }

    .menu-section h2 {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }

    .group-title {
        margin: 1rem 0 0.5rem;
        font-size: 0.95rem;
    }

    .specials-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
    }

    .special-card {
        padding: 0.85rem;
        border-radius: 1rem;
    }

    .special-card h3 {
        font-size: 1.15rem;
    }

    .special-card p {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .allergens {
        font-size: 0.75rem;
    }

    .price-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .price-card {
        border-radius: 1rem;
        padding: 0.5rem 0.6rem;
    }

    .price-card span {
        margin-bottom: 0.15rem;
        font-size: 0.95rem;
    }

    .price-card strong {
        font-size: 1rem;
    }

    .specials-grid {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .special-card {
        width: 100%;
        padding: 0.9rem 1rem;
    }

    .special-card h3 {
        font-size: 1.15rem;
    }

    .special-card p {
        line-height: 1.35;
    }
}

/* ========== Snack ========== */

.item-list {
    display: grid;
    gap: 0.75rem;
}

.item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-soft);
}

.item-row .allergens {
    display: block;
    margin-top: 0.4rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.item-row h3 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.item-row p {
    color: var(--muted);
    font-size: 0.9rem;
}

.item-price {
    color: var(--accent);
    white-space: nowrap;
}

.category-jump-nav {
    position: sticky;
    top: 0;
    z-index: 5;

    display: flex;
    gap: 0.5rem;
    overflow-x: auto;

    padding: 0.75rem 0;
    margin-bottom: 1rem;

    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

.category-jump {
    border: 1px solid var(--accent);
    background: var(--card);
    color: var(--accent);
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    white-space: nowrap;
    font-weight: 700;
}

.category-jump:hover {
    background: var(--accent);
    color: white;
}

.category-jump.active {
    background: var(--accent);
    color: white;
}

.special-group {
    scroll-margin-top: 6rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .category-jump-nav {
        padding: 0.6rem 0;
    }

    .special-group {
        scroll-margin-top: 4rem;

    }
}