/* ===== Brand fonts ===== */
@font-face { font-family: "CPAC"; src: url("fonts/cpac-bold.ttf?v=2") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Adman"; src: url("fonts/adman.ttf?v=2") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Adman"; src: url("fonts/adman-bold.ttf?v=2") format("truetype"); font-weight: 700; font-display: swap; }

/* ===== Brand palette ===== */
/* Green & yellow scheme: the former teal and blue roles now use brand greens */
:root {
  --teal:    #3B4F39;   /* hero & booking backgrounds (forest green) */
  --blue:    #2C3B2A;   /* footer, dark cards, accent text (deep green) */
  --forest:  #3B4F39;
  --lime:    #9EC589;
  --mustard: #D9C326;
  --butter:  #F8E98B;
  --cream:   #FBF7EC;
  --paper:   #FFFDF6;
  --ink:     #1F2A1E;
  --muted:   #4A5648;

  --display: "CPAC", "Arial Narrow", sans-serif;
  --body: "Adman", "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --gutter: clamp(16px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, .tab, .dish { -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 24px;          /* DB Adman runs small */
  line-height: 1.2;         /* DB Adman has tall built-in line spacing */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 0; line-height: 1; }
h2 { font-size: clamp(44px, 7vw, 88px); color: var(--forest); }
h3 { font-size: 26px; }
p { margin: 0 0 1em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.eyebrow {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 18px;
  color: var(--blue);
  margin-bottom: 14px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 20px;
  text-decoration: none;
  background: var(--mustard);
  color: var(--forest);
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid var(--mustard);
  transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); background: var(--butter); border-color: var(--butter); }
.btn--small { padding: 9px 20px; font-size: 17px; }
.btn--ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn--ghost:hover { background: var(--paper); color: var(--teal); border-color: var(--paper); }
.btn--ghost-dark { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--ghost-dark:hover { background: var(--forest); color: var(--paper); border-color: var(--forest); }

/* ===== Nav ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter);
  padding-top: calc(16px + env(safe-area-inset-top, 0px));
  transition: background .3s, box-shadow .3s, padding .3s;
}
.nav.is-scrolled, .page-menu .nav, .page-reserve .nav {
  background: rgba(59, 79, 57, .78);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .12), inset 0 -1px 0 rgba(248, 233, 139, .14);
  padding-block: 10px;
}
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: 18px;
  color: var(--paper); text-decoration: none; position: relative;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--mustard); transition: right .25s;
}
.nav__links a:not(.btn):hover::after { right: 0; }
.nav__toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--paper); transition: transform .3s, top .3s; }
.nav__toggle span:first-child { top: 15px; }
.nav__toggle span:last-child { top: 24px; }
.nav.is-open .nav__toggle span:first-child { top: 19px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 19px; transform: rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  background: var(--teal);
  color: var(--paper);
  min-height: 100vh; min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  padding: 88px var(--gutter) 22px;
  position: relative;
  overflow: hidden;
}
.hero .eyebrow { color: var(--butter); }
.hero__logo { width: min(520px, 100%); margin: 8px 0 32px; }
.hero__lead { font-size: clamp(22px, 2.1vw, 28px); max-width: 30ch; color: #F3F5EF; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__media { position: relative; }
.hero__photo { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(20, 30, 20, .35); }
/* The welcome video is the single, large feature of the top section */
.hero__media { display: flex; justify-content: center; align-items: center; height: min(calc(100vh - 110px), 920px); height: min(calc(100svh - 110px), 920px); min-height: 520px; }
.hero__clip {
  position: relative; z-index: 2; height: 100%; aspect-ratio: 9 / 16; max-width: 100%;
  border-radius: calc(var(--radius) + 4px); overflow: hidden; background: var(--forest);
  box-shadow: 0 40px 80px rgba(20, 30, 20, .45), 0 0 0 1px rgba(248, 233, 139, .12);
  filter: url(#hero-sharpen);                  /* light sharpening for the small source video */
}
.hero__video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  /* Same warm cinematic grade as the kitchen videos */
  filter: brightness(1.05) contrast(1.12) saturate(1.18) sepia(.1);
}
/* Film-style edge shading */
.hero__clip::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, .4);
}
.sr-filter { position: absolute; width: 0; height: 0; overflow: hidden; }
/* Safari-only: no SVG sharpening (it can blank the video); the colour grade still applies */
@supports (font: -apple-system-body) or (-webkit-touch-callout: none) { .hero__clip { filter: none; } }
/* iPhone/iPad: no colour filter on video at all; iOS can freeze a filtered video on its first frame.
   The film-style edge shading (an overlay, not a filter) still applies. */
@supports (-webkit-touch-callout: none) { .hero__video, .reel__video { filter: none; } }

/* Tap-to-play: shown only when a phone blocks videos from starting by themselves (e.g. iPhone Low Power Mode) */
.video-play {
  position: absolute; inset: 0; z-index: 3; display: none; place-items: center;
  background: rgba(20, 28, 20, .25); border: 0; cursor: pointer; padding: 0;
}
.video-play span {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(59, 79, 57, .82); color: var(--butter);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 0 0 2px rgba(248, 233, 139, .5);
}
.video-play svg { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.is-blocked > .video-play { display: grid; }
.hero__leaves { position: absolute; right: -14%; bottom: -16%; width: 70%; z-index: 1; opacity: .5; filter: brightness(1.6) saturate(.6); pointer-events: none; }

/* ===== Marquee ===== */
.marquee { background: var(--mustard); color: var(--forest); overflow: hidden; padding: 16px 0; }
.marquee__track { display: flex; align-items: center; gap: 32px; width: max-content; animation: scroll 32s linear infinite; }
.marquee span { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: 28px; white-space: nowrap; }
.marquee i { width: 12px; height: 12px; border-radius: 50%; background: var(--forest); flex: none; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===== Story ===== */
.story {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  background: var(--paper);
  overflow: clip;
}
.story h2 { margin-bottom: 28px; font-size: clamp(40px, 5vw, 68px); }
.story__text p { color: var(--muted); max-width: 46ch; }
.story__art img { width: 100%; }
.story__photos { position: relative; height: min(70vw, 640px); }
.story__photo { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 50px rgba(31, 42, 30, .18); }
.story__photo--a { left: 0; top: 0; width: 64%; height: 86%; }
.story__photo--b { right: 0; bottom: 0; width: 50%; height: 60%; border: 6px solid var(--paper); }
.story__th { font-size: 20px; color: var(--blue); }
.section-head h1 { font-size: clamp(44px, 7vw, 88px); color: var(--forest); }
.visit__block address { font-style: normal; font-size: 24px; }
.story__facts { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.story__facts li { border-top: 3px solid var(--lime); padding-top: 12px; }
.story__facts strong { display: block; font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: 26px; color: var(--forest); }
.story__facts span { font-size: 21px; color: var(--muted); }
.story__sketch { width: min(420px, 100%); margin-top: 40px; }

/* ===== Kitchen reel (looping video) ===== */
.reel {
  display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 80px); align-items: center;
  padding: clamp(80px, 10vw, 130px) var(--gutter);
  background: var(--ink); color: var(--paper);
}
.reel .eyebrow { color: var(--lime); }
.reel h2 { color: var(--butter); margin: 0; }
.reel__text p:not(.eyebrow) { color: rgba(255, 253, 246, .78); max-width: 38ch; margin-bottom: 32px; }
/* Video slider: two clips in view on larger screens; swipe, arrows or the slide bar to move */
.reel__slider { min-width: 0; width: 100%; max-width: 920px; justify-self: end; --reel-gap: clamp(12px, 2vw, 24px); }
.reel__track {
  display: flex; gap: var(--reel-gap); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding-bottom: 4px; border-radius: var(--radius);
}
.reel__track::-webkit-scrollbar { display: none; }
.reel__track:focus-visible { outline: 3px solid var(--mustard); outline-offset: 4px; }
.reel__clip {
  position: relative; flex: 0 0 calc((100% - var(--reel-gap)) / 2); min-width: 0;
  scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: #2a3428;
}
.reel__video {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block;
  /* Warm cinematic grade: richer colour, cleaner contrast, a touch of warmth */
  filter: brightness(1.05) contrast(1.12) saturate(1.18) sepia(.1);
}
/* Film-style edge shading and a soft light fall-off at top and bottom */
.reel__clip::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 70px rgba(0, 0, 0, .45);
  background: linear-gradient(180deg, rgba(0, 0, 0, .14) 0%, transparent 22%, transparent 78%, rgba(0, 0, 0, .18) 100%);
}
.reel__controls { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.reel__arrow {
  flex: none; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; padding: 0 0 4px;
  font-size: 34px; line-height: 1; color: var(--butter);
  background: transparent; border: 2px solid rgba(248, 233, 139, .6);
  transition: background .2s, color .2s, opacity .2s;
}
.reel__arrow:hover:not(:disabled) { background: var(--butter); color: var(--ink); }
.reel__arrow:disabled { opacity: .3; cursor: default; }
.reel__arrow:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }
/* The slide bar */
.reel__bar { flex: 1; min-width: 0; height: 44px; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; margin: 0; }
.reel__bar::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: rgba(248, 233, 139, .25); }
.reel__bar::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(248, 233, 139, .25); }
.reel__bar::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 14px; margin-top: -5px; border-radius: 999px; background: var(--butter); border: 0; }
.reel__bar::-moz-range-thumb { width: 56px; height: 14px; border-radius: 999px; background: var(--butter); border: 0; }
.reel__bar:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; border-radius: 8px; }

/* ===== Private dining & events ===== */
.events {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center;
  padding: clamp(80px, 10vw, 130px) var(--gutter);
  background: var(--paper);
}
.events__photo img { width: 100%; max-width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 50px rgba(31, 42, 30, .16); }
.events h2 { margin-bottom: 24px; font-size: clamp(40px, 5vw, 68px); }
.events__text > p:not(.eyebrow) { color: var(--muted); max-width: 44ch; }
.events__list { list-style: none; padding: 0; margin: 8px 0 32px; display: grid; gap: 10px; }
.events__list li { display: flex; align-items: center; gap: 12px; font-size: 21px; }
.events__list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--mustard); flex: none; }
.events__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===== Reservations (sent via LINE) ===== */
.reserve {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start;
  padding: clamp(80px, 10vw, 130px) var(--gutter);
  background: var(--teal); color: var(--paper);
}
.reserve .eyebrow { color: var(--butter); }
.reserve h2 { color: var(--butter); margin-bottom: 24px; }
.reserve__intro > p { max-width: 40ch; color: #F3F5EF; }
.reserve__intro a { color: var(--butter); }
.reserve__steps { list-style: none; counter-reset: step; padding: 0; margin: 32px 0; display: grid; gap: 18px; }
.reserve__steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; }
.reserve__steps li::before {
  content: counter(step); grid-row: span 2;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-size: 22px; background: var(--mustard); color: var(--forest);
}
.reserve__steps strong { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: 22px; font-weight: 700; color: var(--paper); }
.reserve__steps span { font-size: 21px; color: rgba(255, 253, 246, .8); }
.reserve__hours { font-size: 21px; }

.reserve__form {
  background: var(--paper); color: var(--ink); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; min-width: 0;
  box-shadow: 0 30px 60px rgba(20, 30, 20, .25);
}
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: 17px; color: var(--forest); }
.field .optional { font-family: var(--body); text-transform: none; letter-spacing: 0; color: var(--muted); font-size: 18px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 20px; color: var(--ink);
  background: var(--cream); border: 2px solid rgba(59, 79, 57, .18); border-radius: 12px;
  padding: 10px 14px; min-height: 48px;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(217, 195, 38, .45); }
.field [aria-invalid="true"] { border-color: #B3412E; }
.reserve__error { margin: 0; padding: 10px 14px; border-radius: 10px; background: #FBE7E3; color: #8A2F20; font-size: 21px; }
.btn--line-send {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  background: var(--forest); border-color: var(--forest); color: var(--butter); cursor: pointer; font-size: 20px;
}
.btn--line-send:hover { background: var(--blue); border-color: var(--blue); }
.btn--line-send .line-icon { width: 26px; height: 26px; margin: 0; }
.btn--line-send .line-icon .li-bg { fill: var(--butter); }
.btn--line-send .line-icon .li-bubble { fill: var(--forest); }
.btn--line-send .line-icon .li-text { stroke: var(--butter); }
.reserve__fine { margin: -4px 0 0; text-align: center; font-size: 19px; color: var(--muted); }
.reserve__done { border-top: 2px dashed rgba(59, 79, 57, .25); padding-top: 18px; display: grid; gap: 10px; }
.reserve__done h3 { color: var(--forest); font-size: 24px; }
.reserve__done p { margin: 0; font-size: 21px; }
.reserve__alt { color: var(--muted); }
.reserve__message {
  margin: 0; white-space: pre-wrap; word-break: break-word; font-family: var(--body); font-size: 20px; line-height: 1.35;
  background: var(--cream); border-radius: 12px; padding: 14px; max-height: 260px; overflow: auto; user-select: all;
}
.reserve__done-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== Menu ===== */
.menu { padding: clamp(80px, 10vw, 130px) var(--gutter); background: var(--cream); }
.section-head { text-align: center; margin-bottom: 40px; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.tab {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: 18px;
  padding: 10px 20px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--forest); border: 2px solid var(--forest);
  transition: background .2s, color .2s;
}
.tab:hover { background: rgba(59,79,57,.08); }
.tab.is-active { background: var(--forest); color: var(--butter); }
.panel { display: none; grid-template-columns: repeat(4, 1fr); gap: 28px; max-width: 1320px; margin: 0 auto; }
.panel.is-active { display: grid; animation: fade .45s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } }
.dish { margin: 0; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 0 rgba(59,79,57,.06), 0 14px 30px rgba(59,79,57,.08); transition: transform .3s, box-shadow .3s; cursor: zoom-in; }
.dish:hover { transform: translateY(-4px); box-shadow: 0 2px 0 rgba(59,79,57,.06), 0 22px 40px rgba(59,79,57,.14); }
.dish img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s; }
.dish:hover img { transform: scale(1.04); }
.dish--wide { grid-column: span 2; }
.dish--wide img { aspect-ratio: 3 / 2; }
.dish figcaption { padding: 18px 20px 22px; position: relative; background: var(--paper); }
.dish h3 { color: var(--forest); font-size: 24px; margin-bottom: 6px; }
.dish p { margin: 0; color: var(--muted); font-size: 21px; line-height: 1.3; }
.dish p.th { font-size: 20px; }
/* Price sits in its own column so long names and two-price badges ("280 / 320") never overlap */
.dish figcaption:has(.price) { display: grid; grid-template-columns: 1fr auto; column-gap: 14px; align-items: start; }
.dish figcaption:has(.price) > :not(.price) { grid-column: 1; }
.dish .price {
  grid-column: 2; grid-row: 1 / span 3; white-space: nowrap; margin-top: -2px;
  font-family: var(--display); font-size: 22px; letter-spacing: .04em;
  background: var(--butter); color: var(--forest); padding: 4px 12px; border-radius: 999px;
}

.menu__more { text-align: center; margin-top: 56px; }
.menu__more p { margin: 14px 0 0; color: var(--muted); font-size: 21px; }
.btn--forest { background: var(--forest); border-color: var(--forest); color: var(--butter); }
.btn--forest:hover { background: var(--blue); border-color: var(--blue); }

/* ===== Full menu (price list) ===== */
.full-menu { position: relative; overflow: clip; background: var(--paper); padding: clamp(80px, 10vw, 130px) var(--gutter); }
.full-menu__leaves { position: absolute; width: 560px; left: -140px; top: 40px; opacity: .12; pointer-events: none; }
.full-menu__note { color: var(--muted); font-size: 20px; margin: 14px 0 0; }
.cat-nav {
  position: sticky; top: var(--nav-h, 62px); z-index: 5;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  max-width: 1320px; margin: 0 auto 40px; padding: 10px 4px;
  background: rgba(255, 253, 246, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: 999px;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a {
  flex: none; text-decoration: none; white-space: nowrap;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: 17px;
  padding: 7px 16px; border-radius: 999px; color: var(--forest); background: rgba(158, 197, 137, .28);
  transition: background .2s, color .2s;
}
.cat-nav a:hover, .cat-nav a.is-active { background: var(--forest); color: var(--butter); }

/* Menu page: solid nav, one category shown at a time */

/* Booking page: the form section fills the screen under the solid nav */
.page-reserve .reserve { min-height: 100vh; min-height: 100svh; padding-top: clamp(110px, 12vw, 150px); }
.page-reserve .reserve h1 { font-size: clamp(44px, 7vw, 88px); color: var(--butter); margin-bottom: 24px; }
.nav__links .btn[aria-current="page"] { background: var(--butter); border-color: var(--butter); }
.page-menu .nav__links a[aria-current="page"]::after { right: 0; }
.page-menu .full-menu { min-height: 100vh; min-height: 100svh; padding-top: 120px; }
.page-menu .cat-nav { justify-content: safe center; }
.page-menu .cats { grid-template-columns: 1fr; max-width: 980px; }
.page-menu .cat[hidden] { display: none; }
.page-menu .cat { animation: fade .35s ease; }
.page-menu .cat:not(.cat--wide) .items { columns: 2; column-gap: 48px; }
.cats {
  position: relative;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  max-width: 1320px; margin: 0 auto; align-items: start;
}
.cat-stack { display: grid; gap: 28px; }
.cat {
  background: var(--cream); border-radius: var(--radius); padding: 32px clamp(20px, 3vw, 40px) 26px;
  border: 1px solid rgba(59, 79, 57, .1); scroll-margin-top: 140px;
}
.cat--wide { grid-column: 1 / -1; }
.cat header { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; border-bottom: 3px solid var(--mustard); padding-bottom: 12px; margin-bottom: 8px; }
.cat h3 { font-size: clamp(30px, 3vw, 40px); color: var(--forest); }
.cat__th { color: var(--blue); font-size: 22px; }
.cat__note { margin: 14px 0 0; font-size: 20px; color: var(--muted); }
.items { list-style: none; margin: 0; padding: 0; }
.items--2col { columns: 2; column-gap: 48px; }
.items li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 12px 0; border-bottom: 1px dashed rgba(59, 79, 57, .22);
  break-inside: avoid;
}
.items li > div { flex: 1; min-width: 0; }
.items b { display: block; font-weight: 700; font-size: 23px; line-height: 1.15; color: var(--ink); }
.items i { display: block; font-style: normal; font-size: 20px; color: var(--muted); line-height: 1.2; margin-top: 2px; }
.items b { display: inline; }
.items small { display: block; font-size: 19px; line-height: 1.3; color: var(--muted); margin-top: 3px; }
.items .rec {
  display: inline-block; vertical-align: 3px; margin-left: 8px;
  font-style: normal; font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: 13px;
  background: var(--mustard); color: var(--forest); padding: 2px 8px; border-radius: 999px;
}
.cat--dark .items small { color: rgba(255, 253, 246, .75); }
.cat--dark .items .rec { background: var(--butter); }
.items span { flex: none; font-family: var(--display); font-size: 22px; letter-spacing: .04em; color: var(--forest); }
.cat--dark { background: var(--forest); border-color: var(--forest); }
.cat--dark h3, .cat--dark .items span { color: var(--butter); }
.cat--dark .cat__th { color: var(--lime); }
.cat--dark .items b { color: var(--paper); }
.cat--dark .items i { color: rgba(255, 253, 246, .8); }
.cat--dark .items li { border-color: rgba(255, 253, 246, .18); }
.cat--thai { background: #EEF5EA; }
.cat--butter { background: #FCF4C6; }
.cat--blue { background: var(--blue); border-color: var(--blue); }
.cat--blue h3, .cat--blue .items span { color: var(--butter); }
.cat--blue .cat__th { color: var(--lime); }
.cat--blue .items b, .cat--blue .cat__note { color: var(--paper); }
.cat--blue .items li { border-color: rgba(255, 253, 246, .2); }
.cat--blue .items i { color: rgba(255, 253, 246, .82); }
.cat--blue .items small { color: rgba(255, 253, 246, .82); }
.cat--blue .items .rec { background: var(--butter); }

/* ===== Gallery ===== */
.gallery { background: var(--forest); padding: clamp(80px, 10vw, 130px) var(--gutter); }
.section-head--light h2 { color: var(--butter); }
.section-head--light .eyebrow { color: var(--lime); }
/* Justified rows: each photo's width follows its own aspect ratio (--ar),
   so every photo in a row shares one height and is shown whole, uncropped */
.gallery__grid { display: grid; gap: 16px; max-width: 1100px; margin: 0 auto; }
.gallery__row { display: flex; gap: 16px; }
.gallery__row img {
  flex: var(--ar) 1 0; min-width: 0; width: 100%; height: auto;
  aspect-ratio: var(--ar); object-fit: cover;
  border-radius: 14px; cursor: zoom-in; transition: opacity .3s;
}
.gallery__row img:hover { opacity: .85; }

/* ===== Visit ===== */
.visit {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  background: var(--butter);
}
.visit .eyebrow { color: var(--blue); }
.visit h2 { margin-bottom: 28px; }

/* Contact card: one clear row per topic, icon on the left */
.visit__card {
  background: var(--paper); border-radius: var(--radius); padding: 6px clamp(20px, 3vw, 36px);
  box-shadow: 0 18px 40px rgba(59, 79, 57, .12); border: 1px solid rgba(59, 79, 57, .1);
}
.visit__block { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding: 24px 0; }
.visit__block + .visit__block { border-top: 2px dashed rgba(59, 79, 57, .2); }
.visit__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--forest); }
.visit__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--butter); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.visit__block h3 { font-size: 20px; letter-spacing: .14em; color: var(--forest); margin: 2px 0 8px; }
.visit__block p { margin: 0; font-size: 24px; line-height: 1.35; }
.visit__block address { line-height: 1.35; color: var(--ink); }
.visit__th { margin-top: 8px !important; font-size: 21px !important; color: var(--muted); }
.visit__phone { font-family: var(--display); font-size: clamp(30px, 3.4vw, 40px) !important; letter-spacing: .06em; line-height: 1.1 !important; }
.visit__phone a { border-bottom: 0 !important; color: var(--forest); }
.visit__contacts { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; font-size: 23px; }
.visit__block .visit__contacts a {
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 0 !important; text-decoration: underline; text-decoration-color: var(--mustard);
  text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.visit__block a { text-decoration: none; border-bottom: 2px solid var(--mustard); overflow-wrap: anywhere; }
.visit__hours { margin: 0; display: grid; gap: 6px; }
.visit__hours div { display: flex; justify-content: space-between; gap: 16px; max-width: 360px; padding-bottom: 6px; border-bottom: 1px solid rgba(59, 79, 57, .12); }
.visit__hours dt { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: 19px; color: var(--muted); }
.visit__hours dd { margin: 0; font-size: 24px; font-variant-numeric: tabular-nums; }
.visit__days { margin-top: 12px !important; font-size: 22px !important; }
.visit__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.visit .btn:not(.btn--ghost-dark) { background: var(--forest); border-color: var(--forest); color: var(--butter); }
.visit .btn:not(.btn--ghost-dark):hover { background: var(--blue); border-color: var(--blue); }

.visit__map { grid-column: 1 / -1; border-radius: var(--radius); overflow: hidden; border: 3px solid var(--forest); height: 380px; }
.visit__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.visit__art img { width: 100%; max-height: 640px; object-fit: contain; margin: 0 auto; }

/* ===== Footer ===== */
.footer__addr { font-size: 20px; opacity: .85; margin: 0 0 18px; }
.footer { background: var(--blue); color: var(--butter); text-align: center; padding: 64px var(--gutter) 40px; }
.footer__logo { width: 180px; margin: 0 auto 14px; }
.footer__thai { font-size: 26px; margin-bottom: 28px; }
.footer__social { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-bottom: 28px; }
.footer__social a { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: 18px; text-decoration: none; }
.footer__social a:hover { color: var(--paper); }
/* Facebook / Instagram icons: butter shapes with the footer blue cut out, matching the LINE icon */
.social-link { display: inline-flex; align-items: center; gap: 8px; }
.social-icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.social-icon .cut { fill: var(--blue); }
.social-icon .ring { fill: none; stroke: var(--blue); stroke-width: 2.2; }
.footer__social a:hover .social-icon .cut, .footer__social a:hover .social-icon .ring { stroke-opacity: 1; }
.footer__copy { font-size: 18px; opacity: .7; margin: 0; }

/* ===== Quick-contact dock ===== */
.dock {
  position: fixed; z-index: 40;
  left: max(16px, env(safe-area-inset-left, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateX(-24px); pointer-events: none;
  transition: opacity .4s ease, transform .4s cubic-bezier(.2, .7, .2, 1);
}
.dock.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.dock__btn {
  position: relative; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(59, 79, 57, .78); color: var(--butter);
  -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
  box-shadow: 0 6px 18px rgba(31, 42, 30, .22), inset 0 0 0 1px rgba(248, 233, 139, .22);
  text-decoration: none; transition: background .2s, transform .2s;
}
.dock__btn:hover, .dock__btn:focus-visible { background: var(--blue); transform: translateX(3px); }
.dock__btn:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }
.dock__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dock__btn svg .fill { fill: currentColor; stroke: none; }
.dock__btn svg .thin { stroke-width: 1.3; }
/* LINE icon in brand colours: forest tile, butter bubble, forest lettering */
.line-icon { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -0.22em; margin-right: 6px; stroke: none; flex: none; }
.line-icon .li-bg { fill: var(--forest); }
.line-icon .li-bubble { fill: var(--butter); stroke: none; }
.line-icon .li-text { fill: none; stroke: var(--forest); stroke-linecap: round; stroke-linejoin: round; }
/* In the dock it matches the other round buttons: the button supplies the forest circle */
.dock__btn .line-icon { width: 34px; height: 34px; margin: 0; stroke: none; }
.dock__btn .line-icon .li-bg { fill: none; }
.dock__btn:hover .line-icon .li-text, .dock__btn:focus-visible .line-icon .li-text { stroke: var(--blue); }
/* On the dark footer the tile would vanish, so flip it to butter */
.footer .line-icon .li-bg { fill: var(--butter); }
.footer .line-icon .li-bubble { fill: var(--blue); }
.footer .line-icon .li-text { stroke: var(--butter); }
.btn--line { display: inline-flex; align-items: center; }
.line-link { display: inline-flex; align-items: center; }
.dock__label {
  position: absolute; left: calc(100% + 10px); top: 50%; transform: translate(-6px, -50%);
  white-space: nowrap; pointer-events: none;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: 15px;
  background: var(--forest); color: var(--butter); padding: 6px 12px; border-radius: 999px;
  opacity: 0; transition: opacity .2s, transform .2s;
}
.dock__btn:hover .dock__label, .dock__btn:focus-visible .dock__label { opacity: 1; transform: translate(0, -50%); }
/* Phone-only parts of the dock stay hidden on larger screens */
.dock__short, .dock__btn--book { display: none; }

/* ===== Call sheet (fallback when a phone link can't dial) ===== */
.call-sheet {
  position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(20, 28, 20, .55); padding: 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}
.call-sheet__panel {
  position: relative; width: min(440px, 100%); background: var(--paper); color: var(--ink);
  border-radius: 20px; padding: 26px 22px 22px; text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3); animation: fade .25s ease;
}
.call-sheet__eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: 16px; color: var(--blue); margin: 0 0 8px; }
.call-sheet__number { font-family: var(--display); font-size: 40px; letter-spacing: .06em; color: var(--forest); margin: 0 0 8px; user-select: all; }
.call-sheet__hint { font-size: 20px; color: var(--muted); margin: 0 0 18px; }
.call-sheet__actions { display: grid; gap: 10px; }
.call-sheet__actions .btn { display: block; width: 100%; min-height: 48px; text-align: center; cursor: pointer; font-size: 18px; }
.call-sheet__close { position: absolute; top: 6px; right: 10px; width: 44px; height: 44px; background: none; border: 0; font-size: 32px; line-height: 1; color: var(--muted); cursor: pointer; }

/* Glass fallback: without backdrop blur, keep the bars nearly solid */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav.is-scrolled, .page-menu .nav, .page-reserve .nav { background: rgba(59, 79, 57, .95); }
  .dock__btn { background: rgba(59, 79, 57, .92); }
  .cat-nav { background: rgba(255, 253, 246, .96); }
}

/* No overflow: clip (older iOS): hide overflow on the story and keep the menu leaves inside the page */
@supports not (overflow: clip) {
  .story { overflow: hidden; }
  .full-menu__leaves { left: 0; }
}

/* ===== Lightbox ===== */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20, 28, 20, .92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 90vh; max-width: 92vw; border-radius: 12px; }
.lightbox__close { position: absolute; top: 14px; right: 20px; background: none; border: 0; color: var(--butter); font-size: 48px; cursor: pointer; line-height: 1; }

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms);
}
.reveal--left  { transform: translateX(-48px); }
.reveal--right { transform: translateX(48px); }
.reveal--zoom  { transform: scale(.94); }
.reveal.is-visible { opacity: 1; transform: none; }
.hero__leaves { will-change: transform; }

/* ===== Page transitions ===== */
/* Modern browsers: cross-page View Transitions (nav stays put, content cross-fades and slides) */
@view-transition { navigation: auto; }
.nav { view-transition-name: site-nav; }
::view-transition-old(root) { animation: page-out .28s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: page-in .45s cubic-bezier(0, 0, .2, 1) .08s both; }
@keyframes page-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes page-in { from { opacity: 0; transform: translateY(22px); } }

/* Fallback for browsers without View Transitions: fade in on load, fade out on leave (see script.js) */
@supports not (view-transition-name: none) {
  body { animation: page-in .45s cubic-bezier(0, 0, .2, 1) both; }
  body.is-leaving { opacity: 0; transform: translateY(-14px); transition: opacity .25s, transform .25s; }
}

/* Google rating badge (hero) */
.g-review {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  padding: 7px 16px 7px 7px; border-radius: 999px; text-decoration: none; color: var(--paper);
  background: rgba(255, 253, 246, .1); border: 1px solid rgba(248, 233, 139, .28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .25s, transform .25s;
}
.footer .g-review { margin: 0 0 26px; color: var(--paper); }
.g-review:hover { background: rgba(255, 253, 246, .18); transform: translateY(-2px); }
.g-review__logo { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; flex: none; }
.g-review__logo svg { width: 20px; height: 20px; }
.g-review__score { font-family: var(--display); font-size: 24px; line-height: 1; color: var(--butter); }
.g-review__stars {
  font-family: Arial, sans-serif; font-size: 17px; letter-spacing: 1px; line-height: 1;
  background: linear-gradient(90deg, var(--mustard) calc(var(--rating) / 5 * 100%), rgba(255, 253, 246, .3) 0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.g-review__label { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: 15px; white-space: nowrap; }

/* Live open / closed status */
.live-status {
  display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 0;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: 17px; line-height: 1.2;
}
.live-status::before {
  content: ""; width: 11px; height: 11px; border-radius: 50%; flex: none;
  background: var(--muted); box-shadow: 0 0 0 4px rgba(93, 106, 91, .18);
}
.live-status.is-open::before { background: #6FBF4A; box-shadow: 0 0 0 4px rgba(111, 191, 74, .25); animation: live-pulse 2s ease-out infinite; }
.live-status.is-soon::before { background: var(--mustard); box-shadow: 0 0 0 4px rgba(217, 195, 38, .28); animation: live-pulse 2s ease-out infinite; }
.live-status.is-closed::before { background: #C46A4A; box-shadow: 0 0 0 4px rgba(196, 106, 74, .22); }
.hero .live-status { color: var(--butter); }
.visit__block .live-status { color: var(--forest); font-size: 18px; margin-top: 14px; }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(111, 191, 74, .55); } 100% { box-shadow: 0 0 0 10px rgba(111, 191, 74, 0); } }

/* Scroll progress line under the top bar */
.nav__progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--lime), var(--mustard));
  transform: scaleX(0); transform-origin: 0 50%; pointer-events: none;
}

/* Menu page: search and "Recommended" filter */
.menu-tools { position: relative; display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.menu-search {
  flex: 1 1 260px; display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 18px;
  background: #fff; border: 2px solid rgba(59, 79, 57, .18); border-radius: 999px; transition: border-color .2s, box-shadow .2s;
}
.menu-search:focus-within { border-color: var(--forest); box-shadow: 0 0 0 4px rgba(158, 197, 137, .35); }
.menu-search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--forest); stroke-width: 2.4; stroke-linecap: round; }
.menu-search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink);
  font-family: var(--body); font-size: 22px; padding: 10px 0;
}
.menu-search input::placeholder { color: var(--muted); opacity: .8; }
.menu-rec {
  min-height: 50px; padding: 0 20px; border-radius: 999px; cursor: pointer;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: 17px;
  color: var(--forest); background: var(--paper); border: 2px solid var(--mustard); transition: background .2s, color .2s;
}
.menu-rec[aria-pressed="true"] { background: var(--mustard); color: var(--forest); }
.menu-rec:hover { background: var(--butter); }
.menu-results { position: relative; margin: 14px 0 0; font-size: 20px; color: var(--forest); }
.cat-nav:has(~ .cats.is-filtering) { opacity: .55; }
.cats.is-filtering .cat { animation: none; }

/* Lightbox browsing */
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid rgba(248, 233, 139, .35); background: rgba(59, 79, 57, .7); color: var(--butter);
  font-size: 40px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 4px;
}
.lightbox__nav:hover { background: var(--forest); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
.lightbox.is-single .lightbox__nav { display: none; }
.lightbox__caption {
  position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; padding: 0 70px; text-align: center;
  color: var(--butter); font-size: 20px;
}
.lightbox img { touch-action: pan-y; max-height: 82vh; max-height: 82svh; }
@media (max-width: 560px) {
  .lightbox__nav { width: 44px; height: 44px; font-size: 32px; top: auto; bottom: 64px; transform: none; }
  .lightbox__caption { bottom: 20px; padding: 0 16px; font-size: 18px; }
  .menu-rec { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .live-status::before { animation: none !important; } }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .panel { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 22px; }
  /* Same always-visible navigation as the desktop: logo row, then a row of link tabs that scrolls sideways */
  html { scroll-padding-top: calc(var(--nav-h, 110px) + 12px); }
  .nav {
    flex-wrap: wrap; row-gap: 6px; padding: 8px var(--gutter) 8px;
    padding-top: calc(8px + env(safe-area-inset-top, 0px));
    background: rgba(59, 79, 57, .82);
    -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .12), inset 0 -1px 0 rgba(248, 233, 139, .14);
  }
  .nav.is-scrolled, .page-menu .nav, .page-reserve .nav { padding-block: 8px; padding-top: calc(8px + env(safe-area-inset-top, 0px)); }
  .nav__toggle { display: none; }
  .nav__links {
    order: 2; width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter));
    padding: 2px var(--gutter) 2px; gap: 8px;
    overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
  }
  .nav__links::-webkit-scrollbar { display: none; }
  .nav__links a { flex: none; scroll-snap-align: start; }
  .nav__links a:not(.btn) {
    font-size: 15px; letter-spacing: .1em; white-space: nowrap;
    display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px;
    border-radius: 999px; background: rgba(255, 253, 246, .1); border: 1px solid rgba(248, 233, 139, .22);
  }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links a[aria-current="page"]:not(.btn) { background: rgba(248, 233, 139, .9); color: var(--forest); }
  .nav__links .btn--small { display: inline-flex; align-items: center; min-height: 38px; font-size: 15px; padding: 0 16px; white-space: nowrap; }
  .page-reserve .reserve { padding-top: calc(var(--nav-h, 110px) + 28px); }
  .page-menu .full-menu { padding-top: calc(var(--nav-h, 110px) + 28px); }

  .hero { grid-template-columns: 1fr; padding-top: calc(var(--nav-h, 110px) + 24px); min-height: auto; }
  .hero__media { height: 640px; }
  .story, .visit, .reel, .events, .reserve { grid-template-columns: 1fr; }
  .reel__slider { justify-self: stretch; max-width: none; }
  .cats { grid-template-columns: 1fr; }
  .items--2col, .page-menu .cat:not(.cat--wide) .items { columns: 1; }

  .story__art, .story__photos { order: -1; }
  .story__photos { height: 520px; }
  .visit__art { max-width: 560px; margin: 0 auto; }
  .visit__map { height: 300px; }
}
/* ===== Phones ===== */
@media (max-width: 560px) {
  :root { --bar-h: 64px; }
  /* Leave room under the page for the bottom action bar */
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px)); }
  h2 { font-size: clamp(40px, 12vw, 56px); }

  /* Nav: comfortable tap targets */
  .nav__logo { display: block; padding-block: 4px; }
  .nav__links a:not(.btn), .nav__links .btn--small { font-size: 14px; min-height: 40px; }

  /* Hero */
  .hero { padding-top: calc(var(--nav-h, 104px) + 20px); padding-bottom: 48px; gap: 28px; }
  .hero .eyebrow { font-size: 15px; letter-spacing: .12em; }
  .hero__cta .btn { flex: 1 1 auto; text-align: center; }
  .hero__media { height: min(560px, 72vh); }

  /* Bottom action bar replaces the floating side buttons */
  .dock {
    left: 0; right: 0; bottom: 0; gap: 4px;
    flex-direction: row; justify-content: space-around;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    background: rgba(59, 79, 57, .8); box-shadow: 0 -6px 24px rgba(20, 28, 20, .18), inset 0 1px 0 rgba(248, 233, 139, .16);
    -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
    transform: translateY(110%); opacity: 1;
  }
  .dock.is-shown { transform: none; }
  .dock__btn {
    flex: 1 1 0; width: auto; height: auto; min-height: 52px; border-radius: 12px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    background: none; box-shadow: none;
  }
  .dock__btn { -webkit-backdrop-filter: none; backdrop-filter: none; }   /* the bar itself is the glass */
  .dock__btn:hover, .dock__btn:focus-visible { transform: none; background: rgba(255, 253, 246, .08); }
  .dock__btn svg { width: 22px; height: 22px; }
  .dock__btn .line-icon { width: 26px; height: 26px; }
  .dock__btn[href*="instagram"], .dock__btn[href*="facebook"] { display: none; }
  .dock__label { display: none; }
  .dock__short { display: block; font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: 14px; line-height: 1; }
  .dock__btn--book { display: flex; background: var(--mustard); color: var(--forest); }
  .dock__btn--book:hover, .dock__btn--book:focus-visible { background: var(--butter); }
  .page-reserve .dock__btn--book { display: none; }

  /* What We Cook: tabs and dishes become sideways-swipe rows */
  .tabs {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)) 18px; padding: 4px var(--gutter);
    scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; font-size: 17px; padding: 0 16px; min-height: 44px; scroll-snap-align: start; }
  .menu .section-head { margin-bottom: 20px; }
  .menu .section-head::after {
    content: "Swipe to see more dishes"; display: block; margin-top: 10px;
    font-size: 19px; color: var(--muted);
  }
  .panel.is-active {
    display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 6px var(--gutter) 18px;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  }
  .panel::-webkit-scrollbar { display: none; }
  .panel .dish, .panel .dish--wide { flex: 0 0 80%; scroll-snap-align: start; }
  .dish img, .dish--wide img { aspect-ratio: 1 / 1; }
  .dish:hover { transform: none; }
  .dish h3 { font-size: 22px; }
  .menu__more { margin-top: 28px; }

  /* Video slider on phones: one large clip with the next peeking in */
  .reel__track { margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scroll-padding-inline: var(--gutter); border-radius: 0; }
  .reel__clip { flex-basis: 74%; }

  /* Story, events, reservations */
  .story__facts { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .events__cta .btn, .visit__cta .btn { flex: 1 1 100%; text-align: center; justify-content: center; }

  /* Gallery keeps its two neat rows; tap a photo to see it full size */
  .gallery__grid, .gallery__row { gap: 8px; }
  .gallery__row img { border-radius: 10px; }

  /* Visit: drop the decorative drawing, make contact links easy to tap */
  .visit__art { display: none; }
  .visit__block a, .line-link { display: inline-flex; align-items: center; min-height: 44px; }
  .visit__card { padding: 2px 18px; }
  .visit__block { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 20px 0; }
  .visit__icon { width: 40px; height: 40px; }
  .visit__icon svg { width: 20px; height: 20px; }
  .visit__block address, .visit__block p, .visit__hours dd { font-size: 22px; }
  .visit__th, .visit__days { font-size: 20px !important; }
  .visit__contacts { font-size: 21px; gap: 0; }
  .footer__social { gap: 6px 18px; }
  .footer__social a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; }

  /* Phones: content is never held off-position or invisible (scroll animations are off) */
  .reveal, .reveal--left, .reveal--right, .reveal--zoom { opacity: 1; transform: none; transition: none; }
  .panel.is-active, .page-menu .cat { animation: none; }

  /* Full menu: tabs and rows sized for thumbs */
  .cat-nav a { display: inline-flex; align-items: center; min-height: 40px; }
  .cat { padding: 24px 16px 18px; }
  .items span { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ===== Phones & touch screens: lighter effects for smooth scrolling =====
   Live blur behind fixed bars and colour filters on playing video are the costliest things a phone
   has to redraw on every scroll frame, so they are swapped for flat, slightly see-through colours. */
@media (max-width: 860px), (hover: none) and (pointer: coarse) {
  .hero__clip, .hero__video, .reel__video, .hero__leaves { filter: none !important; }
  .hero__leaves { will-change: auto; }
  .nav, .dock, .dock__btn, .cat-nav, .g-review, .video-play span, .lightbox__nav {
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  }
  .nav, .nav.is-scrolled, .page-menu .nav, .page-reserve .nav { background: rgba(52, 70, 50, .94); }
  .cat-nav { background: rgba(255, 253, 246, .97); }
  .live-status::before { animation: none !important; }
  .nav { transition: none; }
}
@media (max-width: 560px) { .dock { background: rgba(52, 70, 50, .95); } }