/* =========================================================
   PESCHELLO CATERING — GLOBAL STYLES
   Cleaned + Performance Optimized
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {
  --bg: #120d0a;
  --bg-soft: #1b120e;
  --card: #281a06;

  --terracotta: #c85a32;
  --gold: #d4a359;

  --text: #f4ebe1;
  --text-dark: #221815;
  --muted: #a8988c;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Plus Jakarta Sans", Arial, sans-serif;

  --container: 1240px;
  --side-padding: clamp(1rem, 5vw, 5rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.5s var(--ease);
}


/* =========================================================
   RESET
========================================================= */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media (max-width: 768px) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  padding: 0;

  min-width: 320px;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(200, 90, 50, 0.05),
      transparent 35%
    ),
    var(--bg);

  color: var(--text);

  font-family: var(--sans);
  line-height: 1.6;

  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: auto;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
  font-family: var(--sans);
}

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

img {
  width: 100%;
  height: auto;
}

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

button {
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h3 {
   font-family: "Great Vibes";
}

.thechef {
   font-family: "Great Vibes";
   font-size: 24px;
   
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
}

section {
  width: 100%;
}

::selection {
  background: var(--terracotta);
  color: white;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
  width: min(
    var(--container),
    calc(100% - (var(--side-padding) * 2))
  );

  margin-inline: auto;
}


/* =========================================================
   NAVIGATION
========================================================= */

nav {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  min-height: 76px;

  padding: 16px var(--side-padding);

  display: flex;
  align-items: center;
  justify-content: space-between;

  z-index: 1000;

  /*
    Removed backdrop-filter.
    This significantly reduces scroll/compositing work.
  */
  background: rgba(18, 13, 10, 0.96);

  border-bottom: 1px solid rgba(212, 163, 89, 0.12);
}

.hero-title {
  font-family: "Brush Script MT", "Segoe Script", cursive;
}
.hero-title {
  font-family: "Allura", cursive;
  font-weight: 400;
}

/* Logo */

.brand {
  display: flex;
  align-items: center;

  width: clamp(90px, 10vw, 125px);

  flex-shrink: 0;

  text-decoration: none;
}

.brand img {
  display: block;

  width: 100%;
  height: auto;

  object-fit: contain;
}


/* Navigation links */

.nav-links {
  display: flex;
  align-items: center;

  gap: clamp(20px, 3vw, 42px);

  margin: 0;
  padding: 0;

  list-style: none;
}

.nav-links a {
  position: relative;

  color: var(--text);

  text-decoration: none;

  font-size: 10px;
  font-weight: 400;

  letter-spacing: 0.15em;

  text-transform: uppercase;

  white-space: nowrap;

  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -5px;

  width: 100%;
  height: 1px;

  background: var(--gold);

  transform: scaleX(0);
  transform-origin: right;

  transition: transform 0.4s var(--ease);
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}


/* Book Service */

.btn-reserve {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 0;
  height: auto;

  padding: 12px 18px;

  border: 1px solid var(--terracotta);

  background: transparent;

  color: var(--text);

  text-decoration: none;

  font-size: 9px;
  font-weight: 400;

  line-height: 1.2;

  letter-spacing: 0.15em;

  text-transform: uppercase;

  white-space: nowrap;

  box-sizing: border-box;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.btn-reserve:hover {
  background: var(--terracotta);

  color: #fff;

  transform: translateY(-2px);
}

/* Mobile menu button */

.menu-toggle {
  display: none;

  width: 42px;
  height: 42px;

  padding: 0;

  background: transparent;

  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 6px;
}

.menu-toggle span {
  display: block;

  width: 22px;
  height: 1px;

  background: var(--text);

  transition:
    transform 0.4s var(--ease),
    opacity 0.3s ease;
}

.menu-toggle.active span:first-child {
  transform:
    translateY(3.5px)
    rotate(45deg);
}

.menu-toggle.active span:last-child {
  transform:
    translateY(-3.5px)
    rotate(-45deg);
}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;

  width: 100%;
  min-height: 100svh;
  height: auto;

  padding: 120px 40px 80px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  overflow: hidden;

  background:
    linear-gradient(
      rgba(18, 13, 10, 0.48),
      rgba(18, 13, 10, 0.72)
    ),
    url("./food5.jpg")
    center center / cover
    no-repeat;
}


/* Subtle vignette */

.hero::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(
      circle at center,
      transparent 15%,
      rgba(0, 0, 0, 0.25) 100%
    );
}


/* Hero content */

.hero > * {
  position: relative;
  z-index: 2;
}


/* Hero tag */

.hero-tag {
  display: block;

  margin-bottom: 20px;

  color: var(--gold);

  font-family: var(--sans);

  font-size: clamp(
    9px,
    0.8vw,
    12px
  );

  font-weight: 400;

  line-height: 1.4;

  letter-spacing: 0.28em;

  text-transform: uppercase;

  text-align: center;
}


/* Hero title */

.hero-title {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 24px;
  color: var(--text);
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: clamp(4rem,8vw,8rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: capitalize;
  text-align: center;
  overflow-wrap: break-word;
}


/* Hero subtitle */

.hero-subtitle {
  width: min(
    580px,
    100%
  );

  margin: 0 auto;

  color: rgba(
    244,
    235,
    225,
    0.72
  );

  font-family: var(--sans);

  font-size: clamp(
    10px,
    1vw,
    13px
  );

  font-weight: 400;

  line-height: 1.8;

  letter-spacing: 0.04em;

  text-align: center;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 44px;

  padding: 0.7rem 1.4rem;

  border: 1px solid currentColor;

  background: transparent;

  color: var(--text);

  text-decoration: none;

  font-size: 0.65rem;

  letter-spacing: 0.15em;

  text-transform: uppercase;

  white-space: nowrap;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.btn:hover {
  background: var(--text);

  color: var(--text-dark);

  transform: translateY(-2px);
}


/* Quote button */

/* FINAL QUOTE BUTTON */
a.btn-quote {
  display: flex !important;

  align-items: center !important;
  justify-content: center !important;

  position: relative !important;

  width: fit-content !important;
  max-width: 100% !important;

  height: auto !important;
  min-height: 0 !important;

  margin: 0 !important;

  padding: 16px 28px !important;

  border: 1px solid var(--terracotta) !important;

  background: transparent !important;

  color: var(--text) !important;

  font-family: var(--sans) !important;
  font-size: 9px !important;
  font-weight: 400 !important;

  line-height: 1 !important;

  letter-spacing: 0.18em !important;

  text-align: center !important;
  text-transform: uppercase !important;

  text-decoration: none !important;

  white-space: nowrap !important;

  box-sizing: border-box !important;

  transform: none;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

a.btn-quote:hover {
  background: var(--terracotta) !important;
  border-color: var(--terracotta) !important;
  color: #fff !important;
}

/* =========================================================
   DIVIDER
========================================================= */

.pattern-divider {
  width: 100%;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--terracotta),
      var(--gold),
      transparent
    );
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
  width: min(
    var(--container),
    calc(100% - (var(--side-padding) * 2))
  );

  margin-inline: auto;

  padding-block:
    clamp(5rem, 10vw, 9rem);

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  gap: clamp(
    2.5rem,
    7vw,
    6rem
  );

  align-items: center;
}

.about-text {
  max-width: 540px;
}

.about-text .tagline {
  display: block;

  margin-bottom: 0.7rem;

  color: var(--terracotta);

  font-size: 0.68rem;

  letter-spacing: 0.25em;

  text-transform: uppercase;
}

.about-text h2 {
  margin-bottom: 1.5rem;

  font-size: clamp(
    2.4rem,
    5vw,
    4rem
  );

  line-height: 1.02;
}

.about-text p {
  max-width: 500px;

  margin-bottom: 1rem;

  color: var(--muted);

  font-size: clamp(
    0.76rem,
    1.5vw,
    0.9rem
  );

  line-height: 1.9;
}

.signature {
  margin-top: 1.5rem;

  color: var(--gold);

  font-family: var(--serif);

  font-size: clamp(
    1.6rem,
    3vw,
    2.2rem
  );

  font-style: italic;
}

.about-image-wrapper {
  position: relative;

  width: 100%;
}

.chef-photo {
  width: 100%;

  height: clamp(
    340px,
    48vw,
    600px
  );

  object-fit: cover;

  border: 1px solid rgba(
    212,
    163,
    89,
    0.25
  );

  box-shadow:
    clamp(8px, 2vw, 18px)
    clamp(8px, 2vw, 18px)
    0
    rgba(200, 90, 50, 0.14);
}

@media (max-width: 768px) {
  .about-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .about-text {
    display: contents;
  }

  .about-text .tagline {
    order: 1;
  }

  .about-text h2 {
    order: 2;
  }

  .about-text p {
    order: 3;
  }

  .about-image-wrapper {
    order: 4;
    width: 100%;
    margin-top: 1.5rem;
  }

  .thechef {
    order: 5;
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 0;
  }
}

/* =========================================================
   SERVICES / WHAT WE DO
========================================================= */

.services-section {
  width: min(
    var(--container),
    calc(100% - (var(--side-padding) * 2))
  );

  margin-inline: auto;

  padding-block:
    clamp(4.5rem, 9vw, 8rem);

  text-align: center;
}

.section-header {
  max-width: 650px;

  margin-inline: auto;

  margin-bottom:
    clamp(
      2.5rem,
      6vw,
      4.5rem
    );
}

.section-header span {
  display: block;

  margin-bottom: 0.7rem;

  color: var(--terracotta);

  font-size: 0.65rem;

  letter-spacing: 0.3em;

  text-transform: uppercase;
}

.section-header h2 {
  font-size: clamp(
    2.5rem,
    5vw,
    4rem
  );

  line-height: 0.95;
}


/* Cards */

.cards-grid {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: clamp(
    1rem,
    2.5vw,
    2rem
  );

  text-align: left;
}

.service-card {
  min-width: 0;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  background: var(--card);

  color: var(--text);

  border-bottom:
    2px solid
    var(--terracotta);

  transition:
    transform 0.45s var(--ease),
    border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-7px);

  border-color: var(--gold);
}

.card-img {
  width: 100%;

  aspect-ratio: 4 / 3;

  object-fit: cover;

  transition:
    transform 0.7s var(--ease);
}

.service-card:hover .card-img {
  transform: scale(1.04);
}

.card-body {
  flex: 1;

  padding:
    clamp(
      1.2rem,
      3vw,
      2rem
    );
}

.card-step {
  display: block;

  margin-bottom: 0.5rem;

  color: var(--terracotta);

  font-size: 0.62rem;

  font-weight: 500;

  letter-spacing: 0.2em;

  text-transform: uppercase;
}

.card-title {
  margin-bottom: 0.7rem;

  font-size: clamp(
    1.5rem,
    3vw,
    2rem
  );

  line-height: 1;
}

.card-desc {
  margin: 0;

  color: var(--muted);

  font-size: 0.72rem;

  line-height: 1.8;
}


/* =========================================================
   MENU
========================================================= */

.menu-section {
  padding:
    clamp(
      5rem,
      10vw,
      9rem
    )
    var(--side-padding);

  background: var(--bg-soft);
}

.menu-container {
  width: min(
    var(--container),
    100%
  );

  margin-inline: auto;

  display: grid;

  grid-template-columns:
    minmax(0, 0.8fr)
    minmax(0, 1.2fr);

  gap: clamp(
    2rem,
    6vw,
    6rem
  );

  align-items: center;
}

.menu-intro {
  align-self: start;

  position: sticky;

  top: 110px;
}

.section-tag {
  display: block;

  margin-bottom: 0.6rem;

  color: var(--terracotta);

  font-size: 0.65rem;

  letter-spacing: 0.25em;

  text-transform: uppercase;
}

.menu-intro h2 {
  margin-bottom: 1.2rem;

  font-size: clamp(
    2.5rem,
    5vw,
    4rem
  );

  line-height: 1;
}

.menu-intro p {
  max-width: 420px;

  margin: 0;

  color: var(--muted);

  font-size: 0.78rem;

  line-height: 1.9;
}


/* Menu carousel */

.menu-carousel-wrapper {
  width: 100%;

  padding: clamp(
    0.35rem,
    1vw,
    0.8rem
  );

  border:
    1px solid
    rgba(
      212,
      163,
      89,
      0.25
    );

  background:
    rgba(
      255,
      255,
      255,
      0.015
    );

  box-shadow:
    0 20px 50px
    rgba(0, 0, 0, 0.35);
}

.carousel-container {
  position: relative;

  width: 100%;

  aspect-ratio: 4 / 5;

  overflow: hidden;
}

.carousel-slide {
  position: absolute;

  inset: 0;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
}

.carousel-slide img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* =========================================================
   GALLERY
========================================================= */

.showcase-section {
  padding-block:
    clamp(
      5rem,
      10vw,
      9rem
    );

  overflow: hidden;

  text-align: center;
}

.showcase-header {
  width: min(
    650px,
    90%
  );

  margin-inline: auto;

  margin-bottom:
    clamp(
      2.5rem,
      6vw,
      4rem
    );
}

.showcase-header .script-title {
  margin-bottom: 1rem;

  color: var(--text);

  font-family: var(--serif);

  font-size: clamp(
    3rem,
    7vw,
    5rem
  );

  font-style: italic;

  line-height: 0.9;
}

.showcase-desc {
  margin: 0;

  color: var(--muted);

  font-size: 0.75rem;

  line-height: 1.8;
}


/* Marquee */

.marquee-wrapper {
  position: relative;

  width: 100%;

  overflow: hidden;

  /*
    Masking is kept for the fade edges.
  */

  mask-image:
    linear-gradient(
      to right,
      transparent,
      black 8%,
      black 92%,
      transparent
    );

  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent,
      black 8%,
      black 92%,
      transparent
    );
}

.marquee-track {
  display: flex;
  align-items: center;

  width: max-content;

  gap: clamp(
    0.75rem,
    2vw,
    1.5rem
  );

  /*
    Slower animation = less visual strain
    and smoother perceived scrolling.
  */

  animation:
    scrollRightToLeft
    55s linear infinite;

  transform:
    translate3d(
      0,
      0,
      0
    );

  will-change: transform;

  backface-visibility: hidden;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.gallery-card {
  width: clamp(
    220px,
    28vw,
    340px
  );

  height: clamp(
    170px,
    22vw,
    260px
  );

  flex: 0 0 auto;

  overflow: hidden;

  border:
    1px solid
    rgba(
      212,
      163,
      89,
      0.14
    );

  background: var(--bg-soft);

  transition:
    transform 0.4s var(--ease),
    border-color 0.3s ease;
}

.gallery-card.card-tall {
  width: clamp(
    250px,
    33vw,
    390px
  );

  height: clamp(
    210px,
    28vw,
    330px
  );
}

.gallery-card img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.7s var(--ease);

  backface-visibility: hidden;
}

.gallery-card:hover {
  transform: translateY(-6px);

  border-color: var(--gold);
}

.gallery-card:hover img {
  transform: scale(1.05);
}


/* Hardware-friendly marquee */

@keyframes scrollRightToLeft {
  from {
    transform:
      translate3d(
        0,
        0,
        0
      );
  }

  to {
    transform:
      translate3d(
        -50%,
        0,
        0
      );
  }
}


/* =========================================================
   FOOTER
========================================================= */

footer {
  padding:
    clamp(
      5rem,
      9vw,
      8rem
    )
    var(--side-padding)
    2rem;

  border-top:
    1px solid
    rgba(
      200,
      90,
      50,
      0.18
    );

  text-align: center;

  background:
    radial-gradient(
      circle at bottom,
      rgba(
        200,
        90,
        50,
        0.08
      ),
      transparent 65%
    );
}

.footer-title {
  margin-bottom: 0.8rem;

  font-size: clamp(
    2.5rem,
    6vw,
    4rem
  );

  line-height: 1;
}

.footer-sub {
  max-width: 480px;

  margin-inline: auto;

  margin-bottom: 2rem;

  color: var(--muted);

  font-size: 0.75rem;

  line-height: 1.8;
}

.footer-actions {
  margin-bottom: 3rem;
}

.footer-links {
  display: flex;

  align-items: center;
  justify-content: center;

  flex-wrap: wrap;

  gap: clamp(
    1rem,
    3vw,
    2.5rem
  );

  margin-bottom: 3rem;
}

.social-link {
  display: inline-flex;

  align-items: center;

  gap: 0.5rem;

  color: var(--text);

  text-decoration: none;

  font-size: 0.68rem;

  letter-spacing: 0.08em;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.social-link svg {
  width: 16px;
  height: 16px;

  stroke: var(--terracotta);

  transition:
    stroke 0.3s ease;
}

.social-link:hover {
  color: var(--gold);

  transform: translateY(-2px);
}

.social-link:hover svg {
  stroke: var(--gold);
}

.copyright {
  padding-top: 1.5rem;

  border-top:
    1px solid
    rgba(
      255,
      255,
      255,
      0.06
    );

  color: var(--muted);

  font-size: 0.62rem;

  letter-spacing: 0.1em;
}


/* =========================================================
   SCROLL REVEAL ANIMATIONS
========================================================= */

.fade-up {
  opacity: 0;

  transform:
    translate3d(
      0,
      30px,
      0
    );

  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);

  will-change:
    opacity,
    transform;
}

.fade-up.active {
  opacity: 1;

  transform:
    translate3d(
      0,
      0,
      0
    );
}

.delay-1 {
  transition-delay: 0.15s;
}

.delay-2 {
  transition-delay: 0.3s;
}


/* =========================================================
   TABLET — 992px
========================================================= */

@media (max-width: 992px) {

  :root {
    --side-padding: 5vw;
  }

  nav {
    min-height: 68px;
  }

  .about-section {
    grid-template-columns: 1fr;

    gap: 3rem;
  }

  .about-text {
    max-width: 700px;
  }

  .about-image-wrapper {
    order: -1;
  }

  .chef-photo {
    height: 60vw;

    max-height: 600px;
  }

  .cards-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .menu-container {
    grid-template-columns: 1fr;
  }

  .menu-intro {
    position: static;
  }

  .menu-intro p {
    max-width: 600px;
  }
}


/* =========================================================
   TABLET / MOBILE — 768px
========================================================= */

@media (max-width: 768px) {

  :root {
    --side-padding: 20px;
  }


  /* ---------------- NAV ---------------- */

  nav {
    min-height: 62px;

    padding:
      0.75rem
      var(--side-padding);
  }

  .brand {
    width: 95px;
  }

  .nav-links {
    position: fixed;

    top: 62px;
    right: 15px;

    width: min(
      220px,
      calc(100vw - 30px)
    );

    padding: 1.5rem;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 1.25rem;

    background:
      rgba(
        18,
        13,
        10,
        0.98
      );

    border:
      1px solid
      rgba(
        212,
        163,
        89,
        0.18
      );

    box-shadow:
      0 20px 50px
      rgba(0, 0, 0, 0.4);

    opacity: 0;

    visibility: hidden;

    transform:
      translate3d(
        0,
        -12px,
        0
      );

    transition:
      opacity 0.3s ease,
      visibility 0.3s ease,
      transform 0.3s var(--ease);

    /*
      Keeps mobile menu compositing isolated.
    */
    will-change:
      opacity,
      transform;
  }

  .nav-links.active {
    opacity: 1;

    visibility: visible;

    transform:
      translate3d(
        0,
        0,
        0
      );
  }

  .nav-links a {
    display: block;

    padding: 0.25rem 0;

    font-size: 0.68rem;
  }

  .nav-links a::after {
    display: none;
  }

  .btn-reserve {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }


  /* ---------------- HERO ---------------- */

  .hero {
  min-height: 100svh;
  height: auto;
  padding: 100px 24px 60px;
}

  .hero-tag {
    margin-bottom: 18px;

    font-size: 8px;

    letter-spacing: 0.22em;
  }

  .hero-title {
    max-width: 650px;

    margin-bottom: 20px;

    font-size:
      clamp(
        3.2rem,
        13vw,
        5.5rem
      );

    line-height: 0.9;

    letter-spacing: 0;
  }

  .hero-subtitle {
    width: min(
      340px,
      100%
    );

    font-size: 10px;

    line-height: 1.75;

    letter-spacing: 0.03em;
  }


  

  /* ---------------- SERVICES ---------------- */

  .services-section {
    width: calc(100% - 40px);

    padding-block: 4.5rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-header span {
    font-size: 0.58rem;
  }

  .section-header h2 {
    font-size:
      clamp(
        2.5rem,
        12vw,
        3.5rem
      );
  }

  .cards-grid {
    grid-template-columns: 1fr;

    gap: 1.5rem;
  }

  .service-card {
    width: 100%;
  }

  .card-img {
    aspect-ratio: 1.15 / 1;
  }

  .card-body {
    padding: 1.4rem;
  }

  .card-title {
    font-size: 1.7rem;
  }

  .card-desc {
    max-width: 340px;

    font-size: 0.7rem;
  }


  /* ---------------- MENU ---------------- */

  .menu-section {
    padding:
      5rem
      20px;
  }

  .menu-intro {
    margin-bottom: 2rem;
  }

  .section-tag {
    font-size: 0.58rem;
  }

  .menu-intro h2 {
    font-size:
      clamp(
        2.5rem,
        12vw,
        3.5rem
      );
  }

  .menu-intro p {
    font-size: 0.7rem;

    line-height: 1.8;
  }

  .menu-carousel-wrapper {
    padding: 4px;
  }

  .carousel-container {
    aspect-ratio: 4 / 5;
  }


  /* ---------------- GALLERY ---------------- */

  .showcase-section {
    padding-block: 5rem;
  }

  .showcase-header {
    width: calc(100% - 40px);

    margin-bottom: 2.5rem;
  }

  .showcase-header .script-title {
    font-size:
      clamp(
        2.8rem,
        13vw,
        4rem
      );
  }

  .showcase-desc {
    font-size: 0.68rem;

    line-height: 1.8;
  }

  /*
    Slower on mobile.
  */

  .marquee-track {
    gap: 10px;

    animation-duration: 65s;
  }

  .gallery-card {
    width: 220px;

    height: 165px;
  }

  .gallery-card.card-tall {
    width: 250px;

    height: 200px;
  }

  /*
    Mobile devices don't need hover transforms.
  */

  .service-card:hover,
  .gallery-card:hover {
    transform: none;
  }

  .service-card:hover .card-img,
  .gallery-card:hover img {
    transform: none;
  }


  /* ---------------- FOOTER ---------------- */

  footer {
    padding:
      5rem
      20px
      1.5rem;
  }

  .footer-title {
    font-size:
      clamp(
        2.6rem,
        13vw,
        4rem
      );
  }

  .footer-sub {
    font-size: 0.7rem;
  }

  .footer-links {
    flex-direction: column;

    gap: 1.2rem;

    margin-bottom: 2.5rem;
  }

  .social-link {
    font-size: 0.65rem;
  }

  .copyright {
    font-size: 0.55rem;
  }
}


/* =========================================================
   SMALL PHONES — 480px
========================================================= */

@media (max-width: 480px) {

  :root {
    --side-padding: 16px;
  }

  nav {
    padding-inline: 16px;
  }

  .brand {
    width: 88px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }


  /* HERO */

  @media (max-width: 480px) {
  .hero {
    min-height: 100svh;
    height: auto;
    padding: 90px 18px 50px;
    background-position: 58% center;
  }
}

  .hero-tag {
    max-width: 280px;

    margin-bottom: 16px;

    font-size: 7px;

    line-height: 1.5;

    letter-spacing: 0.2em;
  }

  .hero-title {
    width: 100%;

    max-width: 360px;

    margin-bottom: 18px;

    font-size:
      clamp(
        2.8rem,
        14vw,
        4.5rem
      );

    line-height: 0.88;
  }

  .hero-subtitle {
    width: 100%;

    max-width: 310px;

    font-size: 9px;

    line-height: 1.8;
  }


  /* ABOUT / SERVICES */

  .about-section,
  .services-section {
    width: calc(100% - 32px);
  }

  .chef-photo {
    height: 115vw;
  }

  .card-img {
    aspect-ratio: 1 / 0.95;
  }


  /* GALLERY */

  .gallery-card {
    width: 205px;

    height: 155px;
  }

  .gallery-card.card-tall {
    width: 230px;

    height: 185px;
  }
}

/* =========================
   TABLET / MOBILE
========================= */

@media (max-width: 768px) {
  .about-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .about-text {
    display: contents;
  }

  .about-text .tagline {
    order: 1;
  }

  .about-text h2 {
    order: 2;
  }

  .about-text p {
    order: 3;
  }

  .about-image-wrapper {
    order: 4;
    width: 100%;
    margin-top: 1.5rem;
  }

  .thechef {
    order: 5;
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 0;
  }

  .chef-photo {
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }
}


/* =========================
   SMALL PHONES — 480px
========================= */

@media (max-width: 480px) {
  .about-section {
    width: min(
      var(--container),
      calc(100% - (var(--side-padding) * 2))
    );

    padding-block: 4.5rem;
  }

  .about-text .tagline {
    margin-bottom: 0.6rem;
    font-size: 0.62rem;
    letter-spacing: 0.2em;
  }

  .about-text h2 {
    margin-bottom: 1.2rem;

    font-size: 2.2rem;
    line-height: 1.05;
  }

  .about-text p {
    margin-bottom: 0.9rem;

    font-size: 0.78rem;
    line-height: 1.8;
  }

  .about-image-wrapper {
    margin-top: 1.25rem;
  }

  .chef-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;

    box-shadow:
      8px 8px 0
      rgba(200, 90, 50, 0.14);
  }

  .thechef {
    margin-top: 1.25rem;
    font-size: 1.7rem;
  }
}


/* =========================================================
   VERY SMALL DEVICES — 360px
========================================================= */

@media (max-width: 360px) {

  .hero {
    padding-inline: 16px;
  }

  .hero-title {
    max-width: 320px;

    font-size: 2.65rem;
  }

  .hero-subtitle {
    max-width: 285px;

    font-size: 8.5px;
  }

  .about-text h2,
  .section-header h2,
  .menu-intro h2 {
    font-size: 2.35rem;
  }

  .card-title {
    font-size: 1.5rem;
  }

  .gallery-card {
    width: 190px;

    height: 145px;
  }

  .gallery-card.card-tall {
    width: 210px;

    height: 170px;
  }
}


/* =========================================================
   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;
  }

  .fade-up {
    opacity: 1;

    transform: none;

    will-change: auto;
  }
}

/* =========================================================
   MOBILE SCROLL FIX
========================================================= */

@media (max-width: 768px) {

  html {
    scroll-behavior: auto !important;
  }

  body {
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: auto;
  }

  .hero {
    height: auto;
    min-height: 100svh;
    overflow: hidden;
  }
}
