/* 22 Jalan Elok — warm luxe theme
   Edit the tokens below to re-skin the whole site. */
:root {
  --ivory: #f8f3eb;
  --cream: #efe6d8;
  --sand: #e3d6c3;
  --linen: #fbf8f3;
  --espresso: #2a211b;
  --umber: #4a3a2e;
  --muted: #7a6a5c;
  --brass: #a8844f;
  --brass-dark: #8a6a3b;
  --line: rgba(42, 33, 27, 0.14);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 2px;
  --header-h: 136px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }

h1, h2, h3, h4, .display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}
h1, .display { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h1 em, h2 em, .display em { font-style: italic; color: var(--brass-dark); }
/* On the home and rooms pages the h1 is the small line above the slogan, saying what the page
   is (for search); the slogan under it is a <p class="display"> that looks like an h1. */
h1.eyebrow { line-height: 1.6; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-dark);
  margin-bottom: 1.2em;
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--espresso); color: var(--ivory); }
.section--dark .eyebrow { color: var(--brass); }
.lede { font-size: 1.15rem; color: var(--umber); max-width: 38em; }
.section--dark .lede { color: var(--sand); }
.center { text-align: center; }
.center .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 2em;
  border: 1px solid var(--espresso);
  background: var(--espresso);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { background: var(--brass-dark); border-color: var(--brass-dark); }
.btn--ghost { background: transparent; color: var(--espresso); }
.btn--ghost:hover { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.btn--light { background: var(--ivory); color: var(--espresso); border-color: var(--ivory); }
.btn--light:hover { background: var(--brass); border-color: var(--brass); color: var(--espresso); }
.btn--outline-light { background: transparent; color: var(--ivory); border-color: rgba(248, 243, 235, 0.6); }
.btn--outline-light:hover { background: var(--ivory); color: var(--espresso); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 4px;
}
.link-arrow:hover { color: var(--brass-dark); }
.link-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 36px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(248, 243, 235, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: 86px 1fr;
  grid-template-areas: "toggle brand cta" "nav nav nav";
  align-items: center;
}
.brand {
  grid-area: brand;
  display: inline-block;
  justify-self: center;
  text-decoration: none;
  text-align: center;
  line-height: 1;
}
.brand__name { font-family: var(--serif); font-size: 2.2rem; letter-spacing: 0.02em; display: block; }
.brand__sub { display: block; text-align: center; padding-left: 0.4em; /* offsets the trailing letter-spacing so the word sits truly centred */ font-size: 0.6rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted); }
.nav { grid-area: nav; display: flex; justify-content: center; align-items: center; align-self: stretch; gap: 36px; border-top: 1px solid var(--line); }
.nav a {
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--brass); }
.header-cta { grid-area: cta; justify-self: end; display: flex; align-items: center; gap: 22px; }
/* Language dropdown */
.lang-menu { position: relative; }
.lang-menu__btn { display: flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0; color: inherit; font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.12em; cursor: pointer; }
.lang-menu__btn span { font-size: 0.7em; transition: transform 0.2s; }
.lang-menu.is-open .lang-menu__btn span { transform: rotate(180deg); }
.lang-menu__list {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60;
  min-width: 9em; margin: 0; padding: 6px 0; list-style: none;
  background: var(--linen); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(42, 33, 27, 0.12);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.lang-menu.is-open .lang-menu__list { opacity: 1; visibility: visible; transform: none; }
.lang-menu__list a { display: block; padding: 10px 20px; font-size: 0.92rem; text-decoration: none; white-space: nowrap; }
.lang-menu__list a:hover { background: var(--cream); }
.lang-menu__list a[aria-current] { color: var(--brass-dark); }
.lang-menu__list a[aria-current]::after { content: " ✓"; }
.header-cta .btn { padding: 0.8em 1.6em; }
.menu-toggle {
  grid-area: toggle;
  justify-self: start;
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--espresso);
}
.menu-toggle span { display: block; width: 24px; height: 1px; background: currentColor; margin: 6px 0; transition: transform 0.25s, opacity 0.25s; }

/* Hero (home) */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.hero__copy .lede { margin-bottom: 2em; }
.hero__meta { display: flex; gap: 32px; margin-top: 2.4em; padding-top: 1.6em; border-top: 1px solid var(--line); }
.hero__meta div { font-size: 0.85rem; color: var(--muted); }
.hero__meta strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; color: var(--espresso); }

/* Gallery strip (scroll-snap) */
.gallery { position: relative; }
.gallery__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 12px) / 3);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track figure { margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.gallery__track img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform 0.8s ease; }
.gallery__track figure:hover img { transform: scale(1.03); }
.gallery--wide .gallery__track { grid-auto-columns: calc((100% - 12px) / 2); }
.gallery--wide .gallery__track figure { aspect-ratio: 3 / 2; }
.gallery__controls { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.gallery__btn {
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--espresso);
  transition: background 0.2s, border-color 0.2s;
}
.gallery__btn:hover { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.gallery__count { margin-left: 8px; font-size: 0.8rem; letter-spacing: 0.15em; color: var(--muted); }

/* Split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__img { aspect-ratio: 4 / 5; overflow: hidden; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }

/* Full-bleed banner */
.banner {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ivory);
  overflow: hidden;
}
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(30, 22, 16, 0.35), rgba(30, 22, 16, 0.6)); }
.banner__inner { position: relative; z-index: 1; padding: 64px var(--gutter); max-width: 760px; }
.banner .eyebrow { color: var(--sand); }
.banner .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.banner p { color: var(--cream); font-size: 1.1rem; }

/* Room cards (home) */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.card { text-decoration: none; display: block; }
.card__img { aspect-ratio: 3 / 4; overflow: hidden; margin-bottom: 18px; background: var(--sand); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.card:hover .card__img img { transform: scale(1.04); }
.card h3 { font-size: 1.6rem; margin-bottom: 0.2em; }
.card__meta { font-size: 0.85rem; color: var(--muted); }
.price { font-family: var(--serif); font-size: 1.25rem; color: var(--brass-dark); }
.price small { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.08em; color: var(--muted); }

/* USP strip */
.usps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.usp { padding: 36px 28px; border-right: 1px solid var(--line); }
.usp:last-child { border-right: 0; }
.usp__num { font-family: var(--serif); font-size: 2.4rem; color: var(--brass-dark); line-height: 1; margin-bottom: 10px; }
.usp p { font-size: 0.92rem; color: var(--umber); margin: 0; }
.usp strong { display: block; font-weight: 500; color: var(--espresso); margin-bottom: 4px; }

/* Page header (inner pages) */
.page-head { padding: clamp(56px, 9vw, 112px) 0 clamp(32px, 5vw, 56px); text-align: center; }
.page-head .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.page-head .lede { margin: 0 auto; }

/* Rooms page */
.room-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.room-nav a { font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; }
.room-nav a:hover { color: var(--brass-dark); }
.room { padding: clamp(56px, 8vw, 104px) 0; border-bottom: 1px solid var(--line); }
.room:nth-of-type(even) { background: var(--linen); }
.room__head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 32px; }
.room__head h2 { margin: 0; }
.room__price { text-align: right; }
.room__price .price { font-size: 2rem; display: block; line-height: 1; }
.room__body { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 72px); margin-top: 40px; }
.specs { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.specs li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.specs li span { display: block; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.room__actions { display: flex; flex-direction: column; gap: 10px; }
.share-link { font-size: 0.8rem; color: var(--muted); background: none; border: 0; padding: 4px 0; cursor: pointer; text-align: left; font-family: var(--sans); text-decoration: underline; text-underline-offset: 3px; }
.share-link:hover { color: var(--brass-dark); }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature-col { background: var(--ivory); padding: clamp(28px, 4vw, 48px); }
.feature-col h3 { margin-bottom: 0.8em; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 10px 0 10px 28px; position: relative; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 1px; background: var(--brass); }
.ticks li.highlight { font-weight: 500; }
.location { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.location div { border-top: 1px solid rgba(248, 243, 235, 0.25); padding-top: 18px; }
.location strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.2rem; color: var(--brass); line-height: 1.1; }
.location span { font-size: 0.9rem; color: var(--sand); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq__group { display: flex; max-width: 860px; margin: 0 auto 6px; }   /* category label above each FAQ group */
.faq + .faq__group { margin-top: 64px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 48px 26px 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-weight: 200;
  font-size: 1.8rem;
  color: var(--brass-dark);
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__body { padding: 0 0 28px; color: var(--umber); max-width: 46em; }
.faq__body ol, .faq__body ul { padding-left: 1.3em; margin: 0 0 1em; }
.faq__body li { margin-bottom: 0.4em; }
.faq__body a { color: var(--brass-dark); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); }
.contact-grid > * { min-width: 0; } /* a long dropdown option must not widen the page */
.contact-card dl { margin: 0 0 32px; }
.contact-card dt { font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-top: 22px; }
.contact-card dd { margin: 4px 0 0; font-family: var(--serif); font-size: 1.5rem; }
.contact-card dd a { text-decoration: none; }
.contact-card dd a:hover { color: var(--brass-dark); }
.form { background: var(--linen); padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; min-width: 0; }
.field label { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--espresso);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(42, 33, 27, 0.35);
  padding: 8px 0;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
}
.field select { appearance: none; width: 100%; min-width: 0; padding-right: 18px; text-overflow: ellipsis; background-image: linear-gradient(45deg, transparent 50%, var(--umber) 50%), linear-gradient(135deg, var(--umber) 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--brass-dark); }
.field textarea { resize: vertical; min-height: 96px; }
.form__note { font-size: 0.8rem; color: var(--muted); margin-top: 14px; }
.map { aspect-ratio: 16 / 7; border: 0; width: 100%; filter: sepia(0.25) saturate(0.85); display: block; }

/* Footer */
.site-footer { background: var(--espresso); color: var(--sand); padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand__name { color: var(--ivory); }
.site-footer h4 { font-family: var(--sans); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; font-size: 0.92rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ivory); }
.footer-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(227, 214, 195, 0.18); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.78rem; color: var(--muted); }

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--espresso);
  color: var(--ivory);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(42, 33, 27, 0.25);
  transition: background 0.2s, transform 0.2s;
}
.wa-float:hover { background: var(--brass-dark); transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20, 15, 11, 0.94); display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--ivory); font-size: 2rem; cursor: pointer; padding: 12px 18px; font-family: var(--sans); font-weight: 200; }
.lightbox__close { top: 8px; right: 8px; }
.lightbox__prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 4px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: var(--sand); font-size: 0.8rem; letter-spacing: 0.2em; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--espresso); color: var(--ivory); padding: 12px 22px; font-size: 0.85rem; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; z-index: 120; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .usps { grid-template-columns: repeat(2, 1fr); }
  .usp:nth-child(2) { border-right: 0; }
  .usp:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-grid { grid-template-columns: 1fr; }
  .location { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .site-header .wrap { grid-template-columns: auto 1fr auto; grid-template-rows: 1fr; grid-template-areas: "toggle brand cta"; }
  .brand { justify-self: start; text-align: left; }
  .brand__name { font-size: 1.5rem; }
  .menu-toggle { display: block; margin-right: 8px; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    grid-area: auto; border-top: 0; justify-content: flex-start; align-items: stretch; align-self: auto;
  }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  body.menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .header-cta .btn { padding: 0.7em 1.1em; font-size: 0.7rem; letter-spacing: 0.14em; }
  .hero__grid, .split, .room__body, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .gallery__track { grid-auto-columns: 78%; }
  .gallery--wide .gallery__track { grid-auto-columns: 88%; }
  .room__head { grid-template-columns: 1fr; }
  .room__price { text-align: left; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards, .usps, .location, .footer-grid, .form__row, .specs { grid-template-columns: 1fr; }
  .usp { border-right: 0; border-bottom: 1px solid var(--line); }
  .usp:last-child { border-bottom: 0; }
  .hero__meta { gap: 20px; flex-wrap: wrap; }
  .header-cta .btn { display: none; } /* the language menu stays */
}

/* Photo placeholder — swap for an <img> once the shot exists */
.placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(168, 132, 79, 0.08) 14px 15px),
    var(--sand);
  color: var(--umber);
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.3;
}
.placeholder small { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* Availability calendar (calendar/) */
.room-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0;
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.room-tab {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.75em 1.3em;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--espresso);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.room-tab:hover { border-color: var(--brass); }
.room-tab.active { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.cal-legend { display: flex; gap: 24px; flex-wrap: wrap; padding: 22px 0 0; font-size: 0.85rem; color: var(--umber); }
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.swatch { width: 14px; height: 14px; display: inline-block; }
.swatch.avail { background: var(--linen); border: 1px solid var(--line); }
.swatch.booked { background: var(--umber); }
.swatch.today { background: var(--linen); outline: 2px solid var(--brass); outline-offset: -2px; }
.swatch.selected { background: var(--brass); }
.room-title { margin: 36px 0 0; }
.room-sub { color: var(--muted); font-size: 0.9rem; margin: 0; }
.year-label {
  font-family: var(--serif);
  font-size: 2rem;
  border-bottom: 1px solid var(--line);
  padding: 40px 0 8px;
  margin-bottom: 22px;
}
.cal-months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cal-month { background: var(--linen); border: 1px solid var(--line); padding: 18px; }
.cal-month h4 { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; text-align: center; margin: 0 0 12px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { font-size: 0.66rem; letter-spacing: 0.12em; color: var(--muted); text-align: center; padding-bottom: 4px; }
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  color: var(--espresso);
}
.cal-day.blank { background: transparent; border: 0; }
.cal-day.booked { background: var(--umber); color: var(--sand); border-color: var(--umber); }
.cal-day.past { opacity: 0.3; }
.cal-day.today { outline: 2px solid var(--brass); outline-offset: -2px; font-weight: 500; }
.cal-day.selectable { cursor: pointer; }
.cal-day.selectable:hover { border-color: var(--brass); background: var(--cream); }
.cal-day.in-range { background: var(--sand); border-color: var(--sand); }
.cal-day.range-start, .cal-day.range-end { background: var(--brass); border-color: var(--brass); color: var(--linen); font-weight: 500; }
.date-fab {
  position: fixed;
  right: 92px;
  bottom: 20px;
  z-index: 70;
  display: none;
  align-items: center;
  gap: 14px;
  background: var(--linen);
  border: 1px solid var(--line);
  padding: 10px 12px 10px 20px;
  box-shadow: 0 10px 30px rgba(42, 33, 27, 0.18);
  max-width: calc(100vw - 112px);
}
.date-fab.visible { display: flex; }
.date-fab-text { font-size: 0.85rem; line-height: 1.35; white-space: nowrap; }
.date-fab-text small { display: block; color: var(--muted); font-size: 0.72rem; }
.date-fab-clear { background: none; border: 0; color: var(--muted); font-size: 1.2rem; cursor: pointer; padding: 4px; line-height: 1; }
.date-fab-clear:hover { color: var(--espresso); }
.date-fab .btn { padding: 0.8em 1.2em; white-space: nowrap; }
.date-fab .btn.disabled { background: var(--sand); border-color: var(--sand); color: var(--muted); pointer-events: none; }
@media (max-width: 1000px) { .cal-months { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .cal-months { grid-template-columns: 1fr; }
  .room-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .room-tabs::-webkit-scrollbar { display: none; }
  .room-tab { flex: none; }
  .date-fab { left: 16px; right: 16px; max-width: none; bottom: 88px; flex-wrap: wrap; gap: 10px; padding: 14px 16px; }
  .date-fab-text { flex: 1 1 0; white-space: normal; }
  .date-fab .btn { flex: 1 0 100%; }
}

/* Four-column room comparison (features page) */
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feature-grid--4 .feature-col { padding: clamp(24px, 3vw, 36px); }
@media (max-width: 1000px) { .feature-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid--4 { grid-template-columns: 1fr; } }

/* Room plans inside galleries: show the whole drawing, never crop it */
.gallery__track figure.plan { background: #fff; position: relative; }
.gallery__track figure.plan img { object-fit: contain; padding: 14px 14px 34px; }
.gallery__track figure.plan:hover img { transform: none; }
/* 3D views (tools/rooms_3d.js): the background matches the render's */
.gallery__track figure.render { background: #f3ede4; position: relative; }
.gallery__track figure.render img { object-fit: contain; padding-bottom: 30px; }
.gallery__track figure.render:hover img { transform: none; }
.render__explore {
  position: absolute; top: 14px; left: 14px;
  padding: 9px 16px; background: var(--espresso); color: var(--ivory); text-decoration: none;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; transition: background 0.2s;
}
.render__explore::after { content: " →"; }
.render__explore:hover { background: var(--brass-dark); }
.gallery__track figure.plan figcaption,
.gallery__track figure.render figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 8px 14px; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); background: rgba(255, 255, 255, 0.92);
}

/* Side-by-side before/after pair (features: blackout curtains) */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pair figure { margin: 0; }
.pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; }
.pair figcaption { margin-top: 10px; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 560px) { .pair { grid-template-columns: 1fr; } }

/* ---------- House guide (guide/; content lives in guide/guide.md) ---------- */
.guide-actions { margin-top: 24px; }
.guide-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.guide-toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: 0.92rem; }
.guide-toc strong { display: block; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.74rem; color: var(--brass-dark); margin-bottom: 12px; }
.guide-toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.guide-toc li a { display: block; padding: 6px 0 6px 16px; color: var(--umber); text-decoration: none; }
.guide-toc li a:hover { color: var(--brass-dark); }
.guide { max-width: 46em; color: var(--umber); line-height: 1.7; }
.guide h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 2.2em 0 0.5em; padding-top: 1em; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.guide h2:first-of-type { margin-top: 1em; }
.guide h3 { font-family: inherit; font-size: 1.05rem; font-weight: 500; letter-spacing: 0.04em; color: var(--espresso); margin: 1.8em 0 0.5em; }
.guide ol, .guide ul { padding-left: 1.3em; }
.guide li { margin-bottom: 0.45em; }
.guide li > ul { margin-top: 0.4em; }
.guide strong { color: var(--espresso); font-weight: 500; }
.guide a { color: var(--brass-dark); }
.guide-table { overflow-x: auto; margin: 1em 0 1.4em; }
.guide table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.guide th, .guide td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide th { font-weight: 500; color: var(--espresso); background: var(--cream); }
.guide blockquote { margin: 1.2em 0 1.4em; padding: 14px 18px; background: var(--cream); border-left: 3px solid var(--brass); }
.guide blockquote p { margin: 0.3em 0; }
.guide blockquote ul { margin: 0.4em 0 0.2em; }
.guide figure { margin: 1.6em 0; }
.guide figure img { width: 100%; max-width: 440px; display: block; border-radius: 2px; }
.guide figcaption { font-size: 0.88rem; color: var(--umber); opacity: 0.85; margin-top: 8px; }
.guide mark.tbc { background: #fbe7a1; color: var(--espresso); padding: 1px 6px; border-radius: 3px; font-size: 0.92em; }
@media (max-width: 860px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static; }
}
@media print {
  .site-header, .site-footer, .guide-actions, .guide-toc, .date-fab, .wa-float { display: none !important; }
  body { background: #fff; }
  .page-head { padding: 0 0 16px !important; }
  .guide-layout { display: block; }
  .guide { max-width: none; font-size: 10.5pt; }
  .guide h2 { break-after: avoid; margin-top: 1.4em; }
  .guide h3, .guide figure, .guide table, .guide li { break-inside: avoid; }
  .guide figure img { max-width: 260px; }
  .guide a { color: inherit; text-decoration: none; }
}

/* Chinese (zh/) and Japanese (ja/) pages: Latin text keeps the house fonts; CJK text
   falls back to the system's faces. Neither script has italics or capitals, so ease off both. */
html[lang^="zh"] {
  --serif: "Cormorant Garamond", "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", serif;
  --sans: "Jost", "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
html[lang^="ja"] {
  --serif: "Cormorant Garamond", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --sans: "Jost", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", "Meiryo", sans-serif;
}
:is(html[lang^="zh"], html[lang^="ja"]) body { font-weight: 400; line-height: 1.85; }
:is(html[lang^="zh"], html[lang^="ja"]) :is(h1:not(.eyebrow), h2, h3, .display) { line-height: 1.3; letter-spacing: 0.04em; }
:is(html[lang^="zh"], html[lang^="ja"]) :is(h1:not(.eyebrow), .display) { font-size: clamp(2.1rem, 4.8vw, 3.8rem); }
:is(html[lang^="zh"], html[lang^="ja"]) h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
:is(html[lang^="zh"], html[lang^="ja"]) :is(h1, h2, .display) em { font-style: normal; }
:is(html[lang^="zh"], html[lang^="ja"]) :is(.eyebrow, .nav a, .site-footer h4) { letter-spacing: 0.14em; }

/* Whole-floor plans with the shared spaces highlighted (features) */
.floorplans { display: grid; gap: 24px; max-width: 960px; margin: 0 auto; }
.floorplans figure { margin: 0; background: #fff; padding: clamp(12px, 2vw, 24px); border: 1px solid var(--line); }
.floorplans img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.floorplans figcaption { margin-top: 12px; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.floorplans figure.render { background: #f3ede4; position: relative; }   /* 3D views: the render's background */
