/* ===========================================================================
   lite-site-starter — styles.css
   No-build, framework-free. Reskin the whole site from the tokens below.
   The :root block is the only place you should need to touch for a new brand.
   ========================================================================== */

:root {
  /* ---- brand tokens (edit these per project) ---- */
  --ground:    #F6EFE3;   /* JHOL cream */
  --cream:     #FBF7EE;
  --soft:      #EFE3CE;   /* soft fill / cards-on-tint */
  --line:      #E2D5BE;
  --ink:       #211D18;   /* body text */
  --ink-soft:  #6B6152;
  --accent:    #D97B29;   /* burnt orange — buttons, highlights */
  --accent-deep:#B05F17;
  --accent-2:  #1E3D2B;   /* deep green — dark bands */
  --accent-3:  #9E2B25;   /* deep red — splash accents */

  --serif: "Fahkwang", "Noto Serif Thai", Georgia, serif;
  --sans:  "Bai Jamjuree", "Noto Sans Thai", system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --r: 14px;
  --shadow: 0 18px 50px -24px rgba(40, 20, 40, 0.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--ground);
  -webkit-font-smoothing: antialiased; line-height: 1.6; overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-deep); font-weight: 600; margin: 0 0 14px; }
.section { padding-block: clamp(56px, 9vw, 120px); }
.section--tint { background: linear-gradient(180deg, var(--cream), var(--soft)); }
.muted { color: var(--ink-soft); }
.lead { font-size: clamp(20px, 3vw, 30px); font-family: var(--serif); max-width: 740px; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease; min-height: 44px; }
.btn:active { transform: translateY(1px); }
.btn--accent { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 80%, white), var(--accent-deep)); color: #2A2113; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent-deep) 60%, transparent); }
.btn--accent:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--block { width: 100%; justify-content: center; }

/* ---- nav ---- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad); transition: background .3s ease, box-shadow .3s ease; }
.nav[data-scrolled="true"] { background: color-mix(in srgb, var(--ground) 92%, transparent); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav[data-scrolled="false"] .nav__brand, .nav[data-scrolled="false"] .nav__links a, .nav[data-scrolled="false"] .langtoggle { color: #fff; }
.nav__emblem { width: 30px; height: 30px; flex: none; }
.nav__name { font-family: var(--serif); font-weight: 600; font-size: 18px; letter-spacing: .14em; text-transform: uppercase; }
.nav__links { display: flex; gap: 26px; align-items: center; }
.nav__links a { font-size: 14px; text-decoration: none; opacity: .9; }
.nav__right { display: flex; align-items: center; gap: 14px; }
.langtoggle { font-weight: 600; font-size: 13px; background: rgba(255,255,255,.15); border: 1px solid currentColor; color: var(--ink);
  padding: 7px 12px; border-radius: 999px; cursor: pointer; min-height: 36px; }
@media (max-width: 860px) { .nav__links { display: none; } }

/* ---- hero ---- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; background: var(--accent-2); }
.hero__media, .hero__media video, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,10,20,.55), rgba(20,10,20,.2) 38%, rgba(20,10,20,.55)); }
.hero__inner { position: relative; z-index: 2; padding: var(--pad); max-width: 880px; }
.hero__emblem { width: 60px; height: 60px; margin: 0 auto 18px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); }
.hero__name { font-size: clamp(40px, 8vw, 92px); letter-spacing: .04em; text-shadow: 0 6px 30px rgba(0,0,0,.4); }
.hero__sub { font-family: var(--serif); font-size: clamp(18px, 3.4vw, 30px); opacity: .95; margin-top: 6px; }
.hero__tag { font-size: clamp(16px, 2.2vw, 21px); margin: 18px auto 28px; max-width: 620px; opacity: .96; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- reveal ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---- generic blocks ---- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px){ .grid--3, .grid--2 { grid-template-columns: 1fr; } }
.card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.figrow { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.figrow figure { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.figrow img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/2; }
.figrow figcaption { position: absolute; inset: auto 0 0 0; padding: 16px; color: #fff; font-size: 14px; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
@media (max-width: 820px){ .figrow { grid-template-columns: 1fr; } }

/* ---- calendar ---- */
.cal { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); max-width: 460px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal__title { font-family: var(--serif); font-size: 22px; }
.cal__nav { background: var(--soft); border: none; width: 38px; height: 38px; border-radius: 999px; cursor: pointer; font-size: 18px; color: var(--ink); }
.cal__nav:disabled { opacity: .35; cursor: not-allowed; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__dow span { text-align: center; font-size: 11px; color: var(--ink-soft); padding-bottom: 6px; }
.cal__day { aspect-ratio: 1; border: 1px solid transparent; border-radius: 10px; background: #fff; font-size: 14px; cursor: pointer; position: relative; display: grid; place-items: center; color: var(--ink); transition: transform .12s ease; }
.cal__day .dot { position: absolute; bottom: 6px; width: 6px; height: 6px; border-radius: 999px; }
.cal__day[data-state="open"] { border-color: #cfe6cf; } .cal__day[data-state="open"] .dot { background: #4f9d62; }
.cal__day[data-state="hold"] { background: #FBF3E2; color: #9a7b2e; } .cal__day[data-state="hold"] .dot { background: var(--accent); }
.cal__day[data-state="booked"] { background: #F4E5E5; color: #b98; cursor: not-allowed; text-decoration: line-through; } .cal__day[data-state="booked"] .dot { background: #cE8E8B; }
.cal__day[data-empty="true"], .cal__day[data-past="true"] { background: transparent; border: none; color: #cdbfb8; cursor: not-allowed; }
.cal__day[data-state="open"]:hover { transform: translateY(-2px); border-color: var(--accent); }
.cal__day[aria-pressed="true"] { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; box-shadow: 0 8px 18px -8px color-mix(in srgb,var(--accent-deep) 70%, transparent); }
.cal__legend { display: flex; gap: 16px; margin-top: 14px; font-size: 12px; color: var(--ink-soft); flex-wrap: wrap; }
.cal__legend i { display: inline-block; width: 9px; height: 9px; border-radius: 999px; margin-right: 6px; }
.cal__msg { margin-top: 12px; font-size: 13px; color: var(--accent-2); min-height: 18px; }
.cal__msg[data-ok="true"] { color: #4f9d62; }

/* ---- form ---- */
.form { display: grid; gap: 16px; max-width: 520px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font-family: var(--sans); font-size: 15px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); min-height: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.field[data-invalid="true"] input, .field[data-invalid="true"] select { border-color: #c0392b; }
.field__err { color: #c0392b; font-size: 12px; margin-top: 5px; min-height: 14px; }
.form__success { background: linear-gradient(135deg, #fff, var(--soft)); border: 1px solid var(--accent); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
.form__success h3 { color: var(--accent-deep); font-size: 26px; margin-bottom: 8px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px){ .two { grid-template-columns: 1fr; } }

/* ---- map ---- */
.mapwrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; }
@media (max-width: 860px){ .mapwrap { grid-template-columns: 1fr; } }
.mapcanvas { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: #EAF0E6; min-height: 360px; }
.mapcanvas svg { width: 100%; height: 100%; display: block; }
.pin { position: absolute; transform: translate(-50%, -100%); cursor: pointer; border: none; background: none; padding: 0; }
.pin__dot { width: 24px; height: 24px; }
.pin__label { position: absolute; bottom: 130%; left: 50%; transform: translateX(-50%) translateY(6px); background: var(--ink); color: #fff; font-size: 12px; white-space: nowrap; padding: 5px 10px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.pin:hover .pin__label, .pin:focus-visible .pin__label { opacity: 1; transform: translateX(-50%) translateY(0); }
.pin:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 999px; }
.mapside { display: flex; flex-direction: column; gap: 14px; }
.addr { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.copybtn { font-size: 13px; background: var(--soft); border: none; border-radius: 999px; padding: 7px 14px; cursor: pointer; min-height: 36px; }
.copybtn[data-copied="true"] { background: #cfe6cf; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 12px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-deep); padding: 6px 12px; border-radius: 999px; font-weight: 600; }

/* ---- sticky + footer ---- */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.3); }
.sticky a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; text-decoration: none; font-weight: 600; font-size: 15px; }
.sticky a.call { background: var(--ink); color: #fff; }
.sticky a.line { background: #06C755; color: #fff; }
.sticky a[data-confirm="true"] { background: #b9a; }
@media (min-width: 769px){ .sticky { display: none; } }
.has-sticky { padding-bottom: 56px; }
@media (min-width: 769px){ .has-sticky { padding-bottom: 0; } }
.footer { background: var(--accent-2); color: #EBD7E6; padding: 40px var(--pad); text-align: center; }
.footer .nav__name { color: #fff; }
.confirm { font-size: 11px; letter-spacing: .08em; color: var(--accent-2); border: 1px dashed currentColor; padding: 2px 7px; border-radius: 6px; display: inline-block; }

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}


/* ===== JHOL grammar additions (Kebabs and Food) ===== */
.band--dark { background: var(--accent-2); color: #F4EFE6; }
.band--dark .eyebrow { color: var(--accent); }
.band--dark h2, .band--dark h3 { color: #FFF8EC; }
.band--dark .muted { color: rgba(244, 239, 230, 0.78); }
.chef { text-align: center; padding: clamp(56px, 9vw, 110px) var(--pad); }
.chef__quote { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 28px); line-height: 1.5; max-width: 760px; margin: 0 auto 26px; color: #FFF8EC; }
.chef__name { font-family: var(--serif); font-size: clamp(30px, 4vw, 46px); letter-spacing: 0.08em; color: var(--accent); }
.chef__role { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; margin-top: 8px; color: rgba(244,239,230,.66); }
.menuitem { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.menuitem:last-child { border-bottom: 0; }
.menuitem .n { font-weight: 600; }
.menuitem .p { font-family: var(--serif); color: var(--accent-deep); white-space: nowrap; }
.splash { display: inline-block; width: 46px; height: 10px; border-radius: 8px 2px 10px 3px; background: var(--accent-3); transform: rotate(-2deg); margin-left: 12px; vertical-align: middle; opacity: .85; }
.demobadge { display: inline-block; margin-top: 10px; padding: 3px 10px; border: 1px solid rgba(244,239,230,.35); border-radius: 999px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.section--tint.band--dark { background: var(--accent-2); }
