:root {
  --ink: #1b1917;
  --muted: #706d68;
  --line: #dedbd5;
  --paper: #f6f5f2;
  --white: #ffffff;
  --accent: #a17b53;
  --accent-dark: #725334;
  --green: #785b3d;
  --shadow: 0 16px 50px rgba(20, 25, 22, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; letter-spacing: 0; }
button, input, textarea, select { font: inherit; letter-spacing: 0; }
button, label { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.hero { position: relative; height: clamp(340px, 38vh, 460px); color: white; overflow: hidden; }
.hero-carousel { position: absolute; inset: 0; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 56%; opacity: 0; transition: opacity .7s ease; }
.hero-image.active { opacity: 1; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 18, 14, .52) 0%, rgba(12, 18, 14, .08) 42%, rgba(12, 18, 14, .67) 100%); }
.brand-row { position: relative; z-index: 1; width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding-top: 20px; display: flex; align-items: flex-start; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: white; text-decoration: none; }
.brand img { width: 82px; height: 70px; padding: 5px 7px; border-top: 2px solid var(--accent); background: white; object-fit: contain; box-shadow: 0 8px 28px rgba(15,14,12,.16); }
.brand span.with-logo, .brand span.with-logo + small { display: none; }
.brand span { font-family: SimSun, serif; font-size: 29px; letter-spacing: 6px; }
.brand small { border-left: 1px solid rgba(255,255,255,.5); padding-left: 12px; font-size: 9px; letter-spacing: 3px; line-height: 1.5; }
.project-tag { font-size: 13px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.65); }
.hero-copy { position: absolute; left: 50%; bottom: 62px; width: min(1120px, calc(100% - 48px)); transform: translateX(-50%); z-index: 1; }
.eyebrow { margin: 0 0 8px; font-size: 10px; letter-spacing: 3px; font-weight: 700; }
.hero-copy h1 { margin: 0 0 10px; max-width: 780px; font-family: SimSun, serif; font-size: clamp(38px, 5vw, 60px); line-height: 1.05; font-weight: 400; letter-spacing: 2px; }
.hero-copy > p:last-child { margin: 0; font-size: 14px; letter-spacing: 2px; }
.hero-meta { position: absolute; z-index: 1; left: 50%; bottom: 16px; width: min(1120px, calc(100% - 48px)); transform: translateX(-50%); padding-top: 10px; border-top: 1px solid rgba(255,255,255,.45); display: flex; justify-content: space-between; font-size: 11px; }
.carousel-dots { position: absolute; z-index: 2; right: max(24px, calc((100% - 1120px) / 2)); bottom: 45px; display: flex; gap: 7px; }
.carousel-dots button { width: 20px; height: 3px; border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: .2s ease; }
.carousel-dots button.active { width: 34px; background: white; }

.booking-shell { width: min(1000px, calc(100% - 40px)); margin: -1px auto 0; padding: 70px 0 80px; }
.intro-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 44px; padding-bottom: 25px; border-bottom: 1px solid #c9cbc4; }
.intro-row > div { display: flex; align-items: baseline; gap: 17px; }
.section-index { font-family: Georgia, serif; color: var(--accent); font-size: 16px; }
.intro-row h2 { margin: 0; font-family: SimSun, serif; font-weight: 400; font-size: 32px; }
.intro-row > p { margin: 0; color: var(--muted); font-size: 13px; }
form { display: grid; gap: 34px; }
.dynamic-form { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; }
.dynamic-form > * { min-width: 0; }
.dynamic-field.full { grid-column: 1 / -1; }
.dynamic-field.half { grid-column: span 1; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend, .field > span { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 700; }
.field em { color: var(--accent); font-style: normal; }
.field small { color: #969b94; font-size: 11px; font-weight: 400; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--white); }
.segmented label { position: relative; cursor: pointer; }
.segmented label + label { border-left: 1px solid var(--line); }
.segmented input, .date-strip input, .time-grid input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: grid; min-height: 52px; place-items: center; transition: .2s ease; }
.segmented input:checked + span { color: white; background: var(--green); }
.date-strip { display: grid; grid-template-columns: repeat(7, minmax(92px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.date-strip label { position: relative; cursor: pointer; }
.date-strip span { min-height: 79px; border: 1px solid var(--line); background: white; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: .2s ease; }
.date-strip small { color: var(--muted); font-size: 11px; margin-bottom: 7px; }
.date-strip strong { font-family: Georgia, serif; font-size: 17px; }
.date-strip input:checked + span { color: white; border-color: var(--accent); background: var(--accent); }
.date-strip input:checked + span small { color: rgba(255,255,255,.8); }
.time-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.time-grid label { position: relative; cursor: pointer; }
.time-grid span { display: grid; place-items: center; min-height: 48px; border: 1px solid var(--line); background: white; font-family: Georgia, serif; transition: .2s ease; }
.time-grid input:checked + span { color: white; border-color: var(--accent); background: var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1px solid #bfc2bb; border-radius: 0; outline: none; padding: 12px 0 13px; color: var(--ink); background: transparent; resize: vertical; }
.field select { width: 100%; height: 49px; border: 0; border-bottom: 1px solid #bfc2bb; border-radius: 0; outline: none; color: var(--ink); background: transparent; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: #a5aaa3; }
.party-field { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #bfc2bb; }
.party-field > span { margin: 0; }
.stepper { display: grid; grid-template-columns: 40px 44px 40px; align-items: center; height: 51px; }
.stepper button { width: 30px; height: 30px; border: 1px solid var(--line); color: var(--ink); background: white; cursor: pointer; }
.stepper button:disabled { color: #c8cbc6; background: transparent; }
.stepper output { text-align: center; font-family: Georgia, serif; font-weight: 700; }
.consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 12px; line-height: 1.6; cursor: pointer; }
.consent input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--accent); }
.primary-button { width: 100%; min-height: 58px; border: 0; padding: 0 22px; color: white; background: var(--ink); display: flex; align-items: center; justify-content: center; gap: 18px; font-weight: 700; cursor: pointer; transition: .2s ease; }
.primary-button:hover { background: var(--accent-dark); }
.primary-button:disabled { opacity: .65; cursor: wait; }
.primary-button b { font-size: 20px; font-weight: 400; }
.form-error { min-height: 20px; margin: -20px 0 0; color: #b02d1d; text-align: center; font-size: 13px; }
.site-footer { padding: 35px 24px; color: #e4ded6; background: var(--ink); text-align: center; border-top: 3px solid var(--accent); }
.site-footer span { font-family: SimSun, serif; font-size: 21px; letter-spacing: 6px; }
.site-footer p { margin: 13px 0 18px; color: #9fa7a1; font-size: 12px; }
.site-footer a { color: #9fa7a1; font-size: 11px; text-decoration: none; }

.success-dialog { width: min(440px, calc(100% - 32px)); border: 0; padding: 42px 38px 34px; box-shadow: var(--shadow); text-align: center; }
.success-dialog::backdrop { background: rgba(18, 24, 20, .72); backdrop-filter: blur(4px); }
.success-mark { width: 52px; height: 52px; margin: 0 auto 24px; border: 1px solid var(--green); border-radius: 50%; display: grid; place-items: center; color: var(--green); font-size: 24px; }
.success-dialog .eyebrow { color: var(--accent); letter-spacing: 2px; }
.success-dialog h2 { margin: 0 0 13px; font-family: SimSun, serif; font-size: 30px; font-weight: 400; }
.success-dialog > p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.7; }
.reservation-card { margin: 25px 0; padding: 18px 20px; background: var(--paper); display: grid; grid-template-columns: 1fr 1.5fr; gap: 12px; text-align: left; font-size: 13px; }
.reservation-card span { color: var(--muted); }
.reservation-card strong { text-align: right; }

@media (max-width: 700px) {
  .hero { height: clamp(300px, 35vh, 340px); }
  .hero-image { object-position: 58% center; }
  .brand-row { width: calc(100% - 36px); padding-top: 14px; }
  .brand span { font-size: 24px; }
  .brand img { width: 66px; height: 58px; padding: 4px 5px; }
  .project-tag { padding: 6px 9px; font-size: 10px; }
  .hero-copy { bottom: 54px; width: calc(100% - 36px); }
  .hero-copy .eyebrow { margin-bottom: 5px; font-size: 8px; letter-spacing: 2px; }
  .hero-copy h1 { margin-bottom: 7px; font-size: 30px; line-height: 1.1; }
  .hero-copy > p:last-child { font-size: 10px; letter-spacing: 1px; }
  .hero-meta { width: calc(100% - 36px); bottom: 11px; padding-top: 8px; font-size: 9px; }
  .carousel-dots { right: 18px; bottom: 38px; }
  .booking-shell { width: 100%; margin: 0; padding: 40px max(20px, env(safe-area-inset-right)) 54px max(20px, env(safe-area-inset-left)); }
  .intro-row { align-items: flex-start; margin-bottom: 30px; padding-bottom: 20px; }
  .intro-row > div { gap: 12px; }
  .intro-row h2 { font-size: 25px; }
  .intro-row > p { display: none; }
  form { gap: 28px; }
  .dynamic-form { grid-template-columns: 1fr; gap: 27px; }
  .dynamic-field.half { grid-column: 1 / -1; }
  legend, .field > span { margin-bottom: 11px; font-size: 14px; }
  .segmented span { min-height: 50px; padding: 0 8px; text-align: center; }
  .date-strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 4); gap: 8px; width: 100%; overflow-x: auto; padding: 0 0 7px; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-inline: contain; }
  .date-strip::-webkit-scrollbar { display: none; }
  .date-strip label { scroll-snap-align: start; }
  .date-strip span { min-height: 72px; }
  .date-strip small { margin-bottom: 5px; }
  .date-strip strong { font-size: 16px; }
  .time-grid { grid-template-columns: repeat(3, 1fr); }
  .time-grid span { min-height: 46px; }
  .field input, .field textarea { min-height: 48px; padding: 12px 0; font-size: 16px; }
  .field textarea { min-height: 92px; }
  .field select { height: 48px; font-size: 16px; }
  .party-field { min-height: 54px; }
  .field-row { grid-template-columns: 1fr; gap: 29px; }
  .consent { font-size: 12px; }
  .primary-button { min-height: 54px; }
  .success-dialog { padding: 36px 24px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
