:root {
  --ink: #2a2a27;
  --muted: #77756e;
  --paper: #fbf9f5;
  --sand: #f1ece3;
  --line: #e3ddd2;
  --accent: #8a6a45;   /* warm wood, from the table legs and cane chair */
  --serif: "Jost", "Segoe UI", Helvetica, Arial, sans-serif;
  --sans: "Jost", "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 300 17px/1.75 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, .facts strong { font-variant-numeric: lining-nums; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: 1.5rem; }
h3 { font-family: var(--sans); font-weight: 500; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin: 1.8rem 0 .7rem; color: var(--accent); }
strong { font-weight: 500; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 5rem 1.5rem; }
.note { color: var(--muted); font-size: .95rem; }

/* Top bar */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.5rem; background: rgba(251,249,245,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.mark { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; text-decoration: none; letter-spacing: .01em; }
.links { display: none; gap: 2rem; }
.links a, .book-link { text-decoration: none; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; }
.links a:hover { color: var(--accent); }
.book-link { border: 1px solid var(--ink); padding: .5rem 1.1rem; }
.book-link:hover { background: var(--ink); color: var(--paper); }

/* Hero: the photo stays clean, the words sit below it */
.hero { margin: 0; }
.hero-img { width: 100%; height: 62vh; min-height: 300px; max-height: 760px; object-fit: cover; object-position: 50% 60%; }
.intro { text-align: center; max-width: 720px; margin: 0 auto; padding: 4rem 1.5rem 3rem; }
.kicker { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.intro h1 { font-size: clamp(2.6rem, 11vw, 5.2rem); font-weight: 600; letter-spacing: -.02em; }
.lede { font-size: 1.1rem; color: var(--muted); margin: 1.4rem auto 2.2rem; max-width: 34rem; }
.btn {
  display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none; border: 0; cursor: pointer;
  font: 400 .78rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; padding: 1.1rem 2.2rem;
}
.btn:hover { background: var(--accent); }

/* Facts */
.facts { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.facts li { padding: 1.2rem 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.facts strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.9rem; letter-spacing: 0; text-transform: none; color: var(--ink); line-height: 1.1; }
.price { text-align: center; color: var(--muted); margin: 0 0 4rem; }
.price strong { color: var(--ink); }

#space > p { max-width: 40rem; }
.cols ul { list-style: none; padding: 0; margin: 0; }
.cols li { padding: .45rem 0; border-bottom: 1px solid var(--line); }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 8px; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery img:first-child { grid-column: span 2; }
.gallery img.tall { aspect-ratio: auto; grid-row: span 2; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
summary { cursor: pointer; font-family: var(--serif); font-weight: 500; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--sans); font-weight: 300; color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { margin: .6rem 0 0; color: var(--muted); }

/* Booking */
.book { background: var(--sand); }
.book h2, .book > .wrap > p { text-align: center; }
.book > .wrap > p { color: var(--muted); margin-bottom: 2.5rem; }
form { display: grid; gap: 1.2rem; max-width: 520px; margin: 0 auto; }
label { display: grid; gap: .4rem; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
input, select, textarea {
  font: 300 1rem var(--sans); color: var(--ink); padding: .8rem .2rem; border: 0; border-bottom: 1px solid #c9c1b3; border-radius: 0; background: transparent; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: var(--ink); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
form .btn { justify-self: center; margin-top: .8rem; }
#form-msg { text-align: center; }
.foot { text-align: center; padding: 3rem 1.5rem; color: var(--muted); font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; }

.hp { position: absolute; left: -9999px; }
.ok { color: var(--accent); font-weight: 500; }
.err { color: #9b3b2e; font-weight: 500; }

@media (min-width: 760px) {
  .links { display: flex; }
  .hero-img { height: 78vh; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery img:first-child { grid-row: span 2; aspect-ratio: auto; }
}

/* Landing: photo plus name fit the first screen, no scrolling */
.landing { display: flex; flex-direction: column; height: calc(100svh - 58px); min-height: 520px; }
.landing .hero { flex: 1 1 auto; min-height: 0; }
.landing .hero-img { height: 100%; min-height: 0; max-height: none; }
.landing .intro { flex: 0 0 auto; padding: 1.3rem 1.5rem 1.4rem; }
.landing .kicker { margin-bottom: .5rem; }
.landing .intro h1 { font-size: clamp(2.4rem, 9vw, 4rem); }
.landing .lede { margin: .5rem auto 0; font-size: 1rem; }
/* Lounge hero: keep the painting in frame */
.landing .hero-img { object-position: 50% 40%; }
@media (min-width: 760px) { .landing .hero-img { object-position: 50% 40%; } }

/* Hero walkthrough video */
.landing video.hero-img { display: block; object-position: 50% 50%; background: var(--sand); }

/* Guest chat bubble: bottom right, black, square */
.chat { position: fixed; right: 1rem; bottom: 1rem; z-index: 20; font-family: var(--sans); }
.chat-toggle {
  background: #000; color: #fff; border: 0; border-radius: 0; cursor: pointer;
  font: 400 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 1rem 1.4rem;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
}
.chat-toggle:hover { background: var(--accent); }
.chat-panel {
  width: min(360px, calc(100vw - 2rem)); height: min(480px, calc(100svh - 6rem));
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid #000; border-radius: 0;
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
}
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: center; background: #000; color: #fff; padding: .7rem 1rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.chat-close { background: none; border: 0; color: #fff; font: 300 1.4rem/1 var(--sans); cursor: pointer; padding: 0 .2rem; }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.chat-msg { margin: 0; padding: .6rem .8rem; font-size: .92rem; line-height: 1.5; max-width: 88%; white-space: pre-wrap; }
.chat-msg.bot { background: var(--sand); align-self: flex-start; }
.chat-msg.me { background: #000; color: #fff; align-self: flex-end; }
.chat-msg.wait { color: var(--muted); }
.chat-form { display: flex; border-top: 1px solid #000; margin: 0; max-width: none; gap: 0; }
.chat-form input { flex: 1; padding: .8rem; border: 0; font-size: .95rem; }
.chat-send { background: #000; color: #fff; border: 0; border-radius: 0; cursor: pointer; padding: 0 1.1rem; font: 400 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.chat-send:disabled { opacity: .5; }
.chat-ask { display: grid; gap: .5rem; max-width: none; margin: 0; padding: .7rem .8rem; border: 1px solid #000; align-self: stretch; }
.chat-ask label { font-size: .62rem; }
.chat-ask input { padding: .5rem .1rem; font-size: .92rem; }
.chat-ask button { justify-self: start; background: #000; color: #fff; border: 0; border-radius: 0; cursor: pointer; padding: .6rem 1rem; font: 400 .66rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.chat-ask button:disabled { opacity: .5; }
