/* =========================================================
   NAija BITES
   RESTAURANT WEBSITE
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background: #15100e;
    color: #f2e8d5;
    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;
    overflow-x: hidden;
}


body.nav-open,
body.drawer-open,
body.chat-open {
    overflow: hidden;
}


img {
    display: block;
    width: 100%;
}


button,
input {
    font: inherit;
}


button {
    border: 0;
    cursor: pointer;
}


a {
    color: inherit;
    text-decoration: none;
}


::selection {
    background: #d7784e;
    color: #fff5e8;
}



/* =========================================================
   VARIABLES
========================================================= */

:root {

    --dark: #15100e;
    --dark-2: #1c1512;
    --dark-3: #251a15;

    --cream: #f3e8d4;
    --cream-2: #eadbc4;

    --terracotta: #d7784e;
    --terracotta-dark: #b95f3d;

    --muted: #a99a89;

    --border:
        rgba(243, 232, 212, 0.13);

    --border-dark:
        rgba(21, 16, 14, 0.12);

    --container: 1240px;

    --ease:
        cubic-bezier(.22, 1, .36, 1);

}



/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(
        calc(100% - 80px),
        var(--container)
    );

    margin-inline: auto;
}



/* =========================================================
   TYPOGRAPHY
========================================================= */

.eyebrow {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--terracotta);
    font-weight: 600;
}


h1,
h2,
h3,
p {
    margin: 0;
}


h1,
h2 {
    font-weight: 500;
}


h1 em,
h2 em {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;
}


.section {
    padding: 130px 0;
}



/* =========================================================
   LOADER
========================================================= */

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #15100e;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.7s ease,
        visibility 0.7s ease;
}


.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


.loader-inner {
    width: min(420px, 80%);
    text-align: center;
}


.loader-logo {
    font-size: clamp(
        2.3rem,
        6vw,
        4rem
    );

    font-weight: 800;

    letter-spacing: -0.07em;

    color: var(--cream);

    margin-bottom: 30px;
}


.loader-logo em {
    font-family:
        Georgia,
        serif;

    font-weight: 400;

    color: var(--terracotta);
}


.loader-line {
    width: 100%;
    height: 1px;

    background:
        rgba(215, 120, 78, 0.2);

    overflow: hidden;
}


.loader-line span {
    display: block;

    width: 0;
    height: 100%;

    background:
        var(--terracotta);

    animation:
        loaderProgress
        1.5s
        cubic-bezier(.65, 0, .35, 1)
        forwards;
}


.loader-inner p {
    margin-top: 16px;

    font-size: 0.68rem;

    letter-spacing: 0.15em;

    text-transform: uppercase;

    color:
        rgba(243, 232, 212, 0.4);
}


@keyframes loaderProgress {

    from {
        width: 0;
    }

    to {
        width: 100%;
    }

}



/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    padding: 24px 0;

    transition:
        background 0.4s ease,
        padding 0.4s ease,
        border 0.4s ease;
}


.site-header.scrolled {

    background:
        rgba(21, 16, 14, 0.88);

    backdrop-filter:
        blur(18px);

    padding: 15px 0;

    border-bottom:
        1px solid var(--border);
}


.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.brand {
    display: inline-flex;
    align-items: baseline;

    font-size: 1.65rem;

    font-weight: 800;

    letter-spacing: -0.06em;
}


.brand em {
    margin-left: 5px;

    font-family:
        Georgia,
        serif;

    font-weight: 400;

    color: var(--terracotta);
}


.desktop-nav {
    display: flex;
    gap: 34px;
}


.nav-link {
    position: relative;

    font-size: 0.76rem;

    text-transform: uppercase;

    letter-spacing: 0.12em;

    color:
        rgba(243, 232, 212, 0.65);

    transition:
        color 0.3s ease;
}


.nav-link:hover,
.nav-link.active {
    color: var(--cream);
}


.nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: var(--terracotta);

    transition:
        width 0.35s var(--ease);
}


.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}


.cart-button {
    position: relative;

    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        rgba(243, 232, 212, 0.08);

    color: var(--cream);

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}


.cart-button:hover {
    transform: translateY(-2px);

    background:
        rgba(243, 232, 212, 0.14);
}


.cart-icon {
    font-size: 1rem;
}


.cart-count {
    position: absolute;

    top: -3px;
    right: -3px;

    min-width: 18px;
    height: 18px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        var(--terracotta);

    color: white;

    font-size: 0.62rem;
    font-weight: 700;
}


.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 5px;

    background:
        rgba(243, 232, 212, 0.08);

    border-radius: 50%;
}


.menu-toggle span {
    display: block;

    width: 16px;
    height: 1px;

    background: var(--cream);

    transition:
        transform 0.3s ease;
}


.menu-toggle.active span:nth-child(1) {
    transform:
        translateY(6px)
        rotate(45deg);
}


.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}


.menu-toggle.active span:nth-child(3) {
    transform:
        translateY(-6px)
        rotate(-45deg);
}



/* =========================================================
   MOBILE NAV
========================================================= */

.mobile-nav {
    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    padding: 30px;

    display: flex;
    flex-direction: column;

    gap: 22px;

    background:
        #15100e;

    border-bottom:
        1px solid var(--border);

    transform:
        translateY(-20px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.4s ease,
        transform 0.4s var(--ease),
        visibility 0.4s ease;
}


.mobile-nav.open {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(0);
}


.mobile-nav a {
    font-size: 1.1rem;
}


.mobile-nav button {
    margin-top: 10px;

    padding: 15px;

    background:
        var(--terracotta);

    color: white;

    border-radius: 2px;
}



/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 100svh;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        #15100e;
}


.hero-media {
    position: absolute;

    inset: 0;

    overflow: hidden;
}


.hero-video {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center center;

    transform:
        scale(1.02);
}


.hero-fallback {
    position: absolute;

    inset: 0;

    background:
        url("assets/hero-food.jpg")
        center / cover no-repeat;

    z-index: -1;
}


.video-failed .hero-video {
    display: none;
}


.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(16, 11, 9, 0.91) 0%,
            rgba(16, 11, 9, 0.67) 42%,
            rgba(16, 11, 9, 0.2) 100%
        );

    z-index: 1;
}


.hero-overlay::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            0deg,
            rgba(16, 11, 9, 0.85),
            transparent 35%
        );
}


.hero-grain {
    position: absolute;

    inset: 0;

    z-index: 2;

    opacity: 0.09;

    pointer-events: none;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.4'/%3E%3C/svg%3E");
}


.hero-content {
    position: relative;

    z-index: 3;

    min-height: 100svh;

    display: flex;
    flex-direction: column;

    justify-content: center;

    padding-top: 110px;
}


.hero-copy {
    max-width: 760px;
}


.hero-copy .eyebrow {
    margin-bottom: 20px;
}


.hero-copy h1 {
    font-size:
        clamp(
            5rem,
            12vw,
            10.5rem
        );

    line-height: 0.82;

    letter-spacing:
        -0.075em;

    color: var(--cream);
}


.hero-copy h1 span {
    display: block;

    color: var(--terracotta);

    font-family:
        Georgia,
        serif;

    font-weight: 400;

    font-style: italic;

    margin-left: 0.8em;
}


.hero-description {
    max-width: 470px;

    margin-top: 38px;

    font-size:
        clamp(
            0.95rem,
            1.5vw,
            1.15rem
        );

    line-height: 1.7;

    color:
        rgba(243, 232, 212, 0.72);
}


.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 34px;
}


.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    min-height: 54px;

    padding: 0 25px;

    border: 1px solid transparent;

    font-size: 0.73rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.1em;

    transition:
        transform 0.35s var(--ease),
        background 0.35s ease,
        color 0.35s ease,
        border 0.35s ease;
}


.button span {
    font-size: 1rem;

    transition:
        transform 0.3s ease;
}


.button:hover {
    transform:
        translateY(-3px);
}


.button:hover span {
    transform:
        translateX(4px);
}


.button-primary {
    background:
        var(--terracotta);

    color: white;
}


.button-primary:hover {
    background:
        #e2865b;
}


.button-outline {
    border-color:
        rgba(243, 232, 212, 0.35);

    background:
        rgba(21, 16, 14, 0.15);

    color: var(--cream);

    backdrop-filter:
        blur(8px);
}


.button-outline:hover {
    border-color:
        var(--cream);

    background:
        rgba(243, 232, 212, 0.08);
}


.button-dark {
    background:
        var(--dark);

    color:
        var(--cream);
}


.button-light {
    background:
        var(--cream);

    color:
        var(--dark);
}


.hero-bottom {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 38px;

    display: grid;

    grid-template-columns:
        1fr 1fr 1fr;

    align-items: end;
}


.hero-location,
.hero-hours {
    display: flex;
    flex-direction: column;

    gap: 5px;

    font-size: 0.68rem;

    text-transform: uppercase;

    letter-spacing: 0.1em;

    color:
        rgba(243, 232, 212, 0.5);
}


.hero-location {
    flex-direction: row;
    align-items: center;
}


.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        #87a77c;

    box-shadow:
        0 0 0 5px
        rgba(135, 167, 124, 0.12);
}


.hero-hours {
    text-align: right;
}


.hero-hours strong {
    color:
        var(--cream);

    font-size: 0.7rem;
}


.hero-scroll {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;

    font-size: 0.62rem;

    text-transform: uppercase;

    letter-spacing: 0.14em;

    color:
        rgba(243, 232, 212, 0.45);
}


.scroll-line {
    display: block;

    width: 1px;
    height: 40px;

    background:
        linear-gradient(
            to bottom,
            var(--terracotta),
            transparent
        );
}



/* =========================================================
   INTRO
========================================================= */

.intro {
    background:
        var(--cream);

    color:
        var(--dark);
}


.intro-grid {
    display: grid;

    grid-template-columns:
        0.35fr 1fr;

    gap: 80px;
}


.section-label {
    display: flex;

    gap: 18px;

    align-items: flex-start;

    font-size: 0.68rem;

    text-transform: uppercase;

    letter-spacing: 0.13em;
}


.section-label span:first-child {
    color:
        var(--terracotta);
}


.intro-content {
    max-width: 850px;
}


.intro-content .eyebrow {
    margin-bottom: 20px;
}


.intro-content h2 {
    max-width: 800px;

    font-size:
        clamp(
            3rem,
            6vw,
            6.5rem
        );

    line-height: 0.95;

    letter-spacing:
        -0.065em;
}


.intro-content h2 em {
    color:
        var(--terracotta);
}


.intro-content > p:not(.eyebrow) {
    max-width: 600px;

    margin-top: 34px;

    font-size:
        clamp(
            1rem,
            1.5vw,
            1.15rem
        );

    line-height: 1.75;

    color:
        rgba(21, 16, 14, 0.65);
}


.text-link {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-top: 30px;

    padding-bottom: 8px;

    border-bottom:
        1px solid
        currentColor;

    font-size: 0.73rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.1em;

    transition:
        gap 0.3s var(--ease);
}


.text-link:hover {
    gap: 18px;
}



/* =========================================================
   MENU
========================================================= */

.menu-section {
    background:
        var(--dark);
}


.section-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 50px;
}


.section-heading h2 {
    margin-top: 15px;

    font-size:
        clamp(
            3rem,
            6vw,
            6rem
        );

    line-height: 0.9;

    letter-spacing:
        -0.065em;
}


.section-heading h2 em {
    color:
        var(--terracotta);
}


.menu-filters {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 35px;
}


.filter-button {
    padding: 11px 17px;

    border:
        1px solid
        var(--border);

    background:
        transparent;

    color:
        rgba(243, 232, 212, 0.55);

    font-size: 0.68rem;

    text-transform: uppercase;

    letter-spacing: 0.1em;

    transition:
        all 0.3s ease;
}


.filter-button:hover,
.filter-button.active {
    background:
        var(--cream);

    color:
        var(--dark);

    border-color:
        var(--cream);
}


.menu-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}


.food-card {
    min-width: 0;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}


.food-card.hidden {
    opacity: 0;

    transform:
        scale(0.96);
}


.food-image {
    position: relative;

    aspect-ratio: 0.82;

    overflow: hidden;

    background:
        var(--dark-3);
}


.food-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s var(--ease);
}


.food-card:hover
.food-image img {
    transform:
        scale(1.07);
}


.food-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(21, 16, 14, 0.35),
            transparent 40%
        );

    pointer-events: none;
}


.food-tag {
    position: absolute;

    top: 14px;
    left: 14px;

    z-index: 2;

    padding: 7px 10px;

    background:
        var(--cream);

    color:
        var(--dark);

    font-size: 0.58rem;

    text-transform: uppercase;

    letter-spacing: 0.1em;
}


.quick-add {
    position: absolute;

    z-index: 3;

    right: 14px;
    bottom: 14px;

    width: 44px;
    height: 44px;

    border-radius: 50%;

    background:
        var(--terracotta);

    color: white;

    font-size: 1.3rem;

    transition:
        transform 0.3s var(--ease),
        background 0.3s ease;
}


.quick-add:hover {
    transform:
        rotate(90deg)
        scale(1.08);

    background:
        var(--cream);

    color:
        var(--dark);
}


.food-info {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    padding: 18px 0 30px;
}


.food-info h3 {
    font-size: 1rem;

    font-weight: 500;

    line-height: 1.3;
}


.food-info p {
    max-width: 220px;

    margin-top: 7px;

    font-size: 0.73rem;

    line-height: 1.6;

    color:
        var(--muted);
}


.food-info strong {
    flex-shrink: 0;

    font-size: 0.85rem;

    color:
        var(--terracotta);
}



/* =========================================================
   STORY
========================================================= */

.story-section {
    background:
        var(--cream);

    color:
        var(--dark);
}


.story-grid {
    display: grid;

    grid-template-columns:
        1fr 0.85fr;

    gap: 110px;

    align-items: center;
}


.story-image {
    position: relative;
}


.image-frame {
    position: relative;

    overflow: hidden;

    aspect-ratio: 0.8;
}


.image-frame::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            0deg,
            rgba(21, 16, 14, 0.2),
            transparent
        );
}


.image-frame img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 1s var(--ease);
}


.story-image:hover
.image-frame img {
    transform:
        scale(1.04);
}


.image-caption {
    position: absolute;

    z-index: 2;

    bottom: 25px;
    left: 25px;
    right: 25px;

    display: flex;

    justify-content: space-between;

    font-size: 0.65rem;

    text-transform: uppercase;

    letter-spacing: 0.12em;

    color: white;
}


.story-content .section-label {
    margin-bottom: 80px;
}


.story-content .eyebrow {
    margin-bottom: 20px;
}


.story-content h2 {
    font-size:
        clamp(
            3rem,
            6vw,
            6rem
        );

    line-height: 0.9;

    letter-spacing:
        -0.065em;
}


.story-content h2 em {
    color:
        var(--terracotta);
}


.story-content p:not(.eyebrow) {
    max-width: 560px;

    margin-top: 28px;

    font-size: 1rem;

    line-height: 1.8;

    color:
        rgba(21, 16, 14, 0.65);
}


.story-content .button {
    margin-top: 35px;
}



/* =========================================================
   EXPERIENCE
========================================================= */

.experience-section {
    background:
        var(--dark-2);
}


.section-heading.centered {
    display: block;

    text-align: center;

    max-width: 700px;

    margin-inline: auto;

    margin-bottom: 70px;
}


.section-heading.centered h2 {
    margin-top: 15px;
}


.experience-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top:
        1px solid
        var(--border);

    border-bottom:
        1px solid
        var(--border);
}


.experience-card {
    position: relative;

    padding: 45px 35px 55px;

    min-height: 350px;

    border-right:
        1px solid
        var(--border);

    transition:
        background 0.4s ease;
}


.experience-card:last-child {
    border-right: 0;
}


.experience-card:hover {
    background:
        rgba(243, 232, 212, 0.025);
}


.experience-number {
    font-size: 0.65rem;

    color:
        var(--terracotta);

    letter-spacing: 0.1em;
}


.experience-icon {
    margin-top: 70px;

    font-size: 2rem;

    color:
        var(--terracotta);
}


.experience-card h3 {
    margin-top: 22px;

    font-size: 1.35rem;

    font-weight: 500;
}


.experience-card p {
    max-width: 300px;

    margin-top: 12px;

    font-size: 0.82rem;

    line-height: 1.7;

    color:
        var(--muted);
}



/* =========================================================
   CTA
========================================================= */

.cta-section {
    position: relative;

    min-height: 650px;

    display: grid;

    place-items: center;

    text-align: center;

    overflow: hidden;
}


.cta-background {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            rgba(21, 16, 14, 0.68),
            rgba(21, 16, 14, 0.9)
        ),
        url("assets/suya.jpg")
        center / cover no-repeat;

    transform:
        scale(1.02);

    transition:
        transform 1.5s var(--ease);
}


.cta-section:hover
.cta-background {
    transform:
        scale(1.06);
}


.cta-content {
    position: relative;

    z-index: 2;
}


.cta-content h2 {
    margin-top: 15px;

    font-size:
        clamp(
            4rem,
            10vw,
            9rem
        );

    line-height: 0.85;

    letter-spacing:
        -0.07em;
}


.cta-content h2 em {
    color:
        var(--terracotta);
}


.cta-content > p:not(.eyebrow) {
    max-width: 480px;

    margin: 28px auto 0;

    line-height: 1.7;

    color:
        rgba(243, 232, 212, 0.68);
}


.cta-content .button {
    margin-top: 30px;
}



/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    background:
        var(--cream);

    color:
        var(--dark);
}


.contact-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;
}


.contact-heading h2 {
    max-width: 650px;

    margin-top: 60px;

    font-size:
        clamp(
            3.5rem,
            6vw,
            6rem
        );

    line-height: 0.9;

    letter-spacing:
        -0.065em;
}


.contact-heading h2 em {
    display: block;

    color:
        var(--terracotta);
}


.contact-details {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 1px;

    background:
        var(--border-dark);
}


.contact-item {
    padding: 35px;

    background:
        var(--cream);
}


.contact-item > span {
    display: block;

    margin-bottom: 25px;

    color:
        var(--terracotta);

    font-size: 0.65rem;

    text-transform: uppercase;

    letter-spacing: 0.12em;
}


.contact-item strong {
    display: block;

    font-size: 1rem;

    font-weight: 600;
}


.contact-item p {
    margin-top: 7px;

    font-size: 0.75rem;

    color:
        rgba(21, 16, 14, 0.55);
}



/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background:
        var(--dark);

    border-top:
        1px solid
        var(--border);
}


.footer-top {
    display: grid;

    grid-template-columns:
        1fr 1fr 1fr;

    align-items: center;

    padding: 45px 0;

    border-bottom:
        1px solid
        var(--border);
}


.footer-top p {
    text-align: center;

    font-size: 0.72rem;

    color:
        var(--muted);
}


.back-top {
    justify-self: end;

    font-size: 0.68rem;

    text-transform: uppercase;

    letter-spacing: 0.1em;
}


.footer-bottom {
    display: flex;

    justify-content: space-between;

    padding: 20px 0;

    font-size: 0.62rem;

    color:
        rgba(243, 232, 212, 0.35);
}



/* =========================================================
   CART DRAWER
========================================================= */

.cart-overlay,
.chat-overlay {
    position: fixed;

    inset: 0;

    z-index: 2000;

    background:
        rgba(10, 7, 6, 0.6);

    backdrop-filter:
        blur(5px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}


.cart-overlay.active,
.chat-overlay.active {
    opacity: 1;
    visibility: visible;
}


.cart-drawer {
    position: fixed;

    z-index: 2001;

    top: 0;
    right: 0;

    width: min(
        480px,
        100%
    );

    height: 100%;

    display: flex;

    flex-direction: column;

    background:
        var(--cream);

    color:
        var(--dark);

    transform:
        translateX(100%);

    transition:
        transform 0.6s var(--ease);
}


.cart-drawer.open {
    transform:
        translateX(0);
}


.cart-header {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    padding: 30px;

    border-bottom:
        1px solid
        var(--border-dark);
}


.cart-header h2 {
    margin-top: 6px;

    font-size: 2.2rem;
}


.close-button {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        rgba(21, 16, 14, 0.06);

    color:
        var(--dark);

    font-size: 1.5rem;

    transition:
        transform 0.3s ease;
}


.close-button:hover {
    transform:
        rotate(90deg);
}


.cart-items {
    flex: 1;

    overflow-y: auto;

    padding: 20px 30px;
}


.empty-cart {
    min-height: 50%;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;
}


.empty-cart-icon {
    font-size: 2.5rem;

    margin-bottom: 20px;
}


.empty-cart h3 {
    font-size: 1.2rem;
}


.empty-cart p {
    margin-top: 8px;

    font-size: 0.78rem;

    color:
        rgba(21, 16, 14, 0.55);
}


.cart-item {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 20px 0;

    border-bottom:
        1px solid
        var(--border-dark);
}


.cart-item-info h3 {
    font-size: 0.95rem;

    font-weight: 500;
}


.cart-item-info span {
    display: block;

    margin-top: 5px;

    color:
        var(--terracotta);

    font-size: 0.78rem;
}


.cart-item-controls {
    display: flex;

    align-items: center;

    gap: 12px;
}


.cart-item-controls button {
    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        rgba(21, 16, 14, 0.08);
}


.cart-item-controls span {
    min-width: 15px;

    text-align: center;

    font-size: 0.8rem;
}


.cart-footer {
    padding: 25px 30px 30px;

    border-top:
        1px solid
        var(--border-dark);
}


.cart-total {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;
}


.cart-total span {
    font-size: 0.78rem;
}


.cart-total strong {
    font-size: 1.2rem;
}


.checkout-button {
    width: 100%;

    min-height: 55px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 20px;

    background:
        var(--dark);

    color:
        var(--cream);

    font-size: 0.7rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}



/* =========================================================
   CHAT
========================================================= */

.chat-panel {
    position: fixed;

    z-index: 3001;

    right: 25px;
    bottom: 25px;

    width: min(
        410px,
        calc(100% - 30px)
    );

    height:
        min(
            680px,
            calc(100vh - 50px)
        );

    display: flex;

    flex-direction: column;

    background:
        var(--cream);

    color:
        var(--dark);

    box-shadow:
        0 30px 100px
        rgba(0, 0, 0, 0.35);

    transform:
        translateY(30px)
        scale(0.96);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.4s ease,
        transform 0.5s var(--ease),
        visibility 0.4s ease;
}


.chat-panel.open {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(0)
        scale(1);
}


.chat-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 20px;

    background:
        var(--dark);

    color:
        var(--cream);
}


.chat-brand {
    display: flex;

    align-items: center;

    gap: 12px;
}


.chat-avatar {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        var(--terracotta);

    color: white;

    font-weight: 700;
}


.chat-brand strong {
    display: block;

    font-size: 0.85rem;
}


.chat-brand span {
    display: flex;

    align-items: center;

    gap: 6px;

    margin-top: 4px;

    font-size: 0.62rem;

    color:
        rgba(243, 232, 212, 0.5);
}


.chat-brand span i {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background:
        #7ea776;
}


.chat-header .close-button {
    background:
        rgba(243, 232, 212, 0.08);

    color:
        var(--cream);
}


.chat-messages {
    flex: 1;

    overflow-y: auto;

    padding: 25px 20px;

    scroll-behavior: smooth;
}


.chat-message {
    display: flex;

    margin-bottom: 15px;
}


.chat-message.user {
    justify-content: flex-end;
}


.message-bubble {
    max-width: 82%;

    padding: 13px 15px;

    font-size: 0.78rem;

    line-height: 1.65;

    border-radius: 2px 14px 14px 14px;

    background:
        rgba(21, 16, 14, 0.07);
}


.chat-message.user
.message-bubble {
    background:
        var(--terracotta);

    color: white;

    border-radius:
        14px 2px 14px 14px;
}


.typing {
    display: flex;

    gap: 4px;

    align-items: center;
}


.typing span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background:
        var(--terracotta);

    animation:
        typing 1s infinite;
}


.typing span:nth-child(2) {
    animation-delay: 0.15s;
}


.typing span:nth-child(3) {
    animation-delay: 0.3s;
}


@keyframes typing {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-3px);
        opacity: 1;
    }

}


.chat-suggestions {
    display: flex;

    gap: 7px;

    overflow-x: auto;

    padding:
        0 20px 15px;
}


.chat-suggestions button {
    flex-shrink: 0;

    padding: 9px 12px;

    border:
        1px solid
        var(--border-dark);

    background:
        transparent;

    color:
        rgba(21, 16, 14, 0.7);

    font-size: 0.65rem;

    border-radius: 100px;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}


.chat-suggestions button:hover {
    background:
        var(--dark);

    color:
        var(--cream);
}


.chat-form {
    display: flex;

    gap: 8px;

    padding: 15px 20px 20px;

    border-top:
        1px solid
        var(--border-dark);
}


.chat-form input {
    flex: 1;

    min-width: 0;

    border: 0;

    outline: 0;

    padding: 13px;

    background:
        rgba(21, 16, 14, 0.06);

    color:
        var(--dark);

    font-size: 0.78rem;
}


.chat-form input::placeholder {
    color:
        rgba(21, 16, 14, 0.4);
}


.chat-form button {
    width: 45px;

    flex-shrink: 0;

    background:
        var(--terracotta);

    color: white;

    font-size: 1.1rem;
}



/* =========================================================
   FLOATING CHAT BUTTON
========================================================= */

.chat-float {
    position: fixed;

    z-index: 1500;

    right: 20px;
    bottom: 20px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 13px 18px;

    border-radius: 100px;

    background:
        var(--terracotta);

    color: white;

    box-shadow:
        0 15px 40px
        rgba(0, 0, 0, 0.2);

    font-size: 0.66rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    transition:
        transform 0.3s var(--ease),
        box-shadow 0.3s ease;
}


.chat-float:hover {
    transform:
        translateY(-4px);

    box-shadow:
        0 20px 50px
        rgba(0, 0, 0, 0.3);
}


.chat-float-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: white;

    animation:
        pulse 1.8s infinite;
}


@keyframes pulse {

    0% {
        box-shadow:
            0 0 0 0
            rgba(255, 255, 255, 0.5);
    }

    70% {
        box-shadow:
            0 0 0 7px
            rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow:
            0 0 0 0
            rgba(255, 255, 255, 0);
    }

}



/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.9s var(--ease);
}


.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}



/* =========================================================
   REDUCED MOTION
========================================================= */

@media (
    prefers-reduced-motion: reduce
) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }

}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .container {
        width:
            min(
                calc(100% - 50px),
                var(--container)
            );
    }


    .desktop-nav {
        gap: 20px;
    }


    .menu-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .story-grid {
        gap: 60px;
    }


    .experience-card {
        padding-inline: 25px;
    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .container {
        width:
            calc(100% - 36px);
    }


    .section {
        padding: 85px 0;
    }


    /* HEADER */

    .site-header {
        padding: 17px 0;
    }


    .site-header.scrolled {
        padding: 13px 0;
    }


    .desktop-nav {
        display: none;
    }


    .menu-toggle {
        display: flex;
    }


    .brand {
        font-size: 1.4rem;
    }


    /* HERO */

    .hero {
        min-height:
            100svh;
    }


    .hero-video {
        object-position:
            62% center;
    }


    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(16, 11, 9, 0.55) 0%,
                rgba(16, 11, 9, 0.65) 40%,
                rgba(16, 11, 9, 0.93) 100%
            );
    }


    .hero-content {
        padding-top: 90px;
    }


    .hero-copy h1 {
        font-size:
            clamp(
                4.5rem,
                22vw,
                7rem
            );

        line-height: 0.8;
    }


    .hero-copy h1 span {
        margin-left:
            0.35em;
    }


    .hero-description {
        max-width: 340px;

        margin-top: 28px;

        font-size: 0.9rem;
    }


    .hero-buttons {
        flex-direction: column;

        align-items: stretch;

        max-width: 330px;
    }


    .button {
        min-height: 50px;
    }


    .hero-bottom {
        position: absolute;

        bottom: 25px;

        display: flex;

        align-items: flex-end;

        justify-content: space-between;
    }


    .hero-scroll {
        display: none;
    }


    .hero-hours {
        text-align: right;
    }


    .hero-location {
        max-width: 150px;

        line-height: 1.4;
    }


    /* INTRO */

    .intro-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .intro-content h2 {
        font-size:
            clamp(
                3rem,
                15vw,
                5rem
            );
    }


    /* MENU */

    .section-heading {
        display: block;

        margin-bottom: 35px;
    }


    .section-heading h2 {
        font-size:
            clamp(
                3rem,
                15vw,
                5rem
            );
    }


    .section-heading .text-link {
        margin-top: 25px;
    }


    .menu-filters {
        overflow-x: auto;

        flex-wrap: nowrap;

        padding-bottom: 4px;
    }


    .filter-button {
        flex-shrink: 0;
    }


    .menu-grid {
        grid-template-columns:
            1fr 1fr;

        gap: 10px;
    }


    .food-image {
        aspect-ratio:
            0.78;
    }


    .food-info {
        display: block;

        padding: 12px 2px 25px;
    }


    .food-info h3 {
        font-size: 0.84rem;
    }


    .food-info p {
        display: none;
    }


    .food-info strong {
        display: block;

        margin-top: 8px;

        font-size: 0.72rem;
    }


    .quick-add {
        width: 36px;
        height: 36px;

        right: 8px;
        bottom: 8px;
    }


    .food-tag {
        top: 8px;
        left: 8px;

        padding: 5px 7px;

        font-size: 0.5rem;
    }


    /* STORY */

    .story-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    .story-image {
        order: 2;
    }


    .story-content {
        order: 1;
    }


    .story-content .section-label {
        margin-bottom: 45px;
    }


    .story-content h2 {
        font-size:
            clamp(
                3rem,
                15vw,
                5rem
            );
    }


    /* EXPERIENCE */

    .section-heading.centered {
        margin-bottom: 50px;
    }


    .experience-grid {
        grid-template-columns: 1fr;
    }


    .experience-card {
        min-height: auto;

        padding:
            35px 0;

        border-right: 0;

        border-bottom:
            1px solid
            var(--border);
    }


    .experience-card:last-child {
        border-bottom: 0;
    }


    .experience-icon {
        margin-top: 45px;
    }


    /* CTA */

    .cta-section {
        min-height: 520px;
    }


    .cta-content h2 {
        font-size:
            clamp(
                4rem,
                18vw,
                7rem
            );
    }


    /* CONTACT */

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    .contact-heading h2 {
        margin-top: 45px;

        font-size:
            clamp(
                3rem,
                15vw,
                5rem
            );
    }


    .contact-details {
        grid-template-columns:
            1fr;
    }


    .contact-item {
        padding: 28px;
    }


    /* FOOTER */

    .footer-top {
        grid-template-columns:
            1fr;

        gap: 25px;

        text-align: center;
    }


    .footer-top p {
        text-align: center;
    }


    .back-top {
        justify-self: center;
    }


    .footer-bottom {
        flex-direction: column;

        gap: 8px;

        text-align: center;
    }


    /* CHAT */

    .chat-panel {
        right: 10px;
        bottom: 10px;

        width:
            calc(100% - 20px);

        height:
            calc(100svh - 20px);

        max-height: 720px;
    }


    .chat-float {
        right: 14px;
        bottom: 14px;
    }


    /* CART */

    .cart-drawer {
        width: 100%;
    }

}



/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 420px) {

    .container {
        width:
            calc(100% - 28px);
    }


    .hero-copy h1 {
        font-size:
            4.1rem;
    }


    .hero-description {
        font-size:
            0.82rem;
    }


    .hero-bottom {
        font-size:
            0.58rem;
    }


    .hero-hours strong {
        font-size:
            0.6rem;
    }


    .menu-grid {
        gap: 8px;
    }


    .food-info h3 {
        font-size:
            0.76rem;
    }


    .food-info strong {
        font-size:
            0.67rem;
    }


    .quick-add {
        width: 32px;
        height: 32px;

        font-size:
            1rem;
    }


    .chat-float {
        padding:
            12px 15px;
    }

}