:root {
  --bg-base: #f5ecde;
  --bg-dark: #2a1417;
  --bg-deep: #19090b;
  --accent-main: #ab131d;
  --accent-alt: #cda24e;
  --text-main: #28171a;
  --text-light: #fff4e8;
  --card-soft: rgba(255, 248, 236, 0.78);
  --shadow-strong: 0 16px 40px rgba(41, 13, 17, 0.24);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  overflow-x: hidden;
  font-family: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "PingFang SC", "Hiragino Sans GB", "Trebuchet MS", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 16% 10%, rgba(171, 19, 29, 0.28), transparent 38%),
    radial-gradient(circle at 82% 14%, rgba(205, 162, 78, 0.24), transparent 34%),
    linear-gradient(150deg, #f7efe3 0%, #ebdac0 62%, #dbc198 100%);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.15) 0,
    rgba(255, 255, 255, 0.15) 1px,
    transparent 1px,
    transparent 6px
  );
}

.hero,
.menu-tabs,
.site-footer {
  position: relative;
  z-index: 1;
}

.brand-bar {
  position: relative;
  z-index: 1;
  margin: 0 clamp(1rem, 6vw, 6.4rem);
  padding-top: clamp(0.95rem, 2.6vw, 1.6rem);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  filter: saturate(1.08) contrast(1.12);
}

.brand-logo-shell {
  width: clamp(62px, 10vw, 100px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  padding: clamp(0.3rem, 0.8vw, 0.46rem);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 232, 203, 0.95), rgba(244, 212, 171, 0.85) 52%, rgba(213, 164, 102, 0.85) 100%);
  border: 1px solid rgba(142, 15, 23, 0.3);
  box-shadow:
    0 10px 20px rgba(122, 16, 24, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.brand-kicker {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(40, 23, 26, 0.76);
}

.brand-name {
  margin: 0.15rem 0 0;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 800;
}

.hero {
  min-height: 78vh;
  padding: clamp(0.6rem, 2.8vw, 2rem) clamp(1rem, 6vw, 6.4rem) clamp(1.2rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1rem, 2.6vw, 2.2rem);
  align-items: center;
}

.hero-content {
  width: 100%;
  max-width: min(100%, 1100px);
}

.tag {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(42, 20, 23, 0.06);
  border: 1px solid rgba(42, 20, 23, 0.24);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

h1,
h2,
h3 {
  font-family: "Franklin Gothic Medium", "Arial Narrow", "Segoe UI", "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 5.1rem);
  line-height: 0.96;
  text-wrap: balance;
}

.intro {
  margin: 1.25rem 0 1.4rem;
  max-width: 52ch;
  line-height: 1.6;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
}

.intro-full {
  max-width: none;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.promo-line {
  margin: 0.9rem 0 0;
  display: inline-block;
  padding: 0.45rem 0.72rem;
  border-radius: 0.72rem;
  border: 1px solid rgba(42, 20, 23, 0.2);
  background: rgba(255, 248, 231, 0.7);
  color: var(--bg-deep);
  font-weight: 700;
}

.btn {
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--text-light);
  background: linear-gradient(125deg, #ab131d 0%, #8e0f17 100%);
  box-shadow: 0 10px 26px rgba(142, 15, 23, 0.42);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 14px 30px rgba(142, 15, 23, 0.5);
}

.btn-secondary {
  color: var(--bg-dark);
  border: 1px solid rgba(42, 20, 23, 0.25);
  background: rgba(255, 248, 231, 0.72);
}

.btn-reserve {
  color: #7a0e16;
  border-color: rgba(171, 19, 29, 0.35);
  background: linear-gradient(135deg, #ffffff 0%, #ffe6e1 52%, #ffd1c9 100%);
  box-shadow: 0 10px 22px rgba(171, 19, 29, 0.18);
}

.btn-reserve:hover,
.btn-reserve:focus-visible {
  box-shadow: 0 14px 30px rgba(171, 19, 29, 0.28);
}

.btn.is-disabled {
  pointer-events: none;
  opacity: 0.55;
}

.redirect-note {
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

.redirect-note a {
  color: var(--bg-deep);
  font-weight: 700;
}

.hours-card {
  background: linear-gradient(160deg, #2f1619, #17090b);
  color: var(--text-light);
  border-radius: 1.4rem;
  padding: clamp(1.1rem, 2.8vw, 2rem);
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(205, 162, 78, 0.32);
}

.hours-card h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.hours-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hours-card li + li {
  margin-top: 0.7rem;
}

.hours-subtitle {
  margin: 0.2rem 0 0.6rem;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: rgba(255, 244, 232, 0.95);
}

.open-status {
  margin: 0 0 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.open-status.is-open {
  color: #104718;
  background: rgba(157, 237, 176, 0.88);
}

.open-status.is-closed {
  color: #5d1014;
  background: rgba(255, 191, 191, 0.9);
}

.week-hours li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 0.8rem;
  margin-top: 0;
  padding: 0.26rem 0;
  border-bottom: 1px dashed rgba(255, 244, 232, 0.22);
}

.week-hours li + li {
  margin-top: 0;
}

.week-hours li:last-child {
  border-bottom: 0;
}

.week-day {
  font-weight: 700;
  text-align: left;
}

.week-time {
  font-variant-numeric: tabular-nums;
  color: rgba(255, 244, 232, 0.92);
  text-align: right;
}

.pickup-line {
  margin: 0.8rem 0 0;
  color: rgba(255, 244, 232, 0.9);
}

.mini-note {
  margin-top: 1rem;
  color: rgba(255, 244, 232, 0.86);
  font-size: 0.92rem;
}

.map-quick-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.52rem 0.78rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(205, 162, 78, 0.45);
  color: var(--text-light);
  text-decoration: none;
  background: rgba(255, 244, 232, 0.08);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.map-quick-link:hover,
.map-quick-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 244, 232, 0.16);
}

.trust-strip {
  position: relative;
  z-index: 1;
  margin: 0 clamp(1rem, 6vw, 6.4rem) 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.trust-item {
  border: 1px solid rgba(42, 20, 23, 0.16);
  background: rgba(255, 248, 236, 0.72);
  backdrop-filter: blur(3px);
  border-radius: 1rem;
  padding: 0.9rem;
}

.trust-item h2 {
  margin: 0;
  font-size: 1.02rem;
}

.trust-item p {
  margin: 0.45rem 0 0;
  line-height: 1.45;
  font-size: 0.92rem;
}

.trust-link {
  display: inline-block;
  margin-top: 0.55rem;
  color: #8e0f17;
  font-weight: 700;
  text-decoration: none;
}

.trust-link.is-disabled {
  pointer-events: none;
  opacity: 0.55;
}

.trust-chip {
  display: inline-block;
  margin-top: 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(42, 20, 23, 0.18);
  padding: 0.26rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.fab-menu {
  display: none;
  position: fixed;
  right: clamp(0.8rem, 2.8vw, 1.35rem);
  bottom: calc(clamp(0.8rem, 2.8vw, 1.35rem) + env(safe-area-inset-bottom));
  z-index: 40;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}

.fab-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transform-origin: bottom right;
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.fab-menu.is-open .fab-actions {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.fab-action {
  border: 1px solid rgba(42, 20, 23, 0.24);
  border-radius: 999px;
  padding: 0.56rem 0.92rem;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(41, 13, 17, 0.2);
}

.fab-order {
  color: var(--text-light);
  border-color: transparent;
  background: linear-gradient(125deg, #ab131d 0%, #8e0f17 100%);
}

.fab-top {
  color: var(--bg-deep);
  background: rgba(255, 248, 231, 0.95);
}

.fab-action.is-disabled {
  pointer-events: none;
  opacity: 0.55;
}

.fab-toggle {
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid rgba(42, 20, 23, 0.25);
  border-radius: 50%;
  background: linear-gradient(125deg, #ab131d 0%, #8e0f17 100%);
  color: var(--text-light);
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(142, 15, 23, 0.36);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.fab-toggle:hover,
.fab-toggle:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(142, 15, 23, 0.42);
}

.fab-menu.is-open .fab-toggle {
  transform: rotate(45deg);
}

.menu-tabs {
  padding: 0 clamp(1rem, 6vw, 6.4rem) clamp(1.2rem, 4vw, 3rem);
}

.menu-tools {
  margin-top: 0.85rem;
  margin-bottom: 0.35rem;
  border: 1px solid rgba(42, 20, 23, 0.16);
  border-radius: 1rem;
  background: rgba(255, 248, 236, 0.72);
  padding: 0.75rem;
}

.menu-search-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.menu-search {
  width: 100%;
  border: 1px solid rgba(42, 20, 23, 0.22);
  border-radius: 0.7rem;
  padding: 0.56rem 0.72rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.72);
}

.menu-tabs.global-search-active .menu-panel {
  display: block;
  animation: none;
}

.menu-tabs.global-search-active .menu-panel.is-hidden {
  display: none;
}

.menu-tab-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  overflow-x: auto;
  padding-bottom: 0.45rem;
  scrollbar-width: thin;
}

.menu-pdf-btn,
.menu-tab {
  flex: 0 0 auto;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid rgba(42, 20, 23, 0.24);
  padding: 0.65rem 1rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-pdf-btn {
  color: var(--text-light);
  background: linear-gradient(125deg, #4a3118 0%, #2a1417 100%);
}

.menu-pdf-btn.is-disabled {
  pointer-events: none;
  opacity: 0.55;
}

.menu-tab {
  color: var(--bg-deep);
  background: rgba(255, 248, 231, 0.8);
  cursor: pointer;
}

.menu-tab:hover,
.menu-tab:focus-visible,
.menu-pdf-btn:hover,
.menu-pdf-btn:focus-visible {
  transform: translateY(-1px);
}

.menu-tab.is-active {
  color: var(--text-light);
  border-color: transparent;
  background: linear-gradient(125deg, #ab131d 0%, #8e0f17 100%);
  box-shadow: 0 10px 26px rgba(142, 15, 23, 0.28);
}

.menu-panel {
  display: none;
  margin-top: 1rem;
  border-radius: 1rem;
  background: var(--card-soft);
  backdrop-filter: blur(3px);
  padding: 1rem 1.1rem;
  border: 1px solid rgba(42, 20, 23, 0.16);
  box-shadow: 0 8px 22px rgba(57, 19, 26, 0.12);
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

.menu-panel.is-active {
  display: block;
  animation: panel-in 0.35s ease;
}

.menu-panel h3 {
  margin: 0;
  font-size: 1.35rem;
}

.menu-panel p {
  margin-bottom: 0;
  line-height: 1.5;
}

.menu-group + .menu-group {
  margin-top: 1rem;
}

.menu-group h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: rgba(42, 20, 23, 0.92);
}

.dish-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dish-item {
  padding: 0.58rem 0;
}

.dish-item + .dish-item {
  border-top: 1px dashed rgba(42, 20, 23, 0.18);
}

.dish-item.is-hidden,
.menu-group.is-hidden {
  display: none;
}

.dish-line {
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  align-items: baseline;
}

.dish-name {
  font-weight: 600;
  line-height: 1.35;
}

.dish-price {
  flex: 0 0 auto;
  white-space: nowrap;
  font-weight: 800;
  color: #8e0f17;
}

.dish-desc {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: rgba(40, 23, 26, 0.75);
}

.menu-note {
  margin: 0.6rem 0 0;
  font-size: 0.88rem;
  color: rgba(40, 23, 26, 0.7);
}

.menu-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.menu-empty {
  margin: 0.6rem 0 0;
  color: rgba(40, 23, 26, 0.72);
  font-size: 0.9rem;
}

.menu-empty-global {
  margin-top: 0.55rem;
}

.allergen-section {
  position: relative;
  z-index: 1;
  margin: 0 clamp(1rem, 6vw, 6.4rem) 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(42, 20, 23, 0.16);
  border-radius: 1rem;
  background: rgba(255, 248, 236, 0.72);
}

.allergen-section h2,
.allergen-section h3 {
  margin: 0;
}

.allergen-section h3 {
  margin-top: 0.75rem;
  font-size: 1rem;
}

.allergen-section p {
  margin: 0.5rem 0 0;
  line-height: 1.5;
}

.allergen-grid {
  margin-top: 0.55rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
}

.allergen-grid span {
  border: 1px solid rgba(42, 20, 23, 0.18);
  border-radius: 0.6rem;
  padding: 0.32rem 0.5rem;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.55);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  padding: 0 1rem 1.2rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(31, 29, 26, 0.8);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.8s cubic-bezier(0.24, 0.86, 0.3, 1) forwards;
}

.delay-1 {
  animation-delay: 0.16s;
}

.delay-2 {
  animation-delay: 0.32s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .brand-bar {
    padding-top: 0.8rem;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 1rem;
  }

  .menu-tabs {
    margin-top: 0.6rem;
  }

  .menu-columns {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .allergen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dish-line {
    flex-wrap: wrap;
  }

  .fab-menu {
    display: flex;
  }

  .fab-action {
    padding: 0.56rem 0.86rem;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}