
/* =========================================
   OLIVA V3 — CINEMATIC MEDITERRANEAN
========================================= */

:root {
    --cream: #f8ebd5;
    --white: #fffaf0;
    --olive: #354b32;
    --sage: #879b61;
    --dark: #253b27;
    --gold: #e8b34f;
    --red: #d95132;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Manrope', Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    font-family: var(--sans);
    background: var(--cream);
    color: var(--dark);
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select {
    font: inherit;
}

button {
    cursor: pointer;
}

button, a, input, select {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid #e8b34f;
    outline-offset: 5px;
}

::selection {
    background: var(--gold);
    color: var(--dark);
}

section {
    position: relative;
}

.section {
    padding: 110px 7%;
}

.eyebrow {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
    line-height: 1.8;
}

h2 {
    font-family: var(--serif);
    font-size: clamp(48px, 5.5vw, 90px);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.045em;
}

h2 em {
    display: block;
    font-weight: 500;
}

p {
    line-height: 1.85;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 16px 25px;
    border-radius: 50px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 800;
    transition: transform .3s, background .3s,
                box-shadow .3s;
}

.button:hover {
    transform: translateY(-4px);
}

.primary {
    background: var(--gold);
    color: var(--dark);
    box-shadow: 0 12px 30px #253b2726;
}

.primary:hover {
    background: #ffd47e;
    box-shadow: 0 16px 35px #253b2740;
}

.outline {
    color: var(--white);
    border-color: #fffaf080;
}

.outline:hover {
    background: #ffffff20;
}

/* HEADER */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 22px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    color: var(--white);
    transition: background .4s, padding .4s;
}

.header.scrolled {
    background: #354b32f2;
    backdrop-filter: blur(18px);
    padding-top: 12px;
    padding-bottom: 12px;
    box-shadow: 0 5px 30px #253b2720;
}

.logo {
    font-family: var(--serif);
    font-size: 40px;
    letter-spacing: 7px;
    font-weight: 600;
    white-space: nowrap;
}

.logo span {
    color: var(--gold);
    font-size: 24px;
    letter-spacing: 0;
}

.header nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header nav a {
    font-size: 12px;
    font-weight: 600;
    transition: color .3s;
}

.header nav a:hover,
.header nav a.current {
    color: #ffdb94;
}

.nav-book {
    border: 1px solid #ffffff80;
    border-radius: 40px;
    padding: 13px 22px;
    background: #ffffff0d;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 26px;
}

/* HERO */

.hero {
    --mx: 0px;
    --my: 0px;
    --light-x: 75%;
    --light-y: 45%;

    min-height: 100svh;
    padding: 150px 6% 110px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;

    background:
        radial-gradient(
            ellipse at var(--light-x) var(--light-y),
            #ead8a1 0%,
            #a6b37b 30%,
            transparent 65%
        ),
        linear-gradient(
            115deg,
            #354b32,
            #647c50 48%,
            #b4bd8c
        );

    color: var(--white);
}

.hero-background-text {
    position: absolute;
    left: 3%;
    top: 18%;
    font-family: var(--serif);
    font-size: 29vw;
    font-weight: 700;
    line-height: 1;
    color: #ffffff0c;
    pointer-events: none;
    z-index: -1;
}

.hero-content {
    position: relative;
    width: 48%;
    z-index: 10;
}

.hero-content .eyebrow {
    color: #ffda91;
    margin-bottom: 26px;
}

.hero h1 {
    font-family: var(--sans);
    font-size: clamp(54px, 7vw, 112px);
    line-height: .99;
    font-weight: 800;
    letter-spacing: -.075em;
}

.hero h1 em {
    display: block;
    font-family: var(--serif);
    font-size: 1.1em;
    font-weight: 500;
    color: #ffda91;
    line-height: .92;
}

.hero-content p {
    max-width: 440px;
    margin: 28px 0;
    font-size: 15px;
    color: #fff7e8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 9px;
    letter-spacing: 2px;
    margin-top: 45px;
}

.hero-note span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 15px var(--gold);
}

/* HERO 3D STAGE */

.hero-stage {
    position: absolute;
    width: 64%;
    height: 85%;
    right: -5%;
    top: 9%;
    display: grid;
    place-items: center;
    perspective: 1400px;
    transform-style: preserve-3d;
    pointer-events: none;
}

.cinematic-light {
    position: absolute;
    width: 90%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(
        circle, #ffe5a477, transparent 65%
    );
    filter: blur(30px);
    transform: translate3d(var(--mx), var(--my), 0);
}

.food-halo {
    position: absolute;
    width: 70%;
    aspect-ratio: 1;
    border: 1px solid #ffefc54d;
    border-radius: 50%;
    box-shadow: 0 0 90px #ffdc7b30;
}

.food-halo::after {
    content: '';
    position: absolute;
    inset: -35px;
    border: 1px dashed #ffefc540;
    border-radius: 50%;
    animation: orbit 55s linear infinite;
}

.food-shadow {
    position: absolute;
    bottom: 10%;
    width: 55%;
    height: 10%;
    border-radius: 50%;
    background: #253b2760;
    filter: blur(35px);
}

.food-parallax {
    position: relative;
    width: 108%;
    z-index: 5;
    transform-style: preserve-3d;
    will-change: transform;
}

.hero-food {
    width: 100%;
    filter:
        drop-shadow(0 40px 30px #17241150)
        saturate(1.1);
    animation: cinematicFloat 6s ease-in-out infinite;
}

.ingredient-layer {
    position: absolute;
    width: 85%;
    top: 2%;
    left: 5%;
    z-index: 2;
    transform: translate3d(
        calc(var(--mx) * -1.5),
        calc(var(--my) * -1.5),
        0
    );
}

.ingredient-layer img {
    width: 100%;
    mask-image: radial-gradient(
        ellipse, black 30%, transparent 75%
    );
    animation: ingredientFloat 9s ease-in-out infinite;
}

.oil-layer {
    position: absolute;
    width: 65%;
    right: 0;
    bottom: 2%;
    z-index: 6;
    transform: translate3d(
        calc(var(--mx) * 1.8),
        calc(var(--my) * 1.8),
        0
    );
}

.oil-layer img {
    width: 100%;
    mask-image: radial-gradient(
        ellipse, black 35%, transparent 75%
    );
    animation: oilFloat 7s ease-in-out infinite;
}

.food-label {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 8;
    padding: 11px 17px;
    border-radius: 50px;
    border: 1px solid #ffffffa0;
    background: #fff8e8dc;
    backdrop-filter: blur(15px);
    color: var(--olive);
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 12px 35px #253b2726;
    animation: ingredientFloat 7s ease-in-out infinite;
}

.food-label span {
    color: #a67828;
    font-size: 10px;
}

.label-one {
    top: 19%;
    left: 20%;
}

.label-two {
    top: 42%;
    right: 12%;
    animation-delay: -2s;
}

.label-three {
    bottom: 16%;
    left: 18%;
    animation-delay: -4s;
}

.gold-particles {
    position: absolute;
    inset: 0;
    z-index: 7;
}

.gold-particle {
    position: absolute;
    width: var(--size);
    height: var(--size);
    background: #ffe5a0;
    border-radius: 50%;
    box-shadow: 0 0 12px #ffd16b;
    animation: particleDrift var(--duration)
        ease-in-out infinite;
    animation-delay: var(--delay);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 6%;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 9px;
    letter-spacing: 2px;
    z-index: 12;
}

.scroll-indicator span {
    width: 1px;
    height: 40px;
    background: var(--white);
    animation: scrollPulse 2s infinite;
}

.hero-index {
    position: absolute;
    bottom: 35px;
    right: 6%;
    font-size: 11px;
    letter-spacing: 3px;
}

/* MARQUEE */

.marquee {
    overflow: hidden;
    background: var(--gold);
    color: var(--dark);
    padding: 17px 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.marquee-track span {
    white-space: nowrap;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    padding-right: 20px;
}

/* STORY */

.story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9%;
    align-items: center;
    background:
        radial-gradient(
            circle at 15% 30%,
            #f4d79c55,
            transparent 50%
        ),
        #fff5e3;
}

.story-image {
    position: relative;
}

.story-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 25px 150px 25px 25px;
    box-shadow: 0 30px 70px #354b3226;
}

.image-stamp {
    position: absolute;
    bottom: -25px;
    right: -25px;
    width: 145px;
    height: 145px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gold);
    font-size: 10px;
    text-align: center;
    line-height: 1.6;
    letter-spacing: 1px;
    transform: rotate(-10deg);
}

.image-stamp strong {
    font-size: 13px;
}

.story-content .eyebrow {
    color: #78894f;
    margin-bottom: 20px;
}

.story-content h2 em {
    color: #78894f;
}

.story-content p {
    font-size: 14px;
    margin-top: 24px;
    color: #58634d;
}

.text-link {
    display: inline-block;
    margin-top: 30px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--olive);
    font-size: 13px;
    font-weight: 800;
}

/* INGREDIENT SCENE */

.ingredient-scene {
    min-height: 620px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #879b61;
    isolation: isolate;
    color: var(--white);
}

.ingredient-image {
    position: absolute;
    width: 100%;
    height: 120%;
    top: -10%;
    object-fit: cover;
    z-index: -2;
    will-change: transform;
}

.ingredient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #253b2770,
        #253b2740,
        #253b2770
    );
    z-index: -1;
}

.ingredient-content {
    padding: 50px 6%;
    text-align: center;
}

.ingredient-content .eyebrow {
    color: #ffe0a0;
    margin-bottom: 20px;
}

.ingredient-content h2 {
    font-size: clamp(55px, 8vw, 120px);
    text-shadow: 0 10px 40px #253b2777;
}

.ingredient-content h2 em {
    color: #ffe0a0;
}

.ingredient-content p {
    margin-top: 24px;
    font-size: 15px;
}

.ingredient-side-text {
    position: absolute;
    right: 25px;
    bottom: 30px;
    writing-mode: vertical-rl;
    font-size: 9px;
    letter-spacing: 3px;
}

/* INTERACTIVE MENU */

.immersive-menu {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 100px 6% 35px;
    color: var(--white);

    background:
        radial-gradient(
            ellipse at 85% 35%,
            #d4d5a2,
            #91a36b 35%,
            transparent 70%
        ),
        linear-gradient(
            130deg,
            #354b32,
            #526b43 55%,
            #879b61
        );
}

.im-heading .eyebrow {
    color: #ffda91;
    margin-bottom: 20px;
}

.im-heading h2 {
    font-size: clamp(55px, 7vw, 105px);
}

.im-heading h2 em {
    color: #ffda91;
}

.im-heading p {
    margin-top: 18px;
    font-size: 15px;
}

.im-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0 15px;
    position: relative;
    z-index: 10;
}

.im-filter {
    padding: 12px 24px;
    border: 1px solid #fffaf070;
    border-radius: 40px;
    background: transparent;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    transition: .3s;
}

.im-filter:hover {
    background: #ffffff20;
}

.im-filter.active {
    background: var(--cream);
    border-color: var(--cream);
    color: var(--dark);
}

.im-showcase {
    display: grid;
    grid-template-columns: .85fr 1.4fr;
    align-items: center;
    min-height: 450px;
    gap: 25px;
}

.im-details {
    position: relative;
    z-index: 10;
    padding: 30px 0;
}

.im-category {
    color: #ffda91;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.im-details h3 {
    font-family: var(--serif);
    font-size: clamp(36px, 4.5vw, 65px);
    line-height: 1;
    margin: 18px 0;
    font-weight: 600;
}

.im-details p {
    max-width: 400px;
    min-height: 85px;
    font-size: 14px;
    color: #fff8e8;
}

.im-price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 25px;
}

#im-price {
    color: #ffda91;
    font-size: 42px;
    font-weight: 700;
}

.im-book {
    padding: 15px 23px;
    background: var(--gold);
    color: var(--dark);
    border-radius: 40px;
    font-size: 12px;
    font-weight: 800;
    transition: .3s;
}

.im-book:hover {
    transform: translateY(-4px);
    background: #ffda91;
}

.im-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 35px;
}

.im-controls button {
    width: 46px;
    height: 46px;
    border: 1px solid #ffffff80;
    background: transparent;
    color: var(--white);
    border-radius: 50%;
    font-size: 22px;
    transition: .3s;
}

.im-controls button:hover {
    background: var(--cream);
    color: var(--dark);
}

#im-counter {
    font-size: 12px;
    letter-spacing: 3px;
    margin-left: 15px;
}

.im-progress {
    width: 220px;
    height: 2px;
    margin-top: 25px;
    background: #ffffff30;
}

#im-progress-fill {
    height: 100%;
    width: 50%;
    background: var(--gold);
    transition: width .5s ease;
}

/* MENU 3D PHOTO STAGE */

.im-stage {
    position: relative;
    min-height: 460px;
    display: grid;
    place-items: center;
    perspective: 1200px;
    isolation: isolate;
}

.im-glow {
    position: absolute;
    width: 95%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(
        circle, #ffe9a755, transparent 70%
    );
    filter: blur(20px);
    z-index: -2;
}

.im-ring {
    position: absolute;
    width: 72%;
    aspect-ratio: 1;
    border: 1px solid #fff7e840;
    border-radius: 50%;
    z-index: -1;
}

.im-ring-two {
    width: 87%;
    border-style: dashed;
    animation: orbit 50s linear infinite;
}

.im-background-word {
    position: absolute;
    font-family: var(--serif);
    font-size: 15vw;
    color: #ffffff10;
    z-index: -1;
}

.im-photo-wrap {
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    will-change: transform;
    z-index: 2;
}

#im-photo {
    width: 100%;
    aspect-ratio: 1.45;
    object-fit: cover;
    border-radius: 48% 48% 43% 43% / 45% 45% 40% 40%;
    filter: drop-shadow(0 30px 30px #253b2750);
    animation: menuFloat 6s ease-in-out infinite;
}

#im-photo.dish-enter {
    animation:
        dishEnter .65s cubic-bezier(.2,.8,.2,1) both,
        menuFloat 6s .65s ease-in-out infinite;
}

.im-photo-label {
    position: absolute;
    right: 5%;
    bottom: 0;
    z-index: 4;
    font-size: 10px;
    letter-spacing: 2px;
    padding: 12px 18px;
    background: #354b32d9;
    border: 1px solid #ffffff50;
    border-radius: 40px;
    backdrop-filter: blur(10px);
}

/* DISH GALLERY */

.im-gallery {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-top: 35px;
}

.im-card {
    position: relative;
    overflow: hidden;
    text-align: left;
    background: #fff3dc;
    color: var(--dark);
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 0;
    transition: transform .35s,
                box-shadow .35s,
                border-color .35s;
}

.im-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 20px 35px #253b2740;
}

.im-card.selected {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px #e8b34f60;
    transform: translateY(-5px);
}

.im-card-image {
    height: 150px;
    overflow: hidden;
}

.im-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}

.im-card:hover img {
    transform: scale(1.12);
}

.im-card-info {
    padding: 15px 12px;
}

.im-card h4 {
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.05;
    margin-bottom: 10px;
    font-weight: 700;
}

.im-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    font-size: 10px;
}

.im-card-meta strong {
    color: #9c641f;
    font-size: 13px;
}

.im-star {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gold);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    font-size: 15px;
}

.im-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #ffffff30;
    margin-top: 40px;
    padding-top: 25px;
    font-size: 9px;
    letter-spacing: 2px;
}

/* SIGNATURE */

.signature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: linear-gradient(
        120deg, #d6dfb8, #9aaf76
    );
    overflow: hidden;
}

.signature-content {
    padding: 90px 12%;
}

.signature-content .eyebrow {
    margin-bottom: 22px;
}

.signature-content h2 em {
    color: #526b43;
}

.signature-content h3 {
    font-family: var(--serif);
    font-size: 30px;
    margin-top: 25px;
}

.signature-content p {
    margin: 16px 0;
    font-size: 14px;
}

.signature-price {
    font-size: 35px;
    font-weight: 700;
    margin: 20px 0;
}

.signature-visual {
    overflow: hidden;
    border-radius: 160px 0 0 30px;
    align-self: stretch;
}

.signature-visual img {
    width: 100%;
    height: 100%;
    min-height: 550px;
    object-fit: cover;
    transition: transform 1s;
}

.signature-visual:hover img {
    transform: scale(1.06);
}

/* EXPERIENCE */

.experience {
    min-height: 650px;
    display: grid;
    place-items: center;
    isolation: isolate;
    overflow: hidden;
    color: var(--white);
}

.experience-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.experience-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg, #17241180, #17241145
    );
    z-index: -1;
}

.experience-content {
    text-align: center;
    padding: 60px 6%;
}

.experience-content .eyebrow {
    color: #ffda91;
    margin-bottom: 25px;
}

.experience-content h2 em {
    color: #ffda91;
}

.experience-content p {
    margin: 25px 0;
}

/* RESERVATION */

.reservation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8%;
    align-items: center;
    background: #fff4df;
}

.reservation-content .eyebrow {
    color: #78894f;
    margin-bottom: 20px;
}

.reservation-content h2 em {
    color: #78894f;
}

.reservation-content p {
    margin-top: 22px;
    font-size: 14px;
}

.reservation-note {
    margin-top: 30px;
    border-left: 2px solid #a8b57d;
    padding: 5px 0 5px 18px;
    font-size: 12px;
}

.reservation-note p {
    margin-top: 8px;
    font-size: 12px;
    color: #65705c;
}

.reservation-form {
    background: #fffaf0;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 25px 70px #354b3215;
}

.reservation-form h3 {
    font-family: var(--serif);
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-grid label {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    min-width: 0;
}

.form-grid input,
.form-grid select {
    width: 100%;
    min-width: 0;
    padding: 14px 12px;
    background: #f6efdf;
    border: 1px solid #354b3220;
    border-radius: 12px;
    color: var(--dark);
    font-size: 13px;
}

.full-width {
    grid-column: 1 / -1;
}

.reservation-form .button {
    width: 100%;
    margin-top: 25px;
}

#reservation-status {
    margin-top: 15px;
    font-size: 13px;
    color: var(--olive);
}

/* FOOTER */

.footer {
    padding: 55px 6% 25px;
    background: var(--olive);
    color: var(--white);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-main p {
    font-size: 12px;
    opacity: .8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    font-size: 12px;
}

.portfolio-link {
    padding: 13px 20px;
    border: 1px solid #ffffff60;
    border-radius: 40px;
    font-size: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    border-top: 1px solid #ffffff25;
    padding-top: 25px;
    margin-top: 40px;
    font-size: 10px;
    opacity: .8;
}

/* SCROLL REVEALS */

.js .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .9s ease,
                transform .9s ease;
}

.js .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ANIMATIONS */

@keyframes cinematicFloat {
    0%, 100% {
        transform: translateY(0) rotate(-3deg);
    }
    50% {
        transform: translateY(-24px)
                   rotate(2deg) scale(1.035);
    }
}

@keyframes ingredientFloat {
    0%, 100% {
        transform: translateY(0) rotate(-3deg);
    }
    50% {
        transform: translateY(-20px) rotate(3deg);
    }
}

@keyframes oilFloat {
    0%, 100% {
        transform: translateY(0) rotate(4deg);
    }
    50% {
        transform: translateY(-18px) rotate(-4deg);
    }
}

@keyframes particleDrift {
    0%, 100% {
        opacity: .2;
        transform: translate(0, 0);
    }
    50% {
        opacity: .9;
        transform: translate(20px, -45px);
    }
}

@keyframes menuFloat {
    0%, 100% {
        transform: translateY(0) rotate(-1deg);
    }
    50% {
        transform: translateY(-12px) rotate(1deg);
    }
}

@keyframes dishEnter {
    from {
        opacity: 0;
        transform: translateX(45px)
                   scale(.88) rotate(5deg);
    }
    to {
        opacity: 1;
        transform: translateX(0)
                   scale(1) rotate(-1deg);
    }
}

@keyframes orbit {
    to {
        transform: rotate(360deg);
    }
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: .4;
        transform: scaleY(.7);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* TABLET */

@media (max-width: 1100px) {

    .header nav {
        gap: 18px;
    }

    .im-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .im-card-image {
        height: 190px;
    }

    .story-image img {
        height: 450px;
    }

    .im-stage {
        min-height: 380px;
    }
}

/* MOBILE */

@media (max-width: 800px) {

    .section {
        padding: 75px 6%;
    }

    .header {
        padding: 15px 6%;
    }

    .logo {
        font-size: 32px;
    }

    .menu-toggle {
        display: block;
    }

    .header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 25px 6%;
        background: var(--olive);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .header nav.open {
        display: flex;
    }

    .header nav a {
        padding: 15px 0;
    }

    .header nav .nav-book {
        text-align: center;
        margin-top: 10px;
    }

    .hero {
        flex-direction: column;
        align-items: stretch;
        padding: 120px 6% 80px;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        font-size: clamp(52px, 10vw, 85px);
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-note {
        margin-top: 25px;
    }

    .hero-stage {
        position: relative;
        width: 110%;
        height: auto;
        min-height: 340px;
        aspect-ratio: 1.1;
        top: auto;
        right: auto;
        margin: 25px -5% 0;
    }

    .food-parallax {
        width: 100%;
    }

    .food-label {
        font-size: 9px;
        padding: 8px 11px;
    }

    .label-one {
        top: 12%;
    }

    .label-two {
        right: 7%;
    }

    .label-three {
        bottom: 10%;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .hero-index {
        bottom: 25px;
    }

    .story,
    .signature,
    .reservation {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .story-image img {
        height: 420px;
    }

    .image-stamp {
        right: 0;
        width: 115px;
        height: 115px;
        font-size: 8px;
    }

    .ingredient-scene {
        min-height: 480px;
    }

    .immersive-menu {
        padding: 75px 6% 30px;
    }

    .im-showcase {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .im-stage {
        min-height: 320px;
        order: -1;
    }

    .im-background-word {
        font-size: 30vw;
    }

    .im-photo-wrap {
        max-width: 600px;
    }

    .im-details {
        padding-top: 35px;
    }

    .im-details p {
        min-height: 0;
    }

    .im-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .im-card-image {
        height: 160px;
    }

    .im-footer {
        flex-direction: column;
    }

    .signature-content {
        padding: 75px 6% 0;
    }

    .signature-visual {
        border-radius: 80px 0 0 0;
    }

    .signature-visual img {
        min-height: 350px;
        max-height: 500px;
    }

    .experience {
        min-height: 520px;
    }

    .reservation-form {
        padding: 25px;
    }

    .footer-main {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 420px) {

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-stage {
        min-height: 280px;
    }

    .im-filter {
        padding: 10px 15px;
        font-size: 11px;
    }

    .im-stage {
        min-height: 260px;
    }

    .im-card-image {
        height: 120px;
    }

    .im-card h4 {
        font-size: 19px;
    }

    .im-card-meta {
        font-size: 9px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .story-image img {
        height: 340px;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }

    .gold-particles {
        display: none;
    }

    .hero-stage,
    .food-parallax,
    .ingredient-layer,
    .oil-layer,
    .im-photo-wrap {
        transform: none !important;
    }
}
