@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 300 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/bricolage-grotesque-300-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Mitr';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/mitr-300-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Mitr';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/mitr-400-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Mitr';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/mitr-500-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'IBM Plex Sans Thai Looped';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-thai-looped-300-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'IBM Plex Sans Thai Looped';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-thai-looped-400-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'IBM Plex Sans Thai Looped';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-thai-looped-500-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

/* Colorful Wedding Planner concept site.
   World: a gallery-white page where the only colour is theirs. Every palette is drawn from one of their own setups and
   shows as a strip of five chips; the hero paints each wedding in its palette before revealing it, the work section takes
   the tint of the palette you pick, and the night contact section carries every palette at once.
   UI chrome is ink and paper only; LINE green is reserved for the LINE action. Radius: 4px for chips and controls,
   square photos. No OS dark mode (see README: the page is a white gallery for colour). */

:root {
  --paper: #f4f4f1;
  --white: #fbfbf9;
  --ink: #17171c;
  --ink-2: #3d3d46;
  --muted: #5f5f69;
  --line: #d9d9d3;
  --line-2: #c4c4bd;
  --night: #17171c;
  --night-2: #23232a;
  --on-night: #f4f4f1;
  --muted-night: #aeaeb8;
  --line-night: rgba(244, 244, 241, .16);
  --line-green: #06c755;
  --line-green-2: #05b14c;
  --line-ink: #04210f;
  --tint: var(--paper);
  --r: 4px;
  --gut: clamp(16px, 4.2vw, 64px);
  --max: 1360px;
  --sec: clamp(72px, 8.5vw, 128px);
  --nav-h: 68px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --display: "Bricolage Grotesque", "Mitr", system-ui, sans-serif;
  --text: "Bricolage Grotesque", "IBM Plex Sans Thai Looped", system-ui, sans-serif;
  --lh-d: 1.06;
  --lh-t: 1.6;
}
html[data-lang="th"] { --lh-d: 1.3; --lh-t: 1.78; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 8px); scrollbar-color: rgba(23, 23, 28, .34) var(--paper); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 1.0625rem; line-height: var(--lh-t); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: #e7b7a0; color: var(--ink); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: rgba(23, 23, 28, .3); border: 3px solid var(--paper); border-radius: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.contact :focus-visible, .foot :focus-visible, .lb :focus-visible { outline-color: var(--on-night); }

html[data-lang="th"] [lang="en"]:not([data-set-lang]):not(.keep), html[data-lang="en"] [lang="th"]:not([data-set-lang]):not(.keep) { display: none !important; }
.ph { display: inline-block; }
html[data-lang="en"] .ph { display: inline; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none; transition: top .2s; border-radius: var(--r); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.i { width: 1.15em; height: 1.15em; flex: none; }
.muted { color: var(--muted); }

/* ---------- Type ---------- */
.h1, .h2, .h3, .statement { font-family: var(--display); font-weight: 600; line-height: var(--lh-d); text-wrap: balance; }
.h1 { font-size: clamp(2.6rem, 5.4vw, 5.25rem); font-weight: 650; }
.h2 { font-size: clamp(2rem, 3.7vw, 3.4rem); }
.h3 { font-size: clamp(1.18rem, 1.5vw, 1.42rem); font-weight: 600; line-height: 1.25; }
html[data-lang="en"] .h1 { letter-spacing: -.035em; }
/* "has its own colours" is 8em wide: size the English headline to the hero column so it always sets in two lines. */
@media (min-width: 900px) { html[data-lang="en"] .hero .h1 { font-size: min(4.1vw, 3.7rem); } }
html[data-lang="en"] .h2 { letter-spacing: -.028em; }
html[data-lang="en"] .h3 { letter-spacing: -.012em; }
/* Mitr runs heavy: Thai display steps one weight down and a touch smaller so both languages sit at the same colour. */
html[data-lang="th"] .h1 { font-weight: 500; font-size: clamp(2.35rem, 4.9vw, 4.6rem); }
html[data-lang="th"] .h2 { font-weight: 500; font-size: clamp(1.8rem, 3.3vw, 3rem); }
html[data-lang="th"] .h3 { font-weight: 500; line-height: 1.4; }
.ln { display: block; }

/* ---------- Chips: the one motif ---------- */
.chips { display: inline-flex; gap: 3px; vertical-align: middle; }
.chips i { display: block; width: 16px; height: 16px; border-radius: 3px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(23, 23, 28, .07); transition: background-color .7s var(--ease), transform .5s var(--ease); }
.chips-lg i { width: 30px; height: 30px; border-radius: var(--r); }
.chips i:nth-child(2) { transition-delay: 60ms; } .chips i:nth-child(3) { transition-delay: 120ms; } .chips i:nth-child(4) { transition-delay: 180ms; } .chips i:nth-child(5) { transition-delay: 240ms; }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px; padding: 0 1.4em; border-radius: var(--r); font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap; background: var(--ink); color: var(--paper); transition: background-color .25s, transform .2s var(--ease), box-shadow .25s; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-line { background: var(--line-green); color: var(--line-ink); }
.btn-line:hover { background: var(--line-green-2); box-shadow: 0 6px 18px -8px rgba(6, 140, 60, .55); }
.btn-ghost { background: transparent; color: var(--on-night); box-shadow: inset 0 0 0 1px rgba(244, 244, 241, .42); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--on-night); background: rgba(244, 244, 241, .06); }
.btn-sm { min-height: 40px; padding: 0 1em; font-size: .92rem; }
html[data-lang="th"] .btn { font-weight: 500; }
.tlink { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .35em; min-height: 44px; transition: text-decoration-color .25s, gap .3s var(--ease); }
.tlink:hover { text-decoration-color: currentColor; gap: .75em; }
html[data-lang="th"] .tlink { font-weight: 500; }
.ico-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); color: var(--ink); transition: background-color .2s; }
.ico-btn:hover { background: rgba(23, 23, 28, .07); }
[data-hero-pause] [data-when="paused"], [data-hero-pause][aria-pressed="true"] [data-when="playing"] { display: none; }
[data-hero-pause][aria-pressed="true"] [data-when="paused"] { display: contents; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; transition: box-shadow .3s; }
/* The frosted layer sits on a pseudo-element: backdrop-filter on .nav itself would trap the fixed mobile menu inside it. */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(244, 244, 241, .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.nav.is-open::before { background: var(--paper); }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav-in { max-width: var(--max); margin: 0 auto; height: var(--nav-h); padding: 0 var(--gut); display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; min-height: 44px; }
.brand-mark { width: 34px; height: 34px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 650; font-size: 1.3rem; letter-spacing: -.03em; }
.brand-sub { font-size: .72rem; color: var(--muted); margin-top: 3px; letter-spacing: .01em; }
.nav-chips .chips i { width: 9px; height: 9px; border-radius: 2px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: .95rem; }
.nav-links a { text-decoration: none; padding: 10px 0; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-end { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line-2); }
.lang button { min-width: 44px; min-height: 36px; padding: 0 10px; font-size: .85rem; border-radius: var(--r); color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.menu-btn { display: none; width: 44px; height: 44px; place-items: center; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -7px; } .menu-bars::after { top: 7px; }
.nav.is-open .menu-bars { background: transparent; }
.nav.is-open .menu-bars::before { transform: translateY(7px) rotate(45deg); }
.nav.is-open .menu-bars::after { transform: translateY(-7px) rotate(-45deg); }
.menu { position: fixed; inset: var(--nav-h) 0 0 0; background: var(--paper); padding: 20px var(--gut) calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-family: var(--display); font-weight: 600; font-size: 1.9rem; letter-spacing: -.02em; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
html[data-lang="th"] .menu nav a { font-weight: 500; font-size: 1.55rem; letter-spacing: 0; }
.menu-foot { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; }
.lang-lg button { flex: 1; min-height: 46px; font-size: 1rem; }
.lang-lg { display: flex; }
.menu-foot .btn { width: 100%; }

@media (max-width: 1080px) {
  .nav-links, .nav-end .lang, .nav-cta { display: none; }
  .menu-btn { display: inline-grid; }
  .nav-end { margin-left: auto; }
}
@media (max-width: 899px) { :root { --nav-h: 60px; } .brand-mark { width: 30px; height: 30px; } .brand-name { font-size: 1.18rem; } }
@media (max-width: 420px) { .nav-chips { display: none; } }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); max-width: var(--max); margin: 0 auto; padding: clamp(16px, 2.2vw, 28px) var(--gut) clamp(28px, 3vw, 40px); min-height: calc(100svh - var(--nav-h)); align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding-bottom: 6vh; }
.lede { margin-top: clamp(18px, 2vw, 28px); font-size: clamp(1.05rem, 1.25vw, 1.2rem); color: var(--ink-2); max-width: 34em; }
html[data-lang="th"] .lede { max-width: 26em; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: clamp(24px, 2.6vw, 36px); }
.hero-frame { position: relative; margin: 0; min-height: 480px; display: flex; flex-direction: column; }
.hero-photos { position: relative; flex: 1; overflow: hidden; background: var(--line); }
.hero-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.hero-photos img.is-on { opacity: 1; }
.hero-bands { position: absolute; left: 0; right: 0; top: 0; bottom: 64px; display: grid; grid-template-columns: repeat(5, 1fr); pointer-events: none; }
.hero-bands i { display: block; background: var(--c, var(--paper)); transform: scaleY(0); transform-origin: 50% 0; }
html.js:not(.rm) .hero-bands i { transition: transform .62s var(--ease-io); }
html.js:not(.rm) .hero-bands i:nth-child(2) { transition-delay: 70ms; } html.js:not(.rm) .hero-bands i:nth-child(3) { transition-delay: 140ms; }
html.js:not(.rm) .hero-bands i:nth-child(4) { transition-delay: 210ms; } html.js:not(.rm) .hero-bands i:nth-child(5) { transition-delay: 280ms; }
/* First paint: the bands stand over the photo in its own palette, then lift once the page is ready. */
html.js:not(.rm):not(.is-ready) .hero-bands i { transform: scaleY(1); transition: none; }
.hero-bands.is-cover i { transform: scaleY(1); transform-origin: 50% 0; }
.hero-bands.is-lift i { transform-origin: 50% 100%; }
.hero-pal { height: 64px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.chips-hero i { width: 22px; height: 22px; }
.hero-pal-name { font-weight: 600; font-size: .98rem; flex: 1; min-width: 0; }
html[data-lang="th"] .hero-pal-name { font-weight: 500; }
.hero-pal-ctl { display: flex; gap: 2px; }
html.rm .hero-pal-ctl { display: none; }

@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 0; padding-top: 0; padding-left: 0; padding-right: 0; }
  .hero-frame { order: -1; min-height: 0; }
  .hero-photos { flex: none; height: clamp(200px, 38svh, 480px); }
  .hero-pal-name { font-size: .9rem; line-height: 1.3; }
  .chips-hero { gap: 2px; }
  .chips-hero i { width: 15px; height: 15px; }
  .hero-bands { bottom: 56px; }
  .hero-pal { height: 56px; padding: 0 var(--gut); gap: 12px; }
  .hero-copy { padding: 22px var(--gut) 8px; }
  .h1 { font-size: clamp(2.05rem, 9.4vw, 3.4rem); }
  html[data-lang="th"] .h1 { font-size: clamp(1.95rem, 8.9vw, 3.2rem); }
  .lede { margin-top: 12px; font-size: 1rem; }
  .hero-ctas { margin-top: 18px; gap: 6px 20px; }
}
@media (max-width: 899px) and (max-height: 620px) {
  .hero-photos { height: 30svh; min-height: 150px; }
  .hero-copy { padding-top: 16px; }
  .lede { margin-top: 10px; }
  .hero-ctas { margin-top: 14px; }
}
@media (max-width: 380px) {
  .hero-ctas .tlink { display: none; }
}

/* ---------- Statement ---------- */
.intro { padding: var(--sec) 0 calc(var(--sec) * .8); }
.statement { font-size: clamp(1.55rem, 3vw, 2.75rem); font-weight: 500; line-height: 1.22; max-width: 26em; text-wrap: pretty; }
html[data-lang="en"] .statement { letter-spacing: -.022em; }
html[data-lang="th"] .statement { font-weight: 400; line-height: 1.5; max-width: 24em; }
.mark { position: relative; white-space: nowrap; }
.mark-bar { position: absolute; left: 0; right: 0; bottom: -.06em; height: .2em; }
.mark-bar .chips { display: flex; width: 100%; height: 100%; gap: 0; }
.mark-bar .chips i { flex: 1; width: auto; height: 100%; border-radius: 0; box-shadow: none; }
.mark-bar .chips i:first-child { border-radius: 2px 0 0 2px; } .mark-bar .chips i:last-child { border-radius: 0 2px 2px 0; }

/* ---------- Work by colour (signature) ---------- */
.work { background: var(--tint); padding: var(--sec) 0; transition: background-color .9s var(--ease); }
.work-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(32px, 4vw, 52px); }
.work-sub { color: var(--ink-2); max-width: 32em; }
html[data-lang="th"] .work-sub { max-width: 27em; }
.pal-tabs { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(23, 23, 28, .14); }
.pal-tab { position: relative; text-align: left; padding: 18px 14px 18px 0; display: flex; flex-direction: column; gap: 12px; min-height: 44px; }
.pal-tab .chips { width: 100%; gap: 2px; align-items: flex-end; height: 44px; }
.pal-tab .chips i { flex: 1; width: auto; height: 100%; border-radius: 2px; transform: scaleY(.4); transform-origin: 50% 100%; }
.pal-tab[aria-selected="true"] .chips i { transform: none; }
.pal-tab:hover:not([aria-selected="true"]) .chips i { transform: scaleY(.6); }
.pal-tab::before { content: ""; position: absolute; left: 0; right: 14px; top: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.pal-tab[aria-selected="true"]::before { transform: scaleX(1); }
.pal-name { font-size: .9rem; line-height: 1.3; color: var(--muted); transition: color .25s; }
.pal-tab[aria-selected="true"] .pal-name, .pal-tab:hover .pal-name { color: var(--ink); }
.pal-tab[aria-selected="true"] .pal-name { font-weight: 600; }
html[data-lang="th"] .pal-tab[aria-selected="true"] .pal-name { font-weight: 500; }
.pal-panels { margin-top: clamp(20px, 2.4vw, 32px); }
.pal-panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(16px, 2vw, 28px); }
.pal-panel[hidden] { display: none; }
.pal-lead, .pal-thumb { position: relative; display: block; overflow: hidden; background: rgba(23, 23, 28, .06); }
.pal-lead img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease); }
.pal-lead:hover img, .pal-thumb:hover img { transform: scale(1.025); }
.pal-side { display: grid; grid-template-rows: auto 1fr; gap: clamp(16px, 2vw, 28px); }
.pal-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.2vw, 16px); }
.pal-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.pal-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; align-self: end; }
.pal-copy p { color: var(--ink-2); max-width: 30em; }
.pal-copy .tlink { margin-top: 2px; }
/* Switching: the lead photo wipes up, chips arrive one by one. */
html.js:not(.rm) .pal-panel.is-enter .pal-lead img { animation: wipe .9s var(--ease) both; }
html.js:not(.rm) .pal-panel.is-enter .pal-thumb { animation: rise .7s var(--ease) both; }
html.js:not(.rm) .pal-panel.is-enter .pal-thumb + .pal-thumb { animation-delay: 80ms; }
html.js:not(.rm) .pal-panel.is-enter .pal-copy .chips i { animation: chip .55s var(--ease) both; }
html.js:not(.rm) .pal-panel.is-enter .pal-copy .chips i:nth-child(2) { animation-delay: 60ms; } html.js:not(.rm) .pal-panel.is-enter .pal-copy .chips i:nth-child(3) { animation-delay: 120ms; }
html.js:not(.rm) .pal-panel.is-enter .pal-copy .chips i:nth-child(4) { animation-delay: 180ms; } html.js:not(.rm) .pal-panel.is-enter .pal-copy .chips i:nth-child(5) { animation-delay: 240ms; }
@keyframes wipe { from { clip-path: inset(100% 0 0 0); transform: scale(1.06); } to { clip-path: inset(0 0 0 0); transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes chip { from { transform: scaleY(0); transform-origin: 50% 100%; } to { transform: scaleY(1); transform-origin: 50% 100%; } }

@media (max-width: 1100px) {
  .pal-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pal-tab .chips { height: 36px; }
}
@media (max-width: 899px) {
  .pal-tabs { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); border-top: 0; gap: 10px; scroll-padding: 0 var(--gut); }
  .pal-tabs::-webkit-scrollbar { display: none; }
  .pal-tab { flex: 0 0 132px; scroll-snap-align: start; padding: 14px 0 6px; border-top: 1px solid rgba(23, 23, 28, .14); }
  .pal-tab::before { right: 0; }
  .pal-tab .chips { height: 32px; } .pal-tab .chips i { transform: scaleY(.44); }
  .pal-panel { grid-template-columns: 1fr; }
  .pal-side { grid-template-rows: auto; }
  .pal-copy { order: -1; align-self: start; }
}

/* ---------- Proof: venues, one review, the page's own numbers ---------- */
.proof { padding: calc(var(--sec) * .9) 0 var(--sec); }
.proof-lead { font-family: var(--display); font-weight: 400; font-size: clamp(1.45rem, 2.7vw, 2.45rem); line-height: 1.28; color: var(--ink-2); max-width: 32em; text-wrap: pretty; }
html[data-lang="en"] .proof-lead { letter-spacing: -.02em; }
html[data-lang="th"] .proof-lead { line-height: 1.5; }
.venues { color: var(--ink); font-weight: 600; }
.proof-note { margin-top: 16px; color: var(--muted); font-size: .95rem; }
.proof-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 88px); margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); align-items: start; }
.quote blockquote { margin: 0; }
.quote blockquote .ph { display: inline-block; }
.quote blockquote p { font-family: var(--display); font-weight: 400; font-size: clamp(1.2rem, 1.7vw, 1.55rem); line-height: 1.6; max-width: 26em; }
.quote-en { margin-top: 10px; color: var(--ink-2); max-width: 34em; }
html[data-lang="th"] .quote-en { display: none !important; }
.quote figcaption { margin-top: 14px; font-weight: 600; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.quote figcaption .muted { font-weight: 400; font-size: .92rem; }
.fb { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.fb-big { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.2; text-wrap: balance; }
html[data-lang="en"] .fb-big { letter-spacing: -.02em; }
html[data-lang="th"] .fb-big { font-weight: 500; line-height: 1.35; }
.fb p:not(.fb-big) { color: var(--ink-2); }
.fb .tlink { margin-top: 6px; }
@media (max-width: 899px) { .proof-row { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.svc { padding: var(--sec) 0; }
.svc-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "head head" "media list"; gap: clamp(28px, 4vw, 56px) clamp(32px, 5vw, 88px); }
.svc-head { grid-area: head; display: flex; flex-direction: column; gap: 16px; }
.svc-head p { color: var(--ink-2); max-width: 30em; }
html[data-lang="th"] .svc-head p { max-width: 26em; }
.svc-media { grid-area: media; position: relative; }
.svc-stack { position: sticky; top: calc(var(--nav-h) + 24px); aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); }
.svc-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform 1.4s var(--ease); }
.svc-stack img.is-on { opacity: 1; transform: none; }
.svc-list { grid-area: list; border-top: 1px solid var(--line); padding-top: 8px; }
.svc-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0 20px; padding: clamp(18px, 2vw, 26px) 0; outline-offset: 4px; }
.svc-list li > div { transition: transform .45s var(--ease); }
.svc-chip { width: 28px; height: 28px; border-radius: var(--r); background: var(--c); margin-top: .2em; transition: transform .45s var(--ease); }
.svc-list li p { color: var(--ink-2); margin-top: 6px; max-width: 32em; }
.svc-list li.is-on .svc-chip { transform: scale(1.12) rotate(-4deg); }
@media (hover: hover) and (min-width: 900px) { .svc-list li.is-on > div { transform: translateX(8px); } }
@media (max-width: 899px) {
  .svc-in { grid-template-columns: 1fr; grid-template-areas: "head" "list"; }
  .svc-media { display: none; }
}

/* ---------- Morning rites ---------- */
.cer { background: var(--white); padding: var(--sec) 0; }
.cer-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.cer-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.cer-copy p { color: var(--ink-2); max-width: 28em; }
html[data-lang="th"] .cer-copy p { max-width: 24em; }
.cer-grid { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: clamp(10px, 1.2vw, 16px); }
.cer-grid button { display: block; overflow: hidden; background: var(--line); }
.cer-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cer-grid button:hover img { transform: scale(1.03); }
.cer-a { grid-row: span 1; } .cer-a img { aspect-ratio: 4 / 3; }
.cer-b img { aspect-ratio: 1 / 1; object-position: 50% 40%; }
.cer-c img { aspect-ratio: 1 / 1; }
.cer-d img { aspect-ratio: 4 / 3; }
@media (max-width: 899px) {
  .cer-in { grid-template-columns: 1fr; }
  .cer-grid { grid-template-columns: 1fr 1fr; }
  .cer-a { grid-column: span 2; } .cer-d { grid-column: span 2; }
}

/* ---------- Events ---------- */
.evt { padding: calc(var(--sec) * .8) 0; border-bottom: 1px solid var(--line); }
.evt-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 40em; }
.evt-copy p { color: var(--ink-2); }
.evt-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: clamp(10px, 1.2vw, 16px); margin-top: clamp(24px, 3vw, 36px); }
.evt-row button { display: block; overflow: hidden; background: var(--line); height: clamp(220px, 22vw, 330px); }
.evt-row img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.evt-row button:hover img { transform: scale(1.03); }
@media (max-width: 899px) {
  .evt-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 24px calc(var(--gut) * -1) 0; padding: 0 var(--gut); scroll-padding: 0 var(--gut); align-items: stretch; }
  .evt-row::-webkit-scrollbar { display: none; }
  .evt-row button { flex: 0 0 72%; scroll-snap-align: start; height: auto; }
  .evt-row button img { aspect-ratio: 4 / 3; height: auto; }
}

/* ---------- Steps ---------- */
.steps { padding: var(--sec) 0; }
.steps-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); margin-top: clamp(36px, 4vw, 56px); }
.steps-list li { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.step-chip { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); background: var(--c); font-weight: 650; font-size: 1rem; color: var(--ink); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.steps-list li p { color: var(--ink-2); }
@media (max-width: 1000px) { .steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps-list { grid-template-columns: 1fr; gap: 0; } .steps-list li { padding: 20px 0; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 18px; } .steps-list li .step-chip { grid-row: span 2; margin: 0; } }

/* ---------- FAQ ---------- */
.faq { padding: var(--sec) 0; background: var(--white); }
.faq-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 88px); align-items: start; }
.faq-in .h2 { position: sticky; top: calc(var(--nav-h) + 24px); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font-weight: 600; font-size: 1.1rem; min-height: 44px; }
html[data-lang="th"] .faq summary { font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .35s var(--ease); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq .ans { padding: 0 48px 24px 0; color: var(--ink-2); }
.faq .ans a { font-weight: 600; }
html[data-lang="th"] .faq .ans { max-width: 40em; }
@media (max-width: 899px) { .faq-in { grid-template-columns: 1fr; } .faq-in .h2 { position: static; } .faq .ans { padding-right: 0; } }

/* ---------- Contact (night) ---------- */
.contact { background: var(--night); color: var(--on-night); padding-bottom: var(--sec); }
.spectrum { display: flex; height: clamp(44px, 6vw, 84px); }
.spectrum span { flex: 1; display: flex; }
.spectrum i { flex: 1; background: var(--c); transform-origin: 50% 0; }
html.js:not(.rm) .spectrum i { transform: scaleY(.15); transition: transform 1s var(--ease); }
html.js:not(.rm) .spectrum.is-in i { transform: scaleY(1); }
.contact-in { padding-top: var(--sec); }
.contact-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.contact-head p { color: var(--muted-night); max-width: 30em; }
.contact-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.map { position: relative; display: block; overflow: hidden; background: var(--night-2); text-decoration: none; }
.map img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(1) contrast(1.02); transition: transform 1.2s var(--ease); }
.map:hover img { transform: scale(1.02); }
.map-pin { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; display: grid; place-items: center; background: var(--ink); color: var(--paper); border-radius: var(--r); box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .6), 0 0 0 6px rgba(231, 183, 160, .55); }
.map-pin .i { width: 28px; height: 28px; }
.map-label { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: var(--r); font-weight: 600; font-size: .95rem; }
html[data-lang="th"] .map-label { font-weight: 500; }
.map-credit { position: absolute; right: 8px; bottom: 8px; background: rgba(244, 244, 241, .88); color: var(--ink); font-size: .7rem; padding: 2px 6px; border-radius: 2px; }
.contact-info { display: grid; gap: 30px; }
.contact-info h3 { font-family: var(--display); font-weight: 600; font-size: 1.05rem; margin-bottom: 8px; color: var(--on-night); }
html[data-lang="th"] .contact-info h3 { font-weight: 500; }
.contact-info p { color: var(--muted-night); }
.contact-info .muted { color: var(--muted-night); font-size: .95rem; margin-top: 6px; }
.contact-info ul { display: grid; gap: 2px; }
.contact-info li a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--on-night); }
.contact-info li a:hover { text-decoration: underline; }
.contact-info li .i { color: var(--muted-night); }
@media (max-width: 899px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-ctas { align-self: stretch; }
  .contact-ctas .btn { flex: 1 1 auto; }
}

/* ---------- Footer ---------- */
.foot { background: var(--night); color: var(--muted-night); border-top: 1px solid var(--line-night); padding: 40px 0 calc(32px + env(safe-area-inset-bottom)); font-size: .92rem; }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-night); text-decoration: none; font-weight: 600; font-family: var(--display); min-height: 44px; }
.foot-brand .brand-mark { width: 28px; height: 28px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 22px; justify-content: flex-end; }
.foot-links a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.foot-links a:hover { color: var(--on-night); }
.foot-base { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 20px; border-top: 1px solid var(--line-night); }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } .foot-links { justify-content: flex-start; } }

/* ---------- Dock (phones) ---------- */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; display: none; gap: 8px; transform: translateY(140%); transition: transform .45s var(--ease); }
.dock.is-on { transform: none; }
.dock-book { flex: 1; box-shadow: 0 10px 28px -10px rgba(4, 33, 15, .5); }
.dock-call { display: grid; place-items: center; width: 50px; height: 50px; border-radius: var(--r); background: var(--ink); color: var(--paper); box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .5); }
@media (max-width: 899px) { .dock { display: flex; } }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(13, 13, 16, .96); color: var(--on-night); overscroll-behavior: contain; }
.lb:not([open]) { display: none; }
.lb::backdrop { background: rgba(13, 13, 16, .96); }
.lb.is-fallback { z-index: 90; }
.lb-frame { position: absolute; inset: 64px 72px 96px; display: grid; place-items: center; outline: none; }
.lb-frame::before { content: ""; position: absolute; width: 60px; height: 8px; border-radius: 2px; background: linear-gradient(90deg, #ceaaac 0 20%, #e7b7a0 0 40%, #c09bba 0 60%, #98b3c6 0 80%, #c5d1cf 0); opacity: .7; animation: pulse 1.2s var(--ease-io) infinite alternate; }
.lb-frame.is-loaded::before { display: none; }
@keyframes pulse { from { transform: scaleX(.4); } to { transform: scaleX(1); } }
.lb-frame img { position: relative; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; opacity: 0; transition: opacity .35s; }
.lb-frame img.is-loaded { opacity: 1; }
.lb-bar { position: absolute; left: 72px; right: 72px; bottom: 26px; display: flex; align-items: center; gap: 16px; }
.lb-bar .chips i { box-shadow: none; }
.lb-cap { flex: 1; min-width: 0; font-size: .98rem; }
.lb-count { color: var(--muted-night); font-variant-numeric: tabular-nums; font-size: .9rem; }
.lb-btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r); color: var(--on-night); background: rgba(244, 244, 241, .08); transition: background-color .2s; }
.lb-btn:hover { background: rgba(244, 244, 241, .18); }
.lb-btn .i { width: 22px; height: 22px; }
.lb-prev { left: 14px; top: 50%; margin-top: -24px; } .lb-next { right: 14px; top: 50%; margin-top: -24px; }
.lb-close { right: 14px; top: 12px; }
@media (max-width: 760px) {
  .lb-frame { inset: 64px 0 120px; }
  .lb-bar { left: 16px; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); flex-wrap: wrap; gap: 8px 12px; }
  .lb-bar .chips { order: 3; }
  .lb-cap { flex-basis: 100%; order: 1; }
  .lb-count { order: 2; }
  .lb-prev, .lb-next { top: auto; bottom: calc(14px + env(safe-area-inset-bottom)); margin: 0; }
  .lb-prev { left: auto; right: 72px; }
  .lb-bar { right: 128px; }
}

/* Reduced motion: nothing moves or scales, but colour and opacity still change gently, so a palette switch still reads as one. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .work, .chips i { transition: background-color .5s ease !important; }
  .svc-stack img { transition: opacity .4s ease !important; transform: none !important; }
  .pal-lead:hover img, .pal-thumb:hover img, .cer-grid button:hover img, .evt-row button:hover img, .map:hover img { transform: none; }
}
