/* ==========================================================================
   The Acorn Library — natural & modern
   Palette drawn from the building: pale plywood, oak, shingle grey, black steel.
   ========================================================================== */

:root {
  --paper: #f6f4f0;
  --stone: #eceae5;
  --stone-2: #dedbd4;
  --shingle: #b8b4ab;
  --wood-pale: #f1e6d3;
  --wood: #dcc39c;
  --wood-deep: #a9834f;
  --ink: #161616;
  --ink-2: #45433f;
  --ink-3: #75726c;
  --white: #fff;

  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(22 22 22 / 0.04), 0 8px 28px rgb(22 22 22 / 0.08);
  --shadow-lg: 0 2px 6px rgb(22 22 22 / 0.06), 0 24px 64px rgb(22 22 22 / 0.18);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='80' viewBox='0 0 56 80'%3E%3Cpath d='M0 0L56 80M56 0L0 80M28 -40L84 40M-28 40L28 120M28 120L84 40M-28 40L28 -40' stroke='%23a9834f' stroke-opacity='.16' fill='none'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
h2 { font: 400 clamp(2rem, 4.2vw, 3.1rem)/1.05 var(--serif); letter-spacing: -0.01em; }
h3 { font: 600 1.25rem/1.3 var(--sans); letter-spacing: -0.01em; margin-bottom: 20px; }
h4 { font: 600 0.95rem/1.4 var(--sans); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--ink-3); }
.small { font-size: 0.85rem; }
.center { text-align: center; }
.eyebrow { font: 600 0.72rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--wood-deep); margin-bottom: 14px; }
.eyebrow-light { color: var(--wood); text-shadow: 0 1px 12px rgb(0 0 0 / 0.5); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }

.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 16px; height: 16px; vertical-align: -3px; }
.ic-star { width: 15px; height: 15px; vertical-align: -2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 0.95rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn .ic { width: 18px; height: 18px; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.875rem; }
.btn-block { width: 100%; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #333; }
.btn-ink:disabled { background: var(--shingle); cursor: progress; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--wood-pale); }
.btn-line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; font-size: 0.9rem; }
.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--stone-2); background: var(--white); color: var(--ink); flex: none;
}
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover:not(:disabled) { border-color: var(--ink); }
.icon-btn:disabled { opacity: 0.3; cursor: default; }
.icon-btn-light { background: rgb(255 255 255 / 0.12); border-color: rgb(255 255 255 / 0.25); color: #fff; }

/* ---------- Brand mark ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 1.35rem/1 var(--serif); letter-spacing: 0.005em; }
.brand-mark { width: 26px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; color: var(--white); transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; max-width: calc(var(--max) + 2 * var(--gutter)); margin: auto; padding-inline: var(--gutter); }
.nav nav { display: flex; gap: 28px; font-size: 0.9rem; font-weight: 500; }
.nav nav a { text-decoration: none; opacity: 0.85; }
.nav nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav .btn-ink { background: var(--white); color: var(--ink); }
.nav.is-solid { background: rgb(246 244 240 / 0.88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--stone-2); }
.nav.is-solid .btn-ink { background: var(--ink); color: var(--white); }
@media (max-width: 960px) { .nav nav { display: none; } }
@media (max-width: 560px) { .nav .btn { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; z-index: -2; animation: hero-in 1.6s var(--ease) both; }
@keyframes hero-in { from { transform: scale(1.06); opacity: 0.4; } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgb(10 10 10 / 0.45) 0%, rgb(10 10 10 / 0) 22%),
  linear-gradient(90deg, rgb(10 10 10 / 0.45) 0%, rgb(10 10 10 / 0) 60%),
  linear-gradient(0deg, rgb(10 10 10 / 0.78) 0%, rgb(10 10 10 / 0.35) 45%, rgb(10 10 10 / 0) 70%); }
.hero-content { padding-top: 120px; padding-bottom: clamp(40px, 8vh, 88px); }
.hero h1 { font: 400 clamp(3.2rem, 9vw, 7.2rem)/0.92 var(--serif); letter-spacing: -0.02em; margin-bottom: 20px; max-width: 12ch; }
.hero h1 em { color: var(--wood); }
.hero-sub { max-width: 34rem; font-size: clamp(1rem, 1.5vw, 1.15rem); color: rgb(255 255 255 / 0.88); margin-bottom: 32px; }
.hero-scroll { position: absolute; left: 50%; bottom: 18px; width: 22px; height: 34px; border: 1.5px solid rgb(255 255 255 / 0.6); border-radius: 12px; transform: translateX(-50%); }
.hero-scroll span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: scroll-hint 2s infinite; }
@keyframes scroll-hint { 0% { opacity: 0; transform: translateY(-2px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }
@media (max-width: 720px) { .hero-scroll { display: none; } }

/* Quick availability bar */
.quick {
  display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: center;
  max-width: 820px; padding: 8px; border-radius: 999px; background: var(--white); color: var(--ink); box-shadow: var(--shadow-lg);
}
.quick-field { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 24px; border: 0; background: none; text-align: left; border-radius: 999px; position: relative; min-width: 0; }
.quick-field + .quick-field::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--stone-2); }
button.quick-field:hover { background: var(--stone); }
button.quick-field:hover::before, button.quick-field:hover + .quick-field::before { opacity: 0; }
.quick-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.quick-value { font-size: 0.95rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.quick-value.has-value { color: var(--ink); font-weight: 500; }
.quick-go { min-height: 56px; padding: 0 28px; min-width: 196px; }
.quick-guests { padding-right: 12px; }
.is-active-field { background: var(--stone) !important; }

.quick-result { min-height: 52px; margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 0.92rem; }
.quick-result .ok { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgb(255 255 255 / 0.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.quick-result .ok .ic { width: 16px; height: 16px; stroke-width: 2.4; color: #bfe3a8; }
.quick-result .label { color: rgb(255 255 255 / 0.72); }
.chip {
  border: 1px solid rgb(255 255 255 / 0.35); background: rgb(255 255 255 / 0.08); color: #fff;
  padding: 7px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 500;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background 0.2s;
}
.chip:hover { background: rgb(255 255 255 / 0.22); }

@media (max-width: 760px) {
  .quick { grid-template-columns: 1fr 1fr; border-radius: 20px; padding: 6px; gap: 0; }
  .quick-field { border-radius: 14px; padding: 10px 14px; }
  .quick-field + .quick-field::before { display: none; }
  .quick-guests { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; border-top: 1px solid var(--stone); border-radius: 0; }
  .quick-go { grid-column: 1 / -1; min-height: 52px; border-radius: 14px; }
}

/* Guest stepper */
.stepper { display: inline-flex; align-items: center; gap: 12px; }
.stepper button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--stone-2); background: var(--white); display: grid; place-items: center; font-size: 1.05rem; line-height: 1; }
.stepper button:hover:not(:disabled) { border-color: var(--ink); }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper output { min-width: 1.2em; text-align: center; font-weight: 600; font-size: 0.95rem; }

/* ---------- Facts strip ---------- */
.facts ul { list-style: none; margin: 0; padding: 32px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-bottom: 1px solid var(--stone-2); }
.facts li { display: flex; gap: 14px; align-items: flex-start; }
.facts .ic { color: var(--wood-deep); margin-top: 2px; }
.facts strong { display: block; font-weight: 600; }
.facts span { font-size: 0.88rem; color: var(--ink-3); }
@media (max-width: 860px) { .facts ul { grid-template-columns: 1fr 1fr; } }

/* ---------- Gallery ---------- */
.gallery { padding: clamp(64px, 9vw, 120px) 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.mosaic { display: flex; flex-direction: column; gap: 12px; }
.mosaic-row { display: flex; gap: 12px; }
.tile { position: relative; flex: var(--grow) 1 0; min-width: 0; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--stone); }
.tile img { width: 100%; aspect-ratio: var(--ar); object-fit: cover; transition: transform 1.2s var(--ease), filter 0.4s; }
.tile:hover img { transform: scale(1.035); }
.tile figcaption, .tile .tile-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; text-align: left;
  color: #fff; font-size: 0.9rem; font-weight: 500; background: linear-gradient(0deg, rgb(0 0 0 / 0.55), transparent);
  opacity: 0; transform: translateY(6px); transition: opacity 0.35s, transform 0.35s var(--ease);
}
.tile:hover .tile-cap, .tile:focus-visible .tile-cap { opacity: 1; transform: none; }
.tile-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(22 22 22 / 0.45); color: #fff; font: 400 1.6rem/1.2 var(--serif); }
.tile-more small { display: block; font: 500 0.8rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; margin-top: 6px; }

@media (max-width: 760px) {
  .section-head .btn { display: none; }
  .mosaic { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 8px; scrollbar-width: none; }
  .mosaic::-webkit-scrollbar { display: none; }
  .mosaic-row { display: contents; }
  .tile { flex: 0 0 84%; scroll-snap-align: center; }
  .tile img { aspect-ratio: 4 / 5; }
  .tile .tile-cap { opacity: 1; transform: none; }
  .tile-more { display: none; }
}
.mosaic-dots { display: none; }
@media (max-width: 760px) {
  .mosaic-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
  .mosaic-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--stone-2); transition: background 0.2s, transform 0.2s; }
  .mosaic-dots i.on { background: var(--ink); transform: scale(1.2); }
}

/* ---------- Stay: two columns ---------- */
.stay { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(40px, 7vw, 96px); padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(64px, 9vw, 112px); }
.stay-title { padding-bottom: 28px; border-bottom: 1px solid var(--stone-2); }
.stay-title h2 { margin-bottom: 16px; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 0; color: var(--ink-2); margin-bottom: 10px; }
.meta span + span::before { content: '·'; margin: 0 10px; color: var(--shingle); }
.rating-link { font-size: 0.95rem; text-decoration: none; }
.rating-link span { text-decoration: underline; text-underline-offset: 3px; }

.prose { padding: 32px 0; border-bottom: 1px solid var(--stone-2); font-size: 1.05rem; color: var(--ink-2); max-width: 40rem; }
.prose .lede { font: 400 1.6rem/1.3 var(--serif); color: var(--ink); }
.prose blockquote { margin: 28px 0 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--wood); font: italic 400 1.35rem/1.4 var(--serif); color: var(--ink); }

.block { padding: 40px 0; border-bottom: 1px solid var(--stone-2); }
.block:last-child { border-bottom: 0; }
.block-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.block-head h3 { margin-bottom: 4px; }

.spaces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.space { padding: 0; border: 0; background: none; text-align: left; }
.space img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 10px; transition: filter 0.3s; }
.space:hover img { filter: brightness(0.92); }
.space span { font-weight: 600; font-size: 0.92rem; }
@media (max-width: 600px) { .spaces { grid-template-columns: 1fr 1fr; } }

.touches, .amenities, .amenity-groups ul, .know ul, .nearby { list-style: none; margin: 0; padding: 0; }
.touches { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
.touches li { display: flex; gap: 16px; }
.touches .ic { width: 28px; height: 28px; color: var(--wood-deep); }
.touches strong { display: block; font-weight: 600; margin-bottom: 2px; }
.touches span { color: var(--ink-3); font-size: 0.92rem; }
@media (max-width: 600px) { .touches { grid-template-columns: 1fr; } }

.amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; margin-bottom: 28px; }
.amenities li, .amenity-groups li { display: flex; align-items: center; gap: 14px; }
.amenity-groups li { align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--stone); }
.amenity-groups li small { display: block; color: var(--ink-3); font-size: 0.82rem; }
.amenity-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin-top: 28px; }
.amenity-groups h4 { margin-bottom: 4px; }
.more summary { list-style: none; display: inline-block; }
.more summary::-webkit-details-marker { display: none; }
.more[open] summary .btn { background: var(--ink); color: #fff; }
@media (max-width: 600px) { .amenities, .amenity-groups { grid-template-columns: 1fr; } }

.know { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.know h4 { margin-bottom: 10px; }
.policy { margin-top: 32px; padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--stone-2); }
.policy h4 { margin-bottom: 12px; }
.policy-dynamic { padding: 10px 14px; border-radius: 10px; background: var(--wood-pale); font-size: 0.92rem; font-weight: 500; }
.policy dl { display: grid; grid-template-columns: 200px 1fr; gap: 10px 24px; margin: 0; font-size: 0.93rem; }
.policy dt { font-weight: 600; }
.policy dd { margin: 0; color: var(--ink-2); }
@media (max-width: 700px) { .policy dl { grid-template-columns: 1fr; gap: 4px; } .policy dd { margin-bottom: 10px; } }
.know li { color: var(--ink-2); font-size: 0.93rem; padding: 3px 0; }
@media (max-width: 700px) { .know { grid-template-columns: 1fr; } }

/* ---------- Booking card ---------- */
.stay-side { position: sticky; top: 96px; align-self: start; }
.card { padding: 24px; border: 1px solid var(--stone-2); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.card-price { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.card-price p { margin: 0; }
.card-price strong { font: 400 2rem/1 var(--serif); }
.card-rating { font-size: 0.9rem; font-weight: 600; text-decoration: none; }
.card-fields { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--shingle); border-radius: 12px; margin-bottom: 16px; overflow: hidden; }
.card-field { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border: 0; background: none; text-align: left; min-width: 0; }
.card-field + .card-field { border-left: 1px solid var(--shingle); }
.card-guests { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; border-left: 0 !important; border-top: 1px solid var(--shingle); }
button.card-field:hover { background: var(--stone); }
.card-note { text-align: center; font-size: 0.85rem; color: var(--ink-3); margin: 12px 0 0; }
.card-assure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; font-size: 0.82rem; color: var(--ink-3); }
.card-assure .ic { width: 16px; height: 16px; }

.breakdown { margin-top: 20px; }
.breakdown dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 0; margin: 0; font-size: 0.95rem; color: var(--ink-2); }
.breakdown dd { margin: 0; padding-left: 16px; text-align: right; }
.breakdown .total { padding-top: 14px; border-top: 1px solid var(--stone-2); color: var(--ink); font-weight: 700; }
.breakdown .saving { color: #3f6b2c; }
.breakdown .vat-note { margin-top: -4px; font-size: 0.8rem; color: var(--ink-3); }

.card-weekends { list-style: none; padding: 0; margin: 20px 0 0; }
.card-weekends:empty { display: none; }
.card-weekends p { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.card-weekends button { display: flex; width: 100%; justify-content: space-between; padding: 10px 12px; margin-top: 6px; border: 1px solid var(--stone-2); border-radius: 10px; background: var(--paper); font-size: 0.9rem; }
.card-weekends button:hover { border-color: var(--ink); }
.card-weekends button span:last-child { color: var(--ink-3); }

@media (max-width: 960px) {
  .stay { grid-template-columns: 1fr; }
  .stay-side { display: none; }
}

.card-policy { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--paper); font-size: 0.85rem; color: var(--ink-2); }
.card-message { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 0.9rem; color: var(--ink-2); text-decoration: none; }
.card-message span { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.card-message .ic { width: 18px; height: 18px; }

/* ---------- Calendar ---------- */
.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.cal-hint { margin: 0; font-size: 0.85rem; color: var(--ink-3); text-align: center; }
.cal-months { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 40px; }
.cal-month h4 { text-align: center; margin: 4px 0 12px; font-weight: 600; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
.cal-dow { font-size: 0.72rem; font-weight: 600; color: var(--ink-3); text-align: center; padding-bottom: 6px; }
.cal-day {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 50px; padding: 0; border: 0; background: none; font-size: 0.92rem; font-weight: 500; border-radius: 0; z-index: 0;
}
.cal-day span { line-height: 1.1; }
.cal-day small { font-size: 0.64rem; font-weight: 500; color: var(--ink-3); line-height: 1.2; }
.cal-day::before { content: ''; position: absolute; inset: 1px 2px; border-radius: 10px; border: 1px solid transparent; z-index: -1; transition: border-color 0.15s; }
.cal-day[aria-disabled='false']:hover::before { border-color: var(--ink); }
.cal-day[aria-disabled='true'] { color: var(--shingle); cursor: default; }
.cal-day[aria-disabled='true'] small { color: var(--shingle); }
.cal-day.is-blocked span { text-decoration: line-through; text-decoration-color: var(--shingle); }
.cal-day.is-today span { text-decoration: underline; text-underline-offset: 3px; }
.cal-day.is-min { color: var(--ink-3); }
.cal-day.is-range { background: var(--wood-pale); color: var(--ink); }
.cal-day.is-range small { color: var(--ink-2); }
.cal-day.is-start, .cal-day.is-end { color: var(--white); }
.cal-day.is-start::before, .cal-day.is-end::before { background: var(--ink); border-color: var(--ink); }
.cal-day.is-start small, .cal-day.is-end small { color: rgb(255 255 255 / 0.7); }
.cal-day.is-start { background: linear-gradient(90deg, transparent 50%, var(--wood-pale) 50%); }
.cal-day.is-end { background: linear-gradient(90deg, var(--wood-pale) 50%, transparent 50%); }
.cal-day.is-start:not(:has(~ .is-range, ~ .is-end)) { background: none; }
.cal-day.is-preview::before { background: var(--ink-2); }

.cal-inline { min-height: 380px; }
.cal-skeleton { height: 380px; border-radius: 12px; background: linear-gradient(90deg, var(--stone) 25%, var(--paper) 50%, var(--stone) 75%) 0 0 / 200% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }
.cal-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 16px; font-size: 0.82rem; color: var(--ink-3); }
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.lg-free { border: 1px solid var(--ink); }
.lg-blocked { background: repeating-linear-gradient(135deg, var(--stone-2) 0 2px, transparent 2px 5px); border: 1px solid var(--stone-2); }
.lg-sel { background: var(--ink); }
.sync { margin-left: auto; }
.sync .ic { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
@media (max-width: 600px) { .sync { margin-left: 0; width: 100%; } }

/* ---------- Date popover / mobile sheet ---------- */
.date-pop {
  position: absolute; z-index: 60; width: min(760px, calc(100vw - 32px)); padding: 24px 28px 20px;
  background: var(--white); color: var(--ink); border-radius: 24px; box-shadow: var(--shadow-lg);
  animation: pop-in 0.22s var(--ease);
}
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px); } }
.date-pop-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 8px; }
.date-pop-title { font: 400 1.6rem/1.1 var(--serif); margin: 0 0 4px; }
.date-pop-head .icon-btn { display: none; }
.date-pop-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--stone); }
.scrim { position: fixed; inset: 0; z-index: 55; background: rgb(10 10 10 / 0.35); animation: fade 0.2s; }
@keyframes fade { from { opacity: 0; } }
@media (max-width: 760px) {
  .date-pop { position: fixed; left: 0 !important; right: 0; bottom: 0; top: auto !important; width: 100%; max-height: 92vh; overflow-y: auto; border-radius: 22px 22px 0 0; padding: 20px 16px calc(16px + env(safe-area-inset-bottom)); animation: sheet-in 0.3s var(--ease); }
  .date-pop-head .icon-btn { display: grid; }
  .date-pop-foot { position: sticky; bottom: calc(-16px - env(safe-area-inset-bottom)); background: var(--white); margin: 12px -16px calc(-16px - env(safe-area-inset-bottom)); padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); }
  @keyframes sheet-in { from { transform: translateY(100%); } }
  .cal-day { height: 46px; }
}

/* ---------- Reviews ---------- */
.reviews { background: var(--stone) var(--lattice); padding: clamp(64px, 9vw, 112px) 0; }
.reviews-head { display: flex; align-items: center; gap: clamp(24px, 5vw, 64px); margin-bottom: 40px; }
.score { display: flex; flex-direction: column; align-items: center; padding: 20px 28px; border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.score-num { font: 400 4.2rem/1 var(--serif); }
.stars { display: flex; gap: 2px; color: var(--ink); margin-top: 4px; }
.stars .ic { width: 16px; height: 16px; }
.reviews-head h2 { margin-bottom: 8px; }
.review-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 20px; }
.review { margin: 0; padding: 28px; border-radius: var(--radius); background: var(--white); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.review blockquote { margin: 0; font: 400 1.4rem/1.35 var(--serif); }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption small { display: block; color: var(--ink-3); font-size: 0.82rem; }
.review figcaption > span:nth-child(2) { flex: 1; }
.review-source { align-self: center; padding: 4px 10px; border-radius: 999px; background: var(--stone); font-size: 0.75rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--wood-pale); color: var(--wood-deep); font: 400 1.3rem/1 var(--serif); }
@media (max-width: 600px) { .reviews-head { flex-direction: column; align-items: flex-start; } }

/* ---------- Location ---------- */
.location { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(64px, 9vw, 112px); }
.location h2 { margin-bottom: 18px; }
.location-text > p { color: var(--ink-2); }
.nearby { margin: 28px 0 20px; border-top: 1px solid var(--stone-2); }
.nearby li { display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--stone-2); }
.nearby .ic { color: var(--wood-deep); }
.map { height: clamp(320px, 42vw, 500px); border-radius: var(--radius); overflow: hidden; background: var(--stone) var(--lattice); z-index: 0; }
.map .leaflet-tile-pane { filter: grayscale(1) sepia(0.18) brightness(1.04) contrast(0.9); }
.map-pin { width: 40px; height: 48px; color: var(--ink); filter: drop-shadow(0 4px 8px rgb(0 0 0 / 0.3)); }
.map-pin svg { width: 100%; height: 100%; fill: var(--wood); stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
@media (max-width: 860px) { .location { grid-template-columns: 1fr; } }

/* ---------- Host ---------- */
.host { padding-bottom: clamp(64px, 9vw, 112px); }
.host-card { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(24px, 5vw, 56px); border-radius: 24px; background: var(--wood-pale); }
.host-profile { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 24px 24px; border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.host-profile p { margin: 0; }
.host-photo { width: 112px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px; background: var(--wood) var(--lattice); font: 400 3.4rem/1 var(--serif); color: var(--ink); overflow: hidden; }
.host-photo img { width: 100%; height: 100%; object-fit: cover; }
.host-name { font: 400 2rem/1.1 var(--serif); }
.host-stats { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--stone); }
.host-stats div + div { border-left: 1px solid var(--stone); }
.host-stats dt { font-size: 0.75rem; color: var(--ink-3); }
.host-stats dd { margin: 2px 0 0; font-weight: 700; font-size: 0.95rem; }
.host-about h2 { margin-bottom: 18px; }
.host-facts { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.host-facts li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.host-facts .ic { color: var(--wood-deep); }
.host-about > p { color: var(--ink-2); max-width: 38rem; }
.host-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 10px; }
@media (max-width: 760px) { .host-card { grid-template-columns: 1fr; } .host-profile { max-width: 340px; } }

/* ---------- Closing ---------- */
.closing { position: relative; min-height: 72vh; display: grid; place-items: center; color: #fff; isolation: isolate; text-align: center; }
.closing img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; z-index: -2; }
.closing::after { content: ''; position: absolute; inset: 0; background: rgb(12 12 12 / 0.42); z-index: -1; }
.closing h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 14ch; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--stone); padding: 48px 0 calc(48px + env(safe-area-inset-bottom)); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; }
.footer .muted { color: var(--shingle); margin: 0; }
.footer nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.9rem; }
.footer nav a { text-decoration: none; color: var(--stone); }
.footer nav a:hover { text-decoration: underline; }
.footer-legal { width: 100%; margin: 8px 0 0; font-size: 0.78rem; color: var(--shingle); }
@media (max-width: 960px) { .footer { padding-bottom: 120px; } .footer nav { margin-left: 0; width: 100%; } }

/* ---------- Mobile booking bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 960px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--stone-2);
    transform: translateY(110%); transition: transform 0.35s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mb-price { margin: 0; font-weight: 600; }
  .mb-price span { font-weight: 400; color: var(--ink-2); }
  .mb-dates { font-size: 0.85rem; font-weight: 500; }
}

/* ---------- Modals ---------- */
.modal { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 24px; background: var(--white); color: var(--ink); box-shadow: var(--shadow-lg); }
.modal::backdrop { background: rgb(10 10 10 / 0.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[open] { animation: pop-in 0.25s var(--ease); }
.modal-close-form { position: absolute; top: 16px; right: 16px; margin: 0; }
.reserve-body, .done-body { padding: 32px; }
.reserve-body h2 { font-size: 2rem; margin-bottom: 20px; }
.reserve-summary { display: flex; gap: 16px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--stone); }
.reserve-summary img { width: 96px; height: 76px; object-fit: cover; border-radius: 10px; }
.reserve-summary p { margin: 0; }
.reserve-form { display: grid; gap: 14px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--stone); }
.reserve-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; font-weight: 600; }
.reserve-form input, .reserve-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--shingle); border-radius: 10px; font: 400 1rem/1.4 var(--sans); background: var(--white); color: var(--ink); }
.reserve-form input:focus, .reserve-form textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: transparent; }
.field-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reserve-policy { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--paper); font-size: 0.85rem; color: var(--ink-2); }
.reserve-policy a { color: var(--ink); font-weight: 600; }
.form-error { margin: 0; padding: 10px 14px; border-radius: 10px; background: #fbeaea; color: #8a1f1f; font-size: 0.9rem; }
.reserve-form .btn { margin-top: 6px; min-height: 54px; }
@media (max-width: 520px) {
  .field-row.two { grid-template-columns: 1fr; }
  .reserve-body, .done-body { padding: 24px 20px; }
  .modal { width: 100vw; max-width: 100vw; max-height: 94vh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
}
.done-body { text-align: center; }
.done-icon { width: 64px; height: 64px; margin: 8px auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--wood-pale); }
.done-icon .ic { width: 30px; height: 30px; stroke-width: 2; }
.done-body h2 { margin-bottom: 12px; }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0e0e0d; color: #fff; overflow: hidden; }
.lightbox::backdrop { background: #0e0e0d; }
.lightbox[open] { animation: fade 0.25s; }
.lb-top { position: absolute; inset: 0 0 auto; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); }
.lb-count { font-size: 0.9rem; color: rgb(255 255 255 / 0.75); font-variant-numeric: tabular-nums; }
.lb-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-slide { flex: 0 0 100%; height: 100%; display: grid; place-items: center; padding: 72px clamp(0px, 6vw, 96px) 72px; scroll-snap-align: center; scroll-snap-stop: always; }
.lb-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lb-nav { position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.25); background: rgb(255 255 255 / 0.08); color: #fff; display: grid; place-items: center; }
.lb-nav:hover { background: rgb(255 255 255 / 0.2); }
.lb-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-caption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom)); text-align: center; font: italic 400 1.2rem/1.3 var(--serif); color: rgb(255 255 255 / 0.85); }
@media (max-width: 760px) { .lb-nav { display: none; } .lb-slide { padding: 64px 0; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 80; transform: translateX(-50%); padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.9rem; box-shadow: var(--shadow-lg); animation: pop-in 0.25s var(--ease); max-width: calc(100vw - 32px); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Legal pages ---------- */
.legal-page .nav { position: sticky; }
.legal { max-width: 760px; padding-top: 48px; padding-bottom: 96px; color: var(--ink-2); }
.legal h1 { font: 400 clamp(2.4rem, 5vw, 3.4rem)/1.05 var(--serif); color: var(--ink); margin-bottom: 8px; }
.legal h2 { font: 600 1.15rem/1.3 var(--sans); color: var(--ink); margin: 40px 0 12px; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--ink); }
.legal strong { color: var(--ink); }
.reserve-form .small a { color: inherit; }
