@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=Jost:wght@400;500;600&family=Noto+Sans+Thai:wght@400;500;600&display=swap');

:root {
  --canvas: #f8f6f1;
  --surface: #ffffff;
  --surface-soft: #f1ede5;
  --ink: #302c27;
  --muted: #716b62;
  --taupe: #b5ae98;
  --taupe-dark: #716957;
  --taupe-deep: #575043;
  --line: #e5dfd4;
  --success: #6f8d6a;
  --shadow: 0 18px 50px rgb(48 44 39 / 8%);
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Jost', 'Noto Sans Thai', 'Segoe UI', sans-serif;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea {
  font-family: var(--body);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p {
  margin: 0 0 1.1rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 4.75rem);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--taupe-deep);
  border-radius: 6px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(255 255 255 / 94%);
  border-bottom: 1px solid rgb(229 223 212 / 85%);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 114.92px;
  height: 114.92px;
  flex-shrink: 0;
  object-fit: contain;
}

.brand-name {
  color: var(--taupe);
  font-family: var(--display);
  font-size: clamp(2.0995rem, 3.315vw, 2.92825rem);
  font-weight: 500;
  letter-spacing: .015em;
  line-height: 1;
  white-space: nowrap;
}

.brand-name strong {
  font-weight: 600;
  letter-spacing: .055em;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 13px;
  color: var(--muted);
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: var(--surface-soft);
  outline: none;
}

.site-nav a[aria-current='page'] {
  color: var(--taupe-deep);
  background: #ece8de;
}

.hero {
  padding: clamp(46px, 7vw, 88px) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(38px, 7vw, 88px);
  transform: translateX(18px);
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--taupe-dark);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero .lead,
.page-intro .lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--taupe-deep);
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  color: #fff;
  background: var(--taupe-deep);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--ink);
}

.button-secondary {
  color: var(--taupe-deep);
  background: transparent;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: #fff;
  background: var(--taupe-deep);
}

.hero-image,
.page-hero-image {
  overflow: hidden;
  background: var(--surface-soft);
  border-radius: 2px 60px 2px 2px;
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
}

.page-hero {
  padding: clamp(42px, 6vw, 78px) 0 34px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
  align-items: center;
  gap: clamp(36px, 7vw, 84px);
}

.contact-page .page-hero-grid {
  grid-template-columns: minmax(0, .8375fr) minmax(0, 1fr);
}

.page-hero-copy h1 {
  margin-bottom: 22px;
}

.page-hero-image img {
  width: 100%;
  aspect-ratio: 5 / 3.6;
  object-fit: cover;
}

.section {
  padding: clamp(62px, 8vw, 104px) 0;
}

.section-white {
  background: var(--surface);
}

.section-soft {
  background: var(--surface-soft);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 18px;
}

.section-heading p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgb(48 44 39 / 5%);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-card-copy {
  padding: 26px;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
}

.feature-card a {
  color: inherit;
  text-decoration-color: var(--taupe);
  text-underline-offset: 5px;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(36px, 7vw, 84px);
}

.fire-safety-split {
  grid-template-columns: minmax(0, .51fr) minmax(0, 1.49fr);
  gap: 32px;
}

.split-copy h2 {
  margin-bottom: 20px;
}

.split-copy p {
  color: var(--muted);
}

.split-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.split-media img,
.photo-grid img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

.split-media img:first-child:last-child {
  grid-column: 1 / -1;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.photo-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.photo-grid img {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.facility-gallery .zoom-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 0;
  background: var(--surface-soft);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgb(48 44 39 / 7%);
  cursor: zoom-in;
  transition: transform .2s ease, box-shadow .2s ease;
}

.facility-gallery .zoom-photo:hover,
.facility-gallery .zoom-photo:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgb(48 44 39 / 13%);
  outline: 3px solid rgb(181 174 152 / 45%);
  outline-offset: 3px;
}

.facility-gallery .zoom-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.utility-gallery .zoom-photo {
  aspect-ratio: 1 / 1;
  padding: 12px;
  background: #f3f0e9;
}

.utility-gallery .zoom-photo img {
  object-fit: contain;
  object-position: center center;
  border-radius: 8px;
}

.photo-lightbox {
  width: min(92vw, 1200px);
  max-width: none;
  max-height: 92vh;
  overflow: visible;
  padding: 0;
  background: transparent;
  border: 0;
}

.photo-lightbox::backdrop {
  background: rgb(24 22 19 / 82%);
  backdrop-filter: blur(5px);
}

.lightbox-panel {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: 0 24px 80px rgb(0 0 0 / 35%);
}

.lightbox-panel img {
  width: 100%;
  max-height: calc(92vh - 90px);
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-panel p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 1;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgb(0 0 0 / 20%);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:focus-visible {
  outline: 3px solid var(--taupe);
  outline-offset: 3px;
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.fact {
  padding: 30px;
  text-align: center;
}

.fact + .fact {
  border-left: 1px solid var(--line);
}

.fact strong {
  display: block;
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 500;
}

.fact span {
  color: var(--muted);
  font-size: .92rem;
}

.rate-panel {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
}

.rate-table th,
.rate-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.rate-table th {
  color: var(--taupe-deep);
  background: var(--surface-soft);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.rate-table tr:last-child td {
  border-bottom: 0;
}

.rate-note {
  margin: 0;
  padding: 18px 22px;
  color: var(--taupe-deep);
  background: #f6f3ec;
  border-top: 1px solid var(--line);
  font-weight: 500;
}

.policy-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.policy-list li {
  padding: 8px 14px;
  color: var(--taupe-deep);
  background: #ebe6dc;
  border-radius: 999px;
  font-size: .9rem;
}

.room-gallery {
  columns: 3 280px;
  column-gap: 14px;
}

.room-gallery img {
  width: 100%;
  margin-bottom: 14px;
  border-radius: 10px;
  break-inside: avoid;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  min-height: 230px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.contact-card .label {
  display: block;
  margin-bottom: 18px;
  color: var(--taupe-dark);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.contact-card h2,
.contact-card h3 {
  margin-bottom: 12px;
}

.contact-card p {
  color: var(--muted);
}

.contact-link {
  color: var(--taupe-deep);
  font-weight: 600;
  text-underline-offset: 4px;
}

.map {
  overflow: hidden;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.map iframe {
  width: 100%;
  height: 440px;
  border: 0;
}

.cta {
  padding: clamp(56px, 8vw, 90px) 30px;
  text-align: center;
  background: var(--taupe-deep);
  border-radius: 18px;
}

.cta h2,
.cta p {
  color: #fff;
}

.cta p {
  max-width: 600px;
  margin: 18px auto 0;
  color: rgb(255 255 255 / 76%);
}

.cta .actions {
  justify-content: center;
}

.cta .button-primary {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.cta .button-primary:hover,
.cta .button-primary:focus-visible {
  color: var(--ink);
  background: var(--surface-soft);
}

.cta .button-secondary {
  color: #fff;
  border-color: rgb(255 255 255 / 55%);
}

.site-footer {
  padding: 52px 0 34px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  color: var(--taupe);
  font-family: var(--display);
  font-size: 1.65rem;
}

.footer-copy {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: .88rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
}

.footer-nav a {
  color: var(--muted);
  font-size: .9rem;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--ink);
}

@media (max-width: 940px) {
  .header-inner {
    min-height: 126px;
  }

  .brand img {
    width: 94.64px;
    height: 94.64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px 14px;
    border-radius: 8px;
  }

  .hero-grid,
  .page-hero-grid,
  .contact-page .page-hero-grid,
  .split,
  .fire-safety-split {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    transform: none;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    aspect-ratio: 16 / 10;
  }

  .page-hero-image {
    order: -1;
  }

  .feature-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    min-height: auto;
  }

  .photo-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: min(calc(100% - 28px), var(--content));
  }

  .brand {
    gap: 7px;
  }

  .brand img {
    width: 81.12px;
    height: 81.12px;
  }

  .brand-name {
    font-size: 1.4875rem;
  }

  .header-inner {
    min-height: 118px;
    gap: 10px;
  }

  .hero,
  .page-hero {
    padding-top: 30px;
  }

  .hero-image,
  .page-hero-image {
    border-radius: 2px 34px 2px 2px;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .fact-strip {
    grid-template-columns: 1fr;
  }

  .fact + .fact {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .split-media,
  .photo-grid,
  .photo-grid.four {
    grid-template-columns: 1fr;
  }

  .rate-panel {
    overflow-x: auto;
  }

  .rate-table {
    min-width: 650px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
