/* 王根家官网 · 现代东方 C 版 */
:root {
  --ivory: #f7f1e5;
  --paper: #fbf8f0;
  --red: #6f1016;
  --red-deep: #4d0b10;
  --red-soft: #8c2428;
  --gold: #c9a15a;
  --gold-light: #e1c489;
  --ink: #2b241c;
  --muted: #7d6d5b;
  --line: rgba(111, 16, 22, .18);
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  --MAX: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site-body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.site-body a { color: inherit; text-decoration: none; }
body.site-body img { display: block; max-width: 100%; }
body.site-body button { font: inherit; cursor: pointer; }
.site-shell { width: min(var(--MAX), calc(100% - 96px)); margin-inline: auto; }
.site-preview-badge {
  position: fixed; left: 50%; bottom: 18px; z-index: 99;
  transform: translateX(-50%);
  background: var(--red); color: #fff; border: 1px solid var(--gold-light);
  border-radius: 999px; padding: 8px 18px; font-size: 13px; letter-spacing: .04em;
  box-shadow: 0 12px 28px rgba(77, 11, 16, .22);
}
.site-preview-badge a { color: var(--gold-light); margin-left: 8px; }
.site-preview .mobile-cta { bottom: 70px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 241, 229, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.site-header-inner {
  min-height: 84px;
  display: flex; align-items: center; gap: 34px;
}
.site-brand { display: flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.site-brand img { width: 128px; height: auto; }
.site-brand-divider { width: 1px; height: 27px; background: var(--line); }
.site-brand-sub {
  color: var(--red);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .22em;
  white-space: nowrap;
}
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav a {
  position: relative; color: #4e4337; font-size: 14px; letter-spacing: .05em;
  padding: 8px 0; white-space: nowrap;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--red); transition: right .22s ease;
}
.site-nav a:hover { color: var(--red); }
.site-nav a:hover::after { right: 0; }
.site-header-actions { display: flex; align-items: center; gap: 20px; }
.site-book-link {
  color: var(--red); font-weight: 600; font-size: 14px; white-space: nowrap;
}
.site-book-link span { color: var(--gold); }
.site-admin-link {
  border-left: 1px solid var(--line); padding-left: 20px;
  color: var(--muted); font-size: 12px; white-space: nowrap;
}
.site-admin-link:hover { color: var(--red); }
.site-admin-short { display: none; }
.site-menu-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: transparent; border-radius: 50%; padding: 11px; margin-left: auto;
}
.site-menu-toggle span { display: block; height: 1px; background: var(--red); margin: 5px 0; }

/* hero */
.hero { padding: 74px 0 78px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -140px; top: 20px;
  width: 580px; height: 580px; border: 1px solid rgba(201, 161, 90, .28);
  border-radius: 50%; pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: 74px; align-items: center; position: relative;
}
.eyebrow {
  margin: 0 0 18px; color: var(--gold); font-size: 12px;
  letter-spacing: .2em; font-weight: 600;
}
.hero h1 {
  margin: 0; color: var(--red); font-family: var(--serif); font-weight: 500;
  font-size: clamp(58px, 7.2vw, 108px); line-height: 1.03; letter-spacing: .02em;
}
.hero h1 span { display: block; }
.hero h1 span + span { padding-left: 1.15em; }
.hero-subtitle {
  max-width: 440px; margin: 30px 0 0; color: #5f5346;
  font-size: 16px; line-height: 1.9;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin-top: 34px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 25px; border-radius: 2px;
  font-size: 14px; letter-spacing: .05em; transition: all .2s ease;
}
.button-solid { background: var(--red); color: #fff; border: 1px solid var(--red); }
.button-solid:hover { background: var(--red-deep); border-color: var(--red-deep); }
.button-line { color: var(--red); border: 1px solid rgba(111, 16, 22, .45); background: transparent; }
.button-line:hover { background: rgba(111, 16, 22, .05); }
.button-gold { background: var(--gold); color: var(--red-deep); border: 1px solid var(--gold); }
.button-gold:hover { background: var(--gold-light); }
.hero-note {
  display: flex; align-items: center; gap: 10px; margin: 30px 0 0;
  color: var(--muted); font-size: 12px; letter-spacing: .14em;
}
.hero-note span { display: inline-block; width: 28px; height: 1px; background: var(--gold); }
.hero-visual { position: relative; }
.hero-frame {
  position: relative; padding: 13px; border: 1px solid rgba(201, 161, 90, .75);
  background: var(--paper); box-shadow: 0 26px 60px rgba(77, 11, 16, .11);
}
.hero-frame::before {
  content: ""; position: absolute; inset: 5px; border: 1px solid rgba(111, 16, 22, .12);
  pointer-events: none;
}
.hero-frame img { width: 100%; aspect-ratio: 1.12 / 1; object-fit: cover; }
.hero-seal {
  position: absolute; right: -27px; bottom: 38px;
  width: 92px; height: 92px; border-radius: 50%; background: var(--red);
  color: var(--gold-light); font-size: 11px; line-height: 1.35; letter-spacing: .06em;
  display: grid; place-content: center; text-align: center;
  border: 1px solid var(--gold); box-shadow: 0 12px 28px rgba(77, 11, 16, .2);
}
.hero-seal strong { font-family: var(--serif); font-size: 23px; font-weight: 500; }
.hero-caption {
  margin: 18px 0 0; color: var(--muted); font-size: 11px;
  letter-spacing: .18em; text-align: right;
}

/* sections */
.section { padding: 92px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 30px;
  padding-bottom: 30px; border-bottom: 1px solid var(--line); margin-bottom: 34px;
}
.section h2 {
  margin: 0; color: var(--red); font-family: var(--serif);
  font-weight: 500; font-size: clamp(38px, 4.2vw, 60px); line-height: 1.25;
}
.section-side { display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.carousel-controls { display: flex; gap: 8px; }
.carousel-controls button {
  width: 39px; height: 39px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--red); transition: all .2s;
}
.carousel-controls button:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* dishes */
.dishes-section { background: var(--paper); }
.dish-carousel {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 2px 2px 20px; scrollbar-width: thin;
}
.dish-card {
  flex: 0 0 calc((100% - 72px) / 4); min-width: 245px; scroll-snap-align: start;
  background: var(--ivory); border: 1px solid rgba(201, 161, 90, .26);
  transition: transform .25s ease, box-shadow .25s ease;
}
.dish-card:hover { transform: translateY(-5px); box-shadow: 0 20px 35px rgba(77, 11, 16, .08); }
.dish-image { display: block; overflow: hidden; background: #e9dfd0; }
.dish-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.dish-card:hover .dish-image img { transform: scale(1.04); }
.dish-info { padding: 19px 20px 20px; }
.dish-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dish-title-row h3 { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink); }
.dish-price { color: var(--red); font-family: var(--serif); font-size: 21px; white-space: nowrap; }
.dish-info p { min-height: 45px; margin: 8px 0 14px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.dish-link { color: var(--red); font-size: 12px; letter-spacing: .04em; }
.dish-link span { color: var(--gold); }
.price-note { margin: 10px 0 0; color: var(--muted); font-size: 11px; text-align: right; }

/* gift */
.gift-section { background: var(--red); color: var(--ivory); position: relative; overflow: hidden; }
.gift-section::before {
  content: "王根家"; position: absolute; right: 2%; top: -30px;
  font-family: var(--serif); font-size: 280px; line-height: 1;
  color: rgba(247, 241, 229, .045); pointer-events: none; white-space: nowrap;
}
.gift-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; position: relative; }
.gift-copy .eyebrow { color: var(--gold-light); }
.gift-copy h2 { color: var(--ivory); font-size: clamp(38px, 4.5vw, 60px); }
.gift-copy > p:not(.eyebrow) { max-width: 380px; margin: 22px 0 30px; color: #d8c7b5; }
.gift-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gift-card { border: 1px solid rgba(225, 196, 137, .52); padding: 28px 25px; background: rgba(255, 255, 255, .04); }
.gift-card-dark { background: rgba(0, 0, 0, .14); }
.gift-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.gift-card-head span { font-family: var(--serif); font-size: 24px; color: var(--gold-light); }
.gift-card-head strong { color: var(--ivory); font-family: var(--serif); font-size: 26px; font-weight: 500; }
.gift-card p { min-height: 96px; margin: 16px 0 20px; color: #d8c7b5; font-size: 12px; line-height: 1.8; }
.gift-card a { color: var(--gold-light); font-size: 12px; }
.gift-card a span { margin-left: 5px; }

/* story */
.story-section { background: var(--ivory); }
.story-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 78px; align-items: center; }
.story-image { position: relative; }
.story-image img { width: 100%; aspect-ratio: 1.15 / 1; object-fit: cover; filter: saturate(.92) sepia(.04); }
.story-image::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid rgba(201, 161, 90, .55); pointer-events: none; }
.story-stamp {
  position: absolute; left: -20px; bottom: -18px; width: 84px; height: 84px;
  display: grid; place-content: center; text-align: center;
  background: var(--red); color: var(--gold-light); font-family: var(--serif);
  font-size: 14px; line-height: 1.35; transform: rotate(-7deg);
}
.story-copy h2 { margin: 0 0 25px; font-size: clamp(35px, 3.8vw, 54px); }
.story-copy > p:not(.eyebrow) { max-width: 480px; color: #66594b; font-size: 15px; line-height: 2; }
.story-sign { margin-top: 32px; color: var(--gold); font-family: var(--serif); font-size: 18px; letter-spacing: .04em; }

/* booking */
.booking-section { background: var(--paper); }
.booking-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.booking-step { min-height: 190px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.step-no { color: var(--gold); font-family: var(--serif); font-size: 13px; letter-spacing: .12em; }
.booking-step h3 { margin: 34px 0 10px; font-family: var(--serif); font-size: 25px; font-weight: 500; color: var(--red); }
.booking-step p { margin: 0; color: var(--muted); font-size: 13px; }
.booking-note { margin: 24px 0 0; color: var(--muted); font-size: 12px; text-align: right; }

/* visit */
.visit-section { background: var(--ivory); }
.visit-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: stretch; }
.visit-copy h2 { margin-bottom: 30px; }
.visit-list { display: grid; gap: 18px; }
.visit-list > div { display: grid; grid-template-columns: 62px 1fr; gap: 18px; padding-bottom: 15px; border-bottom: 1px dashed rgba(111, 16, 22, .18); }
.visit-list span { color: var(--gold); font-size: 12px; letter-spacing: .14em; padding-top: 2px; }
.visit-list p { margin: 0; color: #5d5043; font-size: 14px; line-height: 1.75; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.visit-map {
  position: relative; display: block; min-height: 390px; overflow: hidden;
  padding: 0; background: #e9dfd0; border: 1px solid rgba(201, 161, 90, .42);
  text-decoration: none;
}
.visit-map img {
  display: block; width: 100%; height: 100%; min-height: 390px;
  object-fit: cover; transition: transform .5s ease;
}
.visit-map:hover img { transform: scale(1.018); }
.visit-map::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(247, 241, 229, .28);
}

/* faq */
.faq-section { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq-head h2 { margin-bottom: 22px; font-size: clamp(34px, 3.8vw, 52px); }
.faq-head > p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.text-link { color: var(--red); font-family: var(--serif); font-size: 23px; border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.text-link span { color: var(--gold); font-size: 16px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 23px 0; color: var(--ink); cursor: pointer;
  font-family: var(--serif); font-size: 21px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { color: var(--gold); font-family: var(--sans); font-size: 22px; font-weight: 300; transition: transform .2s; }
.faq-item[open] summary span { transform: rotate(45deg); }
.faq-item p { margin: -4px 0 24px; color: #6d5e4e; font-size: 13px; line-height: 1.9; max-width: 620px; }

/* footer */
.site-footer { background: var(--red-deep); color: #d8c7b5; padding: 42px 0 26px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: start; }
.footer-inner strong { color: var(--ivory); font-family: var(--serif); font-size: 22px; font-weight: 500; }
.footer-inner p { margin: 5px 0 0; color: #bfae9d; font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; padding-top: 8px; }
.footer-links a { color: #d8c7b5; font-size: 12px; }
.footer-links a:hover { color: var(--gold-light); }
.footer-icp { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(225, 196, 137, .18); font-size: 11px !important; color: #9f8f7d !important; }
.footer-icp a { color: #bfae9d; }

/* mobile cta */
.mobile-cta { display: none; }

/* responsive */
@media (max-width: 1120px) {
  .site-shell { width: min(var(--MAX), calc(100% - 56px)); }
  .site-nav { gap: 18px; }
  .site-header-inner { gap: 22px; }
  .hero-grid { gap: 42px; }
  .dish-card { flex-basis: calc((100% - 48px) / 3); }
  .gift-grid, .story-grid, .visit-grid, .faq-grid { gap: 44px; }
}
@media (max-width: 900px) {
  .site-shell { width: calc(100% - 40px); }
  .site-header-inner { min-height: 70px; }
  .site-brand img { width: 104px; }
  .site-brand-sub { display: none; }
  .site-header-actions {
    gap: 10px; margin-left: auto;
  }
  .site-admin-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 34px; padding: 0 13px;
    border: 1px solid var(--line); border-left: 1px solid var(--line);
    border-radius: 999px; background: rgba(255,255,255,.38);
    color: var(--red); font-size: 12px; font-weight: 600; letter-spacing: .04em;
  }
  .site-admin-long { display: none; }
  .site-admin-short { display: inline; }
  .site-nav {
    display: none; position: absolute; left: 20px; right: 20px; top: 70px;
    background: var(--paper); border: 1px solid var(--line); padding: 14px 22px;
    box-shadow: 0 20px 38px rgba(77, 11, 16, .12);
  }
  .site-nav.is-open { display: grid; gap: 2px; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid rgba(111,16,22,.08); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-book-link { padding: 8px 12px; border: 1px solid var(--red); font-size: 12px; }
  .site-menu-toggle { display: block; margin-left: 10px; }
  .hero { padding: 44px 0 58px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero h1 { font-size: clamp(56px, 12vw, 86px); }
  .hero-subtitle { margin-top: 22px; }
  .hero-visual { max-width: 620px; }
  .hero-frame img { aspect-ratio: 1.18 / 1; }
  .hero-seal { right: -12px; bottom: 22px; width: 78px; height: 78px; }
  .hero-seal strong { font-size: 20px; }
  .section { padding: 64px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 14px; padding-bottom: 22px; margin-bottom: 24px; }
  .section-side { width: 100%; justify-content: space-between; }
  .dish-card { flex-basis: 78%; min-width: 265px; }
  .gift-grid, .story-grid, .visit-grid, .faq-grid { grid-template-columns: 1fr; }
  .gift-cards { margin-top: 8px; }
  .story-image { max-width: 620px; }
  .booking-grid { grid-template-columns: 1fr; }
  .booking-step { min-height: 0; }
  .booking-step h3 { margin-top: 20px; }
  .visit-map, .visit-map img { min-height: 300px; }
  .faq-grid { gap: 34px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { padding-top: 0; }
  .mobile-cta {
    display: grid; grid-template-columns: .75fr 1.25fr; position: fixed; z-index: 45;
    left: 0; right: 0; bottom: 0; background: var(--paper);
    border-top: 1px solid var(--line); padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    gap: 9px; box-shadow: 0 -12px 25px rgba(77, 11, 16, .08);
  }
  .mobile-cta a { min-height: 44px; display: grid; place-items: center; border: 1px solid var(--red); color: var(--red); font-size: 13px; }
  .mobile-cta .mobile-cta-main { background: var(--red); color: #fff; }
  body.site-body { padding-bottom: 74px; }
  .site-footer { padding-bottom: 24px; }
}
@media (max-width: 520px) {
  .site-shell { width: calc(100% - 30px); }
  .site-brand img { width: 94px; }
  .site-brand-divider { display: none; }
  .site-header-actions { gap: 8px; }
  .site-book-link { display: none; }
  .hero h1 { font-size: 54px; letter-spacing: 0; }
  .hero h1 span + span { padding-left: .7em; }
  .hero-actions { gap: 10px; }
  .button { min-height: 44px; padding: 0 18px; font-size: 13px; }
  .hero-note { margin-top: 22px; }
  .gift-cards { grid-template-columns: 1fr; }
  .gift-card p { min-height: 0; }
  .dish-card { flex-basis: 84%; }
  .dish-title-row h3 { font-size: 21px; }
  .visit-list > div { grid-template-columns: 48px 1fr; gap: 10px; }
  .faq-item summary { font-size: 18px; padding: 18px 0; }
  .footer-links { gap: 16px; }
}
