:root {
  --ink: #1c1712;
  --ink-soft: #5c534a;
  --cream: #f3eee6;
  --paper: #faf7f2;
  --white: #fffdfb;
  --line: rgba(28, 23, 18, .12);
  --terra: #8d4b34;
  --terra-deep: #6d3826;
  --gold: #a78455;
  --header: 76px;
  --wrap: 1120px;
  --serif: "Kanit", "Segoe UI", sans-serif;
  --sans: "Kanit", "Segoe UI", sans-serif;
  --display: "Kanit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
button, a { font: inherit; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
  margin: 0;
}
p { margin: 0; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.kicker {
  margin: 0 0 10px;
  color: var(--terra);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.kicker-light { color: #f3d7b0; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header);
  padding: 0 22px;
  color: var(--paper);
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.page-sub .site-header,
.site-header.is-solid {
  background: rgba(250, 247, 242, .94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(10px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: 52px;
  height: 42px;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
  padding: 2px 4px;
}
.brand-name,
.brand > span {
  display: block;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
}
.brand .brand-short { display: none; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 15px;
}
.site-nav a:hover,
.site-nav a.is-on { background: rgba(255,255,255,.14); }
.site-header.is-solid .site-nav a:hover,
.page-sub .site-nav a:hover,
.site-header.is-solid .site-nav a.is-on,
.page-sub .site-nav a.is-on { background: rgba(28,23,18,.06); }
.header-end { display: flex; align-items: center; gap: 10px; }
.btn-book {
  background: var(--terra);
  color: #fffdfb;
  min-height: 38px;
  padding: 0 16px;
  font-size: 15px;
  white-space: nowrap;
}
.btn-book:hover { background: var(--terra-deep); color: #fffdfb; }
.btn-book .book-short { display: none; }
.lang-switch {
  display: inline-flex;
  border: 1px solid currentColor;
  border-radius: 999px;
  overflow: hidden;
  flex: none;
}
.lang-switch a {
  min-width: 36px;
  padding: 5px 9px;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.2;
}
.lang-switch a.is-on { background: var(--paper); color: var(--ink); }
.site-header.is-solid .lang-switch a.is-on,
.page-sub .lang-switch a.is-on { background: var(--ink); color: var(--paper); }
.nav-toggle {
  display: none;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100svh;
  color: var(--paper);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.hero-photo,
.belief img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18,12,8,.35) 0%, rgba(18,12,8,.05) 32%, rgba(18,12,8,.18) 58%, rgba(18,12,8,.78) 100%),
    linear-gradient(90deg, rgba(18,12,8,.45), transparent 55%);
}
.hero-copy { padding: 0 0 64px; }
.hero h1 {
  max-width: 12em;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 500;
  line-height: 1.18;
}
.lede {
  max-width: 34em;
  margin-top: 16px;
  font-size: 19px;
  font-weight: 300;
  color: rgba(250,247,242,.92);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts {
  display: flex;
  gap: 28px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.hero-facts b {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}
.hero-facts span { font-size: 13px; letter-spacing: .04em; opacity: .85; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 500;
}
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: white; }
.btn-ghost { background: transparent; color: var(--paper); border-color: rgba(250,247,242,.45); }
.btn-ghost:hover { background: rgba(250,247,242,.1); }
.btn-terra { background: var(--terra); color: var(--paper); }
.btn-terra:hover { background: var(--terra-deep); }

.story, .rooms, .gallery-band, .visit, .album { padding: clamp(72px, 9vw, 112px) 0; }
.story { background: var(--cream); }
.story-grid, .visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.story-copy h2, .welcome-copy h2, .section-head h2, .visit h2, .page-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 16px;
}
.story-copy { container-type: inline-size; }
.story-copy h2 {
  white-space: nowrap;
  font-size: min(44px, 7.4cqi);
}
html[lang="en"] .story-copy h2 { font-size: min(40px, 6.05cqi); }
.story-copy p + p, .welcome-copy p + p { margin-top: 14px; }
.story-actions { margin-top: 22px; }
.story-photos { display: flex; justify-content: center; }
.story-photos img {
  width: min(100%, 460px);
  height: auto;
  border-radius: 22px;
  box-shadow: 0 24px 50px rgba(28,23,18,.14);
}

.welcome { padding: 0; }
.welcome-banner { position: relative; color: #faf7f2; }
.welcome-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}
.welcome-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,12,8,.78) 0%, rgba(16,12,8,.48) 34%, rgba(16,12,8,0) 64%);
}
.welcome-copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
.welcome-copy h2,
.welcome-copy p { max-width: 28em; }
.welcome-copy h2 { color: #fffdfb; }
.welcome-copy p { color: rgba(250,247,242,.94); }

.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p:last-child { color: var(--ink-soft); }
.section-head-row {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.room {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 64px;
}
.room:last-child { margin-bottom: 0; }
.room-flip { direction: rtl; }
.room-flip > * { direction: ltr; }
.room-main {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 20px;
  background: #ddd4c8;
}
.room-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.room-thumbs button {
  width: 84px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: none;
}
.room-thumbs button.is-on { border-color: var(--terra); }
.room-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.room-copy h3 {
  font-family: var(--display);
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 10px;
}
.room-copy ul { margin: 18px 0 0; padding: 0; list-style: none; }
.room-copy li {
  padding: 8px 0 8px 18px;
  border-top: 1px solid var(--line);
  position: relative;
}
.room-copy li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 16px;
}
.room-book { margin: 20px 0 0; }
.amenities { margin-top: 18px; }
.amenities-title {
  margin: 0 0 10px;
  color: var(--terra);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.amenity-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.room-copy .amenity-icons li {
  margin: 0;
  padding: 0;
  border: 0;
}
.room-copy .amenity-icons li::before { content: none; }
.amenity-gap { width: 10px; height: 1px; }
.amenity-icons button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.amenity-icons button:hover,
.amenity-icons button:focus-visible,
.amenity-icons button.is-on {
  background: var(--ink);
  color: var(--paper);
  outline: none;
}
.amenity-icons svg { width: 16px; height: 16px; }
.amenity-caption {
  margin: 8px 0 0;
  min-height: 1.35em;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.35;
}

.belief {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
  color: var(--paper);
  text-align: center;
  isolation: isolate;
}
.belief-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(18, 12, 8, .55);
}
.belief blockquote {
  width: min(920px, calc(100% - 48px));
  margin: 0;
}
.belief p {
  font-family: var(--serif);
  font-size: clamp(26px, 3.1vw, 40px);
  font-weight: 400;
  line-height: 1.55;
  text-wrap: balance;
  word-break: keep-all;
}
.belief p + p { margin-top: 14px; }

section[id], #contact { scroll-margin-top: calc(var(--header) + 16px); }
.mosaic {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-rows: 240px 220px;
  gap: 12px;
}
.mosaic a {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  min-height: 0;
}
.mosaic a:first-child { grid-row: 1 / span 2; }
.mosaic a:nth-child(6) { grid-column: 1 / -1; height: 260px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mosaic a:hover img { transform: scale(1.04); }

.visit { background: var(--cream); }
#contact { container-type: inline-size; }
#contact h2 {
  font-size: min(20px, 3.7cqi);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 12px;
  white-space: nowrap;
}
.address { font-size: 16px; margin: 0 0 22px; line-height: 1.6; }
.phone-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.phone-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
}
.phone-card span { display: block; color: var(--ink-soft); font-size: 14px; }
.phone-card strong { font-family: var(--display); font-size: 28px; font-weight: 500; }
.phone-card.contact-mail strong {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
}
.phone-card:hover { border-color: var(--terra); }
.visit-note { margin-top: 18px; color: var(--ink-soft); }
.map-frame {
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  background: #e7dfd3;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-frame a {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(28,23,18,.16);
}
.map-frame { position: relative; }

.page-hero { padding: calc(var(--header) + 48px) 0 12px; }
.page-hero p:last-child { color: var(--ink-soft); max-width: 36em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filters button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  color: var(--ink);
}
.filters button.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.shot {
  padding: 0;
  border: 0;
  background: #e7dfd3;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot.is-hidden { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(12, 9, 7, .92);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 24px;
  color: var(--paper);
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; min-width: 0; }
.lightbox img { max-height: 78vh; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; }
.lightbox figcaption { text-align: center; margin-top: 12px; font-size: 15px; }
.lb-close, .lb-prev, .lb-next {
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}
.lb-close { position: absolute; top: 16px; right: 18px; font-size: 16px; }
.lb-prev, .lb-next { font-size: 48px; line-height: 1; padding: 8px; }
.around-box {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #000;
  color: #fff;
}
.around-box[hidden] { display: none; }
.around-box .lb-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  min-width: 64px;
  min-height: 44px;
  padding: 8px 14px;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}
.around-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
.around-frame.is-on { opacity: 1; }
.around-nav {
  position: absolute;
  top: 72px;
  bottom: 64px;
  z-index: 2;
  width: min(16vw, 96px);
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 54px;
  line-height: 1;
  cursor: pointer;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .65);
}
.around-prev { left: 0; }
.around-next { right: 0; }
.around-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 56px 88px 22px;
  text-align: center;
  font-size: 15px;
  line-height: 1.45;
  background: linear-gradient(transparent, rgba(0, 0, 0, .62));
  pointer-events: none;
}

.site-footer { background: #17130f; color: #f3eee6; padding: 64px 0 24px; line-height: 1.6; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(160px, .7fr) minmax(240px, 1fr);
  gap: 40px 56px;
  align-items: start;
}
.site-footer h2 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 8px 0 16px;
  color: #c4b6a4;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #f3d7b0; }
.footer-about p,
.footer-contact p { color: #ddd4c8; margin: 0; }
.footer-about p { max-width: 34em; font-size: 15px; }
.site-footer .brand-foot {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 0 0 16px;
  color: inherit;
}
.footer-nav a,
.footer-lines a {
  display: block;
  color: #f3eee6;
  padding: 4px 0;
}
.footer-contact p { margin-bottom: 14px; max-width: 26em; }
.footer-lines { display: grid; gap: 2px; }
.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(243,238,230,.15);
  color: #b7ab9d;
  font-size: 14px;
}
.staff-link { opacity: .85; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (max-width: 900px) {
  :root { --header: 60px; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    background: var(--paper);
    color: var(--ink);
    border-color: transparent;
    font-weight: 600;
    min-height: 36px;
    padding: 6px 12px;
  }
  .brand { flex: 1 1 auto; min-width: 0; gap: 8px; }
  .brand img { width: 36px; height: 30px; flex: none; }
  .brand .brand-full { display: none; }
  .brand-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .brand .brand-short {
    display: block;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .site-header {
    flex-wrap: nowrap;
    height: var(--header);
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
  .header-end { flex: none; gap: 6px; }
  .btn-book { min-height: 36px; padding: 0 12px; font-size: 14px; font-weight: 600; }
  .btn-book .book-full { display: none; }
  .btn-book .book-short { display: inline; }
  .lang-switch a { min-width: 34px; padding: 6px 8px; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 12px 14px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 16px 30px rgba(28,23,18,.12);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 12px 14px;
    font-size: 17px;
  }
  .site-nav a:hover, .site-nav a.is-on { background: rgba(28,23,18,.06); }
  .hero { flex-direction: column; align-items: flex-start; justify-content: flex-end; }
  .hero-copy { padding-bottom: 36px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-facts { width: 100%; justify-content: space-between; gap: 12px; }
  .story-grid, .visit-grid, .room, .room-flip, .footer-grid, .album-grid {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 24px;
  }
  .story-copy h2,
  html[lang="en"] .story-copy h2 {
    white-space: normal;
    font-size: clamp(28px, 8vw, 36px);
    text-wrap: balance;
  }
  .section-head h2, .welcome-copy h2, .visit h2, .page-hero h1 { text-wrap: balance; }
  .story-photos img { width: 100%; }
  .welcome-shade { display: none; }
  .welcome-copy {
    position: relative;
    inset: auto;
    display: block;
    padding: 22px 0 0;
    color: var(--ink);
  }
  .welcome-copy h2 { color: var(--ink); }
  .welcome-copy p { color: var(--ink); }
  .welcome-copy .kicker { color: var(--terra); }
  .welcome-copy h2,
  .welcome-copy p { max-width: none; }
  .room-main {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
  }
  .map-frame { height: 260px; }
  .room { margin-bottom: 48px; }
  .room-thumbs button {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    height: 72px;
  }
  .amenity-icons { gap: 8px; }
  .amenity-icons button { width: 42px; height: 42px; }
  .amenity-icons svg { width: 18px; height: 18px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .mosaic a, .mosaic a:first-child, .mosaic a:nth-child(6) { grid-row: auto; grid-column: auto; height: 160px; }
  .mosaic a:first-child, .mosaic a:nth-child(6) { grid-column: 1 / -1; height: 200px; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .phone-row { grid-template-columns: 1fr; }
  .phone-card strong { font-size: 24px; }
  .phone-card.contact-mail strong { font-size: 15px; }
  .belief { min-height: 0; padding: 72px 0; }
  .belief blockquote { width: min(920px, calc(100% - 36px)); }
  .filters button { min-height: 40px; }
  .footer-grid { gap: 32px; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 8px; }
  .site-footer { padding: 40px 0 24px; }
  .site-footer h2 { margin-top: 0; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .story, .rooms, .gallery-band, .visit, .album { padding: 48px 0; }
  .album-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero h1 { font-size: clamp(32px, 9.2vw, 40px); }
  .lede { font-size: 16px; text-wrap: balance; }
  .hero-facts b { font-size: 22px; }
  .belief p { font-size: 21px; line-height: 1.65; }
  .room-copy h3 { font-size: 32px; }
  .page-hero { padding-top: calc(var(--header) + 28px); }
  .lightbox { grid-template-columns: 1fr; padding: 64px 12px 20px; }
  .around-caption { padding: 48px 64px 18px; }
  .lightbox figcaption { padding: 0 8px 48px; }
  .lb-prev, .lb-next { position: absolute; bottom: 16px; font-size: 36px; }
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }
}
