@font-face {
  font-family: Fraunces;
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Outfit;
  src: url("fonts/outfit.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1c1915;
  --muted: #5c564c;
  --cream: #f3eee4;
  --paper: #fffcf8;
  --pine: #1b332b;
  --pine-2: #27483c;
  --line: #e4dac8;
  --gold: #8d6d32;
  --clay: #8f3d18;
  --serif: Fraunces, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  --max: 1120px;
  --header: 4.25rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(141, 109, 50, 0.08), transparent 50%),
    var(--cream);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}
img { max-width: 100%; }
a { color: var(--pine-2); }
h1, h2, h3 { font-family: var(--serif); font-weight: 560; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 0.2rem 0 0.6rem; }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin: 0.15rem 0 0.6rem; }
h3 { font-size: 1.35rem; margin: 0 0 0.4rem; }
p { margin: 0 0 0.8rem; }

.skip {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  background: var(--paper);
  padding: 0.4rem 0.7rem;
  z-index: 50;
}
.skip:focus { top: 0.5rem; }

.promo-bar {
  background: var(--pine);
  color: #f6f1e7;
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
}
.promo-bar a { color: #f3d7a1; }
.promo-bar strong { font-weight: 650; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.6rem 1rem;
  background: rgba(243, 238, 228, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.15;
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-toggle {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font: inherit;
}
.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 0.4rem 1rem 1rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav.is-open { display: grid; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 0.7rem 0.2rem;
  border-bottom: 1px solid var(--line);
}
.nav a:last-child { border-bottom: 0; }

.hero { position: relative; }
.hero-photo {
  display: block;
  width: 100%;
  height: 148px;
  object-fit: cover;
  object-position: center 42%;
}
.hero-panel { padding-bottom: 1.4rem; }
.stats { margin-bottom: 0.4rem; }
.hero-panel {
  margin: -2rem 0.9rem 0;
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.2rem 1.1rem 1rem;
  box-shadow: 0 16px 40px rgba(28, 25, 21, 0.08);
}
.eyebrow {
  margin: 0;
  color: var(--clay);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 650;
}
.lede { font-size: 1.08rem; color: var(--muted); }
.hero-actions, .inline-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.4rem 0 0.8rem; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}
.stats li {
  background: var(--cream);
  padding: 0.45rem 0.4rem;
  border-radius: 0.4rem;
}
.stats strong { display: block; font-size: 0.92rem; }
.stats span { color: var(--muted); font-size: 0.72rem; line-height: 1.25; }

.button, button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: var(--pine);
  color: #f6f1e7;
  text-decoration: none;
  border: 1px solid var(--pine);
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.button-ghost {
  background: transparent;
  color: var(--pine);
}
.button-small { padding: 0.45rem 0.8rem; }

.section { padding: 3.2rem 1rem; }
.section-narrow, .wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.section-head { max-width: 40rem; margin-bottom: 1.3rem; }
.section-alt { background: rgba(255, 252, 248, 0.72); border-block: 1px solid var(--line); }

.prose h3 { margin-top: 1.3rem; }
.note {
  background: #f7f1df;
  border-left: 3px solid var(--gold);
  padding: 0.8rem 0.9rem;
}

.rate-grid, .card-grid, .sleep-grid, .area-grid {
  display: grid;
  gap: 0.8rem;
}
.card, .rate-card, .sleep-card, .area-card, .group {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 1rem;
}
.rate-card .price {
  font-family: var(--serif);
  font-size: 2.3rem;
  margin: 0.2rem 0;
}
.rate-card .with-code { color: var(--clay); font-weight: 650; }
.rate-card p { margin: 0; color: var(--muted); }

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}
.shot {
  display: block;
  padding: 0;
  border: 0;
  background: #ddd;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot:focus-visible, .button:focus-visible, .nav-toggle:focus-visible, .day:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #c6a15b;
  outline-offset: 2px;
}
.shot-wide { grid-column: 1 / -1; aspect-ratio: 16 / 10; }

dialog.lightbox {
  width: min(960px, calc(100% - 1.5rem));
  border: 0;
  padding: 0;
  background: transparent;
}
dialog.lightbox::backdrop { background: rgba(18, 16, 13, 0.82); }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; background: #111; }
.lightbox figcaption { color: #f6f1e7; margin-top: 0.5rem; }
.lightbox-close {
  position: absolute;
  right: 0.4rem;
  top: 0.4rem;
  border: 0;
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font: inherit;
}

.group ul, .rules ul { margin: 0; padding-left: 1.1rem; }
.group + .group { margin-top: 0.8rem; }
.missing { background: #f8efe8; }

.area-card a { font-weight: 650; }

.city-map {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  overflow: hidden;
}
.city-map svg { display: block; width: 100%; height: auto; }
.map-caption { padding: 0.8rem 1rem 1rem; color: var(--muted); margin: 0; }

.book-box, .contact-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
}
.availability { margin: 0.2rem 0 1.2rem; }
.cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}
.cal-window { margin: 0; text-align: center; font-weight: 650; }
.cal-toolbar .button:disabled { opacity: 0.4; cursor: not-allowed; }
.cal-months { display: grid; gap: 0.8rem; }
.month {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.7rem 0.55rem 0.6rem;
}
.month h3 { margin: 0 0 0.45rem; font-size: 1.15rem; text-align: center; }
.weekdays, .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.2rem; }
.weekdays span {
  text-align: center;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.day, .day-pad {
  width: 100%;
  aspect-ratio: 1;
  min-width: 0;
  border: 0;
  border-radius: 0.4rem;
  padding: 0;
}
.day {
  background: #f7f3ea;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.day:disabled { opacity: 1; cursor: not-allowed; }
.day.is-past { background: transparent; color: #b7b0a4; }
.day.is-unavailable {
  background: #8a8478;
  color: #1c1915;
  text-decoration: line-through;
}
.day.is-today { box-shadow: inset 0 0 0 2px var(--gold); }
.day.is-in-stay { background: #e3eee7; }
.day.is-checkin, .day.is-checkout {
  background: var(--pine);
  color: #f6f1e7;
  text-decoration: none;
}
.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 0.8rem 0 0.3rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.swatch {
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  margin-right: 0.35rem;
  border-radius: 0.2rem;
  vertical-align: -0.1rem;
}
.swatch-open { background: #f7f3ea; box-shadow: inset 0 0 0 1px var(--line); }
.swatch-booked { background: #8a8478; }
.cal-summary { color: var(--muted); margin-bottom: 0.4rem; }
.cal-note {
  background: #f7f1df;
  border-left: 3px solid var(--gold);
  padding: 0.8rem 0.9rem;
}
.cal-note[hidden] { display: none; }
.hospitable-slot { margin-bottom: 1rem; }
.hospitable-slot:empty, .hospitable-slot[hidden] { display: none; }
form { display: grid; gap: 0.7rem; }
label { display: grid; gap: 0.25rem; font-weight: 600; font-size: 0.92rem; }
input, textarea, select {
  font: inherit;
  padding: 0.7rem 0.75rem;
  border: 1px solid #d9d0c2;
  border-radius: 0.55rem;
  background: #fff;
  color: var(--ink);
}
.form-row { display: grid; gap: 0.7rem; }
.form-status { color: var(--pine); }
.promo-estimate { margin: 0; color: var(--pine); }
.welcome-card { max-width: 40rem; }
.welcome-card h1 { font-size: clamp(2rem, 8vw, 3.2rem); }
.wifi-line { background: #fff; border: 1px solid var(--line); border-radius: 0.8rem; padding: 0.9rem 1rem; }
.rating-set { border: 0; margin: 0; padding: 0; }
.rating-set legend { font-weight: 600; margin-bottom: 0.35rem; }
.rating-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.rating-row label { display: flex; align-items: center; gap: 0.3rem; font-weight: 600; }
.welcome-card .check-opt { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 500; }
.welcome-card .check-opt input { margin-top: 0.25rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.thanks h2 { margin-top: 0; }
.privacy-page { max-width: 40rem; }
.privacy-page h2 { margin-top: 1.6rem; font-size: clamp(1.4rem, 4vw, 1.8rem); }
[data-feedback-form][hidden],
.thanks[hidden] { display: none !important; }
.form-status.is-error { color: var(--clay); }
.share-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.share-row input { flex: 1 1 16rem; }

.site-footer {
  background: var(--pine);
  color: #e7efe9;
  padding: 2rem 1rem 6rem;
}
.site-footer a { color: #f3d7a1; }
.site-footer .wrap { display: grid; gap: 0.4rem; }

.chat { position: fixed; right: 0.8rem; bottom: 0.8rem; z-index: 40; }
.chat-toggle {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  border: 0;
  background: var(--clay);
  color: white;
  font: inherit;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(28, 25, 21, 0.25);
  cursor: pointer;
}
.chat-panel {
  position: absolute;
  right: 0;
  bottom: 4rem;
  width: min(22rem, calc(100vw - 1.6rem));
  height: min(32rem, calc(100vh - 7rem));
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(28, 25, 21, 0.2);
}
.chat-panel[hidden] { display: none; }
.chat-head { padding: 0.8rem 0.9rem 0.4rem; border-bottom: 1px solid var(--line); }
.chat-head p { color: var(--muted); font-size: 0.88rem; }
.chat-log {
  flex: 1;
  overflow: auto;
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.bubble { max-width: 95%; padding: 0.55rem 0.7rem; border-radius: 0.8rem; }
.bubble p { margin: 0; }
.bubble-guest { align-self: flex-end; background: var(--pine); color: #f6f1e7; }
.bubble-bot { align-self: flex-start; background: var(--cream); }
.bubble a { display: inline-block; margin-top: 0.35rem; }
.suggestions { display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0 0.8rem 0.5rem; }
.suggestions button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}
.chat-form { display: flex; gap: 0.4rem; padding: 0.6rem; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; }
.chat-form button { border-radius: 0.6rem; }

@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats strong { font-size: 1.05rem; }
  .stats span { font-size: 0.85rem; }
  .stats li { padding: 0.55rem 0.7rem; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .shot-wide { grid-column: span 2; }
  .rate-grid { grid-template-columns: repeat(3, 1fr); }
  .sleep-grid, .area-grid { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .cal-months { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-photo { height: 52vh; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-header { padding-inline: 1.5rem; flex-wrap: wrap; }
  .nav {
    display: flex;
    position: static;
    padding: 0;
    background: transparent;
    border: 0;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.85rem 1.1rem;
  }
  .nav a { border: 0; padding: 0.2rem; }
  .hero-photo { height: 88vh; }
  .hero-panel {
    position: absolute;
    left: max(1rem, calc((100% - var(--max)) / 2));
    bottom: 6vh;
    width: min(38rem, 46vw);
    margin: 0;
  }
  .section { padding: 4.5rem 0; }
  .site-footer { padding-bottom: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
