:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-accent: #50311d;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #121212;
    --color-text: #e8e8e8;
    --color-accent: #c8a165;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--color-text);
  line-height: 1.5;
  background-image:
    linear-gradient(color-mix(in srgb, var(--color-bg) 80%, transparent), color-mix(in srgb, var(--color-bg) 80%, transparent)),
    url("../images/carousel/interior.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

header, main {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

main {
  padding: 0 1.5rem 1.5rem;
}

@media (min-width: 900px) {
  header, main {
    max-width: 1180px;
  }
}

a {
  color: var(--color-accent);
}

.logo {
  display: block;
  height: 56px;
  width: auto;
  border-radius: 8px;
}

.stage {
  display: block;
}

@media (min-width: 900px) {
  .stage {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(0, 720px) minmax(140px, 1fr);
    align-items: start;
    gap: 1.5rem;
  }
}

.rail {
  display: none;
}

@media (min-width: 900px) {
  .rail {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: sticky;
    top: 1.5rem;
  }

  .rail-right {
    align-items: stretch;
  }
}

.stage-center {
  display: flex;
  flex-direction: column;
}

.stage-center > .carousel {
  order: 1;
}

.stage-center > .tabs-mobile {
  order: 2;
}

.stage-center > .panel-slot {
  order: 3;
}

@media (min-width: 900px) {
  .stage-center > .panel-slot {
    order: 1;
  }

  .stage-center > .carousel {
    order: 2;
  }

  .stage-center > .tabs-mobile {
    display: none;
  }
}

.tabs-mobile {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--color-accent);
  border-radius: 6px;
  background: var(--color-bg);
  color: var(--color-text);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
}

.tab-rail {
  width: 100%;
}

.tab[aria-expanded="true"] {
  background: var(--color-accent);
  color: var(--color-bg);
}

.panel-slot {
  transition: margin-top 0.45s cubic-bezier(0.4, 0, 0.2, 1), margin-bottom 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-slot:has(.panel.open) {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel.open {
  grid-template-rows: 1fr;
}

.panel-clip {
  overflow: hidden;
  min-height: 0;
}

.panel-inner {
  border: 1px solid var(--color-accent);
  border-radius: 8px;
  padding: 1.25rem;
  background: var(--color-bg);
}

.panel-inner h2 {
  margin-top: 0;
}

.panel-status {
  font-weight: 600;
}

.hours-dot {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #9a9a9a;
}

.hours-dot[data-open="true"] {
  background: var(--color-accent);
}

.hours-week {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.hours-week li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
}

.hours-week li.hours-today {
  font-weight: 700;
  color: var(--color-accent);
}

.hours-closures {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0.75rem 0 0;
  border-top: 1px dashed color-mix(in srgb, var(--color-text) 25%, transparent);
  font-size: 0.9rem;
}

.hours-closures li {
  padding: 0.15rem 0;
}

.menu-body {
  max-height: 70vh;
  overflow-y: auto;
}

.menu-switch {
  display: flex;
  gap: 0.4rem;
  margin-top: 1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--color-accent) 35%, transparent);
  padding-bottom: 0.75rem;
}

.menu-switch-btn {
  flex: 1 1 0;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-accent);
  border-radius: 6px;
  background: var(--color-bg);
  color: var(--color-text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.menu-switch-btn[aria-selected="true"] {
  background: var(--color-accent);
  color: var(--color-bg);
}

.menu-panel[hidden] {
  display: none;
}

.menu-category {
  margin-top: 1.25rem;
}

.menu-category h3 {
  margin: 0 0 0.25rem;
}

.menu-category h4 {
  margin: 1rem 0 0.25rem;
  opacity: 0.8;
}

.menu-note {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-style: italic;
  opacity: 0.8;
}

.menu-loading {
  opacity: 0.7;
  font-style: italic;
}

.menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-items li {
  padding: 0.5rem 0;
  border-top: 1px dashed color-mix(in srgb, var(--color-text) 20%, transparent);
}

.menu-items li:first-child {
  border-top: none;
}

.menu-item-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
}

.menu-item-price {
  flex: 0 0 auto;
  white-space: nowrap;
}

.menu-item-desc {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

.carousel {
  position: relative;
}

.carousel-track-wrap {
  overflow: hidden;
  border-radius: 8px;
}

.carousel-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.4s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  aspect-ratio: 4 / 3;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.carousel-control-prev {
  left: 0.5rem;
}

.carousel-control-next {
  right: 0.5rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.carousel-dots button {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-text);
  opacity: 0.3;
  cursor: pointer;
}

.carousel-dots button[aria-current="true"] {
  opacity: 1;
  background: var(--color-accent);
}

.reservations-section + .reservations-section {
  margin-top: 1rem;
}

.reservations-section h3 {
  margin: 0.75rem 0 0.25rem;
}

.reservations-section p {
  margin: 0.35rem 0;
}

.contact {
  margin-top: 1rem;
}

.contact-link {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--color-accent);
  text-decoration: underline;
  cursor: pointer;
  list-style: none;
}

.contact-link::-webkit-details-marker {
  display: none;
}

.contact-body {
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.contact-body p {
  margin: 0.25rem 0;
}
