@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/bodoni-moda-400-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: 'Taviraj';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/taviraj-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: 'Taviraj';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/taviraj-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: 'Anuphan';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(fonts/anuphan-300-600-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Anuphan';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(fonts/anuphan-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;
}

/* Varisa Wedding Dress concept site.
   A quiet, cool gallery: off-white paper, off-black ink, no accent colour. The gowns and their red and silver ceremony
   dresses are the only colour; LINE green appears only as the LINE glyph. Every corner is square, like a pressed seam.
   Type: Bodoni Moda (Latin display, a fashion-house didone), Taviraj (Thai display, the same high-contrast stroke),
   Anuphan (Thai and Latin text, loopless and modern). Light theme only, ending in one night section (see README). */

:root {
  --paper: #f3f3f1;
  --paper-2: #e8e8e5;
  --paper-3: #dededa;
  --ink: #17181b;
  --ink-2: #2c2e33;
  --mute: #3b3e44;
  --line: #d3d4d4;
  --line-2: #b4b6b9;
  --night: #131416;
  --night-2: #1d1e22;
  --on-night: #ededea;
  --mute-night: #cdcfd2;
  --line-night: rgba(237, 237, 234, .16);
  --line-green: #06c755;
  --display: "Bodoni Moda", "Taviraj", "Times New Roman", serif;
  --text: "Anuphan", "Helvetica Neue", Arial, system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gut: clamp(16px, 4.4vw, 64px);
  --max: 1360px;
  --nav-h: 64px;
  --sec: clamp(80px, 10vw, 148px);
}

*, *::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) + 8px); }
html.rm { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 1rem; line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
html[data-lang="th"] body { font-size: 1.1rem; line-height: 1.75; }
html[data-lang="en"] body { font-size: 1.0625rem; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }
.visit ::selection, .foot ::selection { background: var(--on-night); color: var(--ink); }
html { accent-color: var(--ink); caret-color: var(--ink); }
.visit :focus-visible, .foot :focus-visible, .lb :focus-visible { outline-color: var(--on-night); }

html[data-lang="th"] [lang="en"]:not([data-set-lang]), html[data-lang="en"] [lang="th"]:not([data-set-lang]) { 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; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.i { width: 1.15em; height: 1.15em; flex: none; }
.i-line { color: var(--line-green); width: 1.3em; height: 1.3em; }

/* ---------- Type ---------- */
.h1, .h2, .h3 { font-family: var(--display); font-weight: 500; font-variation-settings: "opsz" 18; color: var(--ink); text-wrap: balance; }
.h1 { font-size: clamp(2.4rem, .8rem + 3.4vw, 4.1rem); line-height: 1.04; letter-spacing: -.018em; }
.h2 { font-size: clamp(2.05rem, 1.3rem + 2.7vw, 3.7rem); line-height: 1.06; letter-spacing: -.012em; }
.h3 { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); line-height: 1.15; letter-spacing: -.005em; }
html[data-lang="th"] .h1 { font-weight: 400; font-size: clamp(2rem, .2rem + 3.7vw, 4rem); line-height: 1.32; letter-spacing: 0; }
html[data-lang="th"] .h2 { font-weight: 400; font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3.2rem); line-height: 1.36; letter-spacing: 0; }
html[data-lang="th"] .h3 { font-weight: 500; font-size: clamp(1.35rem, 1.15rem + .7vw, 1.75rem); line-height: 1.4; letter-spacing: 0; }
.sec-head { display: grid; gap: 18px; max-width: 46rem; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-lede { color: var(--mute); font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); max-width: 36rem; text-wrap: pretty; }
html[data-lang="th"] .sec-lede { font-size: clamp(1.06rem, 1rem + .3vw, 1.22rem); }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .65em; min-height: 52px; padding: 0 1.5em; font-weight: 500; font-size: 1rem; letter-spacing: .01em; text-decoration: none; white-space: nowrap; background: var(--ink); color: var(--paper); transition: background-color .25s, transform .2s var(--ease); }
.btn:hover { background: var(--ink-2); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-sm { min-height: 44px; padding: 0 1.05em; font-size: .92rem; }
.btn-light { background: var(--on-night); color: var(--ink); }
.btn-light:hover { background: #fff; }
.tlink { display: inline-flex; align-items: center; gap: .55em; min-height: 44px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-2); text-decoration-thickness: 1px; text-underline-offset: .4em; transition: text-decoration-color .25s, gap .3s var(--ease); }
.tlink:hover { text-decoration-color: currentColor; gap: .8em; }
.tlink .i { width: 1em; height: 1em; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; }
/* 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; background: rgba(243, 243, 241, .9); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 transparent; transition: box-shadow .3s; z-index: -1; }
.nav.is-scrolled::before { box-shadow: 0 1px 0 var(--line); }
.nav.is-open::before { background: var(--paper); }
@media (prefers-reduced-transparency: reduce) { .nav::before { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.nav-in { display: flex; align-items: center; gap: 24px; height: var(--nav-h); max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; text-decoration: none; line-height: 1; min-height: 44px; justify-content: center; }
.brand-name { font-family: "Bodoni Moda", serif; font-weight: 500; font-size: 1.42rem; letter-spacing: .36em; margin-right: -.36em; font-optical-sizing: auto; }
.brand-sub { font-size: .6875rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); padding-left: .1em; }
.nav-links { display: flex; gap: clamp(16px, 2vw, 30px); margin-left: auto; }
.nav-links a { font-size: .9rem; text-decoration: none; padding: 10px 0; position: relative; white-space: nowrap; }
.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, .nav-links a[aria-current="true"]::after { transform: scaleX(1); }
html[data-lang="th"] .nav-links a { font-size: .94rem; }
.nav-end { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; box-shadow: inset 0 0 0 1px var(--line-2); }
.lang button { min-width: 44px; height: 44px; padding: 0 10px; font-size: .82rem; font-weight: 500; color: var(--mute); transition: background-color .2s, color .2s; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.lang-lg button { height: 48px; flex: 1; font-size: .95rem; }
.menu-btn { display: none; width: 44px; height: 44px; place-items: center; margin-right: -10px; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), background-color .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: 12px var(--gut) calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-family: var(--display); font-weight: 500; font-variation-settings: "opsz" 18; font-size: 1.75rem; line-height: 1.2; text-decoration: none; padding: 11px 0; border-bottom: 1px solid var(--line); }
html[data-lang="th"] .menu nav a { font-weight: 400; font-size: 1.5rem; line-height: 1.4; padding: 9px 0; }
.menu-foot { display: flex; flex-direction: column; gap: 14px; }
.menu-foot .lang { width: 100%; }
.menu-foot .btn { width: 100%; }
@media (max-width: 1199px) {
  .nav-links { display: none; }
  .nav-end { margin-left: auto; }
  .menu-btn { display: inline-grid; }
}
@media (max-width: 699px) {
  .nav-end .lang, .nav-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: clamp(8px, 2vw, 24px) var(--gut) clamp(32px, 4vw, 56px); min-height: calc(100svh - var(--nav-h)); }
.hero-copy { display: grid; gap: clamp(20px, 2.2vw, 30px); padding-bottom: clamp(0px, 3vw, 48px); }
.h1 .ln { display: block; }
.lede { font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); color: var(--mute); max-width: 30rem; text-wrap: pretty; }
html[data-lang="th"] .lede { font-size: clamp(1.06rem, 1rem + .35vw, 1.24rem); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.hero-art { position: relative; height: min(calc(100svh - var(--nav-h) - 56px), 880px); min-height: 520px; }
.hero-main { position: absolute; inset: 0 0 0 16%; overflow: hidden; background: var(--paper-3); }
.hero-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-inset { position: absolute; left: 0; bottom: 9%; width: 27%; aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper-3); box-shadow: 0 0 0 10px var(--paper); }
.hero-inset img { width: 100%; height: 100%; object-fit: cover; }

/* Opening: the main photo opens from a thin centre seam, like a back closure; the button detail rises in after it. */
.js:not(.rm) .hero-main { clip-path: inset(0 47.5% 0 47.5%); transition: clip-path 1.5s var(--ease-io) .1s; }
.js:not(.rm) .hero-main img { transform: scale(1.08); transition: transform 2.4s var(--ease) .1s; }
.js:not(.rm) .hero-inset { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) 1.05s, transform 1.2s var(--ease) 1.05s; }
.js:not(.rm) .hero .ln, .js:not(.rm) .hero .lede, .js:not(.rm) .hero-ctas { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.js:not(.rm) .hero .ln:nth-child(2) { transition-delay: .12s; }
.js:not(.rm) .hero .lede { transition-delay: .26s; }
.js:not(.rm) .hero-ctas { transition-delay: .38s; }
.is-ready .hero-main { clip-path: inset(0 0 0 0) !important; }
.is-ready .hero-main img, .is-ready .hero-inset, .is-ready .hero .ln, .is-ready .hero .lede, .is-ready .hero-ctas { opacity: 1 !important; transform: none !important; }

@media (max-width: 899px) {
  .hero { grid-template-columns: minmax(0, 1fr); align-items: start; min-height: 0; gap: 22px; padding-top: 0; padding-bottom: 40px; }
  .hero-art { order: -1; height: clamp(210px, calc(100svh - var(--nav-h) - 330px), 560px); min-height: 0; margin: 0 calc(-1 * var(--gut)); }
  .hero-main { inset: 0; }
  .hero-inset { left: auto; right: var(--gut); bottom: -18px; width: clamp(84px, 24vw, 170px); box-shadow: 0 0 0 6px var(--paper); }
  .hero-copy { padding-bottom: 0; gap: 16px; }
  .hero-ctas .btn { flex: 1 1 auto; }
}
@media (max-width: 899px) and (max-height: 600px) {
  .hero-inset { display: none; }
  .hero-art { height: 180px; }
}
@media (max-width: 899px) { html[data-lang="th"] .h1 { font-size: clamp(1.9rem, 1.2rem + 3.6vw, 3.2rem); line-height: 1.34; } }

/* ---------- Three ways ---------- */
.ways { padding: var(--sec) 0 calc(var(--sec) * .7); }
.ways-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.way { display: grid; gap: 20px; text-decoration: none; }
.way-pic { display: block; overflow: hidden; background: var(--paper-3); aspect-ratio: 4 / 5; }
.way-main .way-pic { aspect-ratio: 1 / 1.02; }
.way-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.way:hover .way-pic img { transform: scale(1.035); }
.way-body { display: grid; gap: 10px; justify-items: start; max-width: 30rem; }
.way-text { color: var(--mute); text-wrap: pretty; }
.way:hover .tlink { text-decoration-color: currentColor; gap: .8em; }
.ways-side { display: grid; gap: clamp(28px, 3.4vw, 48px); padding-top: clamp(0px, 9vw, 150px); }
.way-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 2vw, 28px); align-items: end; }
.way-row .way-body { padding-bottom: 4px; }
.ways-also { color: var(--mute); padding-top: 22px; border-top: 1px solid var(--line); max-width: 30rem; text-wrap: pretty; }
@media (max-width: 899px) {
  .ways-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ways-side { padding-top: 0; }
  .way-main .way-pic { aspect-ratio: 4 / 4.2; }
}
@media (max-width: 479px) {
  .way-row { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; }
}

/* ---------- Lookbook ---------- */
.gowns { padding: calc(var(--sec) * .5) 0 var(--sec); }
.flts { display: flex; gap: 4px 26px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.5vw, 44px); border-bottom: 1px solid var(--line); }
.flt { position: relative; display: inline-flex; align-items: baseline; gap: 6px; min-height: 48px; padding: 12px 0; color: var(--mute); font-size: .98rem; white-space: nowrap; transition: color .2s; }
.flt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.flt:hover { color: var(--ink); }
.flt[aria-pressed="true"] { color: var(--ink); }
.flt[aria-pressed="true"]::after { transform: scaleX(1); }
.flt-n { font-size: .74rem; font-variant-numeric: tabular-nums; color: var(--mute); }
@media (max-width: 699px) {
  .flts { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gut)) 24px; padding: 0 var(--gut); scrollbar-width: none; scroll-padding: 0 var(--gut); gap: 22px; }
  .flts::-webkit-scrollbar { display: none; }
}
.lookbook { columns: 3; column-gap: clamp(12px, 1.6vw, 24px); }
.lk { break-inside: avoid; margin-bottom: clamp(12px, 1.6vw, 24px); }
.lk[hidden] { display: none; }
.lookbook:not(.is-open) .lk.is-extra { display: none; }
.lk-more-wrap { display: flex; justify-content: center; margin-top: clamp(20px, 3vw, 36px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.lk-more[hidden] { display: none; }
.lk-btn { display: block; width: 100%; overflow: hidden; background: var(--paper-3); }
.lk-btn img { width: 100%; transition: transform 1s var(--ease), opacity .5s; }
.lk-btn:hover img { transform: scale(1.03); }
.lk.is-in img { animation: lkIn .7s var(--ease) both; animation-delay: calc(var(--k, 0) * 40ms); }
@keyframes lkIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 1099px) { .lookbook { columns: 2; } }
.gowns-more { margin-top: clamp(28px, 3vw, 40px); color: var(--mute); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.gowns-more .tlink { color: var(--ink); }

/* ---------- The back (signature) ---------- */
.back { background: var(--paper-2); padding: var(--sec) 0; }
.back-head { max-width: 50rem; }
.pairs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.pair { display: grid; align-content: start; gap: 14px; }
.pair:nth-child(even) { margin-top: clamp(40px, 6vw, 96px); }
.pair-frame { position: relative; aspect-ratio: 4 / 5.4; overflow: hidden; background: var(--paper-3); }
.pair-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s var(--ease), transform 1.4s var(--ease); }
.pair-close { opacity: 0; transform: scale(1.14); }
.pair.is-close .pair-full { opacity: 0; transform: scale(1.1); }
.pair.is-close .pair-close { opacity: 1; transform: none; }
.rm .pair-frame img { transition: opacity .3s; transform: none !important; }
.pair-ctl { display: inline-grid; grid-template-columns: 1fr 1fr; box-shadow: inset 0 0 0 1px var(--line-2); justify-self: start; }
.pair-ctl button { min-height: 44px; padding: 0 16px; font-size: .88rem; color: var(--mute); transition: background-color .25s, color .25s; }
.pair-ctl button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pair-name { font-family: var(--text); font-weight: 400; font-size: .98rem; line-height: 1.5; color: var(--ink); max-width: 22rem; text-wrap: pretty; }
@media (max-width: 1099px) {
  .pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .pair:nth-child(even) { margin-top: 56px; }
}
@media (max-width: 699px) {
  .pairs { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); padding-bottom: 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .pairs::-webkit-scrollbar { display: none; }
  .pair { flex: 0 0 min(78%, 340px); scroll-snap-align: start; }
  .pair:nth-child(even) { margin-top: 0; }
  .pairs::after { content: ""; flex: 0 0 calc(var(--gut) - 14px); }
}

/* ---------- Made to measure ---------- */
.made { padding: var(--sec) 0; }
.made-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.made-fig { position: sticky; top: calc(var(--nav-h) + 24px); }
.made-pic { display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-3); }
.made-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.made-pic:hover img { transform: scale(1.03); }
.made-body { display: grid; gap: 22px; justify-items: start; padding-top: clamp(0px, 3vw, 40px); }
.steps { counter-reset: s; width: 100%; margin: 14px 0 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 4px 12px; padding: 22px 0 24px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); grid-row: span 2; font-family: "Bodoni Moda", serif; font-size: 1.7rem; line-height: 1; color: var(--mute); padding-top: .1em; }
.steps p { color: var(--mute); max-width: 32rem; }
@media (max-width: 899px) {
  .made-in { grid-template-columns: minmax(0, 1fr); }
  .made-fig { position: static; }
  .made-pic { aspect-ratio: 4 / 3.6; }
  .made-body { padding-top: 0; }
  .made-body .btn { width: 100%; }
}

/* ---------- One day, every ceremony ---------- */
.cer { padding: calc(var(--sec) * .6) 0 var(--sec); }
.cer-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 3fr); grid-template-rows: auto auto; gap: clamp(16px, 2vw, 28px); }
.cer-cell { display: grid; grid-template-rows: 1fr auto; gap: 14px; text-align: left; }
.cer-thai { grid-row: span 2; }
.cer-tea { grid-row: span 2; }
.cer-pic { display: block; overflow: hidden; background: var(--paper-3); min-height: clamp(220px, 22vw, 340px); }
.cer-thai .cer-pic, .cer-tea .cer-pic { min-height: clamp(480px, 50vw, 780px); }
.cer-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cer-cell:hover .cer-pic img { transform: scale(1.035); }
.cer-cap { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; }
.cer-when { grid-column: 1 / -1; color: var(--mute); font-size: .92rem; }
.cer-name { font-family: var(--display); font-weight: 500; font-variation-settings: "opsz" 18; font-size: 1.5rem; line-height: 1.2; }
html[data-lang="th"] .cer-name { font-weight: 500; font-size: 1.4rem; line-height: 1.4; }
.cer-n { color: var(--mute); font-size: .86rem; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .35em; }
.cer-cell:hover .cer-n { color: var(--ink); text-decoration-color: currentColor; }
@media (max-width: 899px) {
  .cer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cer-tea { grid-column: 1 / -1; grid-row: auto; order: -1; }
  .cer-thai { grid-row: auto; }
  .cer-tea .cer-pic { min-height: 0; aspect-ratio: 4 / 4.2; }
  .cer-thai .cer-pic, .cer-rec .cer-pic, .cer-second .cer-pic { min-height: 0; aspect-ratio: 3 / 4.2; }
  .cer-second { grid-column: 1 / -1; }
  .cer-second .cer-pic { aspect-ratio: 4 / 3.4; }
  .cer-cap { grid-template-columns: minmax(0, 1fr); }
  html[data-lang="th"] .cer-name { font-size: 1.25rem; }
}

/* ---------- From our brides ---------- */
.brides { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.brides-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.brides-photo { display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-3); }
.brides-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.brides-photo:hover img { transform: scale(1.03); }
.brides-body { display: grid; gap: 28px; }
.rating { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; color: var(--mute); }
.rating strong { font-family: "Bodoni Moda", serif; font-weight: 500; font-size: 2.2rem; line-height: 1; color: var(--ink); }
.quotes { display: grid; gap: 0; }
.quote { padding: 26px 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.quote blockquote p { font-family: var(--display); font-weight: 500; font-variation-settings: "opsz" 18; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.7rem); line-height: 1.35; text-wrap: pretty; }
html[data-lang="th"] .quote blockquote p { font-weight: 400; font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.6; }
.quote figcaption { color: var(--mute); font-size: .92rem; }
.quote .tr { font-size: .84rem; color: var(--mute); }
.real { margin-top: clamp(48px, 6vw, 88px); }
.real-row { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; }
.real-row button { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper-3); }
.real-row img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .3s; }
.real-row button:hover img { transform: scale(1.05); }
.real-cap { margin-top: 14px; color: var(--mute); font-size: .92rem; }
@media (max-width: 899px) {
  .brides-in { grid-template-columns: minmax(0, 1fr); }
  .brides-photo { aspect-ratio: 4 / 3.6; }
  .real-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); scroll-padding: 0 var(--gut); scrollbar-width: none; }
  .real-row::-webkit-scrollbar { display: none; }
  .real-row li { flex: 0 0 34%; scroll-snap-align: start; }
  .real-row::after { content: ""; flex: 0 0 calc(var(--gut) - 10px); }
}

/* ---------- FAQ ---------- */
.faq { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.faq-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 112px); align-items: start; }
.faq-in .h2 { position: sticky; top: calc(var(--nav-h) + 24px); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none; font-weight: 500; font-size: 1.04rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .i { transition: transform .35s var(--ease); }
.faq-list details[open] summary .i { transform: rotate(45deg); }
.faq-list .ans { padding: 0 48px 24px 0; color: var(--mute); max-width: 44rem; }
.faq-list .ans .tlink { color: var(--ink); }
@media (max-width: 899px) {
  .faq-in { grid-template-columns: minmax(0, 1fr); }
  .faq-in .h2 { position: static; }
  .faq-list .ans { padding-right: 0; }
}

/* ---------- Visit (the one night section, running into the footer) ---------- */
.visit { background: var(--night); color: var(--on-night); padding: var(--sec) 0 calc(var(--sec) * .8); }
.visit .h2, .visit .h3 { color: var(--on-night); }
.visit-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.visit-copy { display: grid; gap: 22px; justify-items: start; }
.visit-copy .sec-lede { color: var(--mute-night); }
.facts { display: grid; gap: 0; width: 100%; margin: 6px 0 8px; }
.facts > div { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 12px; padding: 16px 0; border-top: 1px solid var(--line-night); }
.facts > div:last-child { border-bottom: 1px solid var(--line-night); }
.facts dt { grid-row: span 2; padding-top: 3px; color: var(--mute-night); }
.facts dt .i { width: 20px; height: 20px; }
.facts .k { font-size: .84rem; color: var(--mute-night); }
.facts dd a { text-decoration: underline; text-decoration-color: var(--line-night); text-underline-offset: .3em; }
.facts dd a:hover { text-decoration-color: currentColor; }
.facts .tel { display: inline-flex; min-height: 44px; align-items: center; margin-right: 14px; }
.visit-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.visit .tlink { text-decoration-color: var(--line-night); }
.visit .tlink:hover { text-decoration-color: currentColor; }
.visit-map { position: relative; display: block; aspect-ratio: 3 / 2.1; overflow: hidden; background: var(--night-2); text-decoration: none; }
.visit-map img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.visit-map:hover img { transform: scale(1.02); }
.map-pin { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; background: var(--ink); box-shadow: 0 0 0 4px var(--paper), 0 6px 16px rgba(0, 0, 0, .35); transform: rotate(45deg); }
.map-label { position: absolute; left: 50%; top: calc(50% + 18px); transform: translateX(-50%); background: var(--ink); color: var(--on-night); padding: 6px 10px; font-size: .8rem; white-space: nowrap; }
.map-credit { position: absolute; right: 8px; bottom: 6px; font-size: .68rem; color: #3f4146; background: rgba(243, 243, 241, .8); padding: 1px 5px; }
.visit-photo { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 899px) {
  .visit-in { grid-template-columns: minmax(0, 1fr); }
  .visit-ctas .btn { width: 100%; }
  .visit-map { aspect-ratio: 4 / 3.4; margin: 0 calc(-1 * var(--gut)); }
}

/* ---------- Footer ---------- */
.foot { background: var(--night); color: var(--mute-night); padding: 0 0 calc(32px + env(safe-area-inset-bottom)); }
.foot-mark { display: grid; gap: 14px; justify-items: start; }
.foot-line { font-family: "Bodoni Moda", serif; font-size: 1.05rem; color: var(--on-night); }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; padding-top: 40px; border-top: 1px solid var(--line-night); align-items: start; }
.foot .brand { color: var(--on-night); }
.foot .brand-sub { color: var(--mute-night); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 26px; }
.foot-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .92rem; text-decoration: none; color: var(--on-night); }
.foot-links a:hover { text-decoration: underline; text-underline-offset: .3em; }
.foot-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .84rem; padding-top: 18px; }
@media (max-width: 699px) {
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .foot-links { justify-content: flex-start; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ---------- 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(150%); transition: transform .5s var(--ease); }
.dock.is-on { transform: none; }
.dock-book { flex: 1; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .55); }
.dock-call { display: grid; place-items: center; width: 52px; height: 52px; background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), 0 12px 30px -12px rgba(0, 0, 0, .4); }
.dock-call .i { width: 22px; height: 22px; }
@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(15, 16, 18, .97); color: var(--on-night); overscroll-behavior: contain; }
.lb:not([open]) { display: none; }
.lb::backdrop { background: rgba(15, 16, 18, .97); }
.lb.is-fallback { z-index: 90; }
.lb-frame { position: absolute; inset: 64px 76px 92px; display: grid; place-items: center; outline: none; }
.lb-frame::before { content: ""; position: absolute; width: 1px; height: 56px; background: var(--on-night); opacity: .5; animation: seam 1.1s var(--ease-io) infinite alternate; }
.lb-frame.is-loaded::before { display: none; }
@keyframes seam { from { transform: scaleY(.2); } to { transform: scaleY(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: 76px; right: 76px; bottom: 24px; display: flex; align-items: center; gap: 16px; }
.lb-cap { flex: 1; min-width: 0; font-size: .98rem; }
.lb-count { color: var(--mute-night); font-variant-numeric: tabular-nums; font-size: .9rem; }
.lb-btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; color: var(--on-night); background: rgba(237, 237, 234, .08); transition: background-color .2s; }
.lb-btn:hover { background: rgba(237, 237, 234, .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: 699px) {
  .lb-frame { inset: 64px 0 124px; }
  .lb-bar { left: 16px; right: 136px; bottom: calc(20px + env(safe-area-inset-bottom)); flex-direction: column; align-items: flex-start; gap: 4px; }
  .lb-prev, .lb-next { top: auto; bottom: calc(16px + env(safe-area-inset-bottom)); margin: 0; }
  .lb-prev { left: auto; right: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .way-pic img, .lk-btn img, .cer-pic img, .made-pic img, .brides-photo img, .real-row img, .visit-map img { transition: none !important; transform: none !important; }
}
