/* Hallmark · audit + edit · 2026-10-29
 * macrostructure: Marquee Hero (studied: Manafi reference, user-chosen) · genre: editorial/atmospheric
 * theme: custom — 2SIS'S CI (paper cream · ink black · accent gold #A37329 · warm)
 * fixes: roman headers · zero eyebrows · one orchestrated entrance · focus rings · tinted white
 *        · minmax grid tracks · overflow-x clip · curly quotes · tokens for stray colours
 * pre-emit critique: P4 H4 E4 S5 R4 V4
 */
/* ============ TOKENS — 2SIS'S CI: black + gold #A37329 ============ */
:root {
  --black: #12110F;        /* CI black */
  --dark: #191714;         /* section dark */
  --gold: #A37329;         /* CI gold from logo */
  --gold-soft: #CDA66C;    /* gold on dark */
  --cream: #FEF8ED;
  --sand: #F5EDDF;
  --sea-tint: #E9F0EE;     /* pale sea for the ambience section */
  --white: #FFFDF8;      /* never pure white — tinted toward the cream paper */
  --sand-deep: #F3E3C6;  /* range fills, pills */
  --gold-pale: #EAD2A4;  /* gold on photos */
  --night: #0C0B09;      /* gallery / lightbox backdrop */
  --text: #2B2722;
  --muted: #6E665C;
  --line: rgba(18, 17, 15, .1);
  --line-dark: rgba(255, 255, 255, .14);

  --f-title: "Instrument Serif", Georgia, serif;
  --f-body: "Bricolage Grotesque", system-ui, sans-serif;

  --radius-lg: 20px;
  --radius-xl: 30px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 60px);
  --space: clamp(80px, 9vw, 120px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--cream); color: var(--text); font-family: var(--f-body); font-size: 16px; line-height: 1.625; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.head-left { text-align: left; }
.head-left .sub { margin-left: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.dark :focus-visible, .hero :focus-visible, .rp-hero :focus-visible, .gallery-lb :focus-visible, .fac-panel :focus-visible { outline-color: var(--gold-soft); }
.right { text-align: right; }
.dark { background: var(--dark); color: rgba(255, 255, 255, .72); }

/* ============ TYPE ============ */
.h1, .h2, .h3, .h4 { font-family: var(--f-title); font-weight: 400; color: var(--black); margin: 0 0 .4em; letter-spacing: -.01em; }
.h1 { font-size: clamp(3rem, 6.6vw, 5.6rem); line-height: 1.04; color: var(--white); }
.h2 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.1; text-transform: capitalize; }
.h3 { font-size: clamp(2.2rem, 3.8vw, 3rem); line-height: 1.05; }
.h4 { font-size: 1.75rem; line-height: 1.1; }
.h1 em, .h2 em, .h3 em { font-style: normal; }
.hero .h1 em, .rp-hero .h1 em { color: var(--gold-pale); }
.h2 em, .h3 em { color: var(--gold); }
.dark .h2, .dark .h3 { color: var(--white); }
.dark .h2 em, .dark .h3 em { color: var(--gold-soft); }
.sub { color: var(--muted); font-size: 1.02rem; max-width: 520px; margin: 0 auto 0; }
.sub.left { margin-left: 0; }
.dark .sub { color: rgba(255, 255, 255, .62); }
.lead { font-size: 1.08rem; color: var(--muted); margin: 0 auto 2rem; }

.tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .9rem; border-radius: 999px; background: var(--sand-deep); color: var(--black); margin-bottom: 1.2rem; }
.tag-gold { background: var(--gold); color: var(--white); }
.tag-white { background: var(--white); }

/* ============ BUTTONS ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: 1.05rem 1.9rem; border-radius: 999px; font-size: .84rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border: 1px solid transparent; transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--gold); color: var(--white); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--gold); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--white); color: var(--black); }
.arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; font-size: 1.1rem; color: var(--black); transition: background .3s, color .3s; flex-shrink: 0; }
.arrow:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.arrow-light { background: transparent; border-color: rgba(255, 255, 255, .3); color: var(--white); }

/* ============ NAV ============ */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--white); transition: background .4s var(--ease), box-shadow .4s, color .4s; }
.nav-inner { max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 22px var(--gutter); display: flex; align-items: center; gap: 2rem; transition: padding .4s var(--ease); }
.nav-logo { position: relative; width: 64px; flex-shrink: 0; transition: width .4s var(--ease); }
.nav-logo img { width: 100%; height: auto; transition: opacity .3s; }
.nav-logo .on-light { position: absolute; inset: 0; opacity: 0; }
.nav-links { margin-left: auto; display: flex; gap: 1.8rem; }
.nav-links a { font-size: .86rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; opacity: .9; transition: opacity .3s, color .3s; }
.nav-links a:hover { opacity: 1; color: var(--gold-soft); }
.nav-cta { padding: .9rem 1.6rem; }
.lang { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; flex-shrink: 0; }
.lang > * { padding: .4rem .7rem; border-radius: 999px; line-height: 1; transition: background .3s, color .3s; }
.lang [aria-current] { background: var(--white); color: var(--black); }
.lang a:hover { color: var(--gold-soft); }
.nav.scrolled .lang { border-color: rgba(18, 17, 15, .2); }
.nav.scrolled .lang [aria-current] { background: var(--black); color: var(--white); }
.nav.scrolled .lang a:hover { color: var(--gold); }
.nav.scrolled { background: rgba(254, 248, 237, .94); backdrop-filter: blur(14px); color: var(--black); box-shadow: 0 1px 0 var(--line); }
.nav.scrolled .nav-inner { padding-top: 12px; padding-bottom: 12px; }
.nav.scrolled .nav-logo { width: 50px; }
.nav.scrolled .on-dark { opacity: 0; }
.nav.scrolled .on-light { opacity: 1; }
.nav.scrolled .nav-links a:hover { color: var(--gold); }
.nav.scrolled .nav-cta { background: var(--black); color: var(--white); }
.nav.scrolled .nav-cta:hover { background: var(--gold); }
.nav-burger { display: none; width: 44px; height: 44px; margin-left: auto; padding: 12px 9px; }
.nav-burger i { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .35s var(--ease); }
.nav-burger[aria-expanded="true"] i:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-burger[aria-expanded="true"] i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-nav { background: var(--cream); color: var(--black); padding: 10px var(--gutter) 28px; display: flex; flex-direction: column; box-shadow: 0 20px 40px rgba(0, 0, 0, .12); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a:not(.btn) { font-family: var(--f-title); font-size: 1.9rem; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 1.2rem; }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; color: var(--white); overflow: hidden; background: var(--black); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.12) translateX(0); } to { transform: scale(1.02) translateX(-1.5%); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 11, 9, .62) 0%, rgba(12, 11, 9, .42) 45%, rgba(12, 11, 9, .7) 100%); }
.hero-inner { position: relative; text-align: center; padding: 140px var(--gutter) 70px; width: 100%; max-width: 980px; }
.hero-sub { font-size: 1.05rem; font-weight: 500; color: rgba(255, 255, 255, .9); margin-bottom: 3.2rem; }
.hero-form { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.hero-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; width: 100%; text-align: left; }
.hero-fields label { display: flex; flex-direction: column; border-bottom: 1px solid rgba(255, 255, 255, .5); padding-bottom: .5rem; }
.hero-fields label > span, .date-field > span { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.hero-fields input, .hero-fields select { background: transparent; border: 0; color: var(--white); font: inherit; font-size: .95rem; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; padding: .35rem 0 0; outline: none; width: 100%; -webkit-appearance: none; appearance: none; color-scheme: dark; }
.hero-fields select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='white' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 8px; padding-right: 18px; cursor: pointer; }
.hero-fields option { color: var(--black); }
.hero-fields { position: relative; }
.date-field { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .5); padding: 0 26px .5rem 0; color: var(--white); transition: border-color .3s; }
.date-field:hover, .date-field.is-picking { border-color: var(--gold-soft); }
.date-field b { font-size: .95rem; font-weight: 500; padding-top: .35rem; letter-spacing: .02em; white-space: nowrap; }
.date-field svg { position: absolute; right: 0; bottom: .6rem; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; opacity: .8; }
.date-field.is-picking svg { stroke: var(--gold-soft); opacity: 1; }

/* ---- range calendar ---- */
.cal { position: absolute; z-index: 20; top: calc(100% + 14px); left: 50%; translate: -50% 0; width: min(720px, calc(100vw - 32px)); background: var(--cream); color: var(--text); border-radius: var(--radius-lg); padding: 22px 26px 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); text-align: left; animation: calIn .35s var(--ease); }
.cal.up { top: auto; bottom: calc(100% + 14px); }
@keyframes calIn { from { opacity: 0; transform: translateY(10px); } }
.cal[hidden] { display: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; }
.cal-hint { margin: 0; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.cal-nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--black); transition: background .25s, color .25s; }
.cal-nav:hover:not(:disabled) { background: var(--black); color: var(--white); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
.cal-months:has(.cal-month:only-child) { grid-template-columns: 1fr; }
.cal-title { font-family: var(--f-title); font-weight: 400; font-size: 1.65rem; line-height: 1.3; color: var(--black); text-align: center; margin: 0 0 .7rem; }
.cal-title em { font-style: normal; color: var(--gold); }
.cal-week, .cal-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-week span { text-align: center; font-size: .72rem; font-weight: 600; letter-spacing: .06em; color: var(--muted); padding-bottom: .5rem; }
.cal-days { row-gap: 4px; }
.day { position: relative; height: 42px; font-size: .92rem; font-weight: 500; color: var(--black); z-index: 0; }
.day::before { content: ""; position: absolute; inset: 1px 3px; margin: auto; width: 40px; height: 40px; border-radius: 50%; z-index: -1; transition: background .2s, box-shadow .2s; }
.day:hover:not(:disabled)::before { box-shadow: inset 0 0 0 1px var(--black); }
.day.is-past { color: rgba(18, 17, 15, .22); cursor: default; }
.day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }
.day.in-range { background: var(--sand-deep); }
.day.is-start.has-range { background: linear-gradient(90deg, transparent 50%, var(--sand-deep) 50%); }
.day.is-end.has-range { background: linear-gradient(90deg, var(--sand-deep) 50%, transparent 50%); }
.day.is-start, .day.is-end { color: var(--white); }
.day.is-start::before, .day.is-end::before { background: var(--black); box-shadow: none; }
.day.is-end::before { background: var(--gold); }
.day.is-start.is-today::after, .day.is-end.is-today::after { background: var(--white); }
.cal-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.cal-summary { font-size: .9rem; color: var(--black); font-weight: 500; }
.cal-summary i { font-style: normal; color: var(--gold); margin: 0 .3rem; }
.cal-summary b { margin-left: .6rem; padding: .25rem .7rem; border-radius: 999px; background: var(--sand-deep); font-size: .78rem; font-weight: 600; }
.cal-actions { display: flex; gap: .6rem; align-items: center; }
.cal-clear { font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: .6rem .8rem; }
.cal-clear:hover { color: var(--black); }
.cal-done { padding: .75rem 1.4rem; }
.cal-done:disabled { opacity: .35; cursor: default; transform: none; }
.cal-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(12, 11, 9, .5); }
.cal-backdrop[hidden] { display: none; }
html[lang="th"] .cal-title { font-weight: 300; }
html[lang="th"] .cal-hint, html[lang="th"] .cal-week span, html[lang="th"] .cal-clear { letter-spacing: .02em; }
.fade-up { opacity: 0; transform: translateY(40px); filter: blur(8px); animation: fadeUp 1.2s var(--ease) forwards; }
.fade-up:nth-child(2) { animation-delay: .2s; }
.fade-up:nth-child(3) { animation-delay: .4s; }
@keyframes fadeUp { to { opacity: 1; transform: none; filter: none; } }

/* ============ ABOUT ============ */
.about { padding: 0 0 var(--space); background: radial-gradient(ellipse at 15% 0%, rgba(163, 115, 41, .08), transparent 55%), var(--cream); overflow-x: clip; }
.about-pin { height: 280vh; }
.about-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 60px; overflow: hidden; }
.polaroids { margin: 3rem 0 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.polaroid-track { display: flex; gap: 70px; width: max-content; padding: 24px 0 40px; will-change: transform; }
.polaroid { background: var(--white); padding: 8px; box-shadow: 0 18px 40px rgba(18, 17, 15, .12); width: 300px; flex-shrink: 0; transition: transform .5s var(--ease); }
.polaroid:nth-child(odd) { transform: rotate(-2deg) translateY(10px); }
.polaroid:nth-child(even) { transform: rotate(2deg); }
.polaroid img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ============ ROOMS ============ */
.rooms { padding: var(--space) 0; overflow-x: clip; }
.room-stack { max-width: calc(1240px + 2 * var(--gutter)); margin: 3rem auto 0; padding: 0 var(--gutter); counter-reset: room; }
.room-slide { position: sticky; top: calc(96px + var(--i, 0) * 16px); height: min(74vh, 640px); margin-bottom: 10vh; border-radius: var(--radius-lg); overflow: hidden; transform-origin: 50% 0; box-shadow: 0 -24px 60px rgba(0, 0, 0, .45); counter-increment: room; will-change: transform, filter; }
.room-slide:last-child { margin-bottom: 0; }
.room-slide > img { width: 100%; height: 100%; object-fit: cover; }
.room-slide::before { content: "0" counter(room) " / 04"; position: absolute; top: 18px; right: 18px; z-index: 1; padding: .45rem .9rem; border-radius: 999px; background: rgba(18, 17, 15, .55); backdrop-filter: blur(8px); color: var(--white); font-size: .74rem; font-weight: 600; letter-spacing: .14em; }
.rooms-cta { margin-top: 3.5rem; }
.room-card { position: absolute; left: 4%; bottom: 7%; width: min(440px, 88%); background: var(--cream); color: var(--text); padding: 1.8rem 2rem 1.5rem; border-radius: 4px; }
.room-card p { font-size: .95rem; color: var(--muted); margin-bottom: .9rem; }
.rate { display: inline-block; font-weight: 600; color: var(--black); margin-bottom: 1rem; border-bottom: 1px solid var(--gold); }
.rate:hover { color: var(--gold); }
.card-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.rooms-cta .btn { margin: 0 .3rem .6rem; }
.meta { list-style: none; margin: 0; padding: 1rem 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .82rem; font-weight: 500; color: var(--black); }
.meta li { display: flex; align-items: center; gap: .45rem; }
.meta svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ============ FACILITIES ============ */
.facilities { padding: var(--space) 0 0; background: var(--white); }
.fac-pin { height: 420vh; margin-top: 3.4rem; }
.fac { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: 1fr 1.25fr; }
.fac-panel { background: var(--black); color: var(--white); padding: clamp(36px, 6vw, 90px); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.fac-panel::after { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(205, 166, 108, .18); border-radius: 50%; right: -160px; bottom: -200px; }
.fac-count { font-size: .8rem; font-weight: 600; letter-spacing: .14em; color: var(--gold-soft); margin-bottom: 2rem; }
.fac-texts { display: grid; }
.fac-text { grid-area: 1 / 1; opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.fac-text.is-active { opacity: 1; transform: none; pointer-events: auto; }
.fac-text h3 { font-family: var(--f-title); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 3.6vw, 3.1rem); line-height: 1.02; margin: 0 0 1rem; letter-spacing: .01em; }
.fac-text p { color: rgba(255, 255, 255, .68); max-width: 380px; }
.fac-nav { display: flex; gap: .6rem; margin-top: 2.2rem; position: relative; z-index: 1; }
.fac-media { position: relative; overflow: hidden; min-height: 420px; }
.fac-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.08); transition: clip-path 1s var(--ease), transform 1.6s var(--ease); }
.fac-media > img.is-active, .fac-media > img.is-past { clip-path: inset(0 0 0 0); transform: none; }
.fac-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .25); z-index: 2; }
.fac-progress i { display: block; height: 100%; width: 0; background: var(--gold); }
.fac-inset { position: absolute; z-index: 1; right: 7%; bottom: 9%; width: min(240px, 40%); background: var(--cream); padding: 10px 10px 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.fac-inset img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.fac-inset figcaption { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-align: center; padding-top: .6rem; color: var(--black); }

/* ============ HIGHLIGHTS ============ */
.highlights { padding: calc(var(--space) * .7) 0 var(--space); background: var(--white); }
.stat-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 3rem; }
.stat-card { background: var(--cream); border-radius: var(--radius-lg); padding: 2.6rem 1.2rem 2.2rem; text-align: center; }
.stat-card p { margin: .8rem 0 0; font-size: .92rem; color: var(--muted); line-height: 1.45; }
.odo { font-family: var(--f-title); font-size: clamp(3.2rem, 5vw, 4.4rem); line-height: 1; color: var(--black); display: inline-flex; align-items: flex-end; height: 1em; overflow: hidden; }
.odo .col { display: inline-block; height: 1em; overflow: hidden; }
.odo .col span { display: block; height: 1em; line-height: 1; transition: transform 2s cubic-bezier(.16, 1, .3, 1); }
.odo .dot { line-height: 1; }
.odo small { font-family: var(--f-body); font-size: .9rem; color: var(--gold); margin: 0 0 .35em .3rem; line-height: 1; }

/* ============ AMBIENCE ============ */
.ambience { background: var(--sea-tint); overflow-x: clip; }
.amb-pin { height: 340vh; }
.amb-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; overflow: hidden; }
.moments { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; min-height: min(560px, 62vh); display: flex; align-items: center; justify-content: center; padding: 0 var(--gutter); }
.moment-list { list-style: none; padding: 0; margin: 0; text-align: center; position: relative; z-index: 2; }
.moment-list li { font-family: var(--f-body); font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 500; text-transform: uppercase; letter-spacing: .02em; line-height: 1.35; color: rgba(18, 17, 15, .18); cursor: pointer; transition: color .4s var(--ease); }
.moment-list li.is-active, .moment-list li:hover { color: var(--black); }
.moment-list li.is-active::after { content: ""; display: block; width: 40px; height: 2px; background: var(--gold); margin: .2rem auto .3rem; }
.moment-img { position: absolute; width: clamp(180px, 22vw, 300px); background: var(--white); padding: 8px; box-shadow: 0 20px 50px rgba(18, 17, 15, .14); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.moment-img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.moment-img.a { left: var(--gutter); bottom: 20px; transform: rotate(-3deg); }
.moment-img.b { right: var(--gutter); top: 0; transform: rotate(3deg); }
.moment-img.swap { opacity: 0; transform: rotate(0) translateY(20px); }

/* ============ INCLUDED (arch cards) ============ */
.included { position: relative; overflow-x: clip; }
.inc-pin { height: 260vh; }
.inc-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; padding-top: 60px; }
.swoosh { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(205, 166, 108, .25); stroke-width: 1.2; pointer-events: none; }
.included-grid { position: relative; width: 100%; display: grid; grid-template-columns: minmax(280px, .8fr) 2fr; gap: 50px; align-items: center; padding-left: max(var(--gutter), calc((100% - var(--container)) / 2)); }
.inc-nav { display: flex; gap: .6rem; margin-top: 2rem; }
.arch-clip { min-width: 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 70px); mask: linear-gradient(90deg, transparent, #000 70px); padding-left: 0; }
.arch-track { display: flex; gap: 22px; padding: 10px var(--gutter) 10px 0; min-width: 0; will-change: transform; }
.arch-track::-webkit-scrollbar { display: none; }
.arch-card { flex: 0 0 clamp(250px, 24vw, 310px); scroll-snap-align: start; }
.arch { border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 3 / 3.6; }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.arch-card h3 { font-family: var(--f-body); font-weight: 600; font-size: 1.1rem; color: var(--white); margin: 0; padding: 1.1rem 1.2rem .3rem; border: 1px solid var(--line-dark); border-top: 0; border-bottom: 0; }
.arch-card p { font-size: .9rem; margin: 0; padding: 0 1.2rem 1.3rem; border: 1px solid var(--line-dark); border-top: 0; }

/* ============ SPACES (circles) ============ */
.spaces { padding: var(--space) 0; background: var(--white); overflow: hidden; }
.circle-track { display: flex; width: max-content; padding: 3rem 0 1rem; animation: spaces-loop 45s linear infinite; }
.circle-track:hover, .circle-track:focus-within, .circle-track.is-paused { animation-play-state: paused; }
@keyframes spaces-loop { to { transform: translateX(-50%); } }
.circle-card { flex: 0 0 clamp(230px, 22vw, 280px); margin-right: 30px; background: var(--cream); border-radius: 999px 999px var(--radius-xl) var(--radius-xl); padding: 14px 14px 1.6rem; text-align: center; scroll-snap-align: center; transition: transform .5s var(--ease); }
.circle-card:hover { transform: translateY(-8px); }
.circle { border-radius: 50%; overflow: hidden; aspect-ratio: 1; }
.circle img { width: 100%; height: 100%; object-fit: cover; }
.circle-card figcaption { padding-top: 1.1rem; }
.circle-card b { display: block; font-weight: 600; color: var(--black); }
.circle-card span { font-size: .88rem; color: var(--muted); }

/* ============ ARRIVING (scroll expand) ============ */
.arriving { height: 220vh; background: var(--cream); position: relative; }
.arriving-sticky { --fw: 260px; position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.arr-word { position: absolute; top: 50%; z-index: 2; font-family: var(--f-title); font-size: clamp(2rem, 5vw, 4.2rem); line-height: 1; color: var(--black); white-space: nowrap; margin-top: -.5em; }
.arr-word.left { right: calc(50% + var(--fw) / 2 + 1.6rem); }
.arr-word.right { left: calc(50% + var(--fw) / 2 + 1.6rem); }
.arr-frame { position: relative; width: 260px; height: 190px; overflow: hidden; flex-shrink: 0; will-change: width, height; }
.arr-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============ BREAKFAST ============ */
.breakfast { position: relative; padding: var(--space) 0; overflow: hidden; color: var(--white); }
.bf-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.bf-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(254, 248, 237, .96) 0%, rgba(254, 248, 237, .92) 30%, rgba(18, 17, 15, .35) 70%, rgba(18, 17, 15, .55) 100%); }
.bf-head, .bf-cards, .bf-note { position: relative; }
.bf-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 3rem; }
.bf-card { background: var(--white); padding: 12px; border-radius: 4px; color: var(--text); box-shadow: 0 30px 60px rgba(18, 17, 15, .18); }
.bf-img { position: relative; overflow: hidden; }
.bf-img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 1.2s var(--ease); }
.pill-tag { position: absolute; top: 10px; right: 10px; background: var(--white); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; color: var(--black); }
.bf-body { padding: 1.1rem .4rem .4rem; }
.bf-body h3 { font-family: var(--f-body); font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 .2rem; color: var(--black); }
.bf-body p { margin: 0; font-size: .9rem; color: var(--muted); }
.bf-note { color: rgba(255, 255, 255, .85); font-size: .88rem; margin: 2.4rem auto 0; }

/* ============ GALLERY ============ */
.gallery { position: relative; min-height: 980px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery-title { position: relative; z-index: 2; text-align: center; padding: 0 var(--gutter); }
.gallery-title .sub { margin-top: .3rem; }
.gp { position: absolute; background: var(--cream); padding: 8px 8px 0; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); cursor: zoom-in; will-change: transform; }
.gp img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gp figcaption { font-family: var(--f-title); font-style: italic; font-size: .98rem; color: var(--black); text-align: center; padding: .45rem 0 .55rem; }
.g1 { width: clamp(170px, 17vw, 250px); left: 5%; top: 9%; rotate: -4deg; }
.g2 { width: clamp(180px, 19vw, 280px); right: 6%; top: 6%; rotate: 3deg; }
.g3 { width: clamp(150px, 14vw, 210px); left: 30%; top: 3%; rotate: 2deg; }
.g4 { width: clamp(170px, 17vw, 250px); left: 7%; bottom: 7%; rotate: 3deg; }
.g5 { width: clamp(190px, 20vw, 290px); right: 8%; bottom: 8%; rotate: -3deg; }
.g6 { width: clamp(150px, 14vw, 210px); right: 33%; bottom: 3%; rotate: -2deg; }

/* ============ FAQ ============ */
.faq { padding: var(--space) 0; background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: .9fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq-head .sub { margin-bottom: 2rem; }
.faq-list { border-left: 1px solid var(--line); padding-left: clamp(20px, 4vw, 50px); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 1.4rem 2.4rem 1.4rem 0; font-weight: 500; font-size: 1.08rem; color: var(--black); position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--white); display: grid; place-items: center; font-size: 1.1rem; color: var(--gold); transition: transform .3s var(--ease), background .3s; }
.faq-list details[open] summary::after { content: "–"; background: var(--gold); color: var(--white); }
.faq-list details p { color: var(--muted); padding: 0 2.4rem 1.4rem 0; margin: 0; }

/* ============ LOCATION ============ */
.location { padding: var(--space) 0; background: var(--white); }
.loc-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 18px; margin-top: 3rem; align-items: stretch; }
.loc-card { background: var(--cream); border-radius: var(--radius-lg); padding: 2rem; overflow: hidden; }
.rating-card { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: var(--black); color: var(--white); }
.stars { color: var(--gold-soft); letter-spacing: .25em; font-size: 1.1rem; }
.rating-card .big { font-family: var(--f-title); font-size: 5rem; line-height: 1; margin: 1rem 0 .2rem; }
.rating-card .big small { font-size: 1.6rem; color: rgba(255, 255, 255, .5); }
.rating-card .quote { font-family: var(--f-title); font-style: italic; font-size: 1.6rem; color: var(--gold-soft); margin: 0; }
.rating-card .src { font-size: .85rem; color: rgba(255, 255, 255, .55); margin: .6rem 0 0; }
.loc-card.map { padding: 0; min-height: 380px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35) sepia(.12); }
.info-card h3 { font-family: var(--f-title); font-weight: 400; font-size: 1.7rem; color: var(--black); margin: 0 0 .6rem; }
.info-card p { color: var(--muted); }
.info-card ul { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.info-card li { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.info-card li span:last-child { color: var(--gold); font-weight: 500; text-align: right; }

/* ============ CTA ============ */
.cta { padding: 40px var(--gutter) 0; background: var(--white); }
.cta-arch { position: relative; max-width: 1240px; margin: 0 auto; aspect-ratio: 2 / 1; border-radius: 1000px 1000px 0 0; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); }
.cta-arch > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-arch::before { content: ""; position: absolute; inset: 0; background: rgba(12, 11, 9, .5); z-index: 1; }
.cta-ring { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.cta-ring text { font-family: var(--f-title); font-size: 34px; fill: rgba(255, 255, 255, .9); letter-spacing: 2px; }
.cta-inner { position: relative; z-index: 3; padding: 18% var(--gutter) 0; }
.cta-inner .h2 { color: var(--white); }
.cta-inner .h2 em { color: var(--gold-pale); }
.cta-inner p { color: rgba(255, 255, 255, .85); margin-bottom: 1.8rem; }

/* ============ FOOTER ============ */
.footer { background: var(--cream); padding: 0 0 30px; border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: 1fr 1.2fr 1fr; border-bottom: 1px solid var(--line); }
.foot-col { padding: 3rem 2rem 3rem 0; display: flex; flex-direction: column; gap: .35rem; }
.foot-col.right { padding: 3rem 0 3rem 2rem; align-items: flex-end; }
.foot-col h4, .foot-bottom h4 { font-size: 1rem; font-weight: 600; color: var(--black); margin: 0 0 .8rem; }
.foot-col a { font-size: .93rem; color: var(--muted); transition: color .3s; white-space: nowrap; }
.foot-col a:hover { color: var(--gold); }
.foot-logo { border-left: 1px solid var(--line); border-right: 1px solid var(--line); display: grid; place-items: center; padding: 2.4rem; }
.foot-logo img { width: 190px; height: auto; }
.foot-bottom { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 2rem; padding-top: 2rem; font-size: .9rem; color: var(--muted); }
.foot-bottom p { margin: 0; }
.foot-bottom a { color: var(--gold); }
.foot-social { display: inline-flex; align-items: center; gap: .45rem; margin-top: .8rem; font-weight: 500; white-space: nowrap; }
.foot-social svg { width: 18px; height: 18px; fill: currentColor; }
.foot-social:hover { color: var(--black); }

/* ============ LIGHTBOX ============ */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12, 11, 9, .94); display: flex; align-items: center; justify-content: center; padding: 4vw; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; }
.lb-close { position: absolute; top: 14px; right: 18px; color: var(--white); font-size: 2.4rem; width: 48px; height: 48px; }

/* ============ REVEAL ============ */
/* .reveal is intentionally inert: one orchestrated entrance (hero), the rest of the page is simply there */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .fade-up { opacity: 1; transform: none; filter: none; }
  .arriving, .about-pin, .fac-pin, .amb-pin, .inc-pin { height: auto; }
  .about-sticky, .fac, .amb-sticky, .inc-sticky { position: relative; height: auto; }
  .inc-sticky { padding: var(--space) 0; }
  .arch-track { overflow-x: auto; scroll-snap-type: x mandatory; }
  .circle-track { width: auto; overflow-x: auto; padding: 3rem var(--gutter) 1rem; }
  .fac { min-height: 620px; }
  .polaroids { overflow-x: auto; }
  .room-slide { position: relative; top: auto; }
  .arriving-sticky { position: relative; height: auto; padding: 80px 0; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; margin-left: .4rem; }
  .lang { margin-left: auto; }
  .hero-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fac { grid-template-columns: 1fr; grid-template-rows: 45% 55%; }
  .fac-media { min-height: 0; order: -1; }
  .fac-panel { padding: 28px var(--gutter); justify-content: flex-start; }
  .fac-count { margin-bottom: 1rem; }
  .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .included-grid { grid-template-columns: 1fr; gap: 26px; padding-left: var(--gutter); }
  .inc-sticky { padding-top: 56px; }
  .included-head .sub { font-size: .92rem; }
  .inc-nav { margin-top: 1.2rem; }
  .arch-card { flex-basis: 230px; }
  .arch { aspect-ratio: 3 / 3.2; }
  .swoosh { display: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-list { border-left: 0; padding-left: 0; }
  .loc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loc-card.map { grid-column: 1 / -1; order: 3; }
  .bf-cards { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .gallery { min-height: 0; padding: var(--space) var(--gutter); flex-direction: column; }
  .gp { position: relative; inset: auto; rotate: 0deg; transform: none !important; width: 100%; }
  .gallery .gp { display: none; }
  .gallery .g1, .gallery .g2, .gallery .g5 { display: block; max-width: 300px; margin: 0 auto 24px; }
  .gallery .g1 { rotate: -3deg; } .gallery .g2 { rotate: 3deg; } .gallery .g5 { order: 3; rotate: -2deg; margin-top: 30px; }
  .gallery-title { order: 2; }
  .moment-img.a, .moment-img.b { width: 150px; }
  .moments { flex-direction: column; min-height: 0; padding-bottom: 0; }
  .moment-img { position: relative; inset: auto; }
  .moment-img.a { order: 2; align-self: flex-start; margin-top: 18px; }
  .moment-img.b { order: 0; align-self: flex-end; margin-bottom: 18px; }
  .moment-list { order: 1; }
  .moment-list li { font-size: 1.25rem; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .nav-logo { width: 52px; }
  .hero-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .hero-form .btn { width: 100%; }
  .date-field b { font-size: .86rem; }
  .cal { position: fixed; z-index: 61; top: auto; bottom: 0; left: 0; translate: none; width: 100%; max-height: 88vh; overflow-y: auto; border-radius: 24px 24px 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); animation: sheetUp .4s var(--ease); }
  .cal.up { bottom: 0; }
  @keyframes sheetUp { from { transform: translateY(100%); } }
  .cal::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto 12px; }
  .day { height: 46px; }
  .cal-foot { flex-direction: column; align-items: stretch; }
  .cal-actions { justify-content: space-between; }
  .cal-done { flex: 1; }
  .polaroid { width: 220px; }
  .polaroid-track { gap: 40px; }
  .room-stack { padding: 0 16px; }
  .room-slide { height: auto; top: calc(74px + var(--i, 0) * 12px); display: flex; flex-direction: column; background: var(--cream); border-radius: 14px; margin-bottom: 8vh; }
  .room-slide > img { aspect-ratio: 4 / 3; height: auto; }
  .room-card { position: static; width: 100%; border-radius: 0; padding: 1.3rem 1.3rem 1.2rem; }
  .about-pin { height: 240vh; }
  .polaroids { margin-top: 2rem; }
  .stat-cards { gap: 12px; }
  .stat-card { padding: 2rem .8rem 1.6rem; }
  .loc-grid { grid-template-columns: 1fr; }
  .arriving-sticky { --fw: 120px; }
  .arr-frame { width: 120px; height: 90px; }
  .arr-word { font-size: clamp(1.4rem, 7vw, 2rem); }
  /* phones: stack the two phrases above and below the frame instead of beside it */
  .arr-word.left, .arr-word.right { left: 50%; right: auto; translate: -50% 0; margin-top: 0; }
  .arr-word.left { top: auto; bottom: calc(50% + 45px + .9em); }
  .arr-word.right { top: calc(50% + 45px + .9em); }
  .cta-arch { aspect-ratio: 3 / 4; border-radius: 600px 600px 0 0; }
  .cta-ring { display: none; }
  .cta-inner { padding-top: 0; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-logo { order: -1; border: 0; border-bottom: 1px solid var(--line); }
  .foot-col, .foot-col.right { padding: 1.8rem 0; align-items: flex-start; }
  .foot-col.right { border-top: 1px solid var(--line); }
  .foot-bottom { grid-template-columns: 1fr; text-align: left; }
  .foot-bottom .center, .foot-bottom .right { text-align: left; }
}

section[id] { scroll-margin-top: 64px; }

/* ============ THAI (th/index.html) ============ */
/* Latin glyphs keep the English fonts; Thai glyphs fall through to Prompt */
html[lang="th"] {
  --f-title: "Instrument Serif", "Prompt", Georgia, serif;
  --f-body: "Bricolage Grotesque", "Prompt", system-ui, sans-serif;
}
html[lang="th"] body { line-height: 1.75; font-weight: 300; }
html[lang="th"] .h1 em, html[lang="th"] .h2 em, html[lang="th"] .h3 em { font-weight: 200; }
html[lang="th"] .h1, html[lang="th"] .h2, html[lang="th"] .h3, html[lang="th"] .h4 { font-weight: 300; text-transform: none; letter-spacing: 0; }
html[lang="th"] .h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.3; }
html[lang="th"] .h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.4; }
html[lang="th"] .h3 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.35; }
html[lang="th"] .h4 { font-size: 1.5rem; line-height: 1.4; }
html[lang="th"] .lead { line-height: 1.9; }
html[lang="th"] .tag { letter-spacing: .02em; }
html[lang="th"] .fac-text h3 { font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.35; }
html[lang="th"] .arr-word { font-weight: 300; font-size: clamp(1.8rem, 4vw, 3.4rem); line-height: 1.4; }
html[lang="th"] .moment-list li { font-family: var(--f-title); font-weight: 300; text-transform: none; line-height: 1.6; }
html[lang="th"] .gp figcaption, html[lang="th"] .rating-card .quote { font-style: normal; }
html[lang="th"] .info-card h3 { font-weight: 300; }
html[lang="th"] .cta-ring text { font-size: 30px; }
html[lang="th"] .btn, html[lang="th"] .nav-links a { letter-spacing: .02em; }
@media (max-width: 640px) {
  html[lang="th"] .moment-list li { font-size: 1.3rem; }
  html[lang="th"] .arr-word { font-size: clamp(1.2rem, 6vw, 1.7rem); }
}

/* ============ ROOMS PAGE (rooms.html, th/rooms.html) ============ */
.btn-line { border-color: var(--black); color: var(--black); background: transparent; }
.btn-line:hover { background: var(--black); color: var(--white); }
.rp-hero { position: relative; min-height: 72vh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--black); }
.rp-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-in-out infinite alternate; }
.rp-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 11, 9, .55), rgba(12, 11, 9, .25) 40%, rgba(12, 11, 9, .75)); }
.rp-hero-inner { position: relative; width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 150px var(--gutter) 70px; }
.rp-hero .h1 { margin-bottom: .3em; }
.rp-hero .hero-sub { max-width: 560px; margin: 0; }
.rp-back { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .8); margin-bottom: 1.4rem; }
.rp-back:hover { color: var(--gold-soft); }

.rp-tabs { position: sticky; top: 64px; z-index: 40; background: rgba(254, 248, 237, .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.rp-tabs-inner { max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: flex; gap: 2rem; overflow-x: auto; scrollbar-width: none; }
.rp-tabs-inner::-webkit-scrollbar { display: none; }
.rp-tabs a { flex-shrink: 0; padding: 1.05rem 0 .95rem; font-size: .9rem; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; transition: color .3s, border-color .3s; white-space: nowrap; }
.rp-tabs a em { font-style: normal; color: inherit; opacity: .75; }
.rp-tabs a:hover, .rp-tabs a.is-active { color: var(--black); }
.rp-tabs a.is-active { border-color: var(--gold); }

.rp-room { padding: var(--space) 0 calc(var(--space) * .6); scroll-margin-top: 110px; }
.rp-room:nth-of-type(even) { background: var(--white); }
.rp-room-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 90px); align-items: center; margin-bottom: 2.4rem; }
.room-no { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; color: var(--gold); margin-bottom: 1.2rem; }
.room-no i { font-style: normal; color: var(--muted); }
.rp-desc { color: var(--muted); font-size: 1.02rem; margin: .4rem 0 1.6rem; max-width: 480px; }
.rp-specs { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.4rem; }
.rp-specs li { display: flex; align-items: center; gap: .6rem; font-size: .92rem; font-weight: 500; color: var(--black); }
.rp-specs svg, .rp-amen-list svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.room-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.rp-count { margin: 1.4rem 0 0; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rp-lead { position: relative; display: block; width: 100%; border-radius: var(--radius-lg); overflow: hidden; cursor: zoom-in; }
.rp-lead img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.rp-lead:hover img { transform: scale(1.03); }
.rp-lead-badge { position: absolute; right: 16px; bottom: 16px; padding: .4rem .85rem; border-radius: 999px; background: rgba(18, 17, 15, .6); backdrop-filter: blur(8px); color: var(--white); font-size: .75rem; font-weight: 600; letter-spacing: .1em; }

.tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 4 / 3; cursor: zoom-in; background: var(--sand); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .4s; }
.tile:hover img { transform: scale(1.06); filter: brightness(.92); }
.tile[data-more] { display: none; }
.rp-room.show-all .tile[data-more] { display: block; animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.show-more { margin-top: 1.8rem; }
.rp-room.is-common .rp-specs { margin-bottom: 0; }

.rp-amen { padding: var(--space) 0; background: var(--black); color: var(--white); }
.rp-amen .h2 { color: var(--white); }
.rp-amen .h2 em { color: var(--gold-soft); }
.rp-amen-list { list-style: none; padding: 0; margin: 3rem auto 0; max-width: 980px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.rp-amen-list li { display: flex; flex-direction: column; align-items: center; gap: .8rem; padding: 1.8rem 1rem; text-align: center; font-size: .9rem; color: rgba(255, 255, 255, .82); border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.rp-amen-list svg { stroke: var(--gold-soft); width: 22px; height: 22px; }

.rp-cta { position: relative; padding: calc(var(--space) * 1.3) 0; color: var(--white); overflow: hidden; }
.rp-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rp-cta::before { content: ""; position: absolute; inset: 0; background: rgba(12, 11, 9, .55); z-index: 1; }
.rp-cta-inner { position: relative; z-index: 2; }
.rp-cta .h2 { color: var(--white); }
.rp-cta .h2 em { color: var(--gold-pale); }
.rp-cta p { color: rgba(255, 255, 255, .85); margin-bottom: 1.8rem; }

/* full-screen gallery */
.gallery-lb { position: fixed; inset: 0; z-index: 100; background: var(--night); display: grid; grid-template-columns: 80px 1fr 80px; grid-template-rows: auto 1fr auto; color: var(--white); animation: fade .3s var(--ease); }
.gallery-lb[hidden] { display: none; }
.glb-top { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; padding: 14px 18px 10px 24px; }
.glb-title { font-family: var(--f-title); font-size: 1.4rem; }
.glb-count { font-size: .8rem; font-weight: 600; letter-spacing: .1em; color: var(--gold-soft); }
.glb-close { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; font-size: 1.8rem; line-height: 1; color: var(--white); border: 1px solid rgba(255, 255, 255, .25); }
.glb-close:hover { background: var(--white); color: var(--black); }
.glb-stage { grid-column: 2; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 6px 0; }
.glb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; transition: opacity .25s; }
.glb-stage img.swap { opacity: .25; }
.glb-nav { align-self: center; justify-self: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); color: var(--white); font-size: 1.2rem; transition: background .25s, color .25s; }
.glb-nav:hover { background: var(--gold); border-color: var(--gold); }
.glb-strip { grid-column: 1 / -1; display: flex; gap: 8px; overflow-x: auto; padding: 12px 24px 18px; scrollbar-width: none; justify-content: safe center; }
.glb-strip::-webkit-scrollbar { display: none; }
.glb-strip button { flex: 0 0 76px; height: 54px; border-radius: 6px; overflow: hidden; opacity: .45; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .25s, outline-color .25s; }
.glb-strip button.is-active { opacity: 1; outline-color: var(--gold-soft); }
.glb-strip img { width: 100%; height: 100%; object-fit: cover; }

html[lang="th"] .rp-tabs a, html[lang="th"] .rp-specs li { font-weight: 400; }
html[lang="th"] .glb-title { font-weight: 300; }

@media (max-width: 1000px) {
  .rp-room-grid { grid-template-columns: 1fr; }
  .rp-lead { order: -1; }
  .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rp-amen-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .rp-hero { min-height: 62vh; }
  .rp-hero-inner { padding: 120px var(--gutter) 44px; }
  .rp-tabs { top: 58px; }
  .rp-tabs-inner { gap: 1.4rem; }
  .rp-specs { grid-template-columns: 1fr; }
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .room-actions .btn { flex: 1; }
  .gallery-lb { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
  .glb-stage { grid-column: 1; grid-row: 2; padding: 0 8px; }
  .glb-nav { display: none; }
  .glb-title { font-size: 1.1rem; }
}

/* ============ PAYMENT-SAFETY NOTICE (notice.js) ============ */
:root { --alert: #8E1F24; --alert-soft: #F6E3E1; }
html.notice-open { overflow: hidden; }
.notice { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.notice[hidden] { display: none; }
.notice-backdrop { position: absolute; inset: 0; background: rgba(12, 11, 9, .62); backdrop-filter: blur(4px); animation: fade .35s var(--ease); }
.notice-card { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; border-radius: var(--radius-lg); background: var(--cream); box-shadow: 0 40px 100px rgba(0, 0, 0, .45); animation: noticeIn .5s var(--ease); }
@keyframes noticeIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.notice-x { position: absolute; top: 12px; right: 12px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; color: var(--white); font-size: 1.6rem; line-height: 1; border: 1px solid rgba(255, 255, 255, .25); }
.notice-x:hover { background: var(--white); color: var(--black); }
.notice-head { background: var(--black); color: var(--white); text-align: center; padding: 30px 28px 26px; position: relative; overflow: hidden; }
.notice-head::after { content: ""; position: absolute; width: 320px; height: 320px; border: 1px solid rgba(205, 166, 108, .2); border-radius: 50%; right: -150px; top: -170px; }
.notice-logo { width: 62px; height: auto; margin: 0 auto 14px; }
.notice-label { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .7rem; padding: .35rem .85rem; border-radius: 999px; background: var(--alert); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.notice-label svg, .notice-box-head svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.notice-title { font-family: var(--f-title); font-weight: 400; font-size: clamp(2rem, 6vw, 2.6rem); line-height: 1.1; margin: 0 0 .5rem; color: var(--white); }
.notice-lead { margin: 0 auto; max-width: 420px; font-size: .92rem; color: rgba(255, 255, 255, .72); }
.notice-body { padding: 22px 24px 24px; }
.notice-box { border-radius: 14px; padding: 16px 18px; margin-bottom: 10px; }
.notice-box p { margin: 0; }
.notice-box.is-ok { background: var(--sand-deep); }
.notice-box.is-bad { background: var(--alert-soft); color: var(--alert); }
.notice-box-head { display: flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .35rem !important; }
.notice-box.is-ok .notice-box-head { color: var(--gold); }
.notice-name { font-family: var(--f-title); font-size: 1.7rem; line-height: 1.25; color: var(--black); }
.notice-alt { font-size: .92rem; color: var(--text); }
.notice-acct { font-size: 1.35rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.notice-acct span { font-weight: 500; font-size: 1rem; }
.notice-acct s { text-decoration-thickness: 2px; }
.notice-rule { margin: 14px 0 4px; text-align: center; font-weight: 600; color: var(--alert); }
.notice-page { margin: 0 0 16px; text-align: center; font-size: .85rem; color: var(--muted); }
.notice-page a { color: var(--black); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.notice-ask { margin: 0 0 10px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: center; }
.notice-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.notice-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .8rem .6rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--black); font-size: .82rem; font-weight: 600; white-space: nowrap; transition: background .25s, color .25s, border-color .25s; }
.notice-btn svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.notice-btn:not(.is-fb) svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.notice-btn:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.notice-btn.is-fb { background: var(--gold); border-color: var(--gold); color: var(--white); }
.notice-btn.is-fb:hover { background: var(--black); border-color: var(--black); }
.notice-ok { display: block; width: 100%; margin-top: 14px; padding: 1rem; border-radius: 999px; background: var(--black); color: var(--white); font-size: .86rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: background .25s; }
.notice-ok:hover { background: var(--gold); }
.foot-notice { display: inline-flex; margin-top: .5rem; font-size: .82rem; color: var(--alert) !important; text-decoration: underline; text-underline-offset: 3px; }
.foot-tel { display: block; margin-top: .3rem; color: var(--text) !important; white-space: nowrap; }
html[lang="th"] .notice-title, html[lang="th"] .notice-name { font-weight: 300; }
html[lang="th"] .notice-label, html[lang="th"] .notice-box-head, html[lang="th"] .notice-ask, html[lang="th"] .notice-ok { letter-spacing: .02em; }
@media (max-width: 520px) {
  .notice { align-items: end; padding: 0; }
  .notice-card { border-radius: 22px 22px 0 0; max-height: 94dvh; animation-name: sheetUp; }
  .notice-head { padding: 24px 20px 20px; }
  .notice-body { padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); }
  .notice-actions { grid-template-columns: 1fr; }
  .notice-name { font-size: 1.45rem; }
}
@keyframes sheetUp { from { transform: translateY(100%); } }
