/* HF Hotels — warm, photographic hotel pages. All type and images are local. */
:root {
  --ink: #272822;
  --ink-soft: #686b61;
  --paper: #fffefa;
  --bg: #f7f5ef;
  --line: #deded3;
  --card-bg: #eeece4;
  --accent: #782d35;
  --accent-dark: #582129;
  --accent-tint: #f0e5e3;
  --brand-line: #06c755;
  --radius: 6px;
  --gutter: clamp(20px, 4vw, 48px);
  --font-display: "HF Display", Georgia, "Noto Serif Thai", "Thonburi", serif;
  --font-body: "HF Body", sans-serif;
  color-scheme: light;
}
body[data-property="hfville"] {
  --accent: #225f5a;
  --accent-dark: #184640;
  --accent-tint: #e1ebe6;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.7;
  overflow-wrap: anywhere;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-dark); text-underline-offset: .22em; }
button, input, textarea { font: inherit; }
button, a, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 4px;
}
::selection { color: var(--ink); background: #ded6b9; }
.container { width: 100%; max-width: 1296px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: 100; transform: translateY(-160%);
  padding: .7rem 1rem; background: var(--paper); color: var(--ink); border: 1px solid var(--ink);
}
.skip-link:focus { transform: translateY(0); }
.hero-inner > *, .glance-item, .glance-item > div, .room-note, .room-note > span,
.room-card, .room-card-body, .chooser-card, .chooser-card-body, .fac-grid li,
.distances li, .actions, .actions .btn, .quickbar .btn, .stats-list, .stats-list .stat,
.feature, .feature-card, .tile-grid, .tile-grid li, .location-contact > *, .form-row-2 > * { min-width: 0; }
.img-fallback { background: var(--card-bg); }
.room-card .img-fallback { aspect-ratio: 4 / 3; }
.room-note .img-fallback { width: 72px; height: 72px; flex: 0 0 auto; }
.chooser-card .img-fallback { aspect-ratio: 4 / 3; }

/* A quiet, always available header. */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.topbar-row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .9rem var(--gutter) .7rem; max-width: 1296px; margin-inline: auto;
}
.topbar .brand {
  display: flex; align-items: center; gap: .7rem; min-width: 0;
  font-family: var(--font-display); font-size: .96rem; line-height: 1.3; font-weight: 600;
  color: var(--ink); text-decoration: none;
}
.brand-mark, .mark {
  display: inline-flex; justify-content: center; align-items: center; flex: 0 0 auto;
  width: 37px; height: 40px; border: 1px solid var(--accent); color: var(--accent);
  font-family: var(--font-display); font-size: .82rem; font-weight: 600;
}
.lang-toggle { display: flex; align-items: center; flex: 0 0 auto; gap: .1rem; }
.lang-toggle button {
  min-width: 38px; min-height: 44px; padding: .4rem .35rem; border: 0; border-radius: 0;
  background: transparent; color: var(--ink-soft); font-size: .76rem; cursor: pointer;
}
.lang-toggle button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: .5rem; text-decoration-thickness: 2px; }
.mainnav {
  display: flex; justify-content: space-between; gap: 1.35rem; overflow-x: auto;
  max-width: 1296px; margin-inline: auto; padding: 0 var(--gutter);
  scrollbar-width: none;
}
.mainnav::-webkit-scrollbar { display: none; }
.mainnav a {
  display: flex; align-items: center; flex: 0 0 auto; min-height: 44px;
  color: var(--ink-soft); font-size: .78rem; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.mainnav a:hover { color: var(--accent); }

/* Real photography beside a simple invitation to stay. */
.hero { padding: 2.7rem 0 2rem; }
.hero-inner { width: 100%; max-width: 1296px; margin-inline: auto; padding-inline: var(--gutter); display: grid; gap: 2.15rem; }
.hero-copy { align-self: center; }
.hero-kicker, .eyebrow {
  display: block; margin: 0 0 .9rem; color: var(--accent); font-size: .72rem;
  font-weight: 600; line-height: 1.7; letter-spacing: .12em; text-transform: uppercase;
}
.hero h1, .chooser-intro h1 {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(2.25rem, 6.6vw, 3.5rem);
  line-height: 1.2; letter-spacing: -.03em; margin: 0 0 1.1rem;
  text-wrap: balance;
}
[data-lang="th"] .hero h1, [data-lang="th"] .chooser-intro h1 { line-height: 1.36; letter-spacing: -.035em; }
.hero p.pitch { max-width: 33rem; margin: 0; color: var(--ink-soft); font-size: .96rem; line-height: 1.85; }
.hero-primary { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.hero-side-note { max-width: 12rem; color: var(--ink-soft); font-size: .72rem; line-height: 1.6; }
.hero-primary .btn { width: fit-content; min-width: 180px; padding-inline: 1.4rem; }
.hero .hero-actions { display: flex; flex-wrap: wrap; margin: 1rem 0 0; gap: .65rem; max-width: none; }
.hero .hero-actions .btn { width: auto; min-width: 0; padding: .4rem .7rem; min-height: 44px; height: auto; font-size: .82rem; }
.hero .hero-actions [data-role="line-link"] { border-color: transparent; padding-left: 0; background: transparent; }
.hero .hero-actions .line-id { font-size: .78rem; }
.hero .hero-actions [data-role="line-link"] img[data-src-th] { height: 30px; }
.hero .hero-actions [data-role="call-link"] { border-color: transparent; background: transparent; padding-right: 0; }
.hero-visual { position: relative; min-width: 0; height: 300px; overflow: hidden; border-radius: 3px; background: var(--card-bg); }
.hero-visual > img, .hero-visual > a, .hero-visual > a > img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-note {
  position: absolute; left: 1rem; bottom: 1rem; max-width: calc(100% - 2rem);
  background: var(--paper); color: var(--ink); margin: 0; padding: .55rem .8rem;
  font-size: .71rem; line-height: 1.5;
}
.hero-photo-note::before { content: ""; display: inline-block; width: .35rem; height: .35rem; margin-right: .6rem; vertical-align: middle; background: var(--accent); border-radius: 50%; }

/* Useful stay details, with room to breathe. */
section { padding: 3rem 0; scroll-margin-top: 124px; }
section.stats { padding: 1.4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-list { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
.stats-list.container { padding-inline: var(--gutter); }
.stats-list .stat { display: flex; flex-direction: column; gap: .35rem; padding: .2rem .5rem; border-right: 1px solid var(--line); }
.stats-list .stat:last-child { border-right: 0; }
.stats-list figure, .stat-figure { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.2; color: var(--accent); margin: 0; font-weight: 500; }
.stats-list .stat strong, .stat-label { color: var(--ink); font-size: .73rem; font-weight: 500; }
.stat-note, .stats-list .muted { font-size: .64rem; color: var(--ink-soft); line-height: 1.6; }
.stat-note a { color: inherit; }
h2, h3, .display { font-family: var(--font-display); font-weight: 500; }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.8rem); line-height: 1.35; margin: 0 0 .6rem; letter-spacing: -.02em; color: var(--ink); }
h3 { line-height: 1.4; }
.rule { display: block; width: 36px; height: 1px; border: 0; margin: 1.1rem 0 1.8rem; background: var(--accent); }
.section-intro { max-width: 45rem; color: var(--ink-soft); font-size: .93rem; margin: .8rem 0 1.8rem; }
.section-heading { margin-bottom: 2rem; }
.section-heading .section-intro { margin-bottom: 0; }
.glance-strip { padding: 1.5rem 0; border-block: 1px solid var(--line); }
.glance-grid { display: grid; gap: 1rem; }
.glance-item { display: flex; align-items: flex-start; gap: .8rem; }
.glance-item .i { width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: var(--accent); stroke-width: 1.5; }
.glance-item strong { display: block; font-size: .88rem; font-weight: 600; }
.glance-sub { display: block; font-size: .78rem; color: var(--ink-soft); }

/* Rooms: prominent photography and honest, legible rate details. */
.room-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem; margin: 0; padding: 0; list-style: none; }
.room-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--paper); }
.room-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.room-sheet, .room-photo-link { display: block; position: relative; background: var(--card-bg); color: var(--ink); text-decoration: none; cursor: zoom-in; }
.room-cover { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.room-card .room-cover > img {
  position: absolute; width: 369.2%; max-width: none; height: auto; aspect-ratio: auto;
  left: var(--crop-left, -29.8%); top: var(--crop-top, -104.7%); object-fit: initial;
}
.room-card .room-cover-photo > img { position: static; width: 100%; height: 100%; object-fit: cover; }
.room-sheet-label {
  position: absolute; right: .75rem; bottom: .75rem; padding: .4rem .65rem;
  background: var(--paper); font-size: .68rem; line-height: 1.5; color: var(--ink);
}
.room-card-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 1.4rem; }
.room-eyebrow { margin: 0 0 .8rem; color: var(--ink-soft); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; }
.room-card h3 { font-size: 1.4rem; margin: 0 0 .4rem; }
.room-size { color: var(--accent); font-size: .74rem; font-weight: 500; margin: 0 0 .6rem; }
.room-card .beds { color: var(--ink-soft); font-size: .85rem; margin: 0 0 1.25rem; line-height: 1.7; }
.room-card .price-row, .room-card .room-price-row, .room-card .room-foot {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem;
  padding-top: 1rem; margin-top: auto; border-top: 1px solid var(--line);
}
.room-card .price { color: var(--accent); font-size: 1.16rem; line-height: 1.45; font-weight: 600; margin: 0; }
.room-cta { display: inline-flex; align-items: center; min-height: 44px; font-size: .79rem; font-weight: 600; text-decoration: none; color: var(--accent); }
.room-cta:hover { text-decoration: underline; }
.hf-room-grid .price-row { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: .8rem 1rem; }
.rate-label { display: block; margin-bottom: .35rem; color: var(--ink-soft); font-size: .65rem; line-height: 1.6; font-weight: 400; }
.season-price { margin: 0; color: var(--ink); font-size: .99rem; line-height: 1.6; font-weight: 500; }
.breakfast-note { grid-column: 1 / -1; margin: 0; color: var(--ink-soft); font-size: .73rem; line-height: 1.7; }
.hf-room-grid .room-cta { grid-column: 1 / -1; margin-top: -.3rem; }
.room-rate-note { max-width: 55rem; font-size: .79rem; color: var(--ink-soft); margin: 1.25rem 0 0; }
.room-note { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0 0; padding: 1rem; background: var(--card-bg); font-size: .84rem; }
.room-note img { width: 72px; height: 72px; object-fit: cover; flex: 0 0 auto; }
.room-policy { margin: 1.4rem 0 1.8rem; padding: 1.1rem 1.2rem; border-left: 2px solid var(--accent); background: var(--accent-tint); color: var(--accent-dark); font-size: .86rem; line-height: 1.8; }
.room-card .room-policy { margin: 0 0 1.2rem; padding: .5rem .7rem; border: 0; font-size: .74rem; }
.room-gallery-group { margin: 0; border-bottom: 1px solid var(--line); }
.room-gallery-group:first-of-type { margin-top: 2rem; border-top: 1px solid var(--line); }
.room-gallery-group summary { min-height: 64px; padding: 1.1rem .1rem; cursor: pointer; color: var(--ink); font-size: .87rem; font-weight: 500; }
.room-gallery-group summary::marker { color: var(--accent); }
.room-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 0; margin: .15rem 0 1.5rem; list-style: none; }
.room-gallery-item { min-width: 0; margin: 0; }
.room-gallery-item a { display: block; cursor: zoom-in; }
.room-gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.room-gallery-item figcaption { margin-top: .5rem; color: var(--ink-soft); font-size: .68rem; }

/* A place to settle in, followed by the essentials. */
.feature { display: grid; gap: 0; padding-block: 1rem 3rem; }
.feature-photo { overflow: hidden; background: var(--card-bg); }
.feature-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-card { display: flex; flex-direction: column; justify-content: center; gap: .8rem; padding: 1.8rem 1.5rem; background: var(--card-bg); }
.feature-card .eyebrow { margin: 0; }
.feature-card h2, .feature-card h3 { font-size: 1.75rem; margin: 0; }
.feature-card p:not(.eyebrow) { font-size: .9rem; color: var(--ink-soft); line-height: 1.9; margin: 0; }
.feature-card .link-arrow, .feature-card .feature-link, .feature-link { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; color: var(--accent); font-size: .84rem; font-weight: 600; text-decoration: none; }
#facilities { border-top: 1px solid var(--line); }
.fac-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.2rem; list-style: none; margin: 0; padding: .3rem 0 0; }
.fac-grid li { display: flex; align-items: flex-start; gap: .75rem; color: var(--ink-soft); font-size: .78rem; }
.fac-grid svg { width: 25px; height: 25px; flex: 0 0 auto; fill: none; stroke: var(--accent); stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.icon-accent { display: inline-flex; flex: 0 0 auto; color: var(--accent); }
#gallery { padding-top: 1rem; }
.tile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; padding: 0; margin: 0; list-style: none; }
.tile-grid li, .tile-grid figure.tile { position: relative; min-height: 160px; height: 100%; margin: 0; overflow: hidden; background: var(--card-bg); }
.tile-grid a { display: block; height: 100%; cursor: zoom-in; }
.tile-grid img { width: 100%; height: 100%; object-fit: cover; }
.tile-grid figcaption, .tile-grid .tile-cap, .tile-grid li > span:last-child {
  position: absolute; left: .55rem; bottom: .55rem; max-width: calc(100% - 1.1rem);
  margin: 0; padding: .35rem .55rem; background: var(--paper); color: var(--ink); font-size: .63rem; line-height: 1.5;
}
.tile-desktop-only { display: none; }

/* Contact remains familiar and easy to complete with a thumb. */
.location-contact { border-top: 1px solid var(--line); }
.location-contact section { padding-block: 2.8rem; }
.map-wrap { overflow: hidden; margin-bottom: 1.3rem; background: var(--card-bg); border-radius: var(--radius); }
.map-wrap iframe { display: block; width: 100%; height: 280px; border: 0; }
.address { margin: 0 0 1.2rem; font-size: .88rem; color: var(--ink); }
.distances { display: grid; gap: .65rem; padding: 0; margin: 0; list-style: none; font-size: .8rem; color: var(--ink-soft); }
.distances li { border-bottom: 1px solid var(--line); padding-bottom: .65rem; }
.distances li:last-child { border: 0; }
.actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: .7rem; margin-bottom: 1.8rem; }
.btn, .btn-outline, .btn-outline-accent {
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; width: 100%; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 4px;
  background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: .88rem; font-weight: 500;
  line-height: 1.5; text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}
.btn-outline-accent, .btn-call { border-color: var(--accent); color: var(--accent); }
.btn-primary { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn:not(.btn-primary):hover { background: var(--card-bg); border-color: var(--ink-soft); }
.btn-form { border-color: var(--ink); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.btn-line img[data-src-th], [data-role="line-link"] img[data-src-th] { height: 36px; width: auto; display: block; }
form#request-form { display: grid; gap: 1rem; }
form#request-form label { display: block; color: var(--ink); font-size: .76rem; font-weight: 500; margin-bottom: .4rem; }
form#request-form input, form#request-form textarea { display: block; min-width: 0; max-width: 100%; width: 100%; min-height: 48px; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); font-size: 16px; }
form#request-form textarea { min-height: 100px; resize: vertical; }
.form-row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.perk { color: var(--ink-soft); font-size: .76rem; margin: .3rem 0; padding-left: .8rem; border-left: 2px solid var(--accent); }
.code { white-space: nowrap; }
#form-msg { padding: .85rem 1rem; font-size: .85rem; border-radius: 4px; }
#form-msg.ok { background: #eaf4ec; color: #205a2f; border: 1px solid #c4e0c9; }
#form-msg.err { background: #fbeaea; color: #7a2222; border: 1px solid #f0c4c4; }
footer.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0; color: var(--ink-soft); font-size: .76rem; }
footer.site-footer .foot-name { font-family: var(--font-display); color: var(--ink); font-size: 1.25rem; line-height: 1.5; margin: 0 0 .8rem; }
footer.site-footer p { margin-block: .7rem; }
footer.site-footer .foot-links { display: flex; flex-wrap: wrap; gap: .2rem 1.3rem; margin-top: 1.1rem; }
footer.site-footer .foot-links a { display: inline-flex; min-height: 32px; align-items: center; color: var(--ink-soft); }

/* Official LINE artwork is preserved; short text identifies the other actions. */
body.has-quickbar { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
.quickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1.22fr 1fr 1fr; gap: .45rem;
  padding: .6rem .7rem calc(.6rem + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 1px solid var(--line);
  box-shadow: 0 -4px 24px #27282208;
}
.quickbar .btn { min-height: 52px; height: auto; padding: .35rem .3rem; gap: .3rem; font-size: .71rem; }
.quickbar .btn:not([data-role="line-link"]) { flex-direction: column; gap: .1rem; }
.quickbar .btn svg.icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.quickbar [data-role="line-link"] img[data-src-th] { width: auto; max-width: 100%; height: 32px; object-fit: contain; }
.quickbar .btn:not([data-role="line-link"]) .sr-only { position: static; width: auto; height: auto; margin: 0; padding: 0; clip: auto; overflow: visible; white-space: normal; font-size: .66rem; }

/* One mechanism controls both languages throughout the page. */
[data-lang-text] { display: none; }
[data-lang="th"] [data-lang-text="th"], [data-lang="en"] [data-lang-text="en"] { display: initial; }
[data-lang="th"] [data-lang-text="th"].block, [data-lang="en"] [data-lang-text="en"].block { display: block; }

/* The two-property home page shares the same visual language. */
.chooser-intro { max-width: 48rem; padding: 3.5rem 0 1.2rem; }
.chooser-intro p:not(.eyebrow) { max-width: 35rem; color: var(--ink-soft); }
.chooser-grid { display: grid; gap: 2rem; padding: 1.4rem 0 4rem; }
.chooser-card { display: block; color: inherit; text-decoration: none; background: var(--paper); overflow: hidden; border-radius: var(--radius); }
.chooser-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.chooser-card-body { padding: 1.5rem; }
.chooser-card h2 { font-size: 1.65rem; margin: 0 0 .7rem; }
.chooser-card p { color: var(--ink-soft); font-size: .86rem; margin: 0 0 1rem; }
.chooser-card .cta { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-size: .82rem; font-weight: 600; }
.chooser-card:hover .cta { text-decoration: underline; }

@media (min-width: 600px) {
  .hero-visual { height: 400px; }
  .stats-list .stat { padding-inline: 1rem; }
  .stat-note, .stats-list .muted { font-size: .74rem; }
  .stats-list .stat strong, .stat-label { font-size: .81rem; }
  .glance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fac-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .room-card-body { padding: 1.75rem; }
  .quickbar { padding-inline: max(.7rem, calc((100vw - 560px) / 2)); }
}
@media (min-width: 760px) {
  section { padding-block: 4.5rem; }
  section.stats { padding-block: 2rem; }
  .stats-list figure, .stat-figure { font-size: 2rem; }
  .stats-list .stat { gap: .45rem; }
  .room-grid.hf-room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .room-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature { grid-template-columns: 1.15fr 1fr; padding-block: .5rem 4.5rem; align-items: stretch; }
  .feature-photo { min-height: 410px; }
  .feature-photo img { height: 100%; aspect-ratio: auto; }
  .feature-card { padding: 2.5rem; }
  .feature-card h2, .feature-card h3 { font-size: 2rem; }
  .fac-grid { gap: 2rem 2rem; }
  .fac-grid li { font-size: .86rem; }
  .tile-grid { grid-template-columns: 1.5fr 1fr 1fr; grid-auto-rows: 190px; gap: .8rem; }
  .tile-grid li, .tile-grid figure.tile { min-height: 0; }
  .tile-grid li:first-child, .tile-grid figure.tile:first-child { grid-row: span 2; }
  .tile-desktop-only { display: block; }
  .tile-grid figcaption, .tile-grid .tile-cap, .tile-grid li > span:last-child { left: .8rem; bottom: .8rem; font-size: .72rem; }
  .location-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
  .location-contact section { padding-block: 4rem; }
  .location-contact h2 { font-size: 2rem; }
  .map-wrap iframe { height: 330px; }
  .location-contact .actions { grid-template-columns: minmax(0, 1fr); }
  .chooser-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .chooser-card-body { padding: 2rem; }
  .chooser-intro { padding-top: 5rem; }
  .quickbar { display: none; }
  body.has-quickbar { padding-bottom: 0; }
}
@media (min-width: 960px) {
  .hero { padding: 3rem 0; }
  .hero-inner { grid-template-columns: .92fr 1.08fr; gap: 3rem; align-items: center; }
  .hero h1 { font-size: clamp(2.75rem, 4.1vw, 3.85rem); }
  [data-lang="th"] .hero h1 { font-size: clamp(2.55rem, 3.6vw, 3.45rem); }
  .hero p.pitch { font-size: .95rem; }
  .hero-visual { height: 470px; }
  .hero-photo-note { left: 1.4rem; bottom: 1.4rem; font-size: .73rem; }
  .hero-primary { margin-top: 1.8rem; }
  .hero .hero-actions { gap: .7rem; }
  body[data-property="hfville"] .room-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  body[data-property="hfville"] .room-card-body { padding: 1.5rem; }
  body[data-property="hfville"] .room-card h3 { font-size: 1.4rem; }
  body[data-property="hfville"] .room-card .price-row { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .location-contact { gap: 4.5rem; }
  .fac-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 3rem; }
  .room-gallery-group summary { font-size: .96rem; }
}
@media (min-width: 1050px) {
  .topbar { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-inline: max(var(--gutter), calc((100vw - 1200px) / 2)); }
  .topbar-row { padding: 1rem 0; margin: 0; flex: 1 1 auto; gap: 1.5rem; }
  .topbar .brand { font-size: 1.08rem; }
  .mainnav { padding: 0; margin: 0; gap: 1.65rem; flex: 0 0 auto; }
  .mainnav a { font-size: .81rem; }
  section { scroll-margin-top: 95px; }
}
@media (min-width: 1200px) {
  .hero { padding-block: 3.5rem; }
  .hero-inner { gap: 4rem; }
  .hero h1 { font-size: 4.05rem; }
  [data-lang="th"] .hero h1 { font-size: 3.5rem; }
  .hero p.pitch { font-size: 1rem; }
  .location-contact .actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .location-contact .actions .btn { padding-inline: .7rem; font-size: .79rem; }
  .fac-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
/* Photo viewer stays in the top layer, above navigation and booking buttons. */
body.photo-viewer-open { overflow: hidden; }
.photo-viewer {
  width: min(1120px, calc(100% - 1rem)); max-width: none;
  height: calc(100vh - 1rem); height: calc(100dvh - 1rem); max-height: none;
  margin: auto; padding: 0; border: 0; border-radius: var(--radius);
  background: #171717; color: #fff; overflow: hidden;
  box-shadow: 0 12px 70px #0008;
}
.photo-viewer[open] { display: flex; flex-direction: column; }
.photo-viewer::backdrop { background: rgba(0, 0, 0, .8); }
.photo-viewer-header, .photo-viewer-footer { flex: 0 0 auto; padding: .65rem .85rem; background: #242424; }
.photo-viewer-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.photo-viewer-header h2 { margin: 0; font-size: 1rem; color: inherit; }
.photo-viewer button {
  min-height: 44px; padding: .45rem .8rem; border: 1px solid #777; border-radius: 6px;
  font: inherit; font-size: .85rem; color: #fff; background: #333; cursor: pointer;
}
.photo-viewer button:hover, .photo-viewer button[aria-pressed="true"] { background: #555; }
.photo-viewer button:focus-visible, .photo-viewer-stage:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.photo-viewer button:disabled { opacity: .5; cursor: default; }
.photo-viewer-stage { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.photo-viewer-stage img { width: 100%; height: 100%; max-width: none; object-fit: contain; }
.photo-viewer-stage.is-zoomed img { width: auto; height: auto; max-width: none; margin: 0 auto; }
.photo-viewer-stage [data-photo-error] { padding: 2rem; text-align: center; }
.photo-viewer-footer { text-align: center; }
.photo-viewer-footer p { margin: 0 0 .5rem; font-size: .85rem; }
.photo-viewer-controls { display: flex; justify-content: center; gap: .5rem; }
