.full-menu-page {
  background: var(--paper);
}

.menu-site-header {
  background: rgba(255, 253, 248, 0.96);
}

.site-nav .is-current::after {
  inset-inline-start: 0;
  width: 100%;
}

.menu-page-hero {
  position: relative;
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: clamp(50px, 8vw, 130px);
  padding: calc(var(--header-h) + 70px) clamp(24px, 7vw, 110px) 80px;
  overflow: hidden;
  background: var(--cream);
}

.menu-page-hero::before {
  content: "";
  position: absolute;
  inset: 0 52% 0 0;
  background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
}

.menu-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.menu-hero-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(72px, 8vw, 126px);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -3px;
}

.menu-hero-copy h1 em {
  display: block;
  margin-left: 12%;
  color: var(--caramel);
  font-family: var(--script);
  font-size: 0.72em;
  font-weight: 400;
  letter-spacing: 0;
  transform: rotate(-3deg);
}

.menu-hero-copy > p:last-child {
  max-width: 560px;
  margin: 36px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 22px;
}

.menu-hero-photos {
  position: relative;
  z-index: 1;
  min-height: 420px;
}

.menu-hero-photos figure {
  position: absolute;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(37, 26, 21, 0.15);
}

.menu-hero-photos figure:first-child {
  inset: 0 auto auto 0;
  width: 62%;
  height: 390px;
}

.menu-hero-photos figure:last-of-type {
  right: 0;
  bottom: 0;
  width: 43%;
  height: 300px;
  border: 10px solid var(--paper);
}

.menu-hero-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-hero-photos > span {
  position: absolute;
  z-index: 2;
  left: 49%;
  bottom: 28px;
  width: 122px;
  height: 122px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  color: white;
  background: var(--sage);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.15;
  text-align: center;
  transform: rotate(-8deg);
}

.menu-hero-leaf {
  top: 95px;
  right: -15px;
}

.location-switcher-wrap {
  position: relative;
  z-index: 8;
  max-width: 1120px;
  margin: -35px auto 0;
  padding: 0 24px;
}

.location-switcher-wrap > p {
  width: max-content;
  margin: 0 auto -1px;
  padding: 9px 20px;
  color: white;
  background: var(--caramel);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.location-switcher {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 18px 48px rgba(37, 26, 21, 0.1);
}

.location-switcher button {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 18px;
  min-height: 112px;
  padding: 22px 30px;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  text-align: left;
  transition:
    color 0.25s ease,
    background 0.25s ease;
}

.location-switcher button:last-child {
  border-right: 0;
}

.location-switcher button.is-active {
  color: white;
  background: var(--ink);
}

.location-switcher button > span {
  grid-row: 1 / 3;
  color: var(--caramel);
  font-family: var(--serif);
  font-size: 20px;
}

.location-switcher strong {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
}

.location-switcher small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.location-switcher button.is-active small {
  color: rgba(255, 255, 255, 0.6);
}

.selected-location {
  max-width: 1280px;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: stretch;
  margin: 90px auto 70px;
  padding: 0 clamp(24px, 4vw, 50px);
}

.selected-location figure {
  min-height: 390px;
  margin: 0;
  overflow: hidden;
}

.selected-location figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.selected-location > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 6vw, 80px);
  color: white;
  background: var(--sage);
}

.selected-location .eyebrow {
  color: var(--cream);
}

.selected-location h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(56px, 6vw, 90px);
  line-height: 0.9;
}

.selected-location > div > p:last-of-type {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
}

.selected-location-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.selected-location-meta a {
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.category-nav {
  position: sticky;
  z-index: 30;
  top: 76px;
  display: flex;
  gap: 8px;
  padding: 14px max(24px, calc((100vw - 1180px) / 2));
  overflow-x: auto;
  border-block: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.95);
  box-shadow: 0 8px 24px rgba(37, 26, 21, 0.05);
  scrollbar-width: none;
  backdrop-filter: blur(12px);
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-nav a {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.category-nav a:hover,
.category-nav a:focus-visible {
  color: white;
  border-color: var(--sage);
  background: var(--sage);
}

.menu-catalog {
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 24px 40px;
}

.catalog-section {
  scroll-margin-top: 150px;
  padding: 0 0 95px;
}

.catalog-section + .catalog-section {
  padding-top: 5px;
  border-top: 1px solid var(--line);
}

.catalog-heading {
  display: grid;
  grid-template-columns: minmax(250px, 0.6fr) 1.4fr;
  gap: 55px;
  align-items: end;
  margin-bottom: 40px;
}

.catalog-heading p {
  margin: 0 0 8px;
  color: var(--caramel-deep);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.catalog-heading h2 {
  margin: 0;
  font-family: var(--script);
  font-size: clamp(50px, 6vw, 78px);
  font-weight: 400;
  line-height: 0.8;
}

.catalog-heading span {
  justify-self: end;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
}

.catalog-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 65px;
}

.catalog-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-content: start;
  gap: 3px 20px;
  padding: 20px 0;
  border-bottom: 1px dashed rgba(37, 26, 21, 0.2);
}

.catalog-item h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.2;
}

.catalog-price {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
}

.catalog-description {
  grid-column: 1 / -1;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.menu-end {
  margin-top: 15px;
  padding: 100px 24px;
  color: white;
  background:
    linear-gradient(rgba(37, 26, 21, 0.84), rgba(37, 26, 21, 0.84)),
    url("./Charlies%20Photos/5.jpg") center / cover;
  text-align: center;
}

.menu-end .eyebrow {
  color: var(--cream);
}

.menu-end h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 6vw, 82px);
  line-height: 0.9;
}

.menu-end h2 em {
  color: var(--cream);
  font-family: var(--script);
  font-weight: 400;
}

.menu-end > p:last-of-type {
  margin: 25px auto 30px;
  color: rgba(255, 255, 255, 0.75);
}

.menu-footer {
  margin-top: 0;
}

.menu-location-preview {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 0 auto;
}

.menu-location-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 500px;
  background: var(--paper);
  box-shadow: 0 16px 46px rgba(37, 26, 21, 0.09);
}

.menu-location-card figure {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
}

.menu-location-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(37, 26, 21, 0.35), transparent 55%);
}

.menu-location-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.menu-location-card:hover figure img {
  transform: scale(1.04);
}

.menu-location-card figure span {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 10px;
  color: white;
  font-family: var(--serif);
  font-size: 46px;
}

.menu-location-card > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 38px;
}

.menu-location-card .eyebrow {
  margin-bottom: 8px;
}

.menu-location-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 4vw, 58px);
  line-height: 0.92;
}

.menu-location-card > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
}

.menu-location-card ul {
  display: grid;
  gap: 6px;
  margin: 12px 0 28px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
}

.menu-location-card li::before {
  content: "✦";
  margin-right: 8px;
  color: var(--caramel);
  font-size: 8px;
}

.menu-location-card .button {
  margin-top: auto;
}

@media (max-width: 1100px) {
  .menu-page-hero {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 45px;
  }

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

  .menu-location-card figure {
    min-height: 300px;
    max-height: 300px;
  }
}

@media (max-width: 820px) {
  .menu-page-hero {
    grid-template-columns: 1fr;
    gap: 55px;
    padding-top: calc(var(--header-h) + 75px);
  }

  .menu-page-hero::before {
    display: none;
  }

  .menu-hero-copy h1 {
    font-size: clamp(70px, 16vw, 100px);
  }

  .menu-hero-photos {
    width: min(100%, 680px);
    justify-self: center;
  }

  .location-switcher-wrap {
    margin-top: 0;
    padding: 0;
  }

  .location-switcher-wrap > p {
    margin-top: -18px;
  }

  .selected-location {
    grid-template-columns: 1fr;
    margin-top: 65px;
  }

  .selected-location figure {
    min-height: 320px;
    max-height: 380px;
  }

  .catalog-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .catalog-heading span {
    justify-self: start;
  }

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

  .menu-location-card {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .menu-location-card figure {
    min-height: 480px;
    max-height: none;
  }
}

@media (max-width: 580px) {
  .menu-page-hero {
    min-height: auto;
    padding-inline: 18px;
  }

  .menu-hero-copy h1 {
    font-size: clamp(58px, 18vw, 78px);
  }

  .menu-hero-copy > p:last-child {
    font-size: 19px;
  }

  .menu-hero-photos {
    min-height: 330px;
  }

  .menu-hero-photos figure:first-child {
    width: 74%;
    height: 305px;
  }

  .menu-hero-photos figure:last-of-type {
    width: 42%;
    height: 220px;
    border-width: 7px;
  }

  .menu-hero-photos > span {
    left: 52%;
    width: 94px;
    height: 94px;
    font-size: 12px;
  }

  .location-switcher {
    grid-template-columns: 1fr;
  }

  .location-switcher button {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .location-switcher button:last-child {
    border-bottom: 0;
  }

  .location-switcher strong {
    font-size: 27px;
  }

  .selected-location {
    margin-bottom: 50px;
    padding: 0 18px;
  }

  .selected-location figure {
    min-height: 260px;
  }

  .selected-location > div {
    padding: 40px 25px;
  }

  .selected-location h2 {
    font-size: 52px;
  }

  .category-nav {
    top: 76px;
    padding-inline: 14px;
  }

  .menu-catalog {
    padding: 70px 18px 20px;
  }

  .catalog-section {
    padding-bottom: 75px;
  }

  .catalog-items {
    grid-template-columns: 1fr;
  }

  .catalog-heading h2 {
    font-size: 56px;
  }

  .catalog-item {
    gap: 4px 14px;
  }

  .catalog-item h3 {
    font-size: 19px;
  }

  .catalog-price {
    max-width: 145px;
    font-size: 15px;
  }

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

  .menu-location-card figure {
    min-height: 280px;
    max-height: 280px;
  }

  .menu-location-card > div {
    padding: 32px 24px;
  }
}
