:root {
  --gold: #c08f2d;
  --dark: #161412;
  --light: #2a2a2a;
  --muted: #bfbfc0;
  --hero-muted: #c5c5c5;
  --frame: 1440px;
  --container: 1200px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--dark);
  color: #fff;
}

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

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

.page {
  width: min(100%, var(--frame));
  margin: 0 auto;
  background: var(--dark);
  position: relative;
}

.topbar {
  position: relative;
  min-height: 76px;
  height: auto;
  z-index: 10;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(20px);
  background: rgba(22, 19, 19, 0.5);
}

.topbar__inner {
  position: relative;
  width: min(var(--container), calc(100% - 48px));
  min-height: 69px;
  height: auto;
  margin: 2px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.topbar__logo {
  display: block;
  width: 78px;
  height: 89px;
  object-fit: cover;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.topnav__link {
  font-size: 18px;
  line-height: 26px;
  color: #fff;
  white-space: nowrap;
}

.topnav__link--active {
  color: var(--gold);
}

.topnav__btn {
  margin-left: 10px;
  height: 33px;
  padding: 10px 20px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  color: #fff;
  background: var(--gold);
  white-space: nowrap;
  flex: 0 0 auto;
}

.topbar__rule {
  position: absolute;
  left: -2px;
  bottom: 4px;
  width: calc(100% + 2px);
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.hero {
  position: relative;
  height: 438px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero__content {
  position: absolute;
  left: 50%;
  top: 204px;
  transform: translateX(-50%);
  width: 908px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  text-align: center;
}

.hero__title {
  margin: 0;
  width: 922px;
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: 59.952px;
  line-height: 1.072;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
}

.hero__subtitle {
  margin: 0;
  width: 100%;
  font-size: 20.384px;
  line-height: 1.63;
  color: var(--hero-muted);
  text-transform: capitalize;
}

.hero__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.main {
  padding-bottom: 0;
}

.tabs {
  width: min(var(--container), calc(100% - 48px));
  margin: 80px auto 0;
  display: flex;
  align-items: center;
  gap: 24px 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.tabs__tab {
  width: auto;
  min-width: 210px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.tabs__text {
  font-family: "Cinzel", serif;
  font-weight: 500;
  font-size: 34px;
  line-height: 1.14;
  text-transform: uppercase;
  color: #fff;
}

.tabs__underline {
  width: 100px;
  height: 2px;
  background: var(--gold);
  opacity: 0;
}

.tabs__tab.is-active .tabs__text {
  color: var(--gold);
}

.tabs__tab.is-active .tabs__underline {
  opacity: 1;
}

.menu {
  width: min(var(--container), calc(100% - 48px));
  margin: 80px auto 0;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.menu-section__header {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.menu-section__title {
  width: fit-content;
  font-family: "Cinzel", serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.menu-section__rule {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.menu-grid {
  display: flex;
  gap: var(--grid-gap, 27px);
  align-items: stretch;
  flex-wrap: nowrap;
}

.menu-grid--wrap {
  flex-wrap: wrap;
}

.card {
  width: var(--card-w, 382px);
  min-height: 396px;
  height: auto;
  border: 1px solid var(--gold);
  border-radius: 8px;
  overflow: hidden;
  background: var(--dark);
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
}

.card__media {
  position: relative;
  height: var(--media-h, 262px);
  overflow: hidden;
  background: #23211f;
  flex: 0 0 auto;
}

.card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 220ms ease;
}

.card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #2b2a29;
  opacity: 1;
  transition: opacity 180ms ease;
}

.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.07) 0px,
      rgba(255, 255, 255, 0.07) 10px,
      rgba(43, 42, 41, 0) 10px,
      rgba(43, 42, 41, 0) 22px
    ),
    linear-gradient(
      90deg,
      rgba(43, 42, 41, 0) 0%,
      rgba(255, 255, 255, 0.10) 50%,
      rgba(43, 42, 41, 0) 100%
    );
  background-size: 160px 160px, 180px 100%;
  background-position: 0 0, -180px 0;
  animation: menuWireframe 1.2s linear infinite;
  opacity: 1;
  transition: opacity 180ms ease;
}

.card__media.is-loaded::after {
  opacity: 0;
  animation: none;
}

.card__media.is-loaded::before {
  opacity: 0;
}

.card__media.is-loaded .card__img {
  opacity: 1;
}

@keyframes menuWireframe {
  0% {
    background-position: 0 0, -180px 0;
  }
  100% {
    background-position: 160px 160px, calc(100% + 180px) 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card__media::after {
    animation: none;
  }
}

.card__body {
  background: var(--dark);
  display: flex;
  flex: 1 1 auto;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 16px 20px 18px;
}

.card__content {
  width: 100%;
  max-width: var(--content-w, 341px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.card__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  line-height: 1.63;
  min-width: 0;
}

.card__name {
  font-family: "Cinzel", serif;
  font-weight: 500;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--gold);
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.card__price {
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--gold);
  white-space: nowrap;
}

.card__desc {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: var(--desc-size, 16px);
  line-height: 1.57;
  color: var(--muted);
  text-transform: none;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.card--sm {
  --card-w: 382px;
  --media-h: 262px;
  --content-w: 341px;
  --desc-size: 16px;
}

.card--sm .card__name {
  font-size: 22px;
}

.card--sm .card__price {
  font-size: 18px;
}

.card--sm.card--dense .card__desc {
  --desc-size: 14px;
  width: 290px;
}

.card--lg {
  --card-w: 578px;
  --media-h: 277px;
  --content-w: 416px;
  --desc-size: 16px;
}

.card--lg .card__name {
  font-size: 20px;
}

.card--lg .card__price {
  font-size: 18px;
}

.card--xs {
  --card-w: 283px;
  --media-h: 262px;
  --content-w: 256px;
  --desc-size: 14px;
}

.card--mini {
  --card-w: 283px;
  --media-h: 210px;
  --content-w: 256px;
  --desc-size: 14px;
  min-height: 284px;
}

.card--wide {
  --card-w: 592px;
  --media-h: 277px;
  --content-w: 532px;
  --desc-size: 14px;
  min-height: 337px;
}

.card--plate .card__name {
  font-size: 20px;
}

.card--plate .card__desc {
  font-size: 15px;
}

/* Breakfast plates: allow full text + add breathing room */
.card.card--sm.card--plate {
}

.card.card--sm.card--plate .card__body {
  align-items: flex-start;
  justify-content: flex-start;
  padding: 16px 20px 18px;
}

.card.card--sm.card--plate .card__name,
.card.card--sm.card--plate .card__desc {
  overflow: visible;
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.card--xs .card__name {
  font-size: 20px;
}

.card--xs .card__price {
  font-size: 18px;
}

.cta {
  position: relative;
  margin-top: 80px;
  height: 477px;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
}

.cta__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(-15%);
}

.cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.cta__content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 688px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 27px;
  text-align: center;
  color: #fff;
}

.cta__title {
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: 78.317px;
  line-height: 1.072;
  text-transform: uppercase;
}

.cta__subtitle {
  font-size: 26.628px;
  line-height: 1.63;
  text-transform: capitalize;
}

.cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13.61px 27.219px;
  background: var(--gold);
  border-radius: 100px;
  color: #fff;
  font-size: 20.41px;
}

.cta__rule {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.footer {
  position: relative;
  min-height: 312px;
  height: auto;
  background: #000;
}

.footer__inner {
  width: min(calc(var(--container) + 22px), calc(100% - 48px));
  margin: 0 auto;
  padding-top: 62px;
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 29px;
  color: var(--muted-2, var(--muted));
}

.footer__top {
  display: flex;
  align-items: center;
  gap: 84px;
}

.footer__brand {
  width: 360px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__logo {
  width: 80px;
  height: 58px;
  object-fit: cover;
  filter: drop-shadow(0px 1px 15px rgba(197, 167, 133, 0.5));
}

.footer__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
  text-transform: capitalize;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.footer__heading {
  font-family: "Cormorant SC", serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.19;
  letter-spacing: 0.54px;
  color: var(--gold);
  text-transform: capitalize;
}

.footer__text {
  font-size: 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer__links {
  display: flex;
  gap: 17px;
  font-size: 15px;
}

.footer__divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: capitalize;
}

.footer__powered {
  text-decoration: underline;
}

@media (max-width: 1280px) {
  .page {
    width: 100%;
  }
  .hero__content {
    width: min(908px, calc(100% - 48px));
  }
  .hero__title {
    width: 100%;
    font-size: 48px;
  }
}

@media (max-width: 860px) {
  .tabs {
    width: min(670px, calc(100% - 48px));
    flex-direction: column;
    gap: 16px;
  }
  .tabs__tab,
  .tabs__tab.is-active {
    width: 100%;
  }
  .menu-grid {
    flex-wrap: wrap;
  }
  .card {
    width: 100%;
    max-width: 578px;
  }
  .topnav {
    gap: 16px;
  }
  .topnav__link {
    font-size: 16px;
  }
  .topnav__btn {
    padding: 9px 16px;
    font-size: 14px;
  }
  .footer {
    height: auto;
    padding-bottom: 24px;
  }
  .footer__top {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .topbar {
    height: auto;
    padding: 10px 0 14px;
  }
  .topbar__inner {
    height: auto;
    margin-top: 0;
    gap: 12px;
    flex-wrap: wrap;
  }
  .topnav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
  }

  .hero {
    height: 380px;
  }
  .hero__bg {
    top: 0;
    height: 100%;
  }
  .hero__content {
    top: 170px;
    width: calc(100% - 48px);
  }
  .hero__title {
    font-size: clamp(34px, 6.2vw, 48px);
  }
  .hero__subtitle {
    font-size: 16px;
  }

  .menu {
    margin-top: 48px;
    gap: 48px;
  }

  .menu-section__title {
    font-size: 28px;
  }

  .card {
    height: auto;
    max-width: none;
  }
  .card__media {
    height: 210px;
  }
  .card__body {
    height: auto;
    padding: 16px;
  }
  .card__content {
    width: 100%;
  }

  .cta {
    height: 420px;
  }
  .cta__title {
    font-size: clamp(44px, 10vw, 78px);
  }
  .cta__subtitle {
    font-size: 18px;
  }

  .footer {
    height: auto;
  }
  .footer__inner {
    padding: 48px 0 24px;
  }
  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .topbar__logo {
    width: 68px;
    height: 77px;
  }
  .topnav {
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 12px;
  }
  .topnav__link {
    font-size: 14px;
  }
}
