/* Phumara · design option "Riverside"
   After the Royal Park demo: Prata titles, Great Vibes script accents, Montserrat text, lots of air, thin lines.
   Phumara's rust replaces the gold; Khmer uses Noto Serif Khmer for titles and Kantumruy Pro for text. */

:root {
  --paper: #F5F2EC;
  --tint: #EFE8DE;
  --white: #FFFFFF;
  --ink: #1F1915;
  --muted: #776E67;
  --rust: #994215;
  --rust-deep: #7A3110;
  --cream: #FBF3EA;
  --peach: #F2C9A8;
  --line: rgba(31, 25, 21, 0.14);

  --display: 'Prata', 'Didot', 'Bodoni 72', Georgia, serif;
  --script: 'Great Vibes', 'Brush Script MT', cursive;
  --sans: 'Montserrat', system-ui, sans-serif;
  --serif-text: 'Noto Serif', Georgia, serif;
  --km-display: 'Noto Serif Khmer', serif;
  --km-text: 'Kantumruy Pro', 'Noto Serif Khmer', sans-serif;

  --gutter: clamp(20px, 6vw, 96px);
  --section: clamp(72px, 9vw, 130px);
  --max: 1200px;
  --bar-h: 84px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--bar-h); }
/* No visible scroll bars anywhere in this design; everything still scrolls with the wheel, touch and keys */
html, * { scrollbar-width: none; -ms-overflow-style: none; }
::-webkit-scrollbar { display: none; width: 0; height: 0; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 14px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; padding: 10px 16px; background: var(--white); }
.skip:focus { left: 8px; }
.center { text-align: center; }

/* ---------- Type ---------- */
.label { font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; line-height: 1.5; }
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1.05; letter-spacing: 0.01em; text-wrap: balance; }
.script { font-family: var(--script); font-weight: 400; color: var(--rust); line-height: 1; }
.stroke { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.prose p + p { margin-top: 1em; }
.prose, .head__text { color: var(--muted); font-size: 13.5px; }

.more, .text-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; border-bottom: 1px solid currentColor; color: var(--rust); font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; transition: color 0.3s var(--ease), gap 0.3s var(--ease); }
.more:hover, .text-link:hover, a:hover > .more { color: var(--rust-deep); gap: 12px; }
.more svg { width: 9px; height: 9px; }
.button, .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 34px; border: 1px solid var(--rust); border-radius: 999px; background: var(--rust); color: var(--white); font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; text-align: center; transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease); }
.button:hover, .btn:hover { background: var(--rust-deep); border-color: var(--rust-deep); transform: translateY(-2px); }
.button--light { background: var(--white); border-color: var(--white); color: var(--rust); }
.button--light:hover { background: var(--cream); border-color: var(--cream); color: var(--rust-deep); }
.button--ghost { background: transparent; color: var(--rust); }
.button--ghost:hover { background: var(--rust); color: var(--white); }

/* ---------- Header bar ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 90; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; height: var(--bar-h); padding: env(safe-area-inset-top, 0px) var(--gutter) 0; color: var(--white); font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; transition: background 0.4s var(--ease), color 0.4s var(--ease), height 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.bar::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; background: linear-gradient(180deg, rgba(20, 12, 6, 0.45), rgba(20, 12, 6, 0)); transition: opacity 0.4s; pointer-events: none; }
.bar.is-solid { --bar-h: 68px; background: rgba(245, 242, 236, 0.97); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.bar.is-solid::before { opacity: 0; }
.bar__side { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.bar__side--end { justify-content: flex-end; }
.bar__link, .bar__book { position: relative; }
.bar__link::after, .bar__book::after { content: ""; position: absolute; inset: auto 0 -4px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform 0.35s var(--ease); }
.bar__link:hover::after, .bar__link[aria-current]::after, .bar__book::after { transform: scaleX(1); }
.bar__logo { position: relative; display: grid; place-items: center; }
.bar__logo img { width: auto; height: 58px; transition: opacity 0.4s var(--ease), height 0.4s var(--ease); }
.bar__logo-dark { position: absolute; opacity: 0; }
.bar.is-solid .bar__logo img { height: 46px; }
.bar.is-solid .bar__logo-light { opacity: 0; }
.bar.is-solid .bar__logo-dark { opacity: 1; }
.burger { display: inline-flex; align-items: center; gap: 12px; font-size: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: inherit; }
.burger__lines { display: flex; flex-direction: column; justify-content: space-between; width: 26px; height: 10px; }
.burger__lines span { display: block; height: 1.5px; background: currentColor; }
.lang { display: flex; align-items: center; }
.lang a { padding: 4px 6px; opacity: 0.6; transition: opacity 0.3s; }
.lang a:hover, .lang a[aria-current] { opacity: 1; }
.lang a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.lang a[lang="km"] { font-family: var(--km-text); letter-spacing: 0; font-size: 12px; font-weight: 500; text-transform: none; }
.lang a + a::before { content: "|"; display: inline-block; margin-right: 10px; opacity: 0.4; font-family: var(--sans); font-size: 10px; text-decoration: none; }

/* ---------- Menu ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: var(--rust); color: var(--white); opacity: 0; transition: opacity 0.45s var(--ease); }
.drawer[hidden] { display: none; }
.drawer.is-open { opacity: 1; }
.drawer__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; height: 84px; padding: env(safe-area-inset-top, 0px) var(--gutter) 0; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.drawer__close { justify-self: start; display: inline-flex; align-items: center; gap: 12px; padding: 10px 0; font-size: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: inherit; }
.drawer__close svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.drawer__close:hover svg { transform: rotate(90deg); }
.drawer__logo img { height: 46px; width: auto; }
.drawer .lang { justify-self: end; }
.drawer__nav { display: grid; place-items: center; overflow-y: auto; padding: 16px var(--gutter); }
.drawer__nav ol { display: grid; justify-items: center; gap: clamp(4px, 1vh, 10px); }
.drawer__nav a { display: inline-flex; align-items: flex-start; gap: 10px; font-family: var(--display); font-size: clamp(1.4rem, min(4.6vw, 5.8vh), 3rem); text-transform: uppercase; line-height: 1.12; opacity: 0; transform: translateY(14px); transition: color 0.3s, opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--i) * 45ms + 120ms); }
.drawer.is-open .drawer__nav a { opacity: 1; transform: none; }
.drawer__nav sup { margin-top: 0.5em; font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.6); }
.drawer__nav a:hover, .drawer__nav a[aria-current] { color: var(--peach); }
.drawer__foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 30px; padding: 22px var(--gutter) calc(26px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255, 255, 255, 0.22); }
.drawer__foot .label { color: var(--peach); }

/* ---------- Home hero ---------- */
.hero, .phero { position: relative; display: grid; place-items: center; overflow: hidden; color: var(--white); background: #2a1d14; text-align: center; }
/* Every page opens with a full-screen photo */
.hero, .phero { min-height: clamp(560px, 100vh, 1400px); min-height: clamp(560px, var(--hero-h, 100svh), 1400px); }
.hero__img, .phero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: settle 2.6s var(--ease) both; }
.hero__img { object-position: 50% 60%; }
.hero::before, .phero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20, 12, 6, 0.5) 0%, rgba(20, 12, 6, 0.14) 30%, rgba(20, 12, 6, 0.2) 58%, rgba(20, 12, 6, 0.6) 100%); }
.hero__in, .phero__in { position: relative; z-index: 2; display: grid; justify-items: center; gap: clamp(16px, 2.2vw, 28px); width: 100%; padding: calc(var(--bar-h) + 30px) var(--gutter) 60px; }
.hero__title { font-size: clamp(3.6rem, 14vw, 13rem); line-height: 0.86; letter-spacing: 0.02em; text-shadow: 0 4px 40px rgba(0, 0, 0, 0.25); animation: rise 1.4s var(--ease) 0.2s both; }
.hero__sub { max-width: 440px; font-size: 13px; color: rgba(255, 255, 255, 0.86); animation: rise 1.4s var(--ease) 0.6s both; }
.hero .label, .phero .label { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4); }

.booking { display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 22px; border-radius: 999px; background: rgba(255, 255, 255, 0.95); color: var(--ink); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18); animation: rise 1.4s var(--ease) 0.45s both; }
.booking__group { display: flex; align-items: center; gap: 8px; padding-right: 18px; }
.booking__group + .booking__group { padding-left: 18px; border-left: 1px solid var(--line); }
.booking__group > svg { width: 14px; height: 14px; color: var(--rust); flex: none; }
.booking__dash { color: var(--muted); }
.booking > button[type="submit"] { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--rust); color: var(--white); transition: background 0.3s var(--ease), transform 0.3s var(--ease); }
.booking > button[type="submit"]:hover { background: var(--rust-deep); transform: rotate(-45deg); }
.booking > button[type="submit"] svg { width: 14px; height: 14px; }

/* ---------- Inner page hero ---------- */
.phero__title { max-width: 14em; font-size: clamp(2.8rem, 7.4vw, 6.6rem); line-height: 0.95; text-shadow: 0 4px 40px rgba(0, 0, 0, 0.25); animation: rise 1.3s var(--ease) 0.15s both; }
.phero__sub { max-width: 480px; font-size: 13.5px; color: rgba(255, 255, 255, 0.88); animation: rise 1.3s var(--ease) 0.4s both; }
.phero__down { position: absolute; bottom: 26px; left: 50%; z-index: 2; width: 12px; height: 18px; margin-left: -6px; color: rgba(255, 255, 255, 0.8); animation: bob 2.4s ease-in-out infinite; }
.phero__down svg { width: 12px; height: 18px; }

@keyframes settle { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- Sections ---------- */
.section { padding: var(--section) var(--gutter); }
.section--flush { padding-inline: 0; }
.section--tint { background: var(--tint); }
.section--white { background: var(--white); }
.head { display: grid; justify-items: center; gap: 18px; max-width: 900px; margin: 0 auto clamp(40px, 5vw, 70px); padding: 0 var(--gutter); text-align: center; }
.section > .head { padding: 0; }
.head--lg .display { font-size: clamp(2.2rem, 4.6vw, 4.2rem); }
.head--md .display { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.head .script { margin-top: -0.5em; font-size: clamp(2.5rem, 5vw, 4.6rem); }
.script--tilt { transform: rotate(-3deg); }
.head__text { max-width: 460px; }
.head .text-link { margin-top: 4px; }

/* Photo carousel */
.gallery-block > .head { margin-bottom: clamp(30px, 4vw, 50px); }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 50vw, 760px); gap: clamp(10px, 1.2vw, 18px); padding: 0 calc(50% - clamp(260px, 50vw, 760px) / 2); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; scroll-snap-align: center; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.gallery img:not(.is-current) { opacity: 0.65; transform: scale(0.94); }
.gallery__nav { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.gallery__nav button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; transition: border-color 0.3s, background 0.3s; }
.gallery__nav button:hover { border-color: var(--ink); background: var(--white); }
.gallery__nav svg { width: 14px; height: 10px; }
.section:not(.section--flush) > .gallery-block { margin-inline: calc(-1 * var(--gutter)); }

/* List rows with a photo on hover */
.svc-list { max-width: 1000px; margin: 0 auto; border-top: 1px solid var(--line); }
.svc { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; align-items: center; gap: 30px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.svc h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.15; }
.svc h3 sup { margin-left: 6px; font-family: var(--sans); font-size: 9px; font-weight: 500; color: var(--muted); vertical-align: super; }
.svc p { max-width: 400px; font-size: 12.5px; color: var(--muted); }
.svc__tag { display: block; margin-bottom: 4px; color: var(--rust); }
.svc__preview { position: absolute; top: 50%; left: 30%; z-index: 3; width: 230px; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 20px 40px rgba(31, 25, 21, 0.22); opacity: 0; transform: translate(-50%, -50%) rotate(-3deg) scale(0.92); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); pointer-events: none; }
.svc:hover .svc__preview { opacity: 1; transform: translate(-50%, -50%) rotate(-3deg); }

/* Text over a wide moving photo */
.feature { padding: var(--section) 0 0; }
.feature .head { margin-bottom: 0; }
.feature__photo { margin-top: clamp(50px, 6vw, 80px); height: clamp(320px, 40vw, 620px); overflow: hidden; }
.feature__photo img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }

/* Photos beside text */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 100px); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: var(--section) var(--gutter); }
.split--flip .split__media { order: 2; }
.split__media { position: relative; padding: 0 12% 12% 0; }
.split__main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__small { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 4 / 5; object-fit: cover; border: 8px solid var(--paper); }
.split--tint { background: var(--tint); max-width: none; }
.split--tint > * { max-width: calc(var(--max) / 2); }
.split--tint .split__media { justify-self: end; width: 100%; }
.split--tint .split__small { border-color: var(--tint); }
/* Rust band: photos beside white text on Phumara's colour */
.split--rust { max-width: none; background: var(--rust); color: var(--white); }
.split--rust > * { max-width: calc(var(--max) / 2); }
.split--rust .split__media { justify-self: end; width: 100%; }
.split--rust .split__small { border-color: var(--white); box-shadow: 0 24px 50px rgba(40, 14, 2, 0.35); }
.split--rust .split__main { border: 8px solid var(--white); box-shadow: 0 24px 50px rgba(40, 14, 2, 0.25); }
.split--rust .label, .split--rust .script { color: var(--peach); }
.split--rust .prose { color: rgba(255, 255, 255, 0.86); }
.split--rust .text-link { color: var(--white); }
.split--rust .text-link:hover { color: var(--peach); }
.split--rust .button { background: var(--white); border-color: var(--white); color: var(--rust); }
.split--rust :is(.checklist, .checklist li, .numlist, .numlist li) { border-color: rgba(255, 255, 255, 0.24); }
.split--rust .checklist li::before { background: var(--peach); }
.split--rust .numlist li::before { color: var(--peach); }
/* Photo on the right: both halves lean in toward the middle */
@media (min-width: 1001px) {
  .split--rust.split--flip .split__media { justify-self: start; }
  .split--rust.split--flip .split__body { justify-self: end; }
}
.split__body { display: grid; justify-items: start; gap: 20px; max-width: 520px; }
.split__body .display { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.split__body .script { margin: -0.45em 0 0; font-size: clamp(2.2rem, 3.8vw, 3.4rem); }

.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; width: 100%; border-top: 1px solid var(--line); }
.checklist li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.checklist li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--rust); transform: translateY(-2px); }
.numlist { width: 100%; border-top: 1px solid var(--line); counter-reset: n; }
.numlist li { display: flex; gap: 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; counter-increment: n; }
.numlist li::before { content: counter(n, decimal-leading-zero); font-family: var(--display); font-size: 0.95rem; color: var(--rust); }

/* Photo cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 40px); max-width: var(--max); margin: 0 auto; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1100px; }
.card__link { display: grid; gap: 10px; align-content: start; height: 100%; }
.card__photo { display: block; overflow: hidden; margin-bottom: 8px; }
.card__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1s var(--ease); }
.card--wide .card__photo img { aspect-ratio: 3 / 2; }
a.card__link:hover .card__photo img { transform: scale(1.04); }
.card__label { color: var(--muted); }
.card__title { font-family: var(--display); font-size: clamp(1.3rem, 1.9vw, 1.7rem); line-height: 1.15; }
.card__text { font-size: 13px; color: var(--muted); }
.card__price { font-family: var(--display); font-size: 1.15rem; color: var(--rust); }
.card__price small { margin-left: 4px; font-family: var(--sans); font-size: 11px; color: var(--muted); }
.card .more { justify-self: start; margin-top: 4px; }

/* A day here */
.day { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 40px); max-width: var(--max); margin: 0 auto; counter-reset: none; }
.day li { display: grid; gap: 8px; align-content: start; text-align: center; }
.day img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 10px; }
.day__time { font-size: 2.4rem; }
.day h3 { font-family: var(--display); font-weight: 400; font-size: 1.45rem; line-height: 1.15; }
.day li > p:last-child { max-width: 300px; margin: 0 auto; font-size: 13px; color: var(--muted); }

/* Fact band */
.facts { padding: clamp(60px, 7vw, 100px) var(--gutter); background: var(--white); text-align: center; }
.facts__label { margin-bottom: clamp(30px, 4vw, 50px); color: var(--rust); }
.facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: var(--max); margin: 0 auto; }
.facts__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 980px; }
.facts__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 700px; }
.facts__grid li { display: grid; gap: 8px; align-content: start; padding: 6px clamp(14px, 2.4vw, 36px); }
.facts__grid li + li { border-left: 1px solid var(--line); }
.facts__kicker { color: var(--muted); }
.facts__value { font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.15; }
.facts__text { font-size: 12.5px; color: var(--muted); }
.facts__note { margin-top: clamp(30px, 4vw, 46px); font-size: clamp(1.9rem, 3vw, 2.6rem); }
/* With a photo behind: the photo in its own colours, the facts on a white card floating over it */
.facts--photo { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 170px) var(--gutter); background: #2a1d14; }
.facts__img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.facts--photo .facts__card { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; padding: clamp(28px, 3.4vw, 46px) clamp(14px, 2.6vw, 36px); background: rgba(255, 255, 255, 0.95); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28); }
.facts--photo .facts__label { margin-bottom: clamp(20px, 2.6vw, 32px); }
.facts--photo .facts__grid li { padding-inline: clamp(10px, 1.6vw, 24px); }

/* Quote */
.quote { padding: var(--section) var(--gutter); text-align: center; }
.quote__in { display: grid; justify-items: center; gap: 18px; max-width: 900px; margin: 0 auto; }
.quote__mark { font-family: var(--display); font-size: 5rem; line-height: 0.6; color: var(--rust); }
.quote__text { font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 3rem); line-height: 1.25; text-wrap: balance; }
.quote__sign { font-size: clamp(2rem, 3vw, 2.6rem); }

/* Closing band on a photo */
.cta { position: relative; isolation: isolate; display: grid; place-items: center; overflow: hidden; padding: clamp(56px, 9vw, 128px) var(--gutter); text-align: center; background: #2a1d14; }
.cta__img { position: absolute; inset: -10% 0; z-index: -2; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
/* The letter-tile wall: 12 x 7 whole bricks per image; theme.js sizes it so whole bricks fit across and down */
.cta--wall { background: url("/assets/site/photos/letter-wall-tile.jpg") 0 0 / 1200px auto repeat, var(--rust); }
.cta--wall::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(40, 20, 8, 0.22), rgba(40, 20, 8, 0.36)); }
/* The card: beige with gold Khmer corner ornaments, Noto Serif words */
.cta__in { position: relative; z-index: 2; display: grid; justify-items: center; gap: 22px; width: min(100%, 860px); padding: clamp(44px, 5.6vw, 80px) clamp(24px, 5.6vw, 80px); background: #F3EADF; color: var(--ink); font-family: var(--serif-text); box-shadow: 0 30px 70px -30px rgba(20, 10, 4, 0.65); }
.cta__in::before, .cta__in::after { content: ""; position: absolute; top: 16px; left: 16px; width: clamp(62px, 7.6vw, 104px); aspect-ratio: 1; pointer-events: none; background: #BF8A60; -webkit-mask: url("/assets/site/ornaments/khmer-frame-corner.png") center / contain no-repeat; mask: url("/assets/site/ornaments/khmer-frame-corner.png") center / contain no-repeat; }
.cta__in::after { top: auto; left: auto; right: 16px; bottom: 16px; transform: rotate(180deg); }
.cta__label { font: 500 12.5px/1.2 var(--serif-text); letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink); }
.cta__title { max-width: 30ch; font: italic 400 clamp(1.5rem, 1rem + 1.1vw, 1.9rem)/1.25 var(--serif-text); letter-spacing: 0.01em; color: var(--rust); text-wrap: balance; }
.cta__text { display: grid; gap: 1.1em; max-width: 54ch; font-size: 15.7px; line-height: 1.7; color: #6E625A; }
.cta .button { margin-top: 6px; box-shadow: 0 12px 28px rgba(153, 66, 21, 0.22); }
.cta__quote { max-width: 34ch; line-height: 1.4; }
html[lang="km"] .cta__title { font-family: var(--km-display); font-style: normal; font-size: clamp(1.25rem, 0.9rem + 0.9vw, 1.6rem); line-height: 1.7; letter-spacing: 0; }
html[lang="km"] .cta__label { font-family: var(--km-text); letter-spacing: 0.02em; text-transform: none; font-size: 13.5px; }
html[lang="km"] .cta__text { font-family: var(--km-text); font-size: 14.5px; }
/* Button with the round rust arrow of the booking bar */
.button--arrow { gap: 18px; min-height: 56px; padding: 6px 6px 6px 30px; box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28); }
.button__arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--rust); color: var(--white); transition: transform 0.45s var(--ease), background 0.3s; }
.button__arrow svg { width: 14px; height: 14px; }
.button--arrow:hover .button__arrow { transform: rotate(-45deg); background: var(--rust-deep); }
.button--light.button--arrow:hover { background: var(--white); color: var(--rust-deep); }

/* Rooms */
.rooms { display: grid; gap: clamp(70px, 9vw, 130px); max-width: var(--max); margin: 0 auto; }
.room { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 6vw, 90px); }
.room:nth-child(even) .room__photo { order: 2; }
.room__photo { position: relative; display: block; overflow: hidden; }
.room__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease); }
.room__photo:hover img { transform: scale(1.04); }
.room__num { position: absolute; top: 18px; left: 18px; padding: 6px 12px; background: var(--paper); font-family: var(--display); font-size: 0.95rem; }
.room__body { display: grid; justify-items: start; gap: 16px; }
.room__body .label { color: var(--muted); }
.room__body h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1.05; text-transform: uppercase; }
.room__body > p { color: var(--muted); font-size: 13.5px; }
.spec { display: flex; flex-wrap: wrap; gap: 0; width: 100%; border-block: 1px solid var(--line); }
.spec div { padding: 12px 22px 12px 0; margin-right: 22px; border-right: 1px solid var(--line); }
.spec div:last-child { border-right: 0; }
.spec dt { font-size: 9.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.spec dd { font-family: var(--display); font-size: 1.05rem; }
.room__price { font-family: var(--display); font-size: 1.6rem; color: var(--rust); }
.room__price small { margin-left: 6px; font-family: var(--sans); font-size: 11px; color: var(--muted); }
.room__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

/* Room / package details */
.factbar { position: relative; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; max-width: calc(var(--max) - 80px); margin: -56px auto 0; padding: 22px clamp(22px, 4vw, 50px); background: var(--white); box-shadow: 0 24px 50px rgba(31, 25, 21, 0.1); }
.factbar dl { display: flex; flex-wrap: wrap; gap: 12px 0; }
.factbar dl div { padding-right: clamp(18px, 3vw, 40px); margin-right: clamp(18px, 3vw, 40px); border-right: 1px solid var(--line); }
.factbar dl div:last-child { border-right: 0; }
.factbar dt { font-size: 9.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.factbar dd { font-family: var(--display); font-size: 1.2rem; }
.factbar dd small { font-family: var(--sans); font-size: 11px; color: var(--muted); }
.detail { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); max-width: var(--max); margin: 0 auto; padding: var(--section) var(--gutter); }
.detail__main { display: grid; justify-items: start; gap: 22px; }
.detail__main .display { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.detail__main h3 { margin-top: 18px; font-family: var(--display); font-weight: 400; font-size: 1.5rem; }
.detail__card { align-self: start; position: sticky; top: calc(var(--bar-h) + 20px); display: grid; gap: 18px; padding: clamp(26px, 3vw, 40px); background: var(--white); text-align: center; }
.detail__card .card__price { font-size: 2rem; }
.detail__card .button { width: 100%; }
.detail__card .text-link { justify-self: center; }
.detail__note { font-size: 12px; color: var(--muted); }

/* Filter pills */
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto clamp(36px, 4vw, 56px); }
.pills button { padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); transition: border-color 0.3s, color 0.3s, background 0.3s; }
.pills button:hover { border-color: var(--ink); color: var(--ink); }
.pills button.is-on { background: var(--rust); border-color: var(--rust); color: var(--white); }
.pills small { margin-left: 4px; opacity: 0.6; letter-spacing: 0; }
[data-category].is-hidden { display: none; }

/* Today's menu */
.menu { max-width: 1000px; margin: 0 auto; }
.menu__today { color: var(--rust); }
.menu-cat + .menu-cat { margin-top: clamp(56px, 7vw, 90px); }
.menu-cat__head { display: grid; justify-items: center; gap: 8px; margin-bottom: 28px; text-align: center; }
.menu-cat__head h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 2.8vw, 2.4rem); text-transform: uppercase; }
.menu-cat__head p { font-size: 13px; color: var(--muted); }
.menu-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 60px); border-top: 1px solid var(--line); }
.menu-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.menu-item__body { flex: 1; min-width: 0; display: grid; gap: 4px; }
.menu-item__head { display: flex; align-items: baseline; gap: 10px; }
.menu-item__head h4 { font-family: var(--display); font-weight: 400; font-size: 1.15rem; line-height: 1.25; }
.menu-item__leader { flex: 1; min-width: 12px; border-bottom: 1px dotted rgba(31, 25, 21, 0.3); transform: translateY(-4px); }
.menu-item__price { font-family: var(--display); color: var(--rust); white-space: nowrap; }
.menu-item p { font-size: 12.5px; color: var(--muted); }
.menu-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.menu-tags span { padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 9px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rust); }
.menu-empty { text-align: center; color: var(--muted); }
.dish-thumb { position: relative; flex: none; width: 70px; height: 70px; overflow: hidden; border-radius: 50%; background: var(--tint); }
.dish-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
button.dish-thumb:hover img { transform: scale(1.08); }
.dish-thumb--empty { display: block; background: var(--tint) url("/assets/site/brand/icon.png") center / 46% no-repeat; opacity: 0.6; }
.dish-thumb-zoom { display: none; }

/* Dish photo viewer */
.viewer { width: min(92vw, 760px); max-height: 92vh; margin: auto; padding: 0; border: 0; background: transparent; overflow: visible; }
.viewer::backdrop { background: rgba(20, 12, 6, 0.75); }
.viewer-close { position: absolute; top: -46px; right: 0; display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.viewer-close i { position: relative; width: 16px; height: 16px; }
.viewer-close i::before, .viewer-close i::after { content: ""; position: absolute; top: 50%; left: 0; width: 16px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.viewer-close i::after { transform: rotate(-45deg); }
.viewer-frame { background: var(--paper); padding: 14px; }
.viewer-photo img { width: 100%; max-height: 70vh; object-fit: contain; background: var(--tint); }
.viewer-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 6px 4px; }
.viewer-names { display: grid; }
.viewer-title { font-family: var(--display); font-size: 1.3rem; }
.viewer-other { font-size: 12px; color: var(--muted); }
.viewer-price { font-family: var(--display); font-size: 1.3rem; color: var(--rust); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 46px); max-width: var(--max); margin: 0 auto; }
.steps li { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 1px solid var(--ink); }
.steps__num { font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 0.9; color: var(--rust); }
.steps h3 { font-family: var(--display); font-weight: 400; font-size: 1.35rem; }
.steps p { font-size: 13px; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 90px); max-width: var(--max); margin: 0 auto; padding: var(--section) var(--gutter); }
.contact__info { display: grid; align-content: start; justify-items: start; gap: 20px; }
.contact__info .display { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.contact__list { width: 100%; border-top: 1px solid var(--line); }
.contact__list div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact__list dt { font-size: 9.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact__list dd { display: grid; gap: 2px; font-size: 13.5px; }
.contact__list a { color: var(--rust); }
.pulse { display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: #3f9b5a; box-shadow: 0 0 0 0 rgba(63, 155, 90, 0.5); animation: pulse 2s infinite; vertical-align: 1px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(63, 155, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 155, 90, 0); } }
.form { display: grid; gap: 20px; padding: clamp(26px, 4vw, 50px); background: var(--white); }
.form .display { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__row--3 { grid-template-columns: 1fr 1fr 1fr; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 9.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; font-size: 14px; border-radius: 0; outline: none; transition: border-color 0.3s; color-scheme: light; }
.field select { appearance: none; padding-right: 20px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none' stroke='%231F1915' stroke-width='1.3'><path d='m1 1 4 4 4-4'/></svg>") right center / 9px no-repeat; cursor: pointer; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--rust); }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; inset: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); transition: all 0.3s; }
.choice input:checked + span { background: var(--rust); border-color: var(--rust); color: var(--white); }
.choice input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 3px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.form__note { flex-basis: 100%; min-height: 1.2em; font-size: 12.5px; color: var(--rust); }
.hp { position: absolute; left: -9999px; }
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--display); font-size: clamp(1.15rem, 1.8vw, 1.45rem); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 400; color: var(--rust); transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; max-width: 640px; font-size: 13.5px; color: var(--muted); }
.routes { width: 100%; border-top: 1px solid var(--line); }
.routes div { display: grid; grid-template-columns: 10rem 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.routes dt { font-size: 9.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.routes dd { font-size: 13.5px; }

.empty { text-align: center; color: var(--muted); }

/* ---------- Footer (brand rust) ---------- */

/* ---------- Reveal ---------- */
.reveal { transition: transform 1.1s var(--ease), opacity 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-waiting { transform: translateY(28px); opacity: 0.001; }

/* ---------- Khmer ---------- */
html[lang="km"] body { font-family: var(--km-text); font-size: 14.5px; line-height: 1.85; }
html[lang="km"] :is(.display, .svc h3, .card__title, .day h3, .facts__value, .quote__text, .room__body h2, .menu-cat__head h3, .menu-item__head h4, .steps h3, .faq summary, .drawer__nav a, .viewer-title) { font-family: var(--km-display); text-transform: none; letter-spacing: 0; line-height: 1.45; }
html[lang="km"] .hero__title { font-size: clamp(3.4rem, 12vw, 10rem); line-height: 1.25; }
html[lang="km"] .phero__title { font-size: clamp(2.2rem, 5.6vw, 4.8rem); line-height: 1.35; }
html[lang="km"] :is(.head--lg .display, .split__body .display, .cta .display, .detail__main .display, .contact__info .display) { font-size: clamp(1.7rem, 3.3vw, 2.9rem); }
html[lang="km"] :is(.label, .more, .text-link, .button, .btn, .bar, .drawer__top, .pills button, .choice span, .field > span, .spec dt, .factbar dt, .contact__list dt, .routes dt, .menu-tags span, .viewer-close) { letter-spacing: 0; text-transform: none; font-weight: 500; }
html[lang="km"] :is(.label, .more, .text-link, .bar, .drawer__top, .pills button, .choice span) { font-size: 12.5px; }
/* Khmer lines are taller, so the menu words are a little smaller to fit a laptop screen without scrolling */
html[lang="km"] .drawer__nav a { font-size: clamp(1.3rem, min(4.6vw, 4.6vh), 2.6rem); line-height: 1.4; }
html[lang="km"] :is(.prose, .head__text, .svc p, .card__text, .day li > p:last-child, .facts__text, .menu-item p, .steps p, .faq details p, .foot ul, .foot__brand p) { font-size: 14px; }
html[lang="km"] :is(.field > span, .spec dt, .factbar dt, .contact__list dt, .routes dt, .menu-tags span, .facts__kicker) { font-size: 12px; }
html[lang="km"] .script { font-family: var(--km-display); font-size: clamp(1.3rem, 2.4vw, 2rem) !important; line-height: 1.6; margin-top: 0 !important; transform: none; }
html[lang="km"] .quote__text { font-size: clamp(1.4rem, 2.6vw, 2.2rem); }

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .bar__link { display: none; }
  .split, .detail, .contact { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .split--tint > *, .split--rust > * { max-width: none; }
  .split__body, .detail__main { max-width: 640px; }
  .detail__card { position: static; }
  .room { grid-template-columns: 1fr; }
  .room:nth-child(even) .room__photo { order: 0; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .facts__grid li:nth-child(odd) { border-left: 0; }
}

@media (max-width: 900px) {
  .booking { flex-wrap: wrap; justify-content: center; border-radius: 24px; padding: 10px 12px; gap: 8px; }
  .booking__group { padding: 4px 6px; }
  .booking__group + .booking__group { border-left: 0; padding-left: 6px; }
  .svc { grid-template-columns: 1fr auto; gap: 8px 20px; }
  .svc p { grid-column: 1 / -1; grid-row: 2; }
  .svc__preview { display: none; }
  .menu-list { grid-template-columns: 1fr; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  :root { --bar-h: 68px; }
  .bar { grid-template-columns: auto 1fr auto; }
  .bar__logo { justify-self: center; }
  .bar__logo img { height: 46px; }
  .bar.is-solid .bar__logo img { height: 40px; }
  .burger__text, .bar__book { display: none; }
  .drawer__top { height: 68px; }
  .drawer__close span { display: none; }
  .drawer__logo img { height: 40px; }
  .hero__title { font-size: 15vw; }
  .phero__title { font-size: 10.2vw; line-height: 1.02; letter-spacing: 0; overflow-wrap: anywhere; }
  .svc { padding: 20px 0; }
  .svc h3 { font-size: 1.45rem; }
  .gallery { grid-auto-columns: 82vw; padding: 0 9vw; }
  .split__media { padding: 0 10% 14% 0; }
  .checklist { grid-template-columns: 1fr; }
  /* Rows of cards swipe sideways */
  .cards, .day { display: flex; gap: 14px; max-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .cards::-webkit-scrollbar, .day::-webkit-scrollbar { display: none; }
  .cards > *, .day > * { flex: 0 0 80%; scroll-snap-align: start; }
  /* The full packages list stacks instead */
  .cards--grid { display: grid; grid-template-columns: 1fr; gap: 44px; margin-inline: 0; padding: 0; overflow: visible; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { grid-template-columns: 3.2rem 1fr; column-gap: 14px; row-gap: 4px; padding: 18px 0; }
  .steps__num { grid-row: span 2; font-size: 2.2rem; }
  .pills { flex-wrap: nowrap; justify-content: flex-start; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; overflow-x: auto; scrollbar-width: none; }
  .pills::-webkit-scrollbar { display: none; }
  .pills button { flex: none; }
  .factbar { margin: -40px var(--gutter) 0; }
  .factbar dl { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 14px 0; }
  .factbar dl div { margin: 0; padding: 0 12px 0 0; border-right: 0; }
  .factbar .button { width: 100%; }
  .form__row, .form__row--3 { grid-template-columns: 1fr; }
  .contact__list div, .routes div { grid-template-columns: 1fr; gap: 2px; }
  .menu-item { gap: 12px; }
  .dish-thumb { width: 58px; height: 58px; }
  /* Facts with a description (house rules) stack in one column */
  .facts__grid--text { grid-template-columns: 1fr; row-gap: 0; }
  .facts__grid--text li { padding: 18px 0; border-left: 0 !important; }
  .facts__grid--text li + li { border-top: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal.is-waiting { transform: none; opacity: 1; }
}

/* ---------- Dropdown (in place of the browser's list) ---------- */
.pick { position: relative; }
.pick__btn { display: inline-flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.pick__chevron { width: 9px; height: 6px; flex: none; transition: transform 0.3s var(--ease); }
.pick.is-open .pick__chevron { transform: rotate(180deg); }
.pick__list, .cal { position: absolute; z-index: 40; top: calc(100% + 16px); left: 50%; background: var(--white); color: var(--ink); text-align: left; border-radius: 20px; box-shadow: 0 24px 60px rgba(31, 25, 21, 0.2), 0 0 0 1px rgba(31, 25, 21, 0.05); transform: translateX(-50%); animation: pop 0.28s var(--ease); }
.pick__list.is-up, .cal.is-up { top: auto; bottom: calc(100% + 16px); animation-name: pop-up; }
.pick__list { min-width: 200px; max-height: 320px; overflow-y: auto; padding: 8px; outline: none; }
.pick__list li { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 11px 14px; border-radius: 12px; font-size: 12.5px; cursor: pointer; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.pick__list li:hover, .pick__list li.is-active { background: var(--tint); }
.pick__list li[aria-selected="true"] { color: var(--rust); font-weight: 600; }
.pick__check { width: 12px; height: 10px; flex: none; color: var(--rust); opacity: 0; }
.pick__list li[aria-selected="true"] .pick__check { opacity: 1; }
.pick--field .pick__btn { width: 100%; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 400; text-align: left; white-space: normal; transition: border-color 0.3s; }
.pick--field.is-open .pick__btn, .pick--field .pick__btn:focus-visible { border-bottom-color: var(--rust); outline: none; }
.pick--field .pick__list { left: 0; right: 0; min-width: 0; transform: none; top: calc(100% + 8px); animation-name: pop-field; }
@keyframes pop { from { opacity: 0; transform: translate(-50%, 8px) scale(0.98); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes pop-up { from { opacity: 0; transform: translate(-50%, -8px) scale(0.98); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes pop-field { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Date picker ---------- */
.booking { position: relative; }
.booking__dates { position: static; }
.date-btn { display: grid; justify-items: start; gap: 1px; min-width: 104px; padding: 2px 4px; border-radius: 10px; line-height: 1.3; text-align: left; transition: background 0.2s; }
.date-btn:hover, .date-btn.is-current { background: var(--tint); }
.date-btn__label { font-size: 8.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.date-btn__value { font-size: 12px; font-weight: 500; white-space: nowrap; }
.date-btn__value.is-empty, .date-field .is-empty { color: var(--muted); font-weight: 400; }
.field[data-dates] { position: relative; }
.date-field { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; text-align: left; transition: border-color 0.3s; }
.date-field svg { width: 15px; height: 15px; color: var(--rust); flex: none; }
.date-field.is-current, .date-field:focus-visible { border-bottom-color: var(--rust); outline: none; }
.cal { width: 330px; padding: 16px 16px 12px; }
.cal--field { left: auto; right: 0; transform: none; top: calc(100% + 8px); animation-name: pop-field; }
.cal--field.is-up { bottom: calc(100% + 8px); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal__title { font-family: var(--display); font-size: 1.1rem; }
.cal__nav { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; transition: border-color 0.2s, background 0.2s; }
.cal__nav:hover:not(:disabled) { border-color: var(--ink); background: var(--paper); }
.cal__nav:disabled { opacity: 0.3; cursor: default; }
.cal__nav svg { width: 12px; height: 9px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 2px; }
.cal__dow { padding: 4px 0 6px; font-size: 9.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; color: var(--muted); }
.cal__day { position: relative; height: 36px; font-size: 12.5px; text-align: center; }
.cal__day span { display: grid; place-items: center; width: 34px; height: 34px; margin: 1px auto; border-radius: 50%; transition: background 0.2s, color 0.2s; }
.cal__day:hover:not(:disabled) span, .cal__day:focus-visible span { background: var(--tint); }
.cal__day:focus-visible { outline: none; }
.cal__day:focus-visible span { box-shadow: 0 0 0 1px var(--ink); }
.cal__day:disabled { color: rgba(31, 25, 21, 0.25); cursor: default; }
.cal__day.is-today span { font-weight: 700; }
.cal__day.is-today span::after { content: ""; position: absolute; bottom: 4px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--rust); }
.cal__day.is-range { background: rgba(153, 66, 21, 0.1); }
.cal__day.is-start { background: linear-gradient(90deg, transparent 50%, rgba(153, 66, 21, 0.1) 50%); }
.cal__day.is-end { background: linear-gradient(90deg, rgba(153, 66, 21, 0.1) 50%, transparent 50%); }
.cal__day.is-start.is-end { background: none; }
.cal__day.is-start span, .cal__day.is-end span, .cal__day.is-picked span { background: var(--rust); color: var(--white); font-weight: 600; }
.cal__day.is-start.is-today span::after, .cal__day.is-end.is-today span::after, .cal__day.is-picked.is-today span::after { background: var(--white); }
.cal__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.cal__hint { font-size: 11.5px; color: var(--muted); }
.cal__actions { display: flex; gap: 14px; }
.cal__actions button { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.cal__actions button:last-child { color: var(--rust); }
.cal__actions button:hover { color: var(--ink); }
html[lang="km"] :is(.date-btn__label, .cal__dow, .cal__actions button) { letter-spacing: 0; text-transform: none; font-size: 11.5px; }
html[lang="km"] .cal__title { font-family: var(--km-display); }

@media (max-width: 640px) {
  /* Phones: the calendar slides up from the bottom of the screen over a dimmed page */
  .cal, .cal.is-up, .cal--field, .cal--field.is-up { position: fixed; top: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); left: 12px; right: 12px; width: auto; max-width: 420px; margin: 0 auto; transform: none; padding: 18px 16px 14px; box-shadow: 0 0 0 100vmax rgba(20, 12, 6, 0.5), 0 24px 60px rgba(0, 0, 0, 0.3); animation: sheet 0.32s var(--ease); }
  .cal__day { height: 42px; }
  .cal__day span { width: 38px; height: 38px; margin: 2px auto; }
  .date-btn { min-width: 0; }
}
@keyframes sheet { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* ---------- Photo panels (Chef's Table, Events) ---------- */
.panels { display: flex; gap: clamp(12px, 1.6vw, 22px); max-width: 1060px; height: clamp(480px, 72vh, 680px); margin: 0 auto; }
.panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; }
.panel__link { position: absolute; inset: 0; display: block; color: var(--white); }
.panel__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 12, 6, 0) 30%, rgba(20, 12, 6, 0.2) 55%, rgba(20, 12, 6, 0.78) 100%); }
.panel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; justify-items: start; gap: 12px; padding: clamp(26px, 3.4vw, 50px); }
.panel__body .label { color: var(--peach); }
.panel__title { font-family: var(--display); font-size: clamp(2rem, 3.4vw, 3.3rem); line-height: 1; text-transform: uppercase; }
.panel__text { max-width: 380px; font-size: 13.5px; color: rgba(255, 255, 255, 0.86); }
.panel__cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 13px 24px; border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 999px; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; transition: background 0.35s, color 0.35s, border-color 0.35s; }
.panel__cta svg { width: 9px; height: 9px; }
.panel:hover .panel__cta, .panel__link:focus-visible .panel__cta { background: var(--white); border-color: var(--white); color: var(--rust); }

/* ---------- Packages showcase ---------- */
.showcase { padding: var(--section) var(--gutter); background: var(--white); }
.showcase__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 100px); max-width: var(--max); margin: 0 auto; }
.showcase__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tint); }
.showcase__shot { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease); }
.showcase__shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s linear; }
.showcase__shot.is-on { opacity: 1; z-index: 1; }
.showcase__shot.is-on img { transform: scale(1); }
.showcase__price { position: absolute; left: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); display: grid; gap: 2px; padding: 14px 20px; background: var(--paper); font-family: var(--display); font-size: 1.6rem; line-height: 1.1; color: var(--rust); }
.showcase__price .label { color: var(--muted); font-family: var(--sans); }
.showcase__price small { font-family: var(--sans); font-size: 11px; color: var(--muted); }
.showcase__body { display: grid; justify-items: start; gap: 18px; }
.showcase__eyebrow { color: var(--rust); }
.showcase__body > .display { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.showcase__list { width: 100%; margin: 12px 0 10px; border-top: 1px solid var(--line); }
.showcase__item { border-bottom: 1px solid var(--line); }
.showcase__tab { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 18px; width: 100%; padding: 20px 0; text-align: left; }
.showcase__num { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; color: var(--muted); }
.showcase__title { font-family: var(--display); font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.15; transition: color 0.3s; }
.showcase__meta { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.showcase__item.is-on .showcase__title, .showcase__tab:hover .showcase__title { color: var(--rust); }
.showcase__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.showcase__more > div { overflow: hidden; display: grid; justify-items: start; gap: 12px; padding-left: calc(18px + 2ch); }
.showcase__more p { max-width: 420px; font-size: 13px; color: var(--muted); }
.showcase__more .more { margin-bottom: 22px; }
.showcase__item.is-on .showcase__more { grid-template-rows: 1fr; }

html[lang="km"] :is(.panel__title, .showcase__title, .showcase__price) { font-family: var(--km-display); text-transform: none; line-height: 1.4; }
html[lang="km"] :is(.panel__cta, .showcase__meta, .showcase__num) { letter-spacing: 0; text-transform: none; font-size: 12px; }
html[lang="km"] :is(.panel__text, .showcase__more p) { font-size: 14px; }

@media (max-width: 900px) {
  .panels { flex-direction: column; height: auto; }
  .panel { flex: none; height: clamp(380px, 62vw, 520px); }
  .showcase__in { grid-template-columns: 1fr; }
  .showcase__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .panel { height: 440px; }
  .showcase__media { aspect-ratio: 4 / 5; margin-inline: calc(-1 * var(--gutter)); }
  .showcase__tab { grid-template-columns: auto minmax(0, 1fr); row-gap: 4px; }
  .showcase__meta { grid-column: 2; }
  .showcase__more > div { padding-left: calc(18px + 2ch); }
}

/* ---------- Contact / booking page ---------- */
.book { padding: var(--section) var(--gutter); }
.book__card { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); max-width: var(--max); margin: 0 auto; background: var(--white); box-shadow: 0 30px 80px rgba(31, 25, 21, 0.08); }
.book__panel { display: flex; flex-direction: column; background: var(--rust); color: var(--white); }
.book__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
/* On wide screens the panel's contents stay in view while the form scrolls past */
@media (min-width: 901px) { .book__panel-in { position: sticky; top: var(--bar-h); } }
.book__panel-body { display: grid; justify-items: start; gap: 18px; padding: clamp(28px, 4vw, 50px); }
.book__panel .label { color: var(--peach); }
.book__panel .display { font-size: clamp(2rem, 3.4vw, 3rem); }
.book__panel .script { margin-top: -0.4em; color: var(--peach); font-size: clamp(2rem, 3vw, 2.6rem); }
.book__panel .prose { color: rgba(255, 255, 255, 0.86); }
.book__list { width: 100%; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.book__list div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.book__list dt { padding-top: 3px; font-size: 9.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--peach); }
.book__list dd { display: grid; gap: 2px; font-size: 13.5px; }
.book__list a { text-decoration: underline; text-underline-offset: 4px; }
.book__form { align-content: start; padding: clamp(28px, 4.5vw, 60px); }
.book__head { display: grid; gap: 10px; margin-bottom: 26px; }
.book__head .label { color: var(--rust); }
.book__head .display { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.step { min-width: 0; margin: 0; padding: 26px 0; border: 0; border-top: 1px solid var(--line); }
.step__title { float: left; display: flex; align-items: baseline; gap: 12px; width: 100%; margin: 0 0 18px; padding: 0; font-family: var(--display); font-size: 1.3rem; }
.step__title span { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; color: var(--rust); }
.step > :not(.step__title) { clear: both; }
.step > :not(.step__title) + :not(.step__title) { margin-top: 20px; }
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.type { position: relative; cursor: pointer; }
.type input { position: absolute; inset: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.type__box { position: relative; display: grid; justify-items: center; gap: 8px; height: 100%; padding: 18px 8px 14px; border: 1px solid var(--line); border-radius: 14px; font-size: 12px; font-weight: 500; text-align: center; transition: border-color 0.25s, background 0.25s, color 0.25s, box-shadow 0.25s; }
.type__box svg { width: 26px; height: 26px; color: var(--rust); }
.type:hover .type__box { border-color: rgba(153, 66, 21, 0.5); }
.type input:checked + .type__box { border-color: var(--rust); background: rgba(153, 66, 21, 0.06); color: var(--rust); box-shadow: inset 0 0 0 1px var(--rust); }
.type input:focus-visible + .type__box { outline: 1px solid var(--ink); outline-offset: 3px; }
.type__check { position: absolute; top: 8px; right: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--rust); opacity: 0; transform: scale(0.6); transition: opacity 0.25s, transform 0.25s var(--ease); }
.type__check::after { content: ""; position: absolute; left: 5.5px; top: 3px; width: 4px; height: 8px; border: solid var(--white); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.type input:checked + .type__box .type__check { opacity: 1; transform: none; }
.dates-range { position: relative; }
.stepper { display: inline-flex; align-items: center; width: max-content; border: 1px solid var(--line); border-radius: 999px; }
.stepper button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--rust); transition: background 0.2s; }
.stepper button:hover { background: var(--tint); }
.stepper button svg { width: 12px; height: 12px; }
.field .stepper input { width: 56px; padding: 0; border: 0; font-family: var(--display); font-size: 1.25rem; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.book__send { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 26px; border-top: 1px solid var(--line); }
.button:not(.button--light) .button__arrow { background: var(--white); color: var(--rust); }
.split--rust :is(.routes, .routes div) { border-color: rgba(255, 255, 255, 0.24); }
.split--rust .routes dt { color: var(--peach); }
.faq summary { align-items: baseline; }
.faq summary > span:nth-child(2) { flex: 1; }
.faq__num { margin-right: 4px; font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; color: var(--rust); }

html[lang="km"] .step__title { font-family: var(--km-display); }
html[lang="km"] :is(.type__box, .book__list dt) { font-size: 12.5px; letter-spacing: 0; text-transform: none; }

@media (max-width: 900px) {
  .book__card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .book { padding-inline: 0; }
  .book__panel-body, .book__form { padding: 30px var(--gutter); }
  .book__list div { grid-template-columns: 1fr; gap: 2px; }
  .types { gap: 8px; }
  .type__box { padding: 14px 4px 12px; font-size: 11.5px; }
}
@media (max-width: 360px) {
  .types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* ---------- Footer (brand rust) ---------- */
.foot { position: relative; overflow: hidden; background: var(--rust); color: var(--cream); padding: clamp(60px, 6vw, 90px) var(--gutter) 0; }
.foot__grid { display: grid; grid-template-columns: 1.15fr 1.2fr 1fr 1.25fr; gap: clamp(30px, 4vw, 80px); padding: 0 0 clamp(44px, 5vw, 70px); }
.foot__brand { display: grid; justify-items: start; align-content: start; gap: 20px; }
.foot__brand img { width: 78px; }
.foot__brand p { max-width: 280px; font-size: 13px; color: rgba(251, 243, 234, 0.82); }
.foot .label { display: block; margin-bottom: 16px; color: var(--peach); }
.foot__col ul + .label { margin-top: 28px; }
.foot__links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.foot ul { display: grid; gap: 9px; font-size: 13px; color: rgba(251, 243, 234, 0.9); }
.foot ul a { transition: color 0.3s; }
.foot ul a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.foot__news p { max-width: 300px; font-size: 13px; color: rgba(251, 243, 234, 0.82); }
.foot__field { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 4px 4px 4px 0; border-bottom: 1px solid rgba(251, 243, 234, 0.55); }
.foot__field input { flex: 1; min-width: 0; padding: 10px 0; border: 0; background: transparent; color: var(--white); font-size: 13.5px; outline: none; }
.foot__field input::placeholder { color: rgba(251, 243, 234, 0.6); }
.foot__field button { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--rust); transition: transform 0.4s var(--ease); }
.foot__field button:hover { transform: rotate(-45deg); }
.foot__field button svg { width: 13px; height: 13px; }
.foot__note { min-height: 1.2em; margin-top: 10px; font-size: 12px; }
.foot__legal { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 30px; padding: 20px 0 calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(251, 243, 234, 0.22); font-size: 11.5px; color: rgba(251, 243, 234, 0.72); }
.foot__legal .lang { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; color: var(--cream); }
.foot__top-link { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream); }
.foot__top-link:hover { color: var(--white); }
html[lang="km"] :is(.foot__top-link, .foot__legal .lang) { letter-spacing: 0; text-transform: none; font-size: 12px; }

@media (max-width: 1000px) {
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .foot__grid { grid-template-columns: 1fr; gap: 36px; }
  .foot__legal { flex-direction: column; align-items: flex-start; }
}

/* ---------- Booking card: wide and short, so it fits one screen ---------- */
.book { padding: clamp(36px, 4.5vw, 64px) clamp(16px, 3vw, 48px); }
.book__card { max-width: 1480px; grid-template-columns: minmax(300px, 0.6fr) minmax(0, 1.4fr); }
.book__photo img { aspect-ratio: 16 / 9; }
.book__panel-body { gap: 14px; padding: clamp(24px, 2.6vw, 38px); }
.book__panel .display { font-size: clamp(1.8rem, 2.5vw, 2.5rem); }
.book__panel .script { font-size: clamp(1.7rem, 2.2vw, 2.1rem); }
.book__panel .prose { font-size: 13px; }
.book__list div { grid-template-columns: 7.5rem 1fr; padding: 10px 0; }
.book__form { padding: clamp(24px, 2.8vw, 40px) clamp(24px, 3.2vw, 48px); }
.book__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 10px; }
.book__head .display { font-size: clamp(1.6rem, 2.2vw, 2.1rem); }
.book__form .step { padding: 16px 0; }
.book__form .step__title { margin-bottom: 12px; font-size: 1.1rem; }
.book__form .step > :not(.step__title) + :not(.step__title) { margin-top: 12px; }
.book__form .field input, .book__form .field textarea { padding: 8px 0; }
.book__form .date-field, .book__form .pick--field .pick__btn { padding: 8px 0; }
.types { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.type__box { grid-auto-flow: column; justify-content: center; align-items: center; gap: 8px; padding: 11px 8px; border-radius: 999px; font-size: 11.5px; white-space: nowrap; }
.type__box svg { width: 18px; height: 18px; }
.type__check { display: none; }
.book__pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 36px; border-top: 1px solid var(--line); }
.book__pair .step { border-top: 0; }
.book__last { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 14px 28px; }
.book__last textarea { height: 64px; min-height: 64px; }
.book__actions { display: grid; justify-items: end; gap: 12px; }
.book__actions .field { justify-items: end; }
.step--last { padding-bottom: 0 !important; }
.step--last .form__note { margin-top: 10px; text-align: right; }

@media (max-width: 1180px) {
  .types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .book__pair { grid-template-columns: 1fr; }
  .book__pair .step + .step { border-top: 1px solid var(--line); }
  .book__last { grid-template-columns: 1fr; }
  .book__actions, .book__actions .field { justify-items: start; }
  .step--last .form__note { text-align: left; }
}
@media (max-width: 640px) {
  .type__box { grid-auto-flow: row; justify-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 14px; white-space: normal; }
  .type__box svg { width: 22px; height: 22px; }
}
/* Tighter spacing so the card fits a 1280 x 720 screen too */
.book__form { padding: clamp(20px, 2.3vw, 34px) clamp(24px, 3vw, 46px); }
.book__head { margin-bottom: 4px; }
.book__form .step { padding: 12px 0; }
.book__form .step__title { margin-bottom: 9px; }
.book__form .field { gap: 4px; }
.book__last textarea { height: 50px; min-height: 50px; }
.book__panel-body { gap: 12px; }
html[lang="km"] .book__form, html[lang="km"] .book__panel-body { line-height: 1.55; }
html[lang="km"] .book__form .step__title { font-size: 1.02rem; }
/* Tablets and phones: the panel above the form, one column */
@media (max-width: 900px) {
  .book__card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .book { padding-inline: 0; }
  .book__panel-body, .book__form { padding: 26px var(--gutter); }
}

/* ---------- Contact form after sending: the thank-you panel takes the place of the steps ---------- */
.book__done { display: none; justify-items: start; gap: 16px; padding: clamp(16px, 3vw, 40px) 0; outline: none; }
.book__form.is-sent { display: grid; align-content: center; }
.book__form.is-sent > :not(.book__done) { display: none; }
.book__form.is-sent .book__done { display: grid; }
.book__done .label { color: var(--rust); }
.book__done .display { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.book__done-text { max-width: 52ch; color: var(--muted); font-size: 14px; white-space: pre-line; }
.book__done-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 8px; }
.book__done-actions [hidden] { display: none; }
.foot__field button:disabled, .book__form button[type="submit"]:disabled { opacity: 0.6; cursor: progress; }

/* ---------- Phone menu (/menu, from the QR codes): the beige card on the letter wall, then today's dishes ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.qr__head { padding: 64px var(--gutter) clamp(40px, 7vw, 80px); }
.qr__lang { position: absolute; top: 18px; right: var(--gutter); z-index: 3; color: var(--white); font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.qr__card { gap: 14px; width: min(100%, 560px); padding: clamp(36px, 6vw, 56px) clamp(22px, 5vw, 56px); }
.qr__logo { width: auto; height: clamp(72px, 16vw, 96px); }
.qr__title { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.5rem); }
.qr__date { font-size: 14px; color: #6E625A; }
.qr__body { max-width: 1000px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) var(--gutter) clamp(36px, 5vw, 64px); }
/* Categories stay at the top of the screen while scrolling the dishes */
.qr__cats { position: sticky; top: 0; z-index: 20; margin-bottom: 26px; padding-block: 12px; background: rgba(245, 242, 236, 0.97); }
.qr .menu-cat + .menu-cat { margin-top: clamp(40px, 6vw, 72px); }
.qr .menu-cat__head { margin-bottom: 16px; }
.qr__other { margin-top: -2px; font-size: 12.5px; color: var(--rust) !important; }
.qr__empty { padding: 40px 0; font-size: 15px; }
.qr__note { max-width: 60ch; margin: clamp(36px, 5vw, 56px) auto 0; text-align: center; }
.qr__foot { display: grid; place-items: center; padding: 26px var(--gutter) 40px; border-top: 1px solid var(--line); }
html[lang="km"] .qr__date { font-family: var(--km-text); }
@media (max-width: 640px) {
  .qr__cats { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .qr .menu-item__head h4 { font-size: 1.05rem; }
  .qr .dish-thumb { width: 60px; height: 60px; }
}

/* ---------- Maintenance mode: only the card on the wall ---------- */
.maintenance { min-height: 100vh; min-height: 100svh; }
.maintenance__text { white-space: pre-line; }

/* ---------- Khmer patterns ----------
   Diamond pattern (khmer-diamond-tile.png, one repeat, used as a mask so it takes any colour): faint in the rust
   footer and behind the quotes. Paisley (paisley-paper.jpg, mirrored so it repeats without seams): the paper behind
   the booking card and the phone menu. */
.foot { isolation: isolate; }
.foot::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--peach); opacity: 0.07; -webkit-mask: url("/assets/site/ornaments/khmer-diamond-tile.png") 0 0 / 132px auto repeat; mask: url("/assets/site/ornaments/khmer-diamond-tile.png") 0 0 / 132px auto repeat; }
.quote { position: relative; isolation: isolate; background: var(--tint); }
.quote::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--rust); opacity: 0.06; -webkit-mask: url("/assets/site/ornaments/khmer-diamond-tile.png") center / 120px auto repeat; mask: url("/assets/site/ornaments/khmer-diamond-tile.png") center / 120px auto repeat; }
.book { background: var(--paper) url("/assets/site/ornaments/paisley-paper.jpg") center top / 560px auto repeat; }
/* Lighter on the phone menu, where it sits behind the dishes */
.qr { background: linear-gradient(rgba(245, 242, 236, 0.5), rgba(245, 242, 236, 0.5)), var(--paper) url("/assets/site/ornaments/paisley-paper.jpg") center top / 560px auto repeat; }
.qr__cats { background: rgba(245, 242, 236, 0.94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.qr__foot { border-top-color: rgba(31, 25, 21, 0.1); }
