@font-face {
  font-family: Cormorant;
  src: url('assets/fonts/cormorant.ttf') format('truetype');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: GuessWhat;
  src: url('assets/fonts/guesswhat-exceptional.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --wine: #44191c;
  --dark-wine: #351417;
  --paper: #f0e3ca;
  --line: #ae897178;
  --tile-hover: #512226;
  --backdrop: #160709e0;
  --menu-width: 34rem;
  font-family: Cormorant, Georgia, 'Times New Roman', serif;
  font-weight: 600;
  color: var(--paper);
  background: var(--dark-wine);
}
:lang(ar) { font-family: GuessWhat, Tahoma, sans-serif; font-weight: 400; }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
h1:focus { outline: none; }
.screen { max-width: var(--menu-width); margin: 0 auto; min-height: 100vh; background: var(--wine); }
.welcome {
  --welcome-burgundy: #45171b;
  --welcome-cream: #e5ddca;
  --intro-duration: .6s;
  --logo-duration: .9s;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: clamp(2.5rem, 12svh, 7rem) 1rem;
  color: var(--welcome-cream);
  background: var(--welcome-burgundy);
}
.welcome::before, .welcome::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  aspect-ratio: 1755 / 400;
  background: url('https://pub-3dbc142ca88f4242896c7415f430d295.r2.dev/website%20files/Branding/pattern-03.png') center bottom / 100% auto no-repeat;
  opacity: .03;
  z-index: -1;
  pointer-events: none;
}
.welcome::before { top: 0; transform: scaleY(-1); }
.welcome::after { bottom: 0; }
.welcome-content { text-align: center; transform: translateY(clamp(-1.75rem, -3svh, -.75rem)); }
.welcome-content h1 { margin: 0; font-size: clamp(1.35rem, 5.6vw, 1.85rem); font-weight: 600; font-variant-caps: small-caps; }
.welcome-intro { display: block; animation: welcome-intro var(--intro-duration) ease-out both; }
.welcome-logo {
  display: block;
  width: min(59vw, 18rem, 70svh);
  position: relative;
  aspect-ratio: 1443 / 873;
  overflow: hidden;
  margin: .85rem auto 0;
  animation: logo-fade var(--logo-duration) ease-out var(--intro-duration) both;
}
.welcome-logo img {
  position: absolute;
  width: 121.55%;
  height: auto;
  max-width: none;
  left: -10.74%;
  top: -21.08%;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  white-space: nowrap;
  min-height: 3rem;
  margin-top: clamp(1rem, 6svh, 3.15rem);
  padding: .65rem 1.15rem;
  border-radius: .55rem;
  line-height: 1.15;
  color: var(--welcome-burgundy);
  background: var(--welcome-cream);
  text-decoration: none;
  animation: button-reveal .6s ease-out calc(var(--intro-duration) + var(--logo-duration)) both;
}
.primary > span:first-child { font-weight: 700; }
.categories {
  --category-logo-duration: .4s;
  --category-button-duration: .3s;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: clamp(3.5rem, 12svh, 7rem) 1rem;
  background: #e5ddca;
  color: #45171b;
}
.categories::before, .categories::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  aspect-ratio: 1755 / 400;
  background: url('https://pub-3dbc142ca88f4242896c7415f430d295.r2.dev/website%20files/Branding/pattern%20burgundy-03.png') center bottom / 100% auto no-repeat;
  opacity: .1;
  animation: none;
  z-index: -1;
  pointer-events: none;
}
.categories::before { top: 0; transform: scaleY(-1); }
.categories::after { bottom: 0; }
.category-content { width: min(100%, 15rem); transform: translateY(clamp(-1.5rem, -3svh, -.75rem)); }
.category-logo {
  display: block;
  position: relative;
  width: min(34vw, 9rem);
  aspect-ratio: 1443 / 873;
  overflow: hidden;
  margin: 0 auto clamp(1.4rem, 5.5svh, 2.75rem);
  animation: logo-fade var(--category-logo-duration) ease-out both;
}
.category-logo:focus-visible { outline-color: #45171b; }
.category-logo img { position: absolute; width: 121.55%; height: auto; left: -10.74%; top: -21.08%; }
.categories nav { display: grid; gap: clamp(.6rem, 2svh, 1rem); }
.tile {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .35rem;
  min-height: 3rem;
  padding: .5rem .65rem;
  border-radius: .85rem;
  background: #45171b;
  color: #e5ddca;
  box-shadow: 0 .3rem .85rem rgb(0 0 0 / 5%);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  animation: button-reveal var(--category-button-duration) ease-out calc(var(--category-logo-duration) + var(--button-index, 0) * var(--category-button-duration)) both;
}
.tile:focus-visible { outline-color: #45171b; }
.tile:nth-child(2) { --button-index: 1; }
.tile:nth-child(3) { --button-index: 2; }
.tile:nth-child(4) { --button-index: 3; }
.tile:nth-child(5) { --button-index: 4; }
.tile:nth-child(6) { --button-index: 5; }
.menu-bar { position: sticky; top: 0; display: flex; justify-content: space-between; gap: .5rem; align-items: center; padding: .25rem .75rem; background: var(--dark-wine); border-bottom: 1px solid var(--line); z-index: 1; }
.menu-bar a, .menu-bar button, .dialog-toolbar button { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem; min-height: 44px; padding: .45rem .25rem; background: transparent; border: 0; text-decoration: underline; text-underline-offset: .2em; font-size: .92rem; }
.draft { margin: 0; padding: .8rem 1rem; font-size: 1rem; line-height: 1.5; background: var(--paper); color: var(--dark-wine); }
.menu-art { position: relative; }
.menu-art > img { display: block; width: 100%; height: auto; }
.photo { position: absolute; border: 0; background: transparent; }
.photo:focus-visible { outline-offset: -3px; }
dialog { width: min(100% - 1rem, 46rem); max-width: none; max-height: 90dvh; padding: 0; color: var(--paper); background: var(--dark-wine); border: 1px solid var(--line); }
dialog::backdrop { background: var(--backdrop, #160709e0); }
body:has(dialog[open]) { overflow: hidden; }
.dialog-toolbar { display: flex; justify-content: space-between; padding: .15rem .8rem; border-bottom: 1px solid var(--line); }
.zoom-viewport { max-height: calc(90dvh - 3rem); overflow: auto; overscroll-behavior: contain; }
.zoom-image { width: 100%; aspect-ratio: var(--aspect); background: var(--image) var(--position) / var(--size) no-repeat; }
.zoom-image[data-zoomed] { width: 175%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@keyframes welcome-intro { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: translateY(0); } }
@keyframes button-reveal { 0% { opacity: 0; visibility: hidden; } 0.01% { opacity: 0; visibility: visible; } 100% { opacity: 1; visibility: visible; } }
@keyframes logo-fade { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 600px) and (orientation: portrait) {
  :root { --menu-width: 42rem; }
}
@media (min-width: 768px) and (max-width: 1180px) and (orientation: landscape),
       (min-width: 768px) and (orientation: landscape) and (pointer: coarse) {
  :root { --menu-width: 44rem; }
  .welcome, .categories { max-width: 58rem; }
  .category-content { width: min(100%, 31rem); }
  .categories nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .welcome-intro, .welcome-logo, .primary, .category-logo, .tile { animation: none; } }

.skillet-page { background: #45171b; }
#dish-preview {
  width: min(calc(100% - 2rem), 40rem);
  border: 0;
  border-radius: 1rem;
  background: #e5ddca;
  overflow: hidden;
}
#dish-preview::backdrop {
  background: rgb(30 8 10 / 28%);
  backdrop-filter: blur(6px);
}
#dish-preview button {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 8rem;
  padding: 1.25rem;
  color: #45171b;
  border: 0;
  background: #e5ddca;
}
#dish-preview img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70svh;
  object-fit: contain;
}

.categories.skip-entrance :is(.category-logo, .tile) { animation: none; }
.skillet-page { position: relative; }
.skillet-page .menu-bar { display: none; }
.skillet-page { padding-top: clamp(2.125rem, 8vw, 3rem); }
.skillet-menu, .skillet-top {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  z-index: 2;
}
.skillet-menu {
  position: absolute;
  top: clamp(.5rem, 3vw, 1.25rem);
  right: clamp(.75rem, 6vw, 2.5rem);
  color: #e5ddca;
}
.skillet-menu span {
  width: 1.65rem;
  height: 3px;
  background: currentColor;
  box-shadow: 0 -8px currentColor, 0 8px currentColor;
}
.skillet-top {
  position: fixed;
  right: max(1rem, calc((100vw - var(--menu-width)) / 2 + 1rem));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  border: 0;
  border-radius: 50%;
  background: #e5ddca;
  color: #45171b;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s;
}
.skillet-top.is-visible { opacity: 1; visibility: visible; }
.skillet-top span {
  width: .9rem;
  height: .9rem;
  border: solid currentColor;
  border-width: 3px 0 0 3px;
  transform: translateY(3px) rotate(45deg);
}
@media (prefers-reduced-motion: reduce) { .skillet-top { transition: none; } }


.close-categories {
  position: absolute;
  top: clamp(.5rem, 3vw, 1.25rem);
  right: clamp(.75rem, 6vw, 2.5rem);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #45171b;
}
.close-categories span { position: relative; width: 1.5rem; height: 1.5rem; }
.close-categories span::before, .close-categories span::after {
  content: '';
  position: absolute;
  inset: calc(50% - 1px) 0 auto;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
}
.close-categories span::after { transform: rotate(-45deg); }
.close-categories:focus-visible { outline-color: #45171b; }
