:root {
  --maroon: #62191c;
  --wine: #873632;
  --clay: #9e7161;
  --rose: #caae9f;
  --beige: #e0cfc2;
  --paper: #f7f1eb;
  --ink: #422d2a;
  --muted: #795c52;
  --line: #cbb4a6;
  --serif-en: "Cormorant Garamond", Georgia, serif;
  --serif-th: "Cormorant Garamond", "Charm", serif;
  --sans: "Prompt", system-ui, sans-serif;
  --gutter: clamp(22px, 6vw, 96px);
  --section: clamp(72px, 9vw, 132px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; -webkit-text-size-adjust: 100%; }
body { color: var(--ink); background: var(--paper); font: 300 15px/1.85 var(--sans); }
body.sealed { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: 5px; }
button { color: inherit; }
button, a, input, select, textarea { touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--wine); outline-offset: 5px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 120; background: var(--paper); padding: 12px 20px; }
.skip-link:focus { top: 12px; }
html[data-lang="th"] [lang="en"]:not(html), html[data-lang="en"] [lang="th"]:not(html) { display: none !important; }
.kicker { font: 400 10px/1.6 var(--sans); letter-spacing: .23em; text-transform: uppercase; color: var(--wine); }
.kicker [lang="th"] { letter-spacing: .06em; font-size: 12px; }
.section-title { font: 400 clamp(36px, 4.4vw, 58px)/1.45 var(--serif-th); color: var(--maroon); margin: 14px 0 20px; }
html[data-lang="en"] .section-title { font: 400 clamp(42px, 4.5vw, 64px)/1.05 var(--serif-en); }
.ornament { display: block; width: 150px; height: 20px; color: var(--clay); margin: 24px auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 50px; padding: 12px 26px; border: 1px solid var(--maroon); border-radius: 0; background: var(--maroon); color: var(--paper); text-decoration: none; font: 400 13px/1.6 var(--sans); cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--wine); border-color: var(--wine); }
.btn.ghost { background: transparent; color: var(--maroon); }
.btn.ghost:hover { background: var(--maroon); color: var(--paper); }
.btn svg { width: 18px; height: 18px; }
.btn.solid { width: 100%; }
.btn:disabled { cursor: progress; opacity: .6; }
.center { text-align: center; }

/* Stationery-inspired navigation */
.topbar { height: 80px; position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 10px var(--gutter); background: var(--paper); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.topbar.solid { box-shadow: 0 3px 16px #422d2a08; }
.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; color: var(--maroon); }
.mark img { width: 30px; height: 48px; object-fit: contain; }
.mark > span { font: 500 27px/1 var(--serif-en); letter-spacing: .08em; }
.mark i { font-size: 18px; font-weight: 400; }
.mark small { display: block; font: 400 11px/1 var(--sans); letter-spacing: .13em; margin-top: 8px; }
.links { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); font-size: 16px; font-weight: 400; }
.links a { text-decoration: none; padding-block: 8px; }
.links a:hover { color: var(--wine); }
.links .cta { border-bottom: 1px solid var(--wine); color: var(--maroon); font-weight: 500; }
.tools { display: flex; align-items: center; gap: 12px; }
.lang-toggle { display: inline-flex; gap: 0; border: 1px solid var(--line); }
.lang-toggle button { all: unset; font: 400 12px/1 var(--sans); cursor: pointer; padding: 12px 11px; }
.lang-toggle button[aria-pressed="true"] { color: var(--paper); background: var(--maroon); }
.lang-toggle button:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.music-btn { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.music-btn svg { width: 15px; height: 15px; }
.music-btn[aria-pressed="true"] { color: var(--paper); background: var(--maroon); border-color: var(--maroon); }
main { padding-top: 80px; }

/* Opening spread */
.hero { display: grid; grid-template-columns: 46% 54%; min-height: 700px; height: calc(100svh - 80px); max-height: 940px; background: var(--beige); }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 0; padding: 44px clamp(28px, 6vw, 104px); }
.hero-text .kicker { margin-bottom: 26px; }
.names { color: var(--maroon); font: 400 clamp(66px, 6.8vw, 104px)/1.13 var(--serif-th); letter-spacing: -.03em; }
.names [lang="en"] { font: 400 clamp(64px, 7.4vw, 116px)/.94 var(--serif-en); }
.name-join { display: block; font: italic 400 .43em/.9 var(--serif-en); letter-spacing: 0; margin: 8px 0 6px 35%; color: var(--wine); }
.names > [lang="th"] { display: grid; row-gap: 8px; }
.names .name-part { display: block; line-height: 1.35; }
.names > [lang="th"] .name-join { display: block; font-size: .43em; line-height: 1.4; margin: 0 0 0 35%; }
.hero-intro { font-size: 14px; color: var(--muted); line-height: 1.95; margin-top: 24px; }
.hero-date { display: flex; align-items: center; gap: 16px; width: 100%; max-width: 370px; padding: 20px 0; margin: 22px 0 24px; border-block: 1px solid #9e716166; color: var(--maroon); }
.date-day { font: 400 58px/1 var(--serif-en); font-variant-numeric: lining-nums tabular-nums; }
.hero-date > span:not(.date-day) { font: 400 10px/1.7 var(--sans); letter-spacing: .12em; }
.hero-date .hero-city { border-left: 1px solid #9e716166; padding-left: 16px; margin-left: auto; }
.hero-details { display: inline-flex; gap: 28px; font-size: 11px; text-decoration: none; margin-top: 20px; }
.hero-photo { position: relative; overflow: hidden; min-width: 0; }
.hero-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero-photo::after { content: ""; position: absolute; inset: 65% 0 0; background: linear-gradient(transparent, #24140e75); pointer-events: none; }
.hero-photo figcaption { position: absolute; bottom: 36px; left: 40px; z-index: 1; color: #fff8ed; font: italic 400 clamp(26px, 3vw, 42px)/1.1 var(--serif-en); }
.photo-edition { position: absolute; right: 25px; top: 32px; writing-mode: vertical-rl; font-size: 9px; letter-spacing: .25em; color: white; }
.date-ribbon { display: flex; justify-content: center; align-items: center; gap: clamp(20px, 6vw, 100px); min-height: 60px; padding: 16px 20px; background: var(--maroon); color: var(--beige); font: 400 10px/1.5 var(--sans); letter-spacing: .2em; }
.date-ribbon span:nth-child(even) { font-size: 14px; color: var(--rose); }

/* The invitation */
.invite { padding: var(--section) var(--gutter); text-align: center; }
.invite > .kicker { margin-bottom: 28px; }
.lead { font: 400 clamp(21px, 2.2vw, 29px)/1.8 var(--serif-th); color: var(--muted); }
html[data-lang="en"] .lead { font: italic 400 clamp(23px, 2.6vw, 32px)/1.5 var(--serif-en); }
.couple { display: flex; justify-content: center; align-items: center; gap: 32px; margin: 36px auto 56px; }
.couple h2 { font: 400 clamp(26px, 3vw, 39px)/1.5 var(--serif-th); color: var(--maroon); }
html[data-lang="en"] .couple h2 { font-family: var(--serif-en); font-size: clamp(24px, 2.8vw, 38px); }
.amp-lg { font: italic 400 40px/1 var(--serif-en); color: var(--clay); }
.countdown-label { display: flex; justify-content: center; align-items: center; gap: 22px; color: var(--muted); font-size: 11px; margin-bottom: 20px; }
.countdown-label::before, .countdown-label::after { content: ""; width: 50px; height: 1px; background: var(--line); }
.countdown { display: flex; justify-content: center; gap: clamp(20px, 4vw, 60px); }
.countdown div { min-width: 55px; }
.countdown b { display: block; font: 400 clamp(44px, 5vw, 68px)/1.1 var(--serif-en); color: var(--maroon); font-variant-numeric: lining-nums tabular-nums; }
.countdown small { font: 400 9px/1.5 var(--sans); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.countdown-done { color: var(--maroon); font: 400 30px/1.5 var(--serif-th); }

/* A day to remember */
.schedule { padding: var(--section) var(--gutter); background: var(--beige); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 7vw, 110px); max-width: 1200px; margin: auto; }
.split-photo { position: relative; padding: 0 0 22px 22px; }
.split-photo::before { content: ""; position: absolute; inset: 22px 22px 0 0; border: 1px solid var(--clay); }
.split-photo img { position: relative; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 60% 50%; }
.schedule-date { color: var(--maroon); font-size: 13px; }
.schedule-time { font-size: 12px; color: var(--muted); margin-top: 4px; }
.timeline { list-style: none; margin: 32px 0; }
.timeline li { position: relative; padding: 15px 0 15px 26px; border-bottom: 1px solid #9e716144; font-size: 13px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 24px; width: 5px; height: 5px; background: var(--wine); transform: rotate(45deg); }
.timeline time { color: var(--maroon); font: 500 25px/1.2 var(--serif-en); display: block; margin-bottom: 4px; }
.cal-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.cal-buttons .btn { font-size: 10px; padding: 10px 15px; min-height: 44px; }

/* Two photographic chapters, one visual language */
.chapter { padding: var(--section) var(--gutter); }
.chapter-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; max-width: 1250px; margin: 0 auto 40px; }
.chapter-title { font: 400 clamp(38px, 4.8vw, 64px)/1.4 var(--serif-th); color: var(--maroon); margin-top: 12px; }
html[data-lang="en"] .chapter-title { font: 400 clamp(43px, 4.8vw, 68px)/1.1 var(--serif-en); }
.chapter-note { font-size: 13px; color: var(--muted); padding-bottom: 10px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1250px; margin: auto; }
.gallery button { border: 0; background: var(--beige); display: block; position: relative; width: 100%; overflow: hidden; cursor: zoom-in; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 35%; transition: transform .6s; }
.gallery button:nth-child(6n + 1), .gallery button:nth-child(6n + 4), .gallery button:nth-child(6n + 5) { grid-column: span 2; }
.gallery button:nth-child(6n + 1) img, .gallery button:nth-child(6n + 4) img, .gallery button:nth-child(6n + 5) img { aspect-ratio: 8/5; height: 100%; }
.gallery button:hover img { transform: scale(1.035); }
.gallery.collapsed .extra { display: none; }
.more-btn { display: flex; width: fit-content; margin: 36px auto 0; min-width: 220px; }
.chapter-two { background: var(--maroon); color: var(--beige); }
.chapter-two .kicker, .chapter-two .chapter-note { color: var(--rose); }
.chapter-two .chapter-title { color: var(--paper); }
.chapter-two .gallery button:nth-child(n) { grid-column: auto; }
.chapter-two .gallery button:nth-child(n) img { aspect-ratio: 2/3; height: auto; object-fit: contain; }
.chapter-two .more-btn { color: var(--paper); border-color: var(--rose); }
.chapter-two .more-btn:hover { color: var(--maroon); background: var(--beige); }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

/* Guest details */
.info { background: var(--beige); padding: var(--section) var(--gutter); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); max-width: 1200px; margin: auto; }
.card { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); }
.info .card { border: 0; padding: 0; background: none; }
.info .section-title { font-size: clamp(32px, 3.4vw, 46px); }
.info .card + .card { border-left: 1px solid #9e71615c; padding-left: clamp(30px, 5vw, 72px); }
.card-text { color: var(--muted); font-size: 14px; line-height: 1.95; margin-bottom: 26px; }
#dresscode { display: flex; flex-direction: column; }
.swatches { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 14px; margin: 0 0 28px; }
.swatches li { display: grid; justify-items: center; gap: 9px; width: 63px; text-align: center; }
.swatch { width: 38px; height: 38px; border-radius: 50%; outline: 1px solid #9e716155; outline-offset: 4px; }
.swatches small { font: 300 9px/1.5 var(--sans); color: var(--ink); }
.dress-photo { position: relative; margin-top: auto; min-height: 240px; overflow: hidden; }
.dress-photo img { width: 100%; height: 100%; max-height: 320px; object-fit: cover; object-position: 50% 36%; }
.dress-photo figcaption { position: absolute; bottom: 0; inset-inline: 0; padding: 30px 16px 14px; color: white; font-size: 10px; background: linear-gradient(transparent, #422d2a99); }
.map-wrap { height: 288px; background: var(--rose); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: saturate(.65); }
.venue-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.venue-actions .btn { font-size: 11px; padding-inline: 18px; }

/* RSVP spread */
.rsvp { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(40px, 7vw, 110px); padding: var(--section) max(var(--gutter), calc((100vw - 1200px) / 2)); background: var(--maroon); }
.rsvp-intro { color: var(--beige); }
.rsvp-intro .kicker { color: var(--rose); }
.rsvp-intro h2 { font: 400 clamp(44px, 4.8vw, 70px)/1.5 var(--serif-th); color: var(--paper); margin: 24px 0; }
html[data-lang="en"] .rsvp-intro h2 { font: 400 clamp(52px, 5.6vw, 80px)/1.02 var(--serif-en); }
.rsvp-intro > p:not(.kicker) { font-size: 12px; color: var(--rose); }
.rsvp-flourish { display: block; margin-top: 48px; font: italic 400 34px/1.1 var(--serif-en); color: var(--rose); }
.rsvp-card { width: 100%; min-width: 0; border: 0; }
.rsvp-card .section-title { font-size: 40px; }
.rsvp-card .card-text { text-align: left; }
.form { display: grid; gap: 20px; text-align: left; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { min-width: 0; display: grid; gap: 8px; border: 0; font: 400 12px/1.7 var(--sans); color: var(--muted); }
.field input:not([type="radio"]), .field select, .field textarea { min-width: 0; width: 100%; border: 1px solid var(--line); border-radius: 0; padding: 12px; font: 300 16px/1.5 var(--sans); color: var(--ink); background: #fcf8f4; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
.form .btn { width: 100%; }
.form-error { color: #a12828; font-size: 12px; }
#rsvpForm[data-attending="no"] .if-yes { display: none; }
.rsvp-thanks p { font: 400 26px/1.6 var(--serif-th); color: var(--maroon); }
.rsvp-thanks[data-attending="yes"] .thanks-no, .rsvp-thanks[data-attending="no"] .thanks-yes { display: none; }

/* Notes from loved ones */
.guestbook { padding: var(--section) var(--gutter); }
.guestbook-inner { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(40px, 6vw, 90px); max-width: 1200px; margin: 0 auto 48px; align-items: start; }
.guestbook-inner > header { text-align: left; padding-top: 20px; }
.guestbook-inner > header .card-text { max-width: 280px; }
.wish-form { background: var(--beige); border: 0; }
.wish-form fieldset { border: 0; }
.wish-form legend { margin-bottom: 12px; }
.symbol-picker { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.symbol-picker label { position: relative; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: start; text-align: center; gap: 8px; padding: 12px 4px; background: #f7f1eb80; border: 1px solid transparent; transition: border-color .2s; }
.symbol-picker label:hover { border-color: var(--clay); }
.symbol-picker label:has(input:checked) { background: var(--paper); border-color: var(--wine); }
.symbol-picker label:has(input:focus-visible) { outline: 2px solid var(--wine); outline-offset: 2px; }
.symbol-picker input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.symbol-picker b { font-size: 22px; line-height: 1; font-weight: 400; }
.symbol-picker small { color: var(--ink); font: 300 11px/1.45 var(--sans); }
.wishes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1200px; margin: auto; align-items: start; }
.wish { border-top: 1px solid var(--clay); padding: 24px; background: var(--beige); }
.wish-tag { color: var(--wine); font-size: 10px; }
.wish p { margin-top: 14px; font-size: 13px; white-space: pre-line; overflow-wrap: anywhere; }
.wish .wish-by { font-size: 11px; color: var(--wine); }
.wishes-empty { border-top: 1px solid var(--line); max-width: 1200px; margin: auto; padding-top: 28px; text-align: center; color: var(--muted); font-size: 12px; }
.footer { padding: 64px 22px; text-align: center; background: var(--beige); border-top: 1px solid var(--line); }
.footer > .kicker { margin-bottom: 30px; font-size: 9px; }
.footer-logo { width: 78px; height: 122px; object-fit: contain; margin: 0 auto 24px; }
.footer-names { font: 400 34px/1.5 var(--serif-th); color: var(--maroon); }
html[data-lang="en"] .footer-names { font: 400 42px/1.2 var(--serif-en); }
.footer > p:last-child { margin-top: 12px; font: 300 9px/1.5 var(--sans); letter-spacing: .2em; color: var(--muted); }

/* The first invitation */
.envelope { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: var(--maroon); overflow-y: auto; transition: opacity 1s, visibility 1s; }
.envelope::before { content: ""; position: fixed; inset: 18px; border: 1px solid #caae9f66; pointer-events: none; }
.envelope.opening { opacity: 0; visibility: hidden; pointer-events: none; }
.envelope.opening .env-card { transform: translateY(-24px); }
.env-lantern, .corner { display: none; }
.env-card { position: relative; width: min(440px, 100%); text-align: center; background: var(--paper); padding: 52px 32px 34px; outline: 1px solid var(--line); outline-offset: -12px; transition: transform 1s; }
.env-lang { position: absolute; top: 22px; right: 24px; }
.env-lang button { font-size: 9px; padding: 8px; }
.env-card .kicker { font-size: 8px; letter-spacing: .16em; margin-top: 8px; }
.env-title { font: 400 24px/1.5 var(--serif-th); color: var(--maroon); margin: 14px 0 20px; }
html[data-lang="en"] .env-title { font: italic 400 34px/1.2 var(--serif-en); }
.env-seal { margin: 0 auto 22px; width: 80px; }
.env-seal img { width: 80px; height: 124px; object-fit: contain; }
.env-names { font: 400 37px/1.4 var(--serif-th); color: var(--maroon); }
html[data-lang="en"] .env-names { font: 400 41px/1.1 var(--serif-en); }
.env-date { color: var(--muted); font-size: 12px; margin: 14px 0 28px; }
.env-open { width: 100%; }
.env-hint { font-size: 10px; color: var(--muted); margin-top: 14px; }
.env-dear { color: var(--wine); font: 400 22px/1.5 var(--serif-th); margin-top: 12px; overflow-wrap: anywhere; }

/* Photo viewer */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #241919f5; }
.lightbox img { max-width: 90vw; max-height: 88svh; object-fit: contain; }
.lightbox button { position: absolute; border: 0; background: transparent; color: var(--paper); font: 400 42px/1 var(--serif-en); padding: 14px; min-width: 48px; min-height: 48px; cursor: pointer; }
.lb-close { top: 8px; right: 16px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

@media (max-width: 1100px) {
  .links { gap: 16px; font-size: 14px; }
  .topbar { padding-inline: 28px; gap: 18px; }
  .hero-text { padding-inline: 38px; }
  .hero { min-height: 660px; }
  .names { font-size: 76px; }
  .names [lang="en"] { font-size: 80px; }
  .hero-city { display: none; }
  .hero-date { justify-content: flex-start; }
  .info-grid { gap: 36px; }
  .rsvp { gap: 42px; }
}
@media (max-width: 900px) {
  .links { display: none; }
  .hero { min-height: 620px; height: auto; }
  .hero-text { padding: 42px 28px; }
  .names, .names [lang="en"] { font-size: 66px; }
  .hero-photo figcaption { left: 24px; bottom: 28px; font-size: 30px; }
  .couple { gap: 20px; }
  .split { gap: 38px; }
  .info-grid { grid-template-columns: 1fr; max-width: 620px; gap: 54px; }
  .info .card + .card { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 48px; }
  .dress-photo { min-height: 260px; }
  .dress-photo img { max-height: 360px; }
  .rsvp { grid-template-columns: 1fr; gap: 42px; }
  .rsvp-intro { max-width: 620px; width: 100%; margin: auto; }
  .rsvp-intro h2 { font-size: 50px; }
  .rsvp-flourish { display: none; }
  .rsvp-card { max-width: 620px; margin: auto; }
  .guestbook-inner { grid-template-columns: 1fr; max-width: 620px; gap: 18px; }
  .guestbook-inner > header .card-text { max-width: none; }
  .guestbook-inner > header .section-title br { display: none; }
  .wishes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 80px; }
  .topbar { height: 68px; padding: 8px 20px; }
  main { padding-top: 68px; }
  .mark img { width: 25px; height: 40px; }
  .mark > span { font-size: 22px; }
  .mark small { font-size: 10px; }
  .tools { gap: 10px; }
  .hero { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .hero-text { padding: 42px 28px 36px; position: relative; }
  .hero-text .kicker { font-size: 9px; margin-bottom: 18px; }
  .names { font-size: 66px; line-height: 1.18; }
  .names [lang="en"] { font-size: clamp(65px, 16vw, 86px); line-height: .93; }
  .name-join { display: inline-block; margin: 0 14px; font-size: .48em; vertical-align: middle; }
  .names [lang="en"] .name-join { display: block; margin: 10px 0 8px 42%; line-height: .65; }
  .hero-intro { font-size: 12px; margin-top: 18px; }
  .hero-intro br { display: none; }
  .hero-date { max-width: none; margin: 18px 0 22px; padding: 14px 0; gap: 14px; }
  .date-day { font-size: 46px; }
  .hero-date > span:not(.date-day) { font-size: 9px; }
  .hero-date .hero-city { display: block; }
  .hero-text > .btn { min-height: 46px; }
  .hero-details { position: absolute; right: 28px; bottom: 50px; gap: 12px; font-size: 10px; }
  .hero-photo { height: 112vw; max-height: 580px; }
  .hero-photo > img { object-position: 50% 35%; }
  .hero-photo figcaption { font-size: 30px; }
  .date-ribbon { gap: 14px; font-size: 7px; letter-spacing: .12em; min-height: 48px; padding-inline: 16px; }
  .date-ribbon span:nth-child(even) { font-size: 9px; }
  .couple { flex-direction: column; gap: 8px; margin-bottom: 42px; }
  .couple h2 { font-size: 31px; }
  html[data-lang="en"] .couple h2 { font-size: 32px; }
  .amp-lg { font-size: 32px; }
  .countdown-label { font-size: 10px; gap: 14px; }
  .countdown-label::before, .countdown-label::after { width: 28px; }
  .countdown { gap: 20px; }
  .countdown b { font-size: 46px; }
  .countdown small { font-size: 8px; letter-spacing: .08em; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-photo img { aspect-ratio: 4/3; }
  .section-title { font-size: 40px; }
  .chapter-head { display: block; margin-bottom: 26px; }
  .chapter-title { font-size: 42px; }
  .chapter-note { margin-top: 12px; font-size: 12px; padding: 0; }
  .chapter-note br { display: none; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gallery button:nth-child(6n + 4), .gallery button:nth-child(6n + 5) { grid-column: span 1; }
  .gallery button:nth-child(6n + 4) img, .gallery button:nth-child(6n + 5) img { aspect-ratio: 3/4; height: auto; }
  .gallery button:nth-child(6n + 1), .gallery button:nth-child(6n + 6) { grid-column: span 2; }
  .gallery img { aspect-ratio: 3/4; }
  .gallery button:nth-child(6n + 1) img, .gallery button:nth-child(6n + 6) img { aspect-ratio: 4/3; }
  .more-btn { margin-top: 26px; font-size: 11px; }
  .swatches { gap: 10px; }
  .swatches li { width: 54px; }
  .swatch { width: 34px; height: 34px; }
  .rsvp-intro h2 { font-size: 45px; }
  html[data-lang="en"] .rsvp-intro h2 { font-size: 58px; }
  .card { padding: 28px 22px; }
  .rsvp-card .section-title { font-size: 36px; }
  .row { grid-template-columns: 1fr; gap: 20px; }
  .symbol-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .symbol-picker small { font-size: 11px; }
  .symbol-picker label { padding: 12px 6px; }
  .symbol-picker b { font-size: 24px; }
  .wishes { grid-template-columns: 1fr; }
  .env-card { padding: 48px 26px 30px; }
  .env-title { font-size: 23px; }
  .env-seal, .env-seal img { width: 65px; }
  .env-seal img { height: 102px; }
  .env-names { font-size: 33px; }
  html[data-lang="en"] .env-names { font-size: 36px; }
}
@media (min-width: 761px) and (max-height: 850px) {
  .hero-text { padding-block: 28px; }
  .hero-text .kicker { margin-bottom: 18px; }
  .names > [lang="th"] { font-size: clamp(62px, 5.8vw, 84px); }
}
@media (max-width: 360px) {
  .hero-text { padding-inline: 22px; }
  .names { font-size: 57px; }
  .hero-details { position: static; margin-top: 16px; }
  .hero-city { display: none !important; }
  .countdown { gap: 12px; }
  .date-ribbon { gap: 9px; font-size: 6px; }
  .symbol-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
