:root {
  --cream: #f6f0e4;
  --cream-deep: #ede3d2;
  --paper: #fbf7ef;
  --paper-bright: #fffdf8;
  --ink: #34251c;
  --ink-soft: #5e4c3e;
  --muted: #786554;
  --green: #1c3128;
  --green-soft: #27443a;
  --copper: #8f4a26;
  --copper-mid: #b06a3b;
  --copper-bright: #d9a06b;
  --line: #d8cbb6;
  --line-soft: #e4d8c6;
  --danger: #9b3328;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --shadow-card: 0 24px 60px -34px rgba(52, 37, 28, 0.4);
  --radius: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}

ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

[hidden] {
  display: none !important;
}

::selection {
  background: #e6c8a5;
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

.on-dark :focus-visible {
  outline-color: #f4e6d2;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-160%);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--paper-bright);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 30px -16px rgba(0, 0, 0, 0.5);
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 240, 228, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(216, 203, 182, 0.55);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 14px 32px -28px rgba(52, 37, 28, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.15;
  color: var(--ink);
}

.brand-sub {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  letter-spacing: 0.26em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
}

.nav .nav__cta {
  margin-left: 6px;
  padding: 10px 20px;
  background: var(--green);
  color: var(--cream);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.nav .nav__cta:hover {
  background: var(--green-soft);
  color: #fff;
}

/* Shared type */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--copper);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  line-height: 1.5;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  flex: none;
  background: currentColor;
  opacity: 0.65;
}

.eyebrow__latin::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.55;
}

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin: 0;
}

.section {
  padding-block: clamp(60px, 8.5vw, 104px);
  scroll-margin-top: 92px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.section-head__aside {
  max-width: 370px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.section-head__aside .demo-tag {
  margin: 0 8px 4px 0;
}

.demo-tag {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid #dfcaa8;
  border-radius: 4px;
  background: #f2e3cd;
  color: #7c4423;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.6;
  vertical-align: middle;
  white-space: nowrap;
}

.muted {
  color: var(--muted);
  font-size: 0.92em;
  font-weight: 400;
}

.required {
  color: var(--copper-mid);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn--copper {
  background: #ce9666;
  color: #1b2e25;
}

.btn--copper:hover {
  background: #deae82;
}

.btn--ghost {
  border-color: rgba(246, 240, 228, 0.38);
  color: var(--cream);
}

.btn--ghost:hover {
  background: rgba(246, 240, 228, 0.09);
  border-color: rgba(246, 240, 228, 0.68);
}

.btn--primary {
  background: var(--green);
  color: var(--cream);
}

.btn--primary:hover {
  background: var(--green-soft);
}

.btn--ghost-dark {
  border-color: #cbb99f;
  color: var(--ink-soft);
  background: transparent;
}

.btn--ghost-dark:hover {
  background: #f2e9da;
  color: var(--ink);
}

.btn--wide {
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
}

/* Hero */

.hero {
  padding: 22px clamp(16px, 3vw, 28px) 0;
}

.hero__frame {
  position: relative;
  max-width: 1280px;
  margin-inline: auto;
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
  border-radius: 32px;
  background: var(--green);
  color: var(--cream);
  overflow: hidden;
}

.hero__frame::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 132, 82, 0.22), rgba(28, 49, 40, 0) 66%);
  pointer-events: none;
}

.hero__frame::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(217, 160, 107, 0.14);
  pointer-events: none;
}

.hero__copy {
  position: relative;
  z-index: 1;
  max-width: 580px;
}

.on-dark .eyebrow {
  color: var(--copper-bright);
}

.hero h1 {
  margin: 0;
  color: #f8f2e6;
  font-size: clamp(2.35rem, 4.3vw, 4rem);
  line-height: 1.24;
  letter-spacing: 0.015em;
}

.hero h1 .accent {
  color: var(--copper-bright);
}

.hero__lede {
  max-width: 36em;
  margin: 22px 0 0;
  color: #ddd2c1;
  font-size: 15.5px;
  line-height: 1.95;
}

.hero__hours {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: 24px;
  color: #ddd2c1;
  font-size: 13.5px;
}

.hero__hours strong {
  color: #f8f2e6;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.on-dark .demo-tag {
  border-color: rgba(217, 160, 107, 0.36);
  background: rgba(217, 160, 107, 0.13);
  color: #efc79d;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__note {
  margin-top: 22px;
  color: rgba(246, 240, 228, 0.6);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  line-height: 1.8;
}

.hero__media {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
}

.hero__arch {
  position: relative;
  aspect-ratio: 4 / 4.72;
  overflow: hidden;
  border: 1px solid rgba(217, 160, 107, 0.34);
  border-radius: 260px 260px 22px 22px;
  background: var(--green-soft);
  box-shadow: 0 44px 90px -44px rgba(0, 0, 0, 0.75);
}

.hero__arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__arch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 49, 40, 0) 58%, rgba(20, 35, 27, 0.4));
  pointer-events: none;
}

.hero__badge {
  position: absolute;
  left: -18px;
  bottom: 28px;
  padding: 14px 18px;
  border: 1px solid rgba(143, 74, 38, 0.22);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1.45;
  box-shadow: 0 22px 44px -24px rgba(0, 0, 0, 0.55);
}

.hero__badge span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
}

/* Story */

.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.story__lead .section-title {
  font-size: clamp(2rem, 3.9vw, 3.2rem);
  line-height: 1.35;
}

.story__list {
  border-top: 1px solid var(--line);
}

.story__list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.story__index {
  padding-top: 8px;
  color: var(--copper);
  font-family: var(--serif);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.story__list h3 {
  font-size: 1.45rem;
  line-height: 1.4;
}

.story__list p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.9;
}

/* Menu */

.menu {
  padding-top: 0;
}

.tabs {
  position: sticky;
  top: 84px;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 28px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(246, 240, 228, 0.95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 32px -30px rgba(52, 37, 28, 0.55);
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease;
}

.tab__count {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  opacity: 0.75;
}

.tab[aria-selected="true"] .tab__count {
  color: rgba(246, 240, 228, 0.7);
  opacity: 1;
}

.tab:hover {
  background: rgba(28, 49, 40, 0.07);
  color: var(--ink);
}

.tab[aria-selected="true"] {
  background: var(--green);
  color: var(--cream);
}

.menu-panel {
  border-radius: 12px;
  scroll-margin-top: 150px;
}

.menu-panel:focus-visible {
  outline-offset: 8px;
}

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

.menu-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.menu-panel__desc {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.menu-panel__count {
  flex: none;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.7;
}

.menu-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.2vw, 26px);
}

@media (min-width: 761px) {
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 大屏三列：52 道菜按两列排会把页面拉得很长，
   三列 + 4:3 裁切，同一屏能看六道，黑底照片的压迫感也小一些 */
@media (min-width: 1200px) {
  .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
}

.dish {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border: 1px solid rgba(216, 203, 182, 0.9);
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.dish:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.dish:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 74, 38, 0.34);
  box-shadow: var(--shadow-card);
}

.dish__media {
  position: relative;
  /* 原图是 1000×469（约 2.13:1）的横构图。容器用 16:9 时左右只裁掉约 8%，
     盘子两端都在画面里；用 4:3 要裁掉近 38%，盘沿会被切掉。
     所以这里跟着素材走，不为了卡片好看去裁菜。 */
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--green);
}

/* 菜品图是品牌方的深色棚拍：压一点黑、往暖里推，和米色纸面对得上；
   再用一圈极细的铜色内描边把它"扣"在卡片里，不然黑块像贴上去的 */
.dish__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(143, 74, 38, 0.16),
    inset 0 -34px 44px -28px rgba(28, 49, 40, 0.35);
}

.dish__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.97) contrast(1.02) brightness(1.05);
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.dish:hover .dish__media img {
  transform: scale(1.04);
}

.dish__tag {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(24, 41, 33, 0.78);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #f3ead9;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  line-height: 1.5;
}

.dish__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 24px;
}

.dish__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.dish__top h3 {
  font-size: 1.22rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.dish__price {
  flex: none;
  padding-top: 2px;
  color: var(--copper);
  font-family: var(--serif);
  font-size: 1.06rem;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.dish__price small {
  margin-left: 3px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.dish__desc {
  flex: 1;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.85;
}

.dish__method {
  margin-top: auto;
  padding-top: 4px;
}

.dish__method span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid #dfd1bc;
  border-radius: 999px;
  background: #f4ecde;
  color: #6b5745;
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.dish__method span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--copper-mid);
}

@media (min-width: 1200px) {
  .menu-grid > .dish:last-child:nth-child(odd) { grid-column: auto; flex-direction: column; }
  /* 只放开宽度，比例跟着全局的 16:9 走 —— 否则最后一张会比同排的高一截 */
  .menu-grid > .dish:last-child:nth-child(odd) .dish__media { width: auto; }
  .menu-grid > .dish:last-child:nth-child(odd) .dish__body { padding: 18px 18px 20px; gap: 10px; }
  .menu-grid > .dish:last-child:nth-child(odd) .dish__desc { flex: 1; }
}

@media (min-width: 761px) and (max-width: 1199px) {
  .menu-grid > .dish:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    flex-direction: row;
  }

  .menu-grid > .dish:last-child:nth-child(odd) .dish__media {
    width: 46%;
    flex: none;
    aspect-ratio: 16 / 10;
  }

  .menu-grid > .dish:last-child:nth-child(odd) .dish__body {
    justify-content: center;
    gap: 12px;
    padding: 28px 34px;
  }

  .menu-grid > .dish:last-child:nth-child(odd) .dish__desc {
    flex: none;
  }

  .menu-grid > .dish:last-child:nth-child(odd) .dish__method {
    margin-top: 2px;
  }
}

/* Reservation */

.reserve {
  border-block: 1px solid #e2d5c0;
  background: linear-gradient(180deg, #ede3d2 0%, #f1e8d9 100%);
}

.reserve__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}

.reserve__lede {
  max-width: 32em;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.95;
}

.reserve__steps {
  display: grid;
  gap: 13px;
  margin: 28px 0 26px;
}

.reserve__steps li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: var(--ink-soft);
  font-size: 14px;
}

.reserve__num {
  flex: none;
  width: 22px;
  color: var(--copper);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.reserve__note {
  max-width: 33em;
  padding: 3px 0 3px 16px;
  border-left: 2px solid var(--copper-mid);
  color: #6d5b4b;
  font-size: 12.5px;
  line-height: 1.9;
}

.reserve__card {
  padding: clamp(22px, 3.4vw, 38px);
  border: 1px solid rgba(216, 203, 182, 0.95);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 34px 60px -44px rgba(52, 37, 28, 0.55);
}

.form-head h3 {
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  line-height: 1.4;
}

.form-head p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}

#reservation-form {
  margin-top: 24px;
}

.form-head + .field-row {
  margin-top: 0;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
  min-width: 0;
}

.field label,
.field legend {
  padding: 0;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.field input,
.field select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #d3c4ae;
  border-radius: 10px;
  background: var(--paper-bright);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.field input[type="date"] {
  display: block;
  min-width: 0;
  max-width: 100%;
}

.field input[type="date"]::-webkit-date-and-time-value {
  min-width: 0;
  text-align: left;
}

.field input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.6;
}

.field input::placeholder {
  color: #9b8a78;
}

.field input:hover,
.field select:hover {
  border-color: #bfa78a;
}

.field input:focus-visible,
.field select:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 1px;
  border-color: var(--copper);
  box-shadow: 0 0 0 4px rgba(143, 74, 38, 0.1);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: #b0453a;
  background: #fdf6f3;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23786554' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
}

.field-error {
  color: var(--danger);
  font-size: 12px;
  line-height: 1.6;
}

.field-error:empty {
  display: none;
}

.field--slots {
  margin-bottom: 18px;
  padding: 0;
  border: 0;
}

.field--slots legend {
  margin-bottom: 8px;
}

.legend-note {
  margin-left: 6px;
  color: #786554;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.slots-hint {
  margin: 2px 0 12px;
  color: #7a6756;
  font-size: 12.5px;
  line-height: 1.6;
}

.slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.slots__period {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0 0;
  color: #6f5c49;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  line-height: 1.6;
}

.slots__period:first-child {
  margin-top: 0;
}

.slots__period::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}

.slot {
  position: relative;
  display: block;
}

.slot input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.slot-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 54px;
  padding: 4px 6px;
  border: 1px solid #d3c4ae;
  border-radius: 10px;
  background: var(--paper-bright);
  color: var(--ink);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1.4;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.slot:hover input:not(:disabled) + .slot-chip {
  border-color: #b58b68;
  background: #fff8ee;
}

.slot input:checked + .slot-chip {
  border-color: var(--green);
  background: var(--green);
  color: var(--cream);
}

.slot input:focus-visible + .slot-chip {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

.slot input:disabled {
  cursor: not-allowed;
}

.slot input:disabled + .slot-chip {
  border-color: #ded2c0;
  background: #eee6d8;
  color: #6a5c4d;
}

.slot input:disabled + .slot-chip .slot-time {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.slot-state {
  color: #6f5138;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.field-note {
  margin-top: 10px;
  color: #7e6b59;
  font-size: 11.5px;
  line-height: 1.7;
}

.form-footnote {
  margin-top: 12px;
  color: #7e6b59;
  font-size: 11.5px;
  line-height: 1.8;
  text-align: center;
}

/* Summary */

.summary {
  margin-top: 22px;
}

.summary__badge {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid #dfcaa8;
  border-radius: 999px;
  background: #f2e3cd;
  color: #7c4423;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.7;
}

.summary h3 {
  margin: 12px 0 8px;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  line-height: 1.4;
  outline: none;
}

.summary__lede {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.85;
}

.summary__list {
  margin: 20px 0;
  border-top: 1px solid var(--line-soft);
}

.summary__list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.summary__list dt {
  flex: none;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

.summary__list dd {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  text-align: right;
  line-height: 1.6;
}

.summary__note {
  padding: 14px 16px;
  border: 1px dashed #d5c3a8;
  border-radius: 12px;
  background: #f3eadb;
  color: #5e4c3e;
  font-size: 12.5px;
  line-height: 1.85;
}

.summary__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* Visit */

.visit {
  padding-bottom: clamp(70px, 9vw, 120px);
}

.visit__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(22px, 3.4vw, 40px);
  align-items: stretch;
}

.visit__figure {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green);
}

.visit__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visit__figure figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 30px 20px 16px;
  background: linear-gradient(180deg, rgba(20, 35, 27, 0), rgba(20, 35, 27, 0.78));
  color: #f1e8d8;
  font-size: 11.5px;
  letter-spacing: 0.06em;
}

.visit__info {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid rgba(216, 203, 182, 0.95);
  border-radius: var(--radius);
  background: var(--paper);
}

.visit__info dl > div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-soft);
}

.visit__info dl > div:first-child {
  padding-top: 0;
}

.visit__info dl > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.visit__info dt {
  padding-top: 2px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.visit__info dd {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.85;
}

.visit__info .demo-tag {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  margin-left: 4px;
}

.visit__note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.8;
}

.visit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.visit__phone {
  color: var(--green);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid rgba(28, 49, 40, 0.32);
  padding-bottom: 1px;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.visit__phone:hover {
  color: var(--green-soft);
  border-bottom-color: var(--green-soft);
}

.visit__dot {
  margin: 0 10px;
  color: var(--copper-mid);
}

/* Footer */

.footer {
  padding: 56px 0 28px;
  background: var(--green);
  color: #e8dece;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer__name {
  color: #f6f0e4;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.footer__tagline {
  margin-top: 6px;
  color: rgba(232, 222, 206, 0.7);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.footer__nav a {
  padding: 4px 0;
  color: #e8dece;
  font-size: 13.5px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer__nav a:hover {
  color: #fff;
  border-bottom-color: rgba(217, 160, 107, 0.7);
}

.footer__disclaimer {
  max-width: 76ch;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(232, 222, 206, 0.16);
  color: rgba(232, 222, 206, 0.66);
  font-size: 12px;
  line-height: 1.95;
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 18px;
  color: rgba(232, 222, 206, 0.7);
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* Motion */

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__copy > * {
  animation: rise-in 0.85s both cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero__copy > :nth-child(2) {
  animation-delay: 0.07s;
}

.hero__copy > :nth-child(3) {
  animation-delay: 0.14s;
}

.hero__copy > :nth-child(4) {
  animation-delay: 0.2s;
}

.hero__copy > :nth-child(5) {
  animation-delay: 0.25s;
}

.hero__copy > :nth-child(6) {
  animation-delay: 0.3s;
}

.hero__media {
  animation: rise-in 1s 0.16s both cubic-bezier(0.2, 0.7, 0.2, 1);
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */

@media (max-width: 1080px) {
  .hero__frame {
    padding: 44px;
    gap: 40px;
  }

  .hero__media {
    max-width: 440px;
  }

  .reserve__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 40px;
  }

  .visit__info dl > div {
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 14px;
  }
}

@media (max-width: 980px) {
  .hero__frame {
    grid-template-columns: minmax(0, 1fr);
    padding: 40px;
  }

  .hero__copy {
    max-width: 640px;
  }

  .hero__media {
    width: min(100%, 460px);
    margin: 8px auto 0;
  }

  .hero__badge {
    left: 14px;
    bottom: 18px;
  }

  .story__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .story__lead {
    max-width: 640px;
  }

  .reserve__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .reserve__intro {
    max-width: 640px;
  }

  .reserve__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .visit__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .visit__figure {
    min-height: 300px;
    max-height: 440px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 6px 16px;
    padding-block: 10px 8px;
    min-height: 0;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .nav a {
    padding: 8px 10px;
    font-size: 13.5px;
  }

  .nav .nav__cta {
    margin-left: 0;
    padding: 9px 16px;
  }

  .section {
    scroll-margin-top: 132px;
  }

  .hero {
    padding-top: 14px;
  }

  .hero__frame {
    padding: 30px 22px 34px;
    border-radius: 24px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 7.4vw, 2.8rem);
    line-height: 1.3;
  }

  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .eyebrow__latin {
    display: none;
  }

  .hero__lede {
    font-size: 14.5px;
    line-height: 1.9;
    margin-top: 18px;
  }

  .hero__hours {
    margin-top: 20px;
    font-size: 12.5px;
  }

  .hero__actions {
    margin-top: 24px;
  }

  .hero__badge {
    padding: 11px 14px;
    font-size: 13.5px;
  }

  .hero__arch {
    border-radius: 220px 220px 18px 18px;
  }

  .section-title {
    font-size: clamp(1.75rem, 6vw, 2.3rem);
  }

  .section-head {
    margin-bottom: 26px;
    gap: 16px;
  }

  .section-head__aside {
    max-width: none;
    font-size: 12.5px;
  }

  .section-head__aside .demo-tag {
    margin-bottom: 2px;
  }

  .menu {
    padding-top: 8px;
  }

  .tabs {
    top: 114px;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tab {
    flex: 0 0 auto;
    padding: 9px 12px;
    font-size: 13.5px;
    scroll-snap-align: center;
  }

  .tab__count {
    display: none;
  }

  .field input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    overflow: hidden;
  }

  .menu-panel {
    scroll-margin-top: 178px;
  }

  .menu-panel__head {
    margin-bottom: 16px;
  }

  .menu-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dish__body {
    padding: 18px 18px 20px;
  }

  .dish__top h3 {
    font-size: 1.18rem;
  }

  .dish:hover {
    transform: none;
  }

  .reserve {
    scroll-margin-top: 132px;
  }

  .reserve__card {
    padding: 22px;
    border-radius: 20px;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .reserve__steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .visit__figure {
    min-height: 240px;
    max-height: 340px;
  }

  .visit__info dl > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 14px 0;
  }

  .visit__info dd {
    font-size: 14px;
  }

  .footer {
    padding-top: 44px;
  }
}

@media (max-width: 480px) {
  .hero__frame {
    padding: 26px 18px 28px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-sub {
    font-size: 8px;
    letter-spacing: 0.2em;
  }

  .hero__arch {
    aspect-ratio: 4 / 4.5;
  }

  .slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .slot-chip {
    min-height: 52px;
    font-size: 13.5px;
  }

  .summary__actions {
    flex-direction: column;
  }

  .summary__actions .btn {
    width: 100%;
  }

  .visit__actions {
    flex-direction: column;
  }

  .visit__actions .btn {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .tabs {
    gap: 3px;
    padding: 4px;
  }

  .tab {
    padding: 8px 10px;
    font-size: 12.5px;
  }
}

/* 到店照片：融进页面（原型，配合真实门店照使用）
   不做硬边卡片：图片与右侧信息卡等高，右缘和下缘各用一小段渐变淡出到页面底色，
   像印在纸上；说明文字从压在图上的深色条改成图下的小字。 */
.visit__figure--blend {
  display: flex;
  flex-direction: column;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  min-height: 0;
}

.visit__figure--blend img {
  flex: 1;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 50% 46%;
  border-radius: 3px;
  filter: saturate(1.02) contrast(1.04) brightness(1.07);
  -webkit-mask-image:
    linear-gradient(to right, #000 95%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(to bottom, #000 92%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, #000 95%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(to bottom, #000 92%, rgba(0, 0, 0, 0) 100%);
  mask-composite: intersect;
}

.visit__figure--blend figcaption {
  position: static;
  flex: none;
  padding: 12px 2px 0;
  background: none;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.06em;
}

/* ============ 日期选择（自绘日历） ============
   原生 date 弹层改不了排版，换成和站点同一套纸色的日历：
   只画当月、过去的日期变灰、今天有圈、选中是墨绿实心。 */
.datefield { position: relative; }

.datefield__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #d3c4ae;
  border-radius: 10px;
  background: var(--paper-bright);
  color: var(--ink);
  font-family: var(--sans);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.datefield__btn:hover { border-color: #bfa78a; }

.datefield__btn:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 1px;
  border-color: var(--copper);
  box-shadow: 0 0 0 4px rgba(143, 74, 38, 0.1);
}

.datefield__btn[aria-invalid="true"] { border-color: #b0453a; background: #fdf6f3; }

.datefield__text { display: flex; align-items: baseline; gap: 9px; min-width: 0; }
.datefield__text b {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.datefield__text i { font-style: normal; font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }

.datefield__ic {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--copper);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}

.cal {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  width: 302px;
  max-width: calc(100vw - 28px);
  padding: 14px 14px 12px;
  border: 1px solid rgba(216, 203, 182, 0.95);
  border-radius: 16px;
  background: var(--paper-bright);
  box-shadow: 0 28px 50px -30px rgba(52, 37, 28, 0.5);
}
.cal[hidden] { display: none; }

.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal__title {
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.cal__nav {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.cal__nav:hover:not(:disabled) { background: var(--cream-deep); }
.cal__nav:disabled { opacity: 0.28; cursor: default; }

.cal__week { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 4px; }
.cal__week span {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }

.cal__day {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.cal__day:hover:not(:disabled):not(.is-selected) { background: var(--cream-deep); }
.cal__day.is-today { box-shadow: inset 0 0 0 1px rgba(176, 106, 59, 0.45); }
.cal__day.is-selected { background: var(--green); color: var(--cream); font-weight: 600; }
.cal__day:disabled { color: rgba(120, 101, 84, 0.32); cursor: default; }
.cal__day.is-empty { visibility: hidden; }

.cal__foot {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.cal__quick {
  flex: 1;
  padding: 7px 0;
  border: 1px solid rgba(216, 203, 182, 0.9);
  border-radius: 9px;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 12.5px;
  cursor: pointer;
}
.cal__quick:hover { background: var(--cream-deep); }

@media (max-width: 420px) {
  .cal { width: 100%; }
  .datefield__text b { font-size: 14.5px; }
}

/* ============ 菜品大图 ============ */
html.is-lb-open, html.is-lb-open body { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 30, 24, 0.74);
}

.lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: 92vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: auto;
  border-radius: 20px;
  background: var(--paper-bright);
  box-shadow: 0 40px 80px -40px rgba(10, 18, 14, 0.7);
}

.lightbox__stage { background: #11170f; }
.lightbox__stage img {
  display: block;
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.lightbox__body { padding: 18px 22px 24px; }
.lightbox__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.lightbox__head h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.4; }
.lightbox__price { flex: none; color: var(--copper); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.lightbox__desc { margin-top: 8px; color: var(--ink-soft); font-size: 14px; line-height: 1.85; }
.lightbox__method {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 12px;
  border: 1px solid rgba(176, 106, 59, 0.35);
  border-radius: 999px;
  color: var(--copper);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(18, 30, 24, 0.55);
  color: #f6f0e4;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(18, 30, 24, 0.78); }

@media (max-width: 640px) {
  .lightbox { padding: 12px; }
  .lightbox__panel { border-radius: 14px; max-height: 94vh; }
  .lightbox__stage img { max-height: 56vh; }
  .lightbox__body { padding: 14px 16px 18px; }
}

/* ============ 人数选择（自绘下拉，跟日期同一套） ============ */
.selectfield { position: relative; }

.selectfield__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #d3c4ae;
  border-radius: 10px;
  background: var(--paper-bright);
  color: var(--ink);
  font-family: var(--sans);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.selectfield__btn:hover { border-color: #bfa78a; }

.selectfield__btn:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 1px;
  border-color: var(--copper);
  box-shadow: 0 0 0 4px rgba(143, 74, 38, 0.1);
}

.selectfield__btn[aria-invalid="true"] { border-color: #b0453a; background: #fdf6f3; }

.selectfield__text { font-size: 15.5px; font-weight: 600; letter-spacing: 0.01em; }
.selectfield__text.is-empty { color: #9b8a78; font-weight: 400; font-size: 16px; }

.selectfield__ic {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--copper);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
  transition: transform 0.2s ease;
}
.selectfield__btn[aria-expanded="true"] .selectfield__ic { transform: rotate(180deg); }

.picker {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  padding: 6px;
  border: 1px solid rgba(216, 203, 182, 0.95);
  border-radius: 14px;
  background: var(--paper-bright);
  box-shadow: 0 28px 50px -30px rgba(52, 37, 28, 0.5);
  max-height: min(424px, 56vh);
  overflow: auto;
}
.picker[hidden] { display: none; }

.picker__opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.picker__opt:hover { background: var(--cream-deep); }
.picker__opt[aria-selected="true"] { background: var(--green); color: var(--cream); font-weight: 600; }
.picker__opt[aria-selected="true"]::after { content: "✓"; font-size: 13px; }

/* 实拍是竖构图：手机上不要压成一条横带，按 4:5 出图，图注跟在下面。
   这条必须放在 .visit__figure--blend 之后 —— 同权重，后写的才生效。 */
@media (max-width: 980px) {
  .visit__figure--blend { min-height: 0; max-height: none; }
  .visit__figure--blend img { flex: none; height: auto; aspect-ratio: 4 / 5; }
}

/* ============ 图片容器（WebP 多尺寸） ============
   <picture> 只是给 <source> 用的壳，本身不该参与布局：
   设成 display:contents，让 img 仍然是原来的那个盒子 ——
   否则它会变成一层额外的 flex/grid 子项，把等高、蒙版、宽高比全带偏。 */
.dish__media picture,
.hero__frame picture,
.visit__figure picture {
  display: contents;
}

/* ============ 备注 / 蜜罐 / 预订编号（2026-11-02 接上收单） ============ */

.field--note textarea {
  width: 100%;
  min-height: 74px;
  padding: 12px 14px;
  border: 1px solid #d3c4ae;
  border-radius: 10px;
  background: var(--paper-bright);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  resize: vertical;
}
.field--note textarea::placeholder { color: #9b8a78; }
.field--note textarea:hover { border-color: #bfa78a; }
.field--note textarea:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 1px;
  border-color: var(--copper);
  box-shadow: 0 0 0 4px rgba(143, 74, 38, 0.1);
}

/* 蜜罐：人看不见，脚本会填。不能用 display:none —— 有些脚本会跳过隐藏元素 */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 预订编号：客人到店要报的那串，给足视觉重量 */
.summary__code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #dfcaa8;
  border-radius: 12px;
  background: linear-gradient(180deg, #fdf7ec 0%, #f7ecda 100%);
}
.summary__code span {
  flex: none;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
}
.summary__code b {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--green);
}
.summary__note a { color: var(--copper); text-decoration: none; border-bottom: 1px solid rgba(143, 74, 38, 0.3); }

/* 提交按钮提交中的样子：别让客人以为没点上 */
#submit-btn[disabled] { opacity: 0.7; cursor: progress; }

/* 提交成功后的转发提示（微信里没法直接唤起转发，只能指个路） */
.summary__hint {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(28, 49, 40, 0.06);
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.8;
}
.summary__hint b { color: var(--ink); font-weight: 600; }

/* 成功卡片三个按钮：转发占一整行，另外两个并排，别把卡片拉太长 */
.summary__actions .btn { flex: 1 1 46%; }
.summary__actions .btn:first-child { flex: 1 1 100%; }

/* ============ 手机端预订表单（2026-11-04） ============
   手机上这段原来有两个硬伤：
   1) 进「预约」先看到三段步骤说明，表单被推到首屏之外；
   2) 表单要滑一屏半才看得到提交按钮。
   这里的处理：小屏收起步骤、提交按钮吸底、时段改用 5 列（11:30–13:00 正好一行）。 */
.form-submit { display: flex; flex-direction: column; gap: 8px; }

@media (max-width: 640px) {
  /* 步骤说明在手机上纯占地方：表单自己的标签已经说清楚了 */
  .reserve__steps { display: none; }

  /* 时段：5 列。午市 4 个占一行（右侧留空），晚市 5 个正好一行，不再出现 3+1 / 3+2 的参差 */
  .slots { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .slot-chip { min-height: 46px; font-size: 12.5px; padding: 3px 2px; border-radius: 9px; }
  .slot-state { font-size: 9.5px; }

  /* 提交按钮保持原位（不做 sticky）。
     试过吸底：它会一直钉在视口底部，把时段列表压掉一块；
     表单压缩后本身只有一屏出头，滑一下就到，不需要悬浮按钮。 */
  .form-submit { margin-top: 10px; }
}

/* 桌面端不需要吸底，脚注照旧跟在按钮下面 */
@media (min-width: 641px) {
  .form-submit .form-footnote { margin-top: 8px; }
}

/* 手机上把「预约」这段的顶部留白收一收：
   标题、导语、提示原来占掉半屏，客人点到预约后要滑一下才见表单。 */
@media (max-width: 640px) {
  .reserve__intro { padding-bottom: 4px; }
  .reserve__intro h2 { font-size: clamp(1.5rem, 7vw, 1.9rem); line-height: 1.35; }
  .reserve__lede { margin-top: 10px; font-size: 13.5px; line-height: 1.75; }
  .reserve__note { margin-top: 10px; padding-left: 10px; font-size: 11.5px; line-height: 1.7; }
}
