:root {
  --bg: #f5efe6;
  --text: #3b2f25;
  --muted: #7a6a5b;
  --accent: #c8643b;
  --accent-dark: #a94f2b;
  --pill: #efe4d6;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(59, 47, 37, 0.08);
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1 { font-weight: 800; letter-spacing: -0.02em; }
h2 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-weight: 700; font-size: 1.15rem; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .container { padding: 0 24px; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(245, 239, 230, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(59, 47, 37, 0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.wordmark { font-weight: 800; font-size: 1.25rem; text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.wordmark span { color: var(--accent); }
.site-header nav { display: flex; gap: 18px; font-weight: 500; font-size: .95rem; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { color: var(--accent); }
@media (max-width: 420px) { .site-header nav { gap: 12px; font-size: .88rem; } .wordmark { font-size: 1.1rem; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; border: 0; cursor: pointer; transition: background .15s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: var(--pill); color: var(--text); }
.btn-secondary:hover { background: #e6d6c2; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Footer */
.site-footer { margin-top: 80px; padding: 48px 0 40px; background: var(--pill); }
.footer-inner p { margin: .4em 0; }
.site-footer .fine { color: var(--muted); font-size: .85rem; }

/* Shared */
.section { padding: 64px 0 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); margin: 0 0 6px; }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 640px; margin: 0 0 28px; }
.star { color: var(--accent); }

/* Hero */
.hero { min-height: min(78vh, 680px); background-size: cover; background-position: center; display: flex; align-items: flex-end; color: #fff; }
.hero-inner { padding-bottom: 56px; }
.hero h1 { font-size: clamp(2.6rem, 8vw, 5rem); margin-bottom: .15em; text-shadow: 0 2px 20px rgba(0,0,0,.2); }
.hero-kicker { text-transform: uppercase; letter-spacing: .15em; font-weight: 700; font-size: .8rem; margin: 0 0 8px; }
.hero-sub { text-shadow: 0 1px 12px rgba(0,0,0,.35); font-size: clamp(1.05rem, 2.5vw, 1.35rem); margin: 0 0 22px; max-width: 520px; }

/* Home cards */
.home-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .home-grid { grid-template-columns: 1fr 1fr; } }
.home-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.home-card-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s; }
.home-card-photo { overflow: hidden; display: block; }
.home-card:hover .home-card-photo img { transform: scale(1.03); }
.home-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.home-card h3 { font-size: 1.6rem; margin-bottom: 4px; }
.home-card h3 a { text-decoration: none; }
.home-card-hook { margin: 0 0 6px; font-weight: 500; }
.home-card-meta { margin: 0 0 18px; color: var(--muted); font-size: .92rem; }
.home-card .btn-row { margin-top: auto; }

/* Host */
.host-inner { background: var(--card); border-radius: var(--radius); padding: 32px 24px; box-shadow: var(--shadow); }
@media (min-width: 800px) { .host-inner { padding: 44px 48px; } }
.host-inner p { max-width: 720px; }
.host-stats { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.host-stats li { background: var(--pill); border-radius: 12px; padding: 12px 18px; display: flex; flex-direction: column; min-width: 130px; }
.host-stats strong { font-size: 1.25rem; }
.host-stats span { font-size: .85rem; color: var(--muted); }

/* Reviews */
.review-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .review-grid { grid-template-columns: 1fr 1fr; } }
.review { margin: 0; background: var(--card); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.review blockquote { margin: 0 0 12px; }
.review figcaption { font-size: .88rem; color: var(--muted); }

/* Property: gallery */
.gallery { position: relative; display: grid; gap: 6px; margin-top: 20px; grid-template-columns: 1fr; }
.gallery-tile { display: block; overflow: hidden; border-radius: 10px; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: filter .2s; }
.gallery-tile:hover img { filter: brightness(.92); }
.gallery-tile:not(.gallery-main) { display: none; }
@media (min-width: 700px) {
  .gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 210px 210px; }
  .gallery-tile:not(.gallery-main) { display: block; }
  .gallery-main { grid-row: span 2; }
  .gallery-tile img { aspect-ratio: auto; }
  .gallery-main { border-radius: 14px 6px 6px 14px; }
}
@media (min-width: 1000px) { .gallery { grid-template-rows: 240px 240px; } }
.gallery-all { position: absolute; right: 14px; bottom: 14px; background: rgba(255,255,255,.95); box-shadow: var(--shadow); }

/* Property: layout */
.property-layout { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 32px; }
@media (min-width: 900px) { .property-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; } }
.property-main h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 6px; }
.property-stats { margin: 0; font-weight: 500; }
.property-rating { margin: 2px 0 16px; color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--pill); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 500; }
.intro { font-size: 1.15rem; }
.prop-section { border-top: 1px solid rgba(59,47,37,.12); padding-top: 28px; margin-top: 28px; }
.prop-section h2 { font-size: 1.45rem; }
.prop-section ul { padding-left: 1.2em; }
.prop-section li { margin-bottom: .35em; }
.amenities, .walks { columns: 2; column-gap: 28px; }
@media (max-width: 520px) { .amenities, .walks { columns: 1; } }
details summary { cursor: pointer; font-weight: 700; color: var(--accent); margin: 8px 0; }
.fine { color: var(--muted); font-size: .85rem; }

/* Property: booking box */
.book-box { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; align-self: start; scroll-margin-top: 80px; }
@media (min-width: 900px) { .book-box { position: sticky; top: 84px; } }
.book-box h2 { font-size: 1.35rem; }
.booking-soon { background: var(--pill); border-radius: 10px; padding: 14px 16px; margin: 0 0 4px; }
.book-alt-label { font-size: .88rem; color: var(--muted); margin: 18px 0 8px; }
.book-box .btn-row .btn { flex: 1; }

/* Property: mobile book bar */
.mobile-book-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--card); box-shadow: 0 -4px 20px rgba(59,47,37,.1); font-size: .9rem; line-height: 1.3; }
.mobile-book-bar .btn { padding: 11px 28px; }
@media (min-width: 900px) { .mobile-book-bar { display: none; } }
@media (max-width: 899px) { body.property .site-footer { padding-bottom: 110px; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(20,15,10,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; text-align: center; color: #eee; }
.lightbox img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 6px; margin: 0 auto; }
.lightbox figcaption { margin-top: 10px; font-size: .9rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 999px; width: 48px; height: 48px; font-size: 1.8rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }

.narrow { max-width: 760px; }
.contact-ig { margin-top: 28px; }

.map { width: 100%; height: 300px; border: 0; border-radius: var(--radius); margin-top: 12px; }
.footer-homes { list-style: none; padding: 0; margin: .8em 0; }
.footer-homes li { margin: .2em 0; }
