/* เสน่หา Saneha — โทนสีจากโลโก้และใบเมนูของร้าน: เขียวมรกตเข้ม · ทองโบราณ · ครีมกระดาษ · ส้มอิฐ (เก้าอี้) · น้ำเงินเซรามิก (จาน) */
:root {
  --forest: #14332a;
  --forest-2: #1b4236;
  --forest-3: #245445;
  --gold: #b8914f;
  --gold-2: #d6b778;
  --gold-3: #efdcaf;
  --gold-ink: #7d5f27; /* ทองเข้มสำหรับตัวอักษรบนพื้นสว่าง (contrast ≥ 4.5:1) */
  --cream: #f4eee2;
  --paper: #faf6ee;
  --ink: #1f1b16;
  --ink-2: #4a4238;
  --muted: #6b6152;
  --line: #e3d7bf;
  --terracotta: #9a4e32;
  --ceramic: #1f4f7a;
  --radius: 18px;
  --shadow: 0 18px 50px -24px rgba(20, 51, 42, .45);
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font-display: 'Cormorant Garamond', 'Noto Serif Thai', Georgia, serif;
  --font-thai-display: 'Noto Serif Thai', 'Cormorant Garamond', serif;
  --font-body: 'Jost', 'Sarabun', system-ui, sans-serif;
  --font-script: 'Charm', 'Noto Serif Thai', serif;
  color-scheme: light;
}
html[lang="th"] { --font-display: 'Noto Serif Thai', 'Cormorant Garamond', serif; --font-body: 'Sarabun', system-ui, sans-serif; }
html[lang="zh-Hans"] { --font-display: 'Noto Serif SC', 'Noto Serif Thai', serif; --font-body: 'Noto Sans SC', 'Sarabun', system-ui, sans-serif; }
html[lang="ja"] { --font-display: 'Noto Serif JP', 'Noto Serif Thai', serif; --font-body: 'Noto Sans JP', 'Sarabun', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: clamp(16px, 1.05vw + 10px, 18px); line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
html[lang="th"] body { line-height: 1.85; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--forest); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px;
  font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600;
}
html[lang="th"] .kicker, html[lang="zh-Hans"] .kicker, html[lang="ja"] .kicker { letter-spacing: .12em; font-size: .88rem; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.h2 {
  font-family: var(--font-display); font-weight: 600; margin: 0 0 22px; letter-spacing: -.005em;
  font-size: clamp(2rem, 3.6vw + .6rem, 3.4rem); line-height: 1.18; color: var(--forest); text-wrap: balance;
}
html[lang="th"] .h2 { line-height: 1.4; font-size: clamp(1.8rem, 3vw + .6rem, 2.9rem); }
.lead { font-size: 1.12em; color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
.center { text-align: center; }
.center .kicker::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ornament */
.orn { display: block; margin: 0 auto; color: var(--gold); width: 180px; height: 22px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
  padding: 12px 26px; border-radius: 999px; text-decoration: none; font-weight: 600; letter-spacing: .02em;
  border: 1px solid transparent; transition: transform .25s ease, background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--forest); box-shadow: 0 10px 30px -12px rgba(184, 145, 79, .8); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(184, 145, 79, .9); }
.btn-ghost { border-color: rgba(239, 220, 175, .55); color: var(--gold-3); }
.btn-ghost:hover { background: rgba(239, 220, 175, .12); }
.btn-forest { background: var(--forest); color: var(--gold-3); }
.btn-forest:hover { background: var(--forest-3); transform: translateY(-2px); }
.btn-line { border-color: var(--gold); color: var(--forest); }
.btn-line:hover { background: var(--forest); color: var(--gold-3); border-color: var(--forest); }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .35s, box-shadow .35s, backdrop-filter .35s; }
.hdr .wrap { display: flex; align-items: center; gap: 20px; height: 76px; max-width: 1360px; }
.hdr.solid { background: rgba(20, 51, 42, .94); box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .6); backdrop-filter: saturate(140%) blur(10px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gold-3); margin-right: auto; }
.brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(214, 183, 120, .55); }
.brand b { font-family: var(--font-script); font-size: 1.7rem; line-height: 1; font-weight: 700; color: var(--gold-2); }
.brand small { display: block; font-size: .62rem; letter-spacing: .32em; color: var(--gold-3); opacity: .85; margin-top: 4px; font-family: 'Cormorant Garamond', serif; font-weight: 600; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; color: var(--cream); font-size: .92rem; padding: 8px 12px; border-radius: 999px; transition: background-color .2s, color .2s; white-space: nowrap; }
.nav a:hover { background: rgba(239, 220, 175, .12); color: var(--gold-3); }
.hdr-cta { display: flex; align-items: center; gap: 10px; }
.hdr .btn { min-height: 42px; padding: 8px 18px; font-size: .9rem; }

.lang { position: relative; }
.lang > button {
  display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid rgba(239, 220, 175, .4);
  color: var(--gold-3); padding: 8px 14px; border-radius: 999px; font-size: .88rem; min-height: 42px;
}
.lang > button svg { width: 16px; height: 16px; }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 10px); list-style: none; margin: 0; padding: 8px; min-width: 180px;
  background: var(--paper); border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s;
}
.lang.open ul { opacity: 1; visibility: visible; transform: none; }
.lang li a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: .95rem; }
.lang li a:hover { background: var(--cream); }
.lang li a[aria-current="true"] { color: var(--forest); font-weight: 600; }
.lang li a[aria-current="true"]::after { content: "✓"; color: var(--gold); }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(239, 220, 175, .4); background: transparent; color: var(--gold-3); align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .hdr-cta .btn-gold { display: none; }
  .drawer-open .nav {
    display: flex; flex-direction: column; position: fixed; inset: 76px 0 0; background: var(--forest); padding: 24px var(--gutter);
    gap: 6px; overflow-y: auto;
  }
  .drawer-open .nav a { font-size: 1.35rem; padding: 14px 8px; border-bottom: 1px solid rgba(239, 220, 175, .12); border-radius: 0; font-family: var(--font-display); }
  .drawer-open .hdr { background: var(--forest); }
}
@media (max-width: 520px) {
  .brand small { display: none; }
  .brand b { font-size: 1.5rem; }
  .lang > button span { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: var(--cream); isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 80% at 10% 100%, rgba(14, 36, 29, .95) 0%, rgba(14, 36, 29, .75) 40%, rgba(14, 36, 29, .25) 75%),
    linear-gradient(180deg, rgba(14, 36, 29, .75) 0%, rgba(14, 36, 29, 0) 25%);
}
.hero .wrap { padding-top: 140px; padding-bottom: clamp(56px, 9vh, 110px); max-width: 1360px; }
.hero-kicker { color: var(--gold-2); }
.hero h1 {
  font-family: var(--font-display); font-weight: 600; margin: 0 0 24px; color: #fff8e8;
  font-size: clamp(2.6rem, 6.4vw + .4rem, 6rem); line-height: 1.05; letter-spacing: -.015em; max-width: 14ch; text-wrap: balance;
}
html[lang="th"] .hero h1 { line-height: 1.28; font-size: clamp(2.3rem, 5.4vw + .3rem, 5rem); letter-spacing: 0; }
html[lang="zh-Hans"] .hero h1, html[lang="ja"] .hero h1 { line-height: 1.25; letter-spacing: .02em; font-size: clamp(2.2rem, 5vw + .3rem, 4.6rem); }
.hero .lead { color: rgba(250, 246, 238, .88); font-size: clamp(1.02rem, .6vw + .9rem, 1.25rem); max-width: 52ch; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 30px; font-size: .92rem; color: rgba(250, 246, 238, .8); }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(250, 246, 238, .1); border: 1px solid rgba(250, 246, 238, .18); backdrop-filter: blur(6px); }
.status i { width: 9px; height: 9px; border-radius: 50%; background: #9aa39c; box-shadow: 0 0 0 4px rgba(154, 163, 156, .25); }
.status[data-state="open"] i { background: #6fd39a; box-shadow: 0 0 0 4px rgba(111, 211, 154, .25); animation: pulse 2.4s infinite; }
.status[data-state="break"] i { background: var(--gold-2); box-shadow: 0 0 0 4px rgba(214, 183, 120, .25); }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(111, 211, 154, 0); } }
.seal {
  position: absolute; right: clamp(16px, 5vw, 70px); bottom: clamp(40px, 8vh, 100px); width: clamp(120px, 13vw, 180px); aspect-ratio: 1;
  border-radius: 50%; overflow: hidden; border: 1px solid rgba(214, 183, 120, .6); box-shadow: 0 20px 60px -20px #000;
}
.seal img { width: 100%; height: 100%; object-fit: cover; }
.seal::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1px solid rgba(214, 183, 120, .45); }
@media (max-width: 860px) { .seal { display: none; } }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 1px; height: 46px; background: linear-gradient(var(--gold-2), transparent); transform: translateX(-50%); }

/* ---------- poem ---------- */
.poem { background: var(--forest); color: var(--gold-3); overflow: hidden; }
.poem::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: radial-gradient(60% 80% at 50% 0%, rgba(214, 183, 120, .16), transparent 70%);
}
.poem-frame {
  position: relative; max-width: 980px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px);
  border: 1px solid rgba(214, 183, 120, .45); outline: 1px solid rgba(214, 183, 120, .2); outline-offset: 8px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 5vw, 70px); align-items: center;
}
.poem-lines { font-family: var(--font-script); font-size: clamp(1.6rem, 2.6vw + .6rem, 2.7rem); line-height: 1.6; color: var(--gold-2); margin: 0; }
.poem-lines span { display: block; }
.poem-lines span:nth-child(odd) { padding-left: 0; }
.poem-lines span:nth-child(even) { padding-left: 1.2em; }
.poem-side { border-left: 1px solid rgba(214, 183, 120, .3); padding-left: clamp(18px, 3vw, 40px); }
.poem-side p { margin: 0 0 12px; }
.poem-caption { font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.poem-trans { font-family: var(--font-display); font-style: italic; font-size: 1.12rem; line-height: 1.7; color: rgba(239, 220, 175, .85); }
html[lang="zh-Hans"] .poem-trans, html[lang="ja"] .poem-trans, html[lang="th"] .poem-trans { font-style: normal; }
@media (max-width: 760px) {
  .poem-frame { grid-template-columns: 1fr; text-align: center; }
  .poem-lines span:nth-child(even) { padding-left: 0; }
  .poem-side { border-left: 0; padding-left: 0; border-top: 1px solid rgba(214, 183, 120, .3); padding-top: 20px; }
}

/* ---------- story ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.framed { position: relative; }
.framed::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.framed img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.since { position: absolute; left: -14px; bottom: 34px; background: var(--forest); color: var(--gold-3); padding: 12px 18px; border-radius: 12px; font-size: .86rem; box-shadow: var(--shadow); max-width: 80%; }
.story p { color: var(--ink-2); margin: 0 0 18px; }
.quote { margin: 32px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); position: relative; }
.quote::before { content: "“"; position: absolute; top: -.1em; right: 0; font-family: 'Cormorant Garamond', serif; font-size: 7rem; line-height: 1; color: var(--gold-3); }
.quote p { font-family: var(--font-display); font-size: clamp(1.3rem, 1.4vw + .8rem, 1.8rem); line-height: 1.5; color: var(--forest); margin: 0 0 14px; font-weight: 500; }
.quote footer { font-size: .92rem; color: var(--muted); }
.quote footer b { color: var(--ink); font-weight: 600; display: block; }
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .framed { max-width: 460px; margin: 0 auto 10px; }
}

/* ---------- promise ---------- */
.promise { background: var(--cream); }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px; }
.pcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; transition: transform .3s, box-shadow .3s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard .ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--gold-2); margin-bottom: 18px; }
.pcard .ico svg { width: 24px; height: 24px; }
.pcard h3 { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.35; margin: 0 0 8px; color: var(--forest); font-weight: 600; }
.pcard p { margin: 0; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 980px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .promise-grid { grid-template-columns: 1fr; } }

/* ---------- signature ---------- */
.sig-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.sig-img { position: sticky; top: 100px; }
.sig-img img { border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.sig-list { list-style: none; margin: 34px 0 0; padding: 0; counter-reset: sig; }
.sig-list li { counter-increment: sig; display: grid; grid-template-columns: 48px 1fr auto; gap: 6px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.sig-list li::before { content: counter(sig, decimal-leading-zero); font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--gold-ink); line-height: 1.2; }
.sig-list h3 { margin: 0; font-family: var(--font-display); font-size: 1.28rem; line-height: 1.35; color: var(--forest); font-weight: 600; }
.sig-list .th { display: block; font-family: var(--font-thai-display); font-size: .88rem; color: var(--muted); font-weight: 500; margin-top: 2px; }
.sig-list p { grid-column: 2 / 4; margin: 0; color: var(--ink-2); font-size: .96rem; }
.price { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.3rem; color: var(--forest); white-space: nowrap; }
.price small { font-size: .7em; color: var(--gold-ink); margin-right: 2px; }
.price.ask { font-family: var(--font-body); font-size: .82rem; font-weight: 600; color: var(--terracotta); border: 1px solid currentColor; border-radius: 999px; padding: 2px 10px; align-self: start; }
@media (max-width: 860px) {
  .sig-grid { grid-template-columns: 1fr; }
  .sig-img { position: relative; top: 0; max-width: 420px; margin: 0 auto; }
}

/* ---------- kitchen strip ---------- */
.kitchen { background: var(--forest); color: var(--cream); padding-bottom: clamp(60px, 8vw, 110px); }
.kitchen .h2 { color: #fff8e8; }
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 26vw, 340px); gap: 18px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding: 34px var(--gutter) 18px; scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
  max-width: 1440px; margin: 0 auto;
}
.strip figure { margin: 0; scroll-snap-align: start; }
.strip button { display: block; padding: 0; border: 0; background: none; width: 100%; border-radius: var(--radius); overflow: hidden; }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease; }
.strip button:hover img { transform: scale(1.05); }
.strip figcaption { margin-top: 12px; font-size: .9rem; color: rgba(239, 220, 175, .85); }
.strip-hint { display: flex; justify-content: flex-end; gap: 10px; }
.strip-nav { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(214, 183, 120, .5); background: transparent; color: var(--gold-2); display: grid; place-items: center; }
.strip-nav:hover { background: rgba(214, 183, 120, .15); }
.strip-nav svg { width: 20px; height: 20px; }
.kitchen-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }

/* ---------- menu ---------- */
.menu-sec { background: var(--paper); }
.menu-card {
  background: #fffdf8; border: 1px solid var(--gold); outline: 1px solid rgba(184, 145, 79, .35); outline-offset: -10px;
  border-radius: 6px; padding: clamp(28px, 5vw, 70px) clamp(18px, 5vw, 70px); box-shadow: 0 30px 80px -50px rgba(20, 51, 42, .6);
}
.menu-head { text-align: center; margin-bottom: 28px; }
.menu-note { color: var(--muted); font-size: .92rem; max-width: 70ch; margin: 0 auto; }
.menu-thai-hint { display: inline-flex; gap: 8px; align-items: center; margin-top: 12px; font-size: .9rem; background: var(--cream); color: var(--forest); padding: 8px 14px; border-radius: 999px; }
.chips {
  position: sticky; top: 76px; z-index: 5; display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px; margin: 0 -2px 26px;
  background: linear-gradient(#fffdf8 80%, rgba(255, 253, 248, 0)); scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; text-decoration: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); background: #fffdf8; transition: .2s; }
.chips a:hover { border-color: var(--gold); }
.chips a.on { background: var(--forest); color: var(--gold-3); border-color: var(--forest); }
.menu-cols { columns: 2 380px; column-gap: clamp(30px, 5vw, 80px); }
.mcat { break-inside: avoid; margin: 0 0 40px; }
.mcat h3 {
  display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 10px 16px; background: var(--forest); color: #fff8e8;
  border-left: 5px solid var(--gold); font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; border-radius: 2px;
}
.mcat h3 .th { font-family: var(--font-thai-display); font-size: .82rem; color: var(--gold-2); font-weight: 500; margin-left: auto; }
.mitem { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 12px 4px; border-bottom: 1px dashed var(--line); }
.mitem .nm { font-weight: 500; color: var(--ink); line-height: 1.5; }
.mitem .nm .star { display: inline-block; font-size: .7rem; letter-spacing: .06em; color: var(--terracotta); border: 1px solid currentColor; border-radius: 999px; padding: 0 8px; margin-left: 6px; vertical-align: 2px; font-weight: 600; }
.mitem .th { grid-column: 1; font-family: var(--font-thai-display); font-size: .86rem; color: var(--muted); line-height: 1.5; }
.mitem .price { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 1.2rem; }
.specials { margin-top: 10px; padding: 26px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); break-inside: avoid; }
.specials h3 { margin: 0 0 4px; font-family: var(--font-display); color: var(--forest); font-size: 1.3rem; }
.specials > p { margin: 0 0 12px; color: var(--muted); font-size: .9rem; }
.specials ul { margin: 0; padding: 0; list-style: none; }
.specials li { padding: 8px 0 8px 22px; position: relative; border-bottom: 1px dashed var(--line); line-height: 1.5; }
.specials li:last-child { border-bottom: 0; }
.specials li::before { content: "✦"; position: absolute; left: 0; top: 8px; color: var(--gold); font-size: .8rem; }
.specials li .th { display: block; font-family: var(--font-thai-display); font-size: .84rem; color: var(--muted); }
.menu-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

/* ---------- groups ---------- */
.groups { background: var(--cream); }
.groups-top { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.groups-top img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sets-head { margin: clamp(50px, 7vw, 80px) 0 22px; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.sets-head h3 { margin: 0; font-family: var(--font-display); font-size: 1.6rem; color: var(--forest); }
.sets-head p { margin: 0; color: var(--muted); font-size: .9rem; max-width: 60ch; }
.sets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.set { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.set::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.set h4 { margin: 0 0 14px; font-family: var(--font-display); font-size: 1.3rem; color: var(--forest); }
.set ol { margin: 0 0 20px; padding-left: 1.2em; color: var(--ink-2); font-size: .95rem; flex: 1; }
.set ol li { margin-bottom: 6px; line-height: 1.5; }
.set ol li .th { display: block; font-size: .82rem; color: var(--muted); font-family: var(--font-thai-display); }
.set .price { font-size: 1.8rem; }
.set .per { font-size: .85rem; color: var(--muted); margin-left: 6px; font-family: var(--font-body); font-weight: 400; }
@media (max-width: 900px) { .groups-top { grid-template-columns: 1fr; } .sets { grid-template-columns: 1fr; } }

/* ---------- tea room ---------- */
.tea { background: var(--forest-2); color: var(--cream); text-align: center; overflow: hidden; }
.tea::before, .tea::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(214, 183, 120, .14); }
.tea::before { left: -200px; top: -200px; }
.tea::after { right: -220px; bottom: -260px; }
.tea .h2 { color: #fff8e8; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(2.4rem, 5vw, 4.2rem); }
.tea .lead { color: rgba(250, 246, 238, .85); }
.tea-items { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; padding: 0; list-style: none; }
.tea-items li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(214, 183, 120, .4); color: var(--gold-3); }
.tea-items svg { width: 18px; height: 18px; color: var(--gold-2); }

/* ---------- space ---------- */
.space-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(120px, 14vw, 190px); gap: 14px; margin-top: 44px; }
.space-grid button { padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.space-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.space-grid button:hover img { transform: scale(1.04); }
.space-grid .g1 { grid-column: 1 / 8; grid-row: span 3; }
.space-grid .g2 { grid-column: 8 / 13; grid-row: span 2; }
.space-grid .g3 { grid-column: 8 / 13; grid-row: span 2; }
.space-grid .g4 { grid-column: 1 / 5; grid-row: span 2; }
.space-grid .g5 { grid-column: 5 / 8; grid-row: span 2; }
@media (max-width: 760px) {
  .space-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .space-grid .g1 { grid-column: 1 / 3; grid-row: span 2; }
  .space-grid .g2, .space-grid .g3, .space-grid .g4, .space-grid .g5 { grid-column: auto; grid-row: span 1; }
}

/* ---------- reviews ---------- */
.reviews { background: var(--cream); }
.rev-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 44px; }
.rev { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; }
.rev::before { content: "“"; font-family: 'Cormorant Garamond', serif; font-size: 5rem; line-height: .6; color: var(--gold); display: block; height: 30px; }
.rev blockquote { margin: 0 0 16px; font-size: 1.04rem; color: var(--ink); }
.rev figcaption { font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.rev figcaption::before { content: ""; width: 20px; height: 1px; background: var(--gold); }
.honor { display: flex; align-items: center; gap: 14px; justify-content: center; margin: 34px auto 0; color: var(--forest); font-weight: 500; text-align: center; }
.honor svg { width: 26px; height: 26px; color: var(--gold); flex: none; }
.rev-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 14px; }
@media (max-width: 760px) { .rev-grid { grid-template-columns: 1fr; } }

/* ---------- visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: stretch; }
.info { list-style: none; margin: 30px 0 0; padding: 0; }
.info li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--cream); color: var(--forest); display: grid; place-items: center; }
.info .ico svg { width: 20px; height: 20px; }
.info h3 { margin: 0 0 2px; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold-ink); font-weight: 600; }
.info p { margin: 0; color: var(--ink-2); }
.info .big { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 600; color: var(--forest); text-decoration: none; line-height: 1.2; }
.info .big:hover { color: var(--terracotta); }
.info .sub { font-size: .9rem; color: var(--muted); }
.nearby { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; padding: 0; list-style: none; }
.nearby li { padding: 4px 12px; border-radius: 999px; background: var(--cream); font-size: .86rem; color: var(--forest); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.map {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; background: var(--forest) center / cover no-repeat;
  box-shadow: var(--shadow); display: grid; place-items: center;
}
.map::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 51, 42, .35), rgba(20, 51, 42, .8)); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; }
.map .btn { position: relative; z-index: 1; }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } .map { min-height: 360px; } }

/* ---------- footer ---------- */
.ftr { background: #0f2820; color: rgba(250, 246, 238, .75); padding: 70px 0 110px; font-size: .92rem; }
.ftr-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; align-items: start; }
.ftr .brand b { font-size: 2.1rem; }
.ftr .tag { font-family: var(--font-script); font-size: 1.5rem; color: var(--gold-2); margin: 18px 0 0; }
.ftr h3 { color: var(--gold-3); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 14px; font-weight: 600; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin-bottom: 8px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--gold-2); }
.ftr-bottom { border-top: 1px solid rgba(214, 183, 120, .18); margin-top: 50px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .84rem; }
@media (max-width: 760px) { .ftr-top { grid-template-columns: 1fr; } }
@media (min-width: 761px) { .ftr { padding-bottom: 50px; } }

/* ---------- mobile sticky bar ---------- */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; grid-template-columns: 1fr 1fr 1fr; gap: 6px;
  background: rgba(20, 51, 42, .96); border-radius: 18px; padding: 6px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .55);
  backdrop-filter: blur(10px); transform: translateY(140%); transition: transform .35s ease;
}
.dock.show { transform: none; }
.dock a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 12px; text-decoration: none; color: var(--gold-3); font-size: .78rem; }
.dock a svg { width: 20px; height: 20px; }
.dock a.main { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--forest); font-weight: 600; }
@media (max-width: 760px) { .dock { display: grid; } }

/* ---------- language suggestion ---------- */
.suggest {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; max-width: 340px; background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); display: none;
}
.suggest.show { display: block; animation: rise .4s ease; }
.suggest p { margin: 0 0 12px; font-weight: 500; }
.suggest div { display: flex; gap: 8px; }
.suggest .btn { min-height: 40px; padding: 6px 16px; font-size: .9rem; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@media (max-width: 760px) { .suggest { left: 12px; right: 12px; bottom: 90px; max-width: none; } }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(10, 22, 18, .94); display: none; align-items: center; justify-content: center; padding: 60px 16px; }
.lb.open { display: flex; }
.lb img { max-height: 84vh; max-width: min(1100px, 100%); width: auto; border-radius: 10px; box-shadow: 0 30px 80px -20px #000; }
.lb figure { margin: 0; text-align: center; color: var(--gold-3); }
.lb figcaption { margin-top: 12px; font-size: .95rem; }
.lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(214, 183, 120, .5); background: rgba(20, 51, 42, .6); color: var(--gold-3); display: grid; place-items: center; }
.lb button svg { width: 22px; height: 22px; }
.lb .x { top: 16px; right: 16px; }
.lb .pv { left: 16px; top: 50%; transform: translateY(-50%); }
.lb .nx { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; transform: none; }
  .status[data-state="open"] i { animation: none; }
}
.no-js .rv { opacity: 1; transform: none; }

@media print {
  .hdr, .dock, .suggest, .hero-bg, .map, .kitchen, .space { display: none !important; }
  .hero { min-height: auto; color: var(--ink); }
  .hero h1, .hero .lead { color: var(--ink); }
}
.nw { white-space: nowrap; }
html[lang="th"] .hero h1 { max-width: 16ch; }
.info .nearby li { display: inline-block; grid-template-columns: none; border-bottom: 0; padding: 4px 12px; }
.menu-thai-hint svg { width: 18px; height: 18px; flex: none; }
.poem-photo { width: 100%; border-radius: 10px; margin-bottom: 18px; border: 1px solid rgba(214, 183, 120, .35); aspect-ratio: 5 / 3; object-fit: cover; }
/* backdrop-filter ทำให้ nav แบบ fixed ถูกขังในกรอบ header — ปิดตอนเปิดเมนูมือถือ */
.drawer-open .hdr, .drawer-open .hdr.solid { backdrop-filter: none; background: var(--forest); }

/* ป้ายหัวข้อบนพื้นเข้มใช้ทองสว่าง */
.hero .kicker, .poem .kicker, .kitchen .kicker, .tea .kicker { color: var(--gold-2); }
.rev-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .rev-grid { grid-template-columns: 1fr; } }
.walk { display: block; margin-top: 6px; color: var(--forest); font-weight: 500; }
/* กรอบทองหลังรูปเรื่องราวยื่นขวา 22px — บนจอแคบลดระยะไม่ให้ล้นจอ */
@media (max-width: 860px) {
  .framed { margin-right: 12px; }
  .framed::before { inset: 12px -12px -12px 12px; }
  .since { left: 8px; }
}
html { overflow-x: clip; }
/* หัวเว็บช่วงจอกลาง: ไม่ให้ปุ่มตัดบรรทัด */
.hdr .btn, .lang > button, .nav a { white-space: nowrap; }
@media (max-width: 1320px) { .hdr .brand small { display: none; } }
@media (max-width: 1240px) and (min-width: 1081px) { .lang > button span { display: none; } .nav a { padding: 8px 9px; } }
.tel { white-space: nowrap; }
@media (max-width: 520px) { .hero-actions .lbl { display: none; } .hero-actions .tel { font-size: 1.08rem; letter-spacing: .03em; } }

/* ===== รอบแก้ความคมชัดตัวอักษร (ตรวจด้วยพิกเซลจริง) ===== */
/* hero: เงาเข้มฝั่งข้อความ + ขอบบน/ล่าง ให้ตัวอักษรไม่จมรูป */
.hero::before {
  background:
    linear-gradient(90deg, rgba(10, 26, 21, .94) 0%, rgba(10, 26, 21, .84) 38%, rgba(10, 26, 21, .45) 66%, rgba(10, 26, 21, .18) 100%),
    linear-gradient(180deg, rgba(10, 26, 21, .75) 0%, rgba(10, 26, 21, 0) 24%, rgba(10, 26, 21, 0) 62%, rgba(10, 26, 21, .7) 100%);
}
@media (max-width: 760px) {
  .hero::before {
    background:
      linear-gradient(180deg, rgba(10, 26, 21, .72) 0%, rgba(10, 26, 21, .78) 35%, rgba(10, 26, 21, .9) 70%, rgba(10, 26, 21, .96) 100%);
  }
}
.hero h1, .hero .lead, .hero .kicker, .hero-meta { text-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 4px 24px rgba(0, 0, 0, .35); }
.hero .lead { color: #f3eee4; }
.hero-meta { color: #e9e3d6; }
/* ปุ่มขอบใสบนรูป: เพิ่มพื้นเข้มโปร่งแสงให้อ่านชัด */
.btn-ghost { background: rgba(10, 26, 21, .5); border-color: rgba(214, 183, 120, .75); color: #f6e7c4; backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(10, 26, 21, .72); border-color: var(--gold-2); }
.status { background: rgba(10, 26, 21, .55); border-color: rgba(250, 246, 238, .28); }
/* ป้าย "เปิดบริการตั้งแต่" บนรูป — เดิมถูกกฎ .story p ทับเป็นสีเข้มบนพื้นเขียว */
.story .since { color: var(--gold-3); }
/* ข้อความเล็กบนพื้นเขียวใช้ทองสว่าง */
.poem-caption { color: var(--gold-2); }
/* ปุ่มขอบ: เดิม <button> ติดพื้นเทาของเบราว์เซอร์ และขอบทองจางจนกลืนพื้น */
.btn { -webkit-appearance: none; appearance: none; }
.btn-line { background: #fffdf8; border: 1.5px solid var(--gold-ink); color: var(--forest); }
.btn-line:hover { background: var(--forest); color: var(--gold-3); border-color: var(--forest); }
.btn-gold { border: 1px solid rgba(125, 95, 39, .35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 30px -12px rgba(184, 145, 79, .8); }
.btn-forest { border: 1px solid var(--forest); }
/* แถบหมวดเมนู: ชิปมีพื้นและขอบชัด */
.chips a { background: var(--cream); border: 1px solid #cdb98c; color: var(--forest); font-weight: 500; }
.chips a:hover { border-color: var(--gold-ink); background: #efe4cc; }
.chips a.on { background: var(--forest); color: var(--gold-3); border-color: var(--forest); }
/* ปุ่มลูกศรแถบรูป */
.strip-nav { border-color: rgba(214, 183, 120, .8); background: rgba(214, 183, 120, .08); }
.strip-nav:hover { background: var(--gold-2); color: var(--forest); }
@media (max-width: 520px) {
  .menu-actions .btn, .visit-actions .btn, .groups-top .btn { width: 100%; text-align: center; flex-wrap: wrap; row-gap: 0; }
  .menu-actions, .visit-actions { flex-direction: column; }
}
.menu-tag { font-family: var(--font-script); font-size: 1.45rem; color: var(--forest); margin: 4px 0 0; }
.menu-tag-en { font-family: 'Cormorant Garamond', serif; font-style: italic; letter-spacing: .08em; color: var(--gold-ink); margin: 0 0 12px; font-size: 1.05rem; }
.mcat-note { margin: -4px 0 6px; font-size: .88rem; color: var(--muted); }
.mitem .price.ask { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.mitem .price.ask { font-family: var(--font-body); font-size: .76rem; font-weight: 600; padding: 3px 10px; letter-spacing: .02em; white-space: nowrap; }
