/* Kyuushiro — site styles (shared by all pages) */
:root {
  --cream: #FFF7EF;
  --stone: #F6ECE2;
  --line: #EADFD3;
  --card-line: #EFE4D8;
  --navy: #102A43;
  --ink: #3E4C59;
  --muted: #5C6B7A;
  --accent: #C04A22;
  --accent-soft: #F2A07E;
  --white: #FFFFFF;
  --star: #E0A526;
  --radius: 22px;
  --max: 1200px;
  --font: 'Nunito Sans', 'Noto Sans Thai', system-ui, sans-serif;
  --thai: 'Noto Sans Thai', 'Nunito Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
:lang(th) body, html[lang="th"] body { font-family: var(--thai); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--accent); }
.thai { font-family: var(--thai); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Photo protection: no long-press save / drag on phones and desktops */
img { -webkit-touch-callout: none; -webkit-user-drag: none; user-select: none; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none; border: 2px solid transparent; transition: opacity .2s, background .2s;
}
.btn:hover { opacity: .9; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { color: #fff; }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { color: var(--cream); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-light { background: var(--cream); color: var(--navy); }
.btn-light:hover { color: var(--navy); }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 247, 239, .95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; }
.nav a.current { color: var(--accent); font-weight: 800; }
.nav .lang { font-size: 13px; letter-spacing: 1px; border: 1.5px solid #D9CBBB; border-radius: 999px; padding: 8px 14px; }
.nav .btn { min-height: 44px; padding: 10px 22px; font-size: 14px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--navy);
  align-items: center; justify-content: center; cursor: pointer; border-radius: 10px;
}
.mobile-tools { display: none; align-items: center; gap: 4px; }
.mobile-tools .lang { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; text-decoration: none; }

/* ── Hero ── */
.hero .wrap { padding-top: 72px; padding-bottom: 64px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); }
.hero-text { display: flex; flex-direction: column; gap: 22px; }
.hero h1 { margin: 0; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.08; font-weight: 900; letter-spacing: -.5px; }
.hero h1 span { display: block; white-space: nowrap; }
.hero-where { display: flex; align-items: center; gap: 12px; font-size: clamp(21px, 2.4vw, 30px); font-weight: 900; line-height: 1.1; color: var(--accent); }
.hero-sub-th { font-family: var(--thai); font-size: 22px; font-weight: 500; color: var(--ink); }
.hero-lead { margin: 0; font-size: 18px; line-height: 1.7; color: var(--ink); max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.rating {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px 10px 14px;
  text-decoration: none; font-size: 15px;
}
.rating .stars { display: flex; gap: 2px; color: var(--star); }
.rating b { font-weight: 900; }
.rating span { color: var(--muted); }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; }
.hero-tag {
  position: absolute; left: -28px; bottom: 32px; background: #fff; border-radius: 18px; padding: 16px 20px;
  box-shadow: 0 12px 32px rgba(16, 42, 67, .12); display: flex; flex-direction: column; gap: 3px;
}
.hero-tag small { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); }
.hero-tag strong { font-size: 17px; font-weight: 900; text-transform: uppercase; }
.hero-tag span { font-size: 14px; color: var(--muted); }

/* ── Info strip ── */
.info-strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.info-strip .wrap { padding-top: 26px; padding-bottom: 26px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item svg { flex-shrink: 0; }
.info-item b { display: block; font-size: 15px; font-weight: 800; }
.info-item span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.nw { white-space: nowrap; }

/* ── Sections ── */
.section { padding: 96px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.h2 { margin: 0; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; font-weight: 900; text-transform: uppercase; }
.sub { font-size: 18px; color: var(--muted); font-weight: 600; margin-top: 10px; }
.link-arrow { font-size: 15px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 4px; white-space: nowrap; }
.note { margin: 28px 0 0; font-size: 14px; color: var(--muted); }

/* Dish cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--card-line); display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--stone); }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.badge { align-self: flex-start; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.card-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 6px; }
.card h3 { margin: 0; font-size: 19px; font-weight: 900; text-transform: uppercase; }
.price { font-size: 20px; font-weight: 900; white-space: nowrap; }
.card .alt { font-family: var(--thai); font-size: 15px; color: var(--ink); }
.card .desc { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* Explore */
.explore { background: var(--stone); }
.explore-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.explore-grid a { text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.explore-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 999px; border: 4px solid #fff; }
.explore-grid span { text-align: center; font-size: 15px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }

/* Story */
.story .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.story-photos { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; }
.story-photos img { width: 100%; height: 440px; object-fit: cover; border-radius: var(--radius); }
.story-photos img + img { margin-top: 48px; }
.story-text { display: flex; flex-direction: column; gap: 20px; }
.story-text p { margin: 0; font-size: 17px; line-height: 1.75; color: var(--ink); }

/* Reviews */
.reviews { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reviews .wrap { padding-top: 88px; padding-bottom: 88px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.score { font-size: 88px; font-weight: 900; line-height: 1; }
.score-stars { display: flex; gap: 3px; color: var(--star); margin: 12px 0; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote { margin: 0; background: var(--cream); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.quote blockquote { margin: 0; font-size: 16px; line-height: 1.6; }
.quote figcaption { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }

/* Dark band (private dining) */
.band { background: var(--navy); color: var(--cream); }
.band .wrap { padding-top: 96px; padding-bottom: 96px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.band .eyebrow { color: var(--accent-soft); }
.band p { margin: 0; font-size: 17px; line-height: 1.75; color: #D5DEE7; }
.band-text { display: flex; flex-direction: column; gap: 20px; }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
.chips div { border: 1px solid rgba(255, 247, 239, .18); border-radius: 14px; padding: 14px 16px; font-size: 15px; font-weight: 700; }
.band img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 28px; }
.band .btn-light { align-self: flex-start; margin-top: 8px; }

/* Visit */
.visit .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; }
.visit-info { display: flex; flex-direction: column; gap: 28px; }
.label { font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.visit-info p { margin: 0; font-size: 18px; line-height: 1.6; }
.visit-info .muted { font-size: 15px; color: var(--muted); margin-top: 4px; }
.map { border-radius: 24px; overflow: hidden; background: var(--card-line); min-height: 380px; display: flex; flex-direction: column; }
.map iframe { border: 0; width: 100%; flex: 1; min-height: 340px; }
.map .btn { border-radius: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 36px; padding-bottom: 36px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-footer img { height: 22px; width: auto; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; font-weight: 700; }
.footer-links a { text-decoration: none; }
.footer-copy { font-size: 13px; color: var(--muted); }

/* Phone quick bar */
.quick-bar { display: none; }

/* ── Menu page ── */
.menu-hero .wrap { padding-top: 64px; padding-bottom: 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.menu-hero h1 { margin: 0; font-size: clamp(48px, 7vw, 72px); font-weight: 900; letter-spacing: -1px; line-height: 1; }
.menu-hero .sub { margin-top: 10px; color: var(--ink); font-weight: 500; }
.menu-hero aside { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; text-align: right; font-size: 14px; color: var(--muted); }
.menu-hero .btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.menu-hero .btns .btn { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.cat-bar { position: sticky; top: 76px; z-index: 40; background: var(--cream); border-bottom: 1px solid var(--line); }
.cat-bar .wrap { padding-top: 12px; padding-bottom: 12px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.cat-bar .wrap::-webkit-scrollbar { display: none; }
.cat-bar a { flex-shrink: 0; text-decoration: none; font-size: 14px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; background: #fff; border: 1px solid #E5D8CA; border-radius: 999px; padding: 10px 16px; }
.menu-section { padding: 56px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 150px; }
.menu-section:last-child { border-bottom: 0; }
.menu-section-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 30px; }
.menu-section-head h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; text-transform: uppercase; line-height: 1; }
.menu-section-head .alt { font-family: var(--thai); font-size: 18px; color: var(--ink); }
.menu-section-head .tag { font-size: 16px; color: var(--muted); }
.group + .group { margin-top: 36px; }
.group-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); padding-bottom: 10px; border-bottom: 2px solid var(--navy); margin-bottom: 20px; }
.dish-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.dish { background: #fff; border: 1px solid var(--card-line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.dish-photo { position: relative; }
.dish-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--stone); }
.dish-photo .badge { position: absolute; left: 12px; top: 12px; font-size: 10px; padding: 4px 8px; border-radius: 5px; }
.dish-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 3px; }
.dish-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.dish-title h3 { margin: 0; font-size: 15px; font-weight: 900; text-transform: uppercase; line-height: 1.25; }
.dish-title .price { font-size: 16px; }
.dish .alt { font-family: var(--thai); font-size: 13px; color: var(--ink); }
.text-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; margin: 0; padding: 0; list-style: none; }
.dish-grid + .text-list { margin-top: 20px; }
.text-list li { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--card-line); }
.text-list .name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 16px; font-weight: 800; text-transform: uppercase; }
.text-list .name .badge { font-size: 10px; padding: 3px 7px; border-radius: 5px; }
.text-list .alt { display: block; font-family: var(--thai); font-size: 14px; color: var(--ink); margin-top: 3px; }
.text-list .price { font-size: 17px; }
html[lang="th"] .dish-title h3, html[lang="th"] .text-list .name { text-transform: none; font-family: var(--thai); font-weight: 700; }
.menu-foot { padding: 40px 0 96px; font-size: 14px; color: var(--muted); }

/* ── Private dining page ── */
.pd-hero h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.03; text-transform: uppercase; }
.facts .wrap { padding-top: 28px; padding-bottom: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.facts b { display: block; font-size: 26px; font-weight: 900; }
.facts span { display: block; font-size: 14px; color: var(--muted); }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps li { border: 1px solid rgba(255, 247, 239, .2); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.steps .n { font-size: 32px; font-weight: 900; color: var(--accent-soft); }
.steps b { font-size: 17px; font-weight: 800; }
.steps span:last-child { font-size: 14px; line-height: 1.6; color: #D5DEE7; }
@media (min-width: 761px) {
  .band.book .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .pd-hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.band.book a.tel { color: var(--cream); font-size: 16px; font-weight: 700; }

/* Fade-in */
.fade { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ── Tablet ── */
@media (max-width: 1020px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .explore-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dish-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quotes { grid-template-columns: 1fr; }
  .info-strip .wrap, .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
}

/* ── Phone ── */
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .site-header .wrap { height: 60px; }
  .logo img { height: 22px; }
  .nav { display: none; }
  .mobile-tools { display: flex; }
  .menu-toggle { display: inline-flex; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 60px; left: 0; right: 0; background: var(--cream);
    border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: 0 12px 24px rgba(16,42,67,.08);
  }
  .nav.open a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav.open .lang { display: none; }
  .nav.open .btn { margin-top: 12px; border-bottom: 0; }

  .hero .wrap { grid-template-columns: 1fr; gap: 20px; padding-top: 20px; padding-bottom: 36px; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 4 / 3; border-radius: 22px; }
  .hero-tag { display: none; }
  .hero-text { gap: 14px; }
  .hero h1 { font-size: clamp(24px, 7.4vw, 30px); letter-spacing: -.3px; }
  .eyebrow { font-size: 12px; letter-spacing: 2px; }
  .hero-sub-th { font-size: 18px; }
  .hero-lead { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .rating { padding: 8px 14px; }

  .info-strip { background: transparent; border: 0; }
  .info-strip .wrap { margin: 0 16px; padding: 18px; gap: 16px; background: #fff; border: 1px solid var(--card-line); border-radius: 18px; }
  .info-item svg { display: none; }
  .info-item b { font-size: 14px; }
  .info-item span { font-size: 13px; }

  .section { padding: 56px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
  .sub { font-size: 15px; }
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .card { flex-direction: row; border-radius: 18px; gap: 14px; }
  .card img { width: 116px; aspect-ratio: auto; height: auto; min-height: 124px; flex-shrink: 0; }
  .card-body { padding: 12px 14px 12px 0; gap: 4px; flex: 1; min-width: 0; }
  .card .badge { font-size: 10px; padding: 3px 8px; }
  .card-title { flex-direction: column; gap: 4px; margin-top: 4px; }
  .card h3 { font-size: 15px; line-height: 1.2; }
  .card .alt { font-size: 13px; }
  .card .desc { display: none; }
  .card .price { font-size: 17px; order: 3; }

  .explore-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .explore-grid span { font-size: 12px; }

  .story .wrap, .band .wrap, .visit .wrap, .reviews .wrap { grid-template-columns: 1fr; gap: 28px; }
  .story-photos { grid-template-columns: 1fr; }
  .story-photos img { height: 240px; }
  .story-photos img + img { display: none; }
  .reviews .wrap { padding-top: 48px; padding-bottom: 48px; }
  .score { font-size: 56px; }
  .band .wrap { padding-top: 48px; padding-bottom: 48px; }
  .band img { display: none; }
  .band .btn-light { align-self: stretch; }
  .chips { grid-template-columns: 1fr; }
  .map { min-height: 260px; }
  .map iframe { min-height: 220px; }

  .quick-bar {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--navy); padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .quick-bar a { height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--cream); text-decoration: none; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
  .quick-bar a.main { background: var(--accent); }

  .menu-hero .wrap { padding-top: 32px; }
  .menu-hero aside { align-items: flex-start; text-align: left; }
  .menu-hero .btns { justify-content: flex-start; }
  .cat-bar { top: 60px; }
  .menu-section { padding: 40px 0; scroll-margin-top: 120px; }
  .dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .dish-body { padding: 10px 12px 12px; }
  .dish-title { flex-direction: column; gap: 2px; }
  .dish-title h3 { font-size: 13px; }
  .dish-title .price { font-size: 15px; }
  .dish .alt { font-size: 12px; }
  .text-list { grid-template-columns: 1fr; }
  .text-list .name { font-size: 15px; }

  .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts b { font-size: 22px; }
}

/* Thai: no letter-spacing (it breaks Thai glyph clusters) */
html[lang="th"] body * { letter-spacing: 0 !important; }
html[lang="th"] .h2, html[lang="th"] .menu-section-head h2 { font-family: var(--thai); font-weight: 700; }
@media (min-width: 761px) { .cat-bar .wrap { flex-wrap: wrap; } }
