@font-face {
  font-family: 'Gambetta';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/gambetta-300-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: 'Gambetta';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/gambetta-italic-300-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: 'Gambetta';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/gambetta-400-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: 'Gambetta';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/gambetta-italic-400-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: 'Gambetta';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/gambetta-500-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: 'Thasadith';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/thasadith-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: 'Thasadith';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/thasadith-700-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'KoHo';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/koho-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: 'KoHo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/koho-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: 'KoHo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/koho-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: 'Albert Sans';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/albert-sans-italic-300-500-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: 'Albert Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(fonts/albert-sans-300-600-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: 'Ms Madi';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ms-madi-400-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: 'Charm';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/charm-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: 'Charm';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/charm-700-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

/* Dusty Miller Wedding Decoration: concept site by Optimism.
   Felt white with the silver-sage of the dusty miller leaf, evergreen ink, terracotta (their most-used flower colour) as the one accent.
   Gambetta + Albert Sans for Latin; Thasadith + KoHo for Thai; Ms Madi and Charm only for names lettered on the walls. */

:root {
  --paper: #f3f3ef;
  --paper-2: #e8eae4;
  --paper-3: #dde1d9;
  --leaf: #b8c2b9;
  --sage: #7d8b80;
  --sage-ink: #56645a;
  --ink: #1e2521;
  --ink-2: #48514b;
  --clay: #a4532f;
  --clay-2: #8b4325;
  --night: #1c2420;
  --night-2: #27312b;
  --on-night: #ecefe9;
  --on-night-2: #aab5ac;
  --line: rgba(30, 37, 33, .14);
  --line-2: rgba(30, 37, 33, .26);
  --line-night: rgba(236, 239, 233, .16);
  --focus: #a4532f;
  --scrim: 20, 26, 22;
  --on-photo: #fff;
  --on-photo-em: #f2d3bf;
  --stage-bg: #dcdcd6;
  --paper-hover: #f7f6f2;
  --focus-night: #e3b59a;

  --f-disp: 'Gambetta', 'Thasadith', 'Times New Roman', serif;
  --f-text: 'Albert Sans', 'KoHo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-sign: 'Ms Madi', 'Charm', cursive;

  --gut: clamp(20px, 4.4vw, 64px);
  --max: 1320px;
  --sec: clamp(76px, 9.5vw, 132px);
  --nav-h: 64px;
  --r: 2px;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}
@media (min-width: 900px) { :root { --nav-h: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-text); font-size: 1.0625rem; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
html[data-lang="th"] body { line-height: 1.75; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--leaf); color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--r); }
.day :focus-visible, .foot :focus-visible, .lb :focus-visible { outline-color: var(--focus-night); }
html { scrollbar-color: var(--leaf) var(--paper); }

/* language: both are in the DOM, one is shown */
html[data-lang="th"] [lang="en"]:not(html):not(button), html[data-lang="en"] [lang="th"]:not(html):not(button) { display: none !important; }
.ph { display: inline-block; }
html[data-lang="en"] .ph { display: inline; }

.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r); text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.i { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- type ---------- */
.h-hero, .h2, .h3 { font-family: var(--f-disp); font-weight: 300; margin: 0; color: var(--ink); text-wrap: balance; }
.h-hero { font-size: clamp(2.3rem, .6rem + 3.5vw, 4.1rem); line-height: 1.04; letter-spacing: -.012em; }
.h-hero .ln { display: inline; }
.h-hero { padding-bottom: .06em; }
.h-hero em { color: var(--clay); }
.h-hero em, .h2 em { font-style: italic; }
html[data-lang="th"] .h-hero em, html[data-lang="th"] .h2 em { font-style: normal; }
html[data-lang="th"] .h-hero { font-size: clamp(2.2rem, 1.2rem + 2.7vw, 4rem); line-height: 1.3; letter-spacing: 0; font-weight: 400; }
.h2 { font-size: clamp(2.05rem, 1.35rem + 2.5vw, 3.6rem); line-height: 1.06; letter-spacing: -.01em; }
html[data-lang="th"] .h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 3.1rem); line-height: 1.32; letter-spacing: 0; font-weight: 400; }
.h3 { font-size: clamp(1.5rem, 1.22rem + .95vw, 2.05rem); line-height: 1.12; font-weight: 400; }
html[data-lang="th"] .h3 { font-size: clamp(1.4rem, 1.18rem + .8vw, 1.85rem); line-height: 1.38; }
.body { margin: 0; color: var(--ink-2); max-width: 36em; }
.lede { margin: 0; color: var(--ink-2); font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); line-height: 1.6; max-width: 31em; }
html[data-lang="th"] .lede { line-height: 1.75; }
.fine { margin: 0; font-size: .875rem; line-height: 1.55; color: var(--sage-ink); }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: .85em 1.5em;
  background: var(--clay); color: var(--on-photo); text-decoration: none; border-radius: var(--r); font-weight: 500; font-size: 1rem; line-height: 1.2;
  transition: background-color .25s var(--ease), transform .25s var(--ease); -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--clay-2); }
.btn:active { transform: translateY(1px); }
.btn .i { width: 1.3em; height: 1.3em; }
.btn-sm { min-height: 42px; padding: .55em 1.05em; font-size: .9375rem; }
.btn-block { width: 100%; }
.tlink {
  display: inline-flex; align-items: center; gap: .45em; color: var(--ink); text-decoration: none; font-weight: 500;
  min-height: 44px; border-bottom: 1px solid transparent;
}
.tlink .i { transition: transform .3s var(--ease); color: var(--clay); }
.tlink:hover .i { transform: translateX(4px); }
.tlink span { background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%; padding-bottom: 2px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(243, 243, 239, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.is-scrolled, .nav.is-open { border-bottom-color: var(--line); }
/* a backdrop-filter makes the bar the containing block for the fixed menu, so drop it while the menu is open */
.nav.is-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
.nav-in { height: var(--nav-h); display: flex; align-items: center; gap: 24px; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand .dm { width: auto; height: 34px; }
.brand .wm { width: 152px; height: auto; }
@media (min-width: 900px) { .brand .dm { height: 40px; } .brand .wm { width: 178px; } }
.nav-links { display: none; gap: 30px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: .9375rem; padding: 10px 0; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { transform: scaleX(1); }
.nav-end { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav-links + .nav-end { margin-left: 0; }
.lang { display: none; border: 1px solid var(--line-2); border-radius: var(--r); padding: 2px; }
.lang button { min-height: 34px; min-width: 40px; padding: 0 9px; font-size: .8125rem; color: var(--ink-2); border-radius: 1px; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.nav-cta { display: none; }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; margin-right: -10px; }
.menu-bars, .menu-bars::before { display: block; width: 22px; height: 1.5px; background: var(--ink); position: relative; transition: transform .3s var(--ease); }
.menu-bars::before { content: ""; position: absolute; top: 7px; left: 0; }
.menu-bars { transform: translateY(-3.5px); }
.nav.is-open .menu-bars { transform: translateY(0) rotate(45deg); }
.nav.is-open .menu-bars::before { top: 0; transform: rotate(-90deg); }
@media (min-width: 900px) { .lang { display: flex; } .nav-cta { display: inline-flex; } }
@media (min-width: 1100px) { .nav-links { display: flex; } .menu-btn { display: none; } }

.menu { position: fixed; left: 0; right: 0; top: var(--nav-h); bottom: 0; background: var(--paper); overflow-y: auto; padding: 18px var(--gut) calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-family: var(--f-disp); font-size: 1.65rem; line-height: 1.25; text-decoration: none; padding: 13px 0; border-bottom: 1px solid var(--line); }
html[data-lang="th"] .menu nav a { font-size: 1.45rem; }
.menu-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; }
.lang-lg { display: flex; }
.lang-lg button { flex: 1; min-height: 44px; font-size: .9375rem; }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: 1fr; }
.hero-media { margin: 0; position: relative; overflow: hidden; height: clamp(290px, 56svh, 520px); background: var(--paper-3); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy { padding: 26px var(--gut) 40px; display: flex; flex-direction: column; gap: 18px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 4px; }
@media (max-width: 899px) {
  /* phones: the headline sits on the photo so the button still makes the first screen inside LINE */
  .hero-media::after { content: ""; position: absolute; inset: 34% 0 0; background: linear-gradient(to bottom, rgba(var(--scrim), 0), rgba(var(--scrim), .5) 45%, rgba(var(--scrim), .82)); pointer-events: none; }
  .hero-copy { display: contents; }
  .hero .h-hero { grid-row: 1; align-self: end; position: relative; z-index: 2; color: var(--on-photo); padding: 0 var(--gut) 20px; font-size: clamp(2.15rem, 9.2vw, 3rem); text-shadow: 0 1px 18px rgba(0, 0, 0, .25); }
  html[data-lang="th"] .hero .h-hero { font-size: clamp(1.95rem, 8.4vw, 2.7rem); line-height: 1.28; font-weight: 700; }
  .hero .h-hero em { color: var(--on-photo-em); }
  .hero-media { grid-row: 1; grid-column: 1; }
  .hero .h-hero { grid-column: 1; }
    /* button straight under the photo so it makes the first screen even on an SE inside LINE; the lede follows */
  .hero-ctas { order: 1; padding: 18px var(--gut) 0; }
  .hero .lede { order: 2; padding: 18px var(--gut) 34px; }
}
@media (min-width: 900px) {
  .hero { grid-template-columns: max(var(--gut), calc((100vw - var(--max)) / 2)) minmax(0, 5.8fr) minmax(0, 6.2fr); min-height: calc(100svh - var(--nav-h)); max-height: 1000px; }
  .hero-media { grid-column: 3; grid-row: 1; height: auto; min-height: 560px; }
  .hero-copy { grid-column: 2; grid-row: 1; justify-content: center; padding: 56px clamp(32px, 4vw, 64px) 72px 0; gap: 26px; }
  }

/* entrance (motion only) */
.js .hero-media img { transition: opacity 1.2s var(--ease), transform 2.2s var(--ease); }
.js:not(.is-ready) .hero-media img { opacity: 0; transform: scale(1.045); }
.js .hero .h-hero .ln, .js .hero .lede, .js .hero-ctas { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js:not(.is-ready) .hero .h-hero .ln, .js:not(.is-ready) .hero .lede, .js:not(.is-ready) .hero-ctas { opacity: 0; transform: translateY(14px); }
.js .hero .h-hero .ln:nth-child(2) { transition-delay: .08s; }
.js .hero .h-hero .ln:nth-child(3) { transition-delay: .16s; }
.js .hero .lede { transition-delay: .28s; }
.js .hero-ctas { transition-delay: .38s; }

/* ---------- proof: one sentence of venues ---------- */
.proof { padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.proof-in { display: grid; gap: 22px; }
.proof-line { margin: 0; font-family: var(--f-disp); font-weight: 300; font-size: clamp(1.4rem, 1.05rem + 1.35vw, 2.25rem); line-height: 1.28; max-width: 28em; text-wrap: pretty; }
html[data-lang="th"] .proof-line { font-weight: 400; font-size: clamp(1.3rem, 1rem + 1.1vw, 1.95rem); line-height: 1.55; }
.proof-line em { font-style: italic; color: var(--clay); }
html[data-lang="th"] .proof-line em { font-style: normal; }
.proof-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: .9375rem; }
.proof-meta a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.proof-meta li { display: flex; align-items: center; gap: 8px; }
.proof-meta .i { color: var(--sage-ink); }

/* ---------- names on the wall ---------- */
.names { padding: var(--sec) 0; }
.names-in { display: grid; gap: 28px; grid-template-areas: "copy" "stage" "ctrl"; }
.names-copy { grid-area: copy; display: grid; gap: 16px; }
.names-ctrl { grid-area: ctrl; display: grid; gap: 26px; align-content: start; }
.stage-wrap { grid-area: stage; margin: 0; }
@media (min-width: 900px) {
  .names-in { grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr); grid-template-areas: "copy stage" "ctrl stage"; column-gap: clamp(36px, 4.5vw, 72px); row-gap: 34px; align-items: start; }
  .stage-wrap { position: sticky; top: calc(var(--nav-h) + 24px); }
}
.names-form { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 12px; }
.field { display: grid; gap: 4px; min-width: 0; }
.field label { font-size: .8125rem; color: var(--sage-ink); }
.field input {
  width: 100%; min-width: 0; font: 400 1.35rem/1.2 var(--f-disp); color: var(--ink); background: transparent; caret-color: var(--clay);
  border: 0; border-bottom: 1px solid var(--sage); border-radius: 0; padding: 8px 0 9px; transition: border-color .25s;
}
html[data-lang="th"] .field input { font-family: var(--f-disp); }
.field input:hover { border-bottom-color: var(--ink-2); }
.field input:focus { outline: none; border-bottom: 1.5px solid var(--clay); padding-bottom: 8.5px; }
.field input:focus-visible { outline: none; }
.field-amp { font-family: var(--f-disp); font-style: italic; font-size: 1.5rem; color: var(--sage); padding-bottom: 9px; }
.walls { border: 0; margin: 0; padding: 0; min-width: 0; }
.walls legend { padding: 0; margin-bottom: 10px; font-size: .8125rem; color: var(--sage-ink); }
.walls-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.wall-opt { position: relative; display: grid; gap: 7px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.wall-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wall-thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--paper-3); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .25s var(--ease); }
.wall-thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.5); transition: transform .5s var(--ease); }
.wall-opt:hover .wall-thumb img { transform: scale(1.58); }
.wall-lbl { font-size: .8125rem; line-height: 1.35; color: var(--ink-2); }
.wall-opt input:checked + .wall-thumb { box-shadow: 0 0 0 1.5px var(--ink), 0 0 0 4px var(--paper), 0 0 0 5px var(--ink); }
.wall-opt input:checked ~ .wall-lbl { color: var(--ink); font-weight: 500; }
.wall-opt input:focus-visible + .wall-thumb { box-shadow: 0 0 0 2px var(--focus), 0 0 0 5px var(--paper), 0 0 0 6px var(--focus); }
.names-send { display: grid; gap: 10px; justify-items: start; }

.stage { position: relative; overflow: hidden; border-radius: var(--r); background: var(--stage-bg); aspect-ratio: 1 / 1; }
@media (min-width: 560px) { .stage { aspect-ratio: 4 / 3; } }
@media (min-width: 900px) { .stage { aspect-ratio: 2048 / 1363; } }
.canvas { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.wall-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.wall-img.is-on { opacity: 1; }
.sign {
  position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; white-space: nowrap;
  font-family: var(--f-sign); font-weight: 400; color: var(--ink-sign, #9a6a5a); line-height: .92; pointer-events: none;
  transform: translate(-50%, -50%); transition: opacity .35s var(--ease), filter .35s var(--ease);
  /* cut acrylic standing off the wall: a hard little shadow and a soft one */
  filter: drop-shadow(1px 1.5px .6px rgba(40, 28, 18, .32)) drop-shadow(2px 6px 6px rgba(40, 28, 18, .12));
}
.sign .s1 { align-self: flex-start; }
.sign .s2 { align-self: flex-end; padding-left: .9em; }
.sign .s-amp { font-size: .42em; line-height: 1; margin: -.15em 0 -.05em; font-family: var(--f-disp); font-style: italic; letter-spacing: .02em; }
.sign .th { font-family: 'Charm', var(--f-sign); font-weight: 700; line-height: 1.15; }
.sign.is-mono { line-height: .8; flex-direction: row; align-items: center; }
.sign.is-mono .s1, .sign.is-mono .s2 { font-family: var(--f-disp); font-weight: 300; align-self: auto; padding: 0; }
.sign.is-mono .s1 { margin-right: -.34em; transform: translateY(-.22em); }
.sign.is-mono .s2 { transform: translateY(.22em); font-style: italic; }
.sign.is-mono .s-amp { display: none; }
.sign.is-swap { opacity: 0; filter: blur(4px); }
.stage-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-top: 12px; font-size: .875rem; color: var(--sage-ink); }
.stage-cap [data-wall-name] { font-family: var(--f-disp); font-style: italic; font-size: 1.05rem; color: var(--ink); }
html[data-lang="th"] .stage-cap [data-wall-name] { font-style: normal; }

/* ---------- the walk ---------- */
.walk { padding: var(--sec) 0; background: var(--paper-2); }
.walk-head { display: grid; gap: 16px; margin-bottom: clamp(44px, 6vw, 84px); max-width: 44em; }
.route { position: relative; display: grid; gap: clamp(64px, 9vw, 128px); }
.route-line { position: absolute; left: 0; top: 0; width: 24px; height: 100%; overflow: visible; display: none; }
.route-line path { fill: none; stroke: var(--sage); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
@keyframes route-grow { to { stroke-dashoffset: 0; } }
@supports (animation-timeline: view()) {
  .js-motion .route { view-timeline-name: --route; }
  /* the tip sits 62% down the screen: starts when the walk's top reaches it, ends when its bottom does */
  .js-motion .route-line path { stroke-dashoffset: 1; animation: route-grow linear both; animation-timeline: --route; animation-range: cover 38vh cover calc(100% - 62vh); }
}
@media (min-width: 900px) {
  .route { padding-left: 76px; }
  .route-line { display: block; left: 12px; }
}
.stop { display: grid; gap: 24px; position: relative; }
.stop-copy { display: grid; gap: 14px; align-content: start; }
.stop-copy .tlink { justify-self: start; margin-top: 2px; }
.stop-leaf { display: block; width: 18px; height: 46px; color: var(--sage); }
.stop-leaf .i { width: 100%; height: 100%; }
@media (min-width: 900px) {
  .stop-leaf { position: absolute; left: -76px; top: -2px; width: 24px; height: 60px; background: var(--paper-2); padding: 2px 0; transform-origin: 50% 100%; transition: transform .7s var(--ease), color .7s var(--ease); }
  .js-motion .stop-leaf { transform: scale(.4); color: var(--leaf); }
  .js-motion .stop.is-reached .stop-leaf { transform: scale(1); color: var(--sage-ink); }
}
.pf { display: block; position: relative; overflow: hidden; border-radius: var(--r); background: var(--paper-3); width: 100%; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.pf img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pf:hover img { transform: scale(1.03); }
.stop-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stop-photos .pf { aspect-ratio: 4 / 3; }
.stop-photos .pf-1 { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.pf-c .pf-2, .pf-c .pf-3, .pf-c .pf-4, .pf-d .pf-2, .pf-d .pf-3, .pf-d .pf-4 { aspect-ratio: 1 / 1; }
.pf-d { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stop-b .pf { aspect-ratio: 3 / 2; }
.stop-b .stop-copy { order: -1; }

@media (min-width: 900px) {
  .stop { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 2.4vw, 36px); align-items: start; }
  .stop-copy { grid-column: 1 / span 4; padding-top: 4px; }
  .stop-photos { grid-column: 5 / -1; gap: clamp(10px, 1.2vw, 16px); }
  /* a: one wide, two under it */
  .pf-a .pf-1 { aspect-ratio: 16 / 9; }
  /* b: a triptych, photo | words | photo */
  .stop-b { align-items: center; }
  .stop-b > .pf, .stop-b > .stop-copy { grid-row: 1; order: 0; }
  .stop-b .pf-1 { grid-column: 1 / span 5; aspect-ratio: 4 / 3; }
  .stop-b .stop-copy { grid-column: 6 / span 3; padding: 0 4px; }
  .stop-b .pf-2 { grid-column: 9 / -1; aspect-ratio: 1 / 1; margin-top: 18%; }
  /* c: the words sit over the gallery: one wide wall, two beside it */
  .stop-c .stop-copy { grid-column: 1 / span 7; grid-row: 1; margin-bottom: 8px; }
  .stop-c .stop-photos { grid-column: 1 / -1; grid-row: 2; grid-template-columns: 8fr 4fr; grid-template-rows: 1fr 1fr; }
  .pf-c .pf-1 { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: 3 / 2; }
  .pf-c .pf-2, .pf-c .pf-3 { grid-column: 2; }
  .pf-c .pf-2, .pf-c .pf-3 { aspect-ratio: auto; height: 100%; }
  /* d: panorama first across the whole width, copy under it on the left */
  .stop-d .stop-photos { grid-column: 1 / -1; grid-row: 1; grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .pf-d .pf-1 { grid-column: 1 / -1; aspect-ratio: 21 / 8; }
  .pf-d .pf-2, .pf-d .pf-3, .pf-d .pf-4 { grid-row: 2; aspect-ratio: 1 / 1; }
  .pf-d .pf-2 { grid-column: 5 / span 3; margin-top: 18px; }
  .pf-d .pf-3 { grid-column: 8 / span 3; margin-top: 18px; }
  .pf-d .pf-4 { grid-column: 11 / span 2; margin-top: 18px; aspect-ratio: 2 / 3; }
  .stop-d .stop-copy { grid-row: 2; grid-column: 1 / span 4; margin-top: -1px; position: relative; }
  .stop-d { grid-template-rows: auto auto; }
  .stop-d .stop-copy { align-self: start; }
  .stop-d .stop-photos { grid-row: 1 / span 2; grid-template-rows: auto auto; }
  /* e: two over three */
  .pf-e { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pf-e .pf-1 { grid-column: 1 / span 3; aspect-ratio: 4 / 3; }
  .pf-e .pf-2 { grid-column: 4 / span 3; aspect-ratio: 4 / 3; }
  .pf-e .pf-3, .pf-e .pf-4, .pf-e .pf-5 { grid-column: span 2; aspect-ratio: 1 / 1; }
}
/* reveal for the walk photos (motion only) */
.js-motion [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- on the day ---------- */
.day { background: var(--night); color: var(--on-night); padding: var(--sec) 0; }
.day .h2 { color: var(--on-night); }
.day .body { color: var(--on-night-2); }
.day-in { display: grid; gap: clamp(36px, 5vw, 64px); }
.day-copy { display: grid; gap: 18px; align-content: start; }
.cue { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line-night); }
.cue li { display: grid; grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr); gap: 4px 20px; padding: 16px 0; border-bottom: 1px solid var(--line-night); align-items: baseline; }
.cue-k { font-family: var(--f-disp); font-size: 1.3rem; line-height: 1.25; color: var(--on-night); }
html[data-lang="th"] .cue-k { font-size: 1.2rem; }
.cue-v { color: var(--on-night-2); }
.day-media { margin: 0; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 5; }
.day-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 559px) { .cue li { grid-template-columns: 1fr; } .day-media { aspect-ratio: 4 / 3; } }
@media (min-width: 900px) {
  .day-in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; column-gap: clamp(40px, 6vw, 96px); }
}

/* ---------- reviews: one large, two beside it ---------- */
.words { padding: var(--sec) 0 0; }
.words-in { display: grid; gap: clamp(36px, 5vw, 64px); }
.quote { margin: 0; display: grid; gap: 16px; align-content: start; }
.quote p { margin: 0; font-family: var(--f-disp); font-weight: 300; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); line-height: 1.34; text-wrap: pretty; }
html[data-lang="th"] .quote p { font-weight: 400; font-size: clamp(1.18rem, 1.02rem + .6vw, 1.5rem); line-height: 1.62; }
.quote-lg p { font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.75rem); line-height: 1.22; }
html[data-lang="th"] .quote-lg p { font-size: clamp(1.4rem, 1.08rem + 1.4vw, 2.3rem); line-height: 1.5; }
.quote footer { font-size: .9375rem; color: var(--sage-ink); padding-left: 28px; position: relative; }
.quote footer::before { content: ""; position: absolute; left: 0; top: .8em; width: 18px; height: 1px; background: var(--clay); }
.quote-pair { display: grid; gap: clamp(32px, 4vw, 48px); }
@media (min-width: 900px) {
  .words-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(48px, 6vw, 112px); align-items: start; }
  .quote-pair { padding-top: 10px; border-left: 1px solid var(--line); padding-left: clamp(32px, 4vw, 56px); }
}

/* the showcase they co-host (dated; take it down after 25 Oct 2026) */
.event { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 14px; row-gap: 2px; align-items: center; justify-self: start; max-width: 40em; text-decoration: none; padding: 14px 18px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper); transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.event:hover { border-color: var(--clay); background: var(--paper-hover); }
.event-i { grid-row: 1 / span 2; width: 26px; height: 26px; color: var(--clay); }
.event-t { font-weight: 500; color: var(--ink); line-height: 1.4; }
.event-d { grid-column: 2; font-size: .9375rem; color: var(--ink-2); }
.event-go { grid-column: 3; grid-row: 1 / span 2; color: var(--clay); transition: transform .3s var(--ease); }
.event:hover .event-go { transform: translate(2px, -2px); }

/* ---------- faq ---------- */
.faq { padding: var(--sec) 0; background: var(--paper-2); }
.faq-in { display: grid; gap: 32px; }
.faq-head { display: grid; gap: 14px; align-content: start; }
.qa { border-top: 1px solid var(--line-2); }
.qa details { border-bottom: 1px solid var(--line-2); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; font-family: var(--f-disp); font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); line-height: 1.35; -webkit-tap-highlight-color: transparent; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { color: var(--clay); transition: transform .35s var(--ease); width: 1.2em; height: 1.2em; }
.qa details[open] summary .i { transform: rotate(45deg); }
.qa .a { padding: 0 2.5em 22px 0; color: var(--ink-2); }
.qa .a p { margin: 0; max-width: 38em; }
@media (min-width: 900px) { .faq-in { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(40px, 6vw, 96px); } }

/* ---------- contact: the ask on the left, what happens next on the right ---------- */
.contact { padding: var(--sec) 0; }
.contact-in { display: grid; gap: clamp(44px, 6vw, 72px); }
.contact-copy { display: grid; gap: 18px; align-content: start; }
.contact .h2 { font-size: clamp(2.3rem, 1.4rem + 3.2vw, 4.4rem); }
html[data-lang="th"] .contact .h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); }
.contact-acts { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; margin-top: 6px; }
.socials { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink-2); text-decoration: none; font-size: .9375rem; }
.socials a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.socials .i { color: var(--sage-ink); }
.next { align-self: start; }
.next-h { margin: 0 0 14px; font-family: var(--f-disp); font-weight: 400; font-size: clamp(1.5rem, 1.22rem + .95vw, 2.05rem); line-height: 1.15; color: var(--ink); }
html[data-lang="th"] .next-h { font-size: clamp(1.4rem, 1.18rem + .8vw, 1.85rem); line-height: 1.38; }
.next-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.next-steps li { counter-increment: s; display: grid; grid-template-columns: 2.2em minmax(0, 1fr); column-gap: 10px; row-gap: 4px; padding: 20px 0; border-top: 1px solid var(--line-2); }
.next-steps li::before { content: counter(s); grid-row: 1 / span 2; font-family: var(--f-disp); font-style: italic; font-size: 1.6rem; line-height: 1.1; color: var(--clay); }
.next-k { font-family: var(--f-disp); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); line-height: 1.25; color: var(--ink); }
html[data-lang="th"] .next-k { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); line-height: 1.45; }
.next-v { color: var(--ink-2); font-size: 1rem; }
@media (min-width: 900px) {
  .contact-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(48px, 6vw, 112px); align-items: start; }
  .next { padding-top: 12px; }
}

/* ---------- footer ---------- */
.foot { background: var(--night); color: var(--on-night-2); padding: clamp(56px, 7vw, 88px) 0 calc(28px + env(safe-area-inset-bottom)); }
.foot-in { display: grid; gap: 34px; }
.foot-brand { display: grid; justify-items: start; gap: 14px; color: var(--on-night); text-decoration: none; width: max-content; }
.foot-brand .dm { height: 64px; width: auto; }
.foot-brand .wm { width: 230px; height: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.foot-links a { color: var(--on-night); text-decoration: none; padding: 8px 0; min-height: 44px; display: inline-flex; align-items: center; font-size: .9375rem; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; border-top: 1px solid var(--line-night); font-size: .8125rem; }
.foot-base p { margin: 0; }
@media (min-width: 900px) { .foot-in { grid-template-columns: auto 1fr; align-items: end; } .foot-links { justify-content: flex-end; } .foot-base { grid-column: 1 / -1; } }

/* ---------- dock (phones, after the hero) ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(243, 243, 239, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .45s var(--ease); }
.dock.is-on { transform: none; }
.dock-line { flex: 1; min-height: 48px; }
.dock-call { width: 52px; min-height: 48px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--ink); }
.dock-call .i { width: 1.35em; height: 1.35em; }
@media (min-width: 900px) { .dock { display: none; } }
body.has-dock .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { body.has-dock .foot { padding-bottom: 28px; } }

/* ---------- lightbox ---------- */
.lb { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(18, 23, 20, .97); color: var(--on-night); }
.lb:focus { outline: none; }
.lb::backdrop { background: rgba(18, 23, 20, .97); }
.lb-in { position: absolute; inset: 0; display: grid; place-items: center; padding: 64px 12px 84px; }
.lb-fig { margin: 0; display: grid; gap: 12px; justify-items: center; max-width: 100%; max-height: 100%; }
.lb-img { display: grid; place-items: center; min-width: 120px; min-height: 120px; }
.lb-img img { max-width: min(92vw, 1500px); max-height: calc(100dvh - 170px); width: auto; height: auto; object-fit: contain; border-radius: var(--r); }
.lb-img.is-loading::after { content: ""; width: 56px; height: 1px; background: var(--on-night); opacity: .3; animation: lbpulse 1.2s ease-in-out infinite; }
@keyframes lbpulse { 50% { opacity: .9; } }
.lb-cap { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; font-size: .9375rem; color: var(--on-night-2); text-align: center; max-width: 46em; padding: 0 8px; }
.lb-n { font-variant-numeric: tabular-nums; color: var(--on-night-2); opacity: .8; }
.lb-btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r); color: var(--on-night); background: rgba(236, 239, 233, .08); transition: background-color .2s; }
.lb-btn:hover { background: rgba(236, 239, 233, .16); }
.lb-btn .i { width: 1.4em; height: 1.4em; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 899px) { .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; } .lb-prev { left: calc(50% - 58px); } .lb-next { right: calc(50% - 58px); } }

@media (prefers-reduced-motion: reduce) {
  /* nothing travels, zooms or loops; fades and colour changes stay so state changes still read */
  .js:not(.is-ready) .hero-media img, .js:not(.is-ready) .hero .h-hero .ln, .js:not(.is-ready) .hero .lede, .js:not(.is-ready) .hero-ctas { opacity: 1; transform: none; }
  .hero-media img, .hero .h-hero .ln, .hero .lede, .hero-ctas { transition: none; }
  .pf:hover img, .wall-opt:hover .wall-thumb img { transform: none; }
  .wall-thumb img { transform: scale(1.5); transition: none; }
  .tlink:hover .i, .event:hover .event-go, .contact-list a:hover .go { transform: none; }
  .btn:active { transform: none; }
  .sign { transition-duration: .15s; } .sign.is-swap { filter: none; }
  .wall-img { transition-duration: .2s; }
  .dock { transition: opacity .2s; transform: none; opacity: 0; pointer-events: none; } .dock.is-on { opacity: 1; pointer-events: auto; }
  .lb-img.is-loading::after { animation: none; opacity: .5; }
  .qa summary .i, .menu-bars, .menu-bars::before, .nav-links a::after { transition: none; }
}

