/* latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/cinzel-400-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/cinzel-400-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* thai */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/sarabun-400-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* latin-ext */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/sarabun-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/sarabun-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* thai */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/sarabun-700-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* latin-ext */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/sarabun-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/sarabun-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ===== Tokens ===== */
:root{
  --black:#000; --gold:#c9973a; --gold-soft:#e0b866; --red:#c0392b; --red-hot:#dd3333;
  --text:#f5f5f7; --muted:#c8c3b8; --white:#fff; --panel:#0d0b09;
  --f-head:"Cinzel", "Times New Roman", serif;
  --f-body:"Sarabun", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h:56px; --radius:10px; --wrap:1100px;
}
@media (min-width:720px){ :root{ --header-h:64px; } }
@media (min-width:1024px){ :root{ --header-h:72px; } }

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--header-h) + 8px); -webkit-text-size-adjust:100%; }
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } *{ transition:none !important; animation:none !important; } }
body{ margin:0; background:var(--black); color:var(--text); font:400 1.0625rem/1.65 var(--f-body); overflow-x:hidden; }
img{ max-width:100%; height:auto; display:block; }
a{ color:var(--gold-soft); }
a:hover{ color:var(--white); }
:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; border-radius:4px; }
.sr-only{ position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.skip-link{ position:absolute; left:8px; top:-60px; z-index:100; background:var(--red); color:#fff; padding:.6rem 1rem; border-radius:6px; text-decoration:none; }
.skip-link:focus{ top:8px; }
.container{ width:100%; max-width:var(--wrap); margin:0 auto; padding:0 20px; }
.container.narrow{ max-width:760px; }
.center{ text-align:center; }
main:focus{ outline:none; }

/* ===== Header ===== */
.site-header{ position:fixed; inset:0 0 auto 0; height:var(--header-h); background:rgba(0,0,0,.94); border-bottom:1px solid var(--gold); z-index:50; backdrop-filter:blur(6px); }
.header-inner{ height:100%; max-width:1240px; margin:0 auto; padding:0 14px; display:flex; align-items:center; gap:12px; }
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--gold); margin-right:auto; }
.brand-logo{ height:calc(var(--header-h) - 12px); width:auto; }
.brand-word{ font:600 1.05rem/1 var(--f-head); letter-spacing:.12em; color:var(--gold); }
@media (max-width:380px){ .brand-word{ display:none; } }
.main-nav ul{ list-style:none; margin:0; padding:0; display:flex; align-items:center; gap:4px; }
.main-nav a{ font:500 .9rem/1 var(--f-head); letter-spacing:.1em; text-transform:uppercase; color:var(--text); text-decoration:none; padding:.75rem .7rem; display:block; border-radius:6px; }
.main-nav a:hover{ color:var(--gold); }
.pill{ background:var(--red); color:#fff !important; border-radius:999px !important; padding:.7rem 1.2rem !important; margin-left:6px; }
.pill:hover{ background:var(--gold); color:#000 !important; }
.header-tools{ display:flex; align-items:center; gap:8px; }
.lang-toggle{ display:flex; border:1px solid var(--gold); border-radius:999px; overflow:hidden; }
.lang-toggle button{ background:none; border:0; color:var(--text); font:600 .8rem/1 var(--f-body); padding:.55rem .7rem; min-height:36px; min-width:44px; cursor:pointer; }
.lang-toggle button[aria-pressed="true"]{ background:var(--gold); color:#000; }
.menu-btn{ display:none; width:44px; height:44px; background:none; border:1px solid var(--gold); border-radius:8px; cursor:pointer; position:relative; }
.bars,.bars::before,.bars::after{ position:absolute; left:11px; width:20px; height:2px; background:var(--gold); content:""; transition:transform .2s; }
.bars{ top:20px; } .bars::before{ top:-6px; left:0; } .bars::after{ top:6px; left:0; }
.menu-btn[aria-expanded="true"] .bars{ background:transparent; }
.menu-btn[aria-expanded="true"] .bars::before{ transform:translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after{ transform:translateY(-6px) rotate(-45deg); }
@media (max-width:1023px){
  .menu-btn{ display:block; }
  .main-nav{ position:fixed; top:var(--header-h); left:0; right:0; background:#000; border-bottom:1px solid var(--gold); display:none; }
  .main-nav.open{ display:block; }
  .main-nav ul{ flex-direction:column; align-items:stretch; padding:8px 16px 18px; }
  .main-nav a{ padding:1rem .5rem; font-size:1rem; border-bottom:1px solid rgba(201,151,58,.25); }
  .pill{ margin:14px 0 0; text-align:center; }
}

/* ===== Hero ===== */
.hero{ position:relative; min-height:100svh; min-height:max(560px,100svh); display:grid; align-items:end; padding:calc(var(--header-h) + 40px) 0 64px; border-bottom:1px solid var(--gold); overflow:hidden; background:#140f0a; }
.hero picture, .hero-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hero-shade{ position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.35) 0%,rgba(0,0,0,.25) 35%,rgba(0,0,0,.82) 78%,#000 100%); }
.hero-content{ position:relative; text-align:center; }
.overline{ font:500 .85rem/1.4 var(--f-body); letter-spacing:.32em; text-transform:uppercase; color:var(--gold-soft); margin:0 0 .6rem; }
.hero-title{ font:700 clamp(2.9rem,12vw,6.6rem)/.95 var(--f-head); letter-spacing:.06em; margin:0; color:var(--white); text-shadow:0 4px 30px rgba(0,0,0,.6); }
.hero-title span{ color:var(--gold); }
.hero-sub{ font:600 clamp(1.05rem,3.6vw,1.6rem)/1.3 var(--f-head); letter-spacing:.14em; color:var(--gold); margin:.9rem 0 .4rem; }
.hero-lead{ max-width:640px; margin:.4rem auto 1rem; color:var(--text); font-size:clamp(1rem,2.6vw,1.2rem); }
.hero-badge{ display:inline-flex; flex-wrap:wrap; justify-content:center; gap:.4rem .6rem; border:1px solid var(--gold); border-radius:999px; padding:.45rem 1.1rem; font-size:.95rem; color:var(--white); background:rgba(0,0,0,.45); margin:0 0 1.4rem; }
.hero-badge .dot{ color:var(--gold); }
@media (max-width:480px){ .hero-badge .dot{ display:none; } .hero-badge{ flex-direction:column; border-radius:14px; } }

/* ===== Buttons ===== */
.btn-row{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:.5rem; min-height:48px; padding:.8rem 2.4rem; border-radius:var(--radius); font:600 1rem/1.1 var(--f-head); letter-spacing:.08em; text-decoration:none; cursor:pointer; border:1px solid transparent; transition:background .2s,color .2s,border-color .2s; }
.btn-red{ background:var(--red); color:#fff; }
.btn-red:hover,.btn-red:focus-visible{ background:var(--gold); color:#000; }
.btn-ghost{ background:rgba(0,0,0,.4); color:var(--white); border-color:var(--gold); }
.btn-ghost:hover{ background:var(--gold); color:#000; }

/* ===== Sections ===== */
.section{ padding:64px 0; border-bottom:1px solid var(--gold); }
@media (min-width:1024px){ .section{ padding:88px 0; } }
.kicker{ font:600 .8rem/1 var(--f-body); letter-spacing:.3em; text-transform:uppercase; color:var(--red-hot); margin:0 0 .7rem; }
.section-title{ font:600 clamp(1.7rem,5vw,2.6rem)/1.2 var(--f-head); color:var(--gold); margin:0 0 1.3rem; letter-spacing:.03em; }
.section-title.red{ color:var(--red-hot); }
html[lang="th"] .section-title{ line-height:1.4; }
.fineprint{ font-size:.88rem; color:var(--muted); margin-top:1rem; }

.about-grid{ display:grid; gap:32px; align-items:center; }
.about-copy p{ color:var(--text); }
.sister{ color:var(--muted) !important; font-style:italic; }
.about-photos{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.about-photos img{ border-radius:var(--radius); border:1px solid var(--gold); aspect-ratio:4/5; object-fit:cover; width:100%; background:#140f0a; }
.about-photos img:nth-child(2){ margin-top:36px; }
@media (min-width:900px){ .about-grid{ grid-template-columns:1.05fr 1fr; gap:56px; } }

.cards{ list-style:none; margin:28px 0 0; padding:0; display:grid; gap:22px; }
@media (min-width:720px){ .cards{ grid-template-columns:repeat(3,1fr); } }
.card{ border:1px solid var(--gold); border-radius:var(--radius); overflow:hidden; background:var(--panel); display:flex; flex-direction:column; }
.card img{ aspect-ratio:4/3; object-fit:cover; width:100%; background:#140f0a; }
.card-body{ padding:18px 20px 22px; }
.card h3{ font:600 1.25rem/1.3 var(--f-head); color:var(--gold); margin:0 0 .5rem; }
.card p{ margin:0; color:var(--muted); font-size:1rem; }
.menu-also{ text-align:center; color:var(--text); margin:28px 0 18px; font-style:italic; }

.gallery{ list-style:none; margin:28px 0 0; padding:0; display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
@media (min-width:720px){ .gallery{ grid-template-columns:repeat(3,1fr); gap:14px; } }
@media (min-width:1024px){ .gallery{ grid-template-columns:repeat(4,1fr); } }
.gallery-item{ display:block; width:100%; padding:0; border:1px solid rgba(201,151,58,.55); border-radius:var(--radius); overflow:hidden; background:#140f0a; cursor:zoom-in; }
.gallery-item img{ width:100%; aspect-ratio:1/1; object-fit:cover; transition:transform .35s; }
.gallery-item:hover img{ transform:scale(1.04); }
.lightbox{ border:1px solid var(--gold); background:#000; padding:0; max-width:min(94vw,1200px); max-height:92vh; border-radius:var(--radius); }
.lightbox::backdrop{ background:rgba(0,0,0,.88); }
.lightbox img{ max-height:88vh; width:auto; margin:auto; }
.lb-close{ position:absolute; top:6px; right:6px; width:44px; height:44px; border-radius:50%; border:1px solid var(--gold); background:rgba(0,0,0,.7); color:#fff; font-size:1.6rem; cursor:pointer; }

/* ===== Reserve ===== */
.notice{ border:1px solid var(--gold); border-left:4px solid var(--red); border-radius:8px; padding:.8rem 1rem; background:var(--panel); font-size:.97rem; margin:1.2rem 0 1.6rem; }
.booking{ display:grid; gap:4px; }
.row2{ display:grid; gap:4px 16px; }
@media (min-width:560px){ .row2{ grid-template-columns:1fr 1fr; } }
.field{ display:flex; flex-direction:column; margin-bottom:10px; }
.field label{ color:var(--white); font-weight:700; margin-bottom:6px; }
.opt{ font-weight:400; color:var(--muted); }
input,select,textarea{ font:inherit; font-size:1rem; color:var(--text); background:#111; border:1px solid #5a4a2c; border-radius:8px; padding:.75rem .85rem; min-height:48px; width:100%; }
textarea{ resize:vertical; }
select{ appearance:none; background-image:linear-gradient(45deg,transparent 50%,var(--gold) 50%),linear-gradient(135deg,var(--gold) 50%,transparent 50%); background-position:calc(100% - 20px) 50%,calc(100% - 14px) 50%; background-size:6px 6px; background-repeat:no-repeat; padding-right:2.2rem; }
input:focus,select:focus,textarea:focus{ outline:none; border-color:var(--gold); box-shadow:0 0 0 3px rgba(201,151,58,.3); }
input[aria-invalid="true"],select[aria-invalid="true"]{ border-color:var(--red-hot); }
input[type="date"]{ color-scheme:dark; }
.hint{ margin:.3rem 0 0; font-size:.85rem; color:var(--muted); }
.err{ margin:.3rem 0 0; min-height:0; font-size:.9rem; color:#ff7a6b; }
.err:empty{ display:none; }
.btn-submit{ margin:14px auto 0; width:100%; max-width:380px; font-size:1.05rem; }
.sent{ margin-top:14px; border:1px solid var(--gold); border-radius:var(--radius); padding:1rem; text-align:center; background:var(--panel); }
.sent p{ margin:0 0 .8rem; }

/* ===== Location ===== */
.loc-grid{ display:grid; gap:28px; }
@media (min-width:900px){ .loc-grid{ grid-template-columns:1fr 1.4fr; align-items:center; gap:48px; } }
address{ font-style:normal; margin-bottom:1rem; line-height:1.7; }
.map-wrap{ position:relative; aspect-ratio:4/3; border:1px solid var(--gold); border-radius:var(--radius); overflow:hidden; background:#111; }
.map-wrap iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; filter:grayscale(.2) contrast(1.05); }

/* ===== Footer ===== */
.site-footer{ padding:36px 0 96px; text-align:center; color:var(--muted); font-size:.92rem; }
.footer-inner{ display:flex; flex-direction:column; align-items:center; gap:14px; }
.footer-logo{ width:72px; height:auto; }
.social{ list-style:none; display:flex; gap:12px; margin:0; padding:0; }
.social a{ width:46px; height:46px; display:grid; place-items:center; border:1px solid var(--gold); border-radius:50%; color:var(--gold); }
.social a:hover{ background:var(--gold); color:#000; }
.site-footer p{ margin:0; }

/* ===== Floating contact ===== */
.chat{ position:fixed; right:16px; bottom:16px; bottom:max(16px,env(safe-area-inset-bottom)); z-index:60; display:flex; flex-direction:column; align-items:flex-end; gap:10px; }
.chat-btn{ width:58px; height:58px; border-radius:50%; border:0; background:var(--red-hot); color:#fff; display:grid; place-items:center; cursor:pointer; box-shadow:0 6px 22px rgba(0,0,0,.5); }
.chat-btn:hover{ background:var(--gold); color:#000; }
.chat-btn .ic-close{ display:none; }
.chat-btn[aria-expanded="true"] .ic-open{ display:none; }
.chat-btn[aria-expanded="true"] .ic-close{ display:block; }
.chat-panel{ display:flex; flex-direction:column; gap:8px; }
.chat-panel[hidden]{ display:none; }
.chat-panel a{ display:flex; align-items:center; gap:10px; min-height:46px; padding:.55rem 1rem; background:#000; color:var(--text); border:1px solid var(--gold); border-radius:999px; text-decoration:none; font-weight:700; box-shadow:0 4px 16px rgba(0,0,0,.5); }
.chat-panel a svg{ color:var(--gold); }
.chat-panel a:hover{ background:var(--gold); color:#000; }
.chat-panel a:hover svg{ color:#000; }
