/* Texas Hill Country Reservations, “Leaf and river” design (November 2026).
   Built from the logo: leaf green, river blue and the copper key, on light, airy ground.
   Type: Quicksand for headings, Nunito for reading, both self-hosted.
   Contrast: river #176fa0 passes WCAG AA with white text (5.5:1), muted text #4f6b48 passes on white and pale leaf. */
@font-face{font-family:'Quicksand';font-style:normal;font-weight:500 700;font-display:swap;src:url(fonts/quicksand-normal.woff2) format('woff2');}
@font-face{font-family:'Nunito';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/nunito-normal.woff2) format('woff2');}
@font-face{font-family:'Nunito';font-style:italic;font-weight:400;font-display:swap;src:url(fonts/nunito-italic.woff2) format('woff2');}

:root {
  --white: #ffffff;
  --pale: #f2f8ee;
  --rule: #e3eedb;
  --leaf: #78b858;
  --leaf-deep: #2f5d22;
  --ink: #1f3a1a;
  --muted: #4f6b48;
  --river: #176fa0;
  --river-deep: #125a82;
  --river-bright: #30a0d8;
  --river-pale: #e6f3fb;
  --copper: #a0522d;
  --copper-pale: #f8ece4;
  --copper-ink: #8a4524;
  --note: #fff0b3;
  --note-ink: #5b4a00;
  --display: 'Quicksand', 'Avenir Next', 'Segoe UI', sans-serif;
  --text: 'Nunito', 'Avenir Next', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --wide: 1200px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --r-sm: 10px;
  --r: 18px;
  --shadow: 0 6px 24px rgb(31 58 26 / 0.08);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--text); font-size: 1.0625rem; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--river); text-underline-offset: 0.18em; }
a:hover { color: var(--river-deep); }
:focus-visible { outline: 3px solid var(--river-bright); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; text-wrap: balance; color: var(--leaf-deep); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; }
.wrap { max-width: var(--wide); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Review banner and placeholder marker */
.review-bar { background: var(--note); color: var(--note-ink); font-size: 0.875rem; }
.review-bar .wrap { padding-block: 0.5rem; }
.tbc { background: var(--note); color: var(--note-ink); border-radius: 4px; padding: 0 0.3em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.review-note { background: var(--note); color: var(--note-ink); border-radius: var(--r-sm); padding: 0.75rem 1rem; font-size: 0.9rem; }

/* Header */
.site-header { background: var(--white); border-bottom: 2px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; padding-block: 0.6rem; }
.logo { display: block; margin-right: auto; flex: none; }
.logo img { width: 170px; height: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; }
.main-nav a { color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1rem; white-space: nowrap; }
.main-nav a:hover { color: var(--river); }
.call { display: inline-flex; flex-direction: column; align-items: flex-end; text-decoration: none; color: var(--leaf-deep); line-height: 1.25; }
.call small { font-size: 0.78rem; color: var(--muted); }
.call strong { font-family: var(--display); font-weight: 700; white-space: nowrap; }
.site-header .call { order: 3; }
.site-header .menu { order: 4; }
.site-header .call:hover strong { color: var(--river); }
@media (max-width: 1000px) { .site-header .call { margin-left: auto; } .site-header .menu { margin-left: 0; } }
@media (max-width: 420px) { .site-header .call small { display: none; } .site-header .wrap { gap: 0.75rem; } }
@media (max-width: 374px) { .site-header .logo img { width: 104px; } .site-header .call strong { font-size: 0.92rem; } .site-header .menu summary { padding: 0.5rem 0.8rem; } .site-header .wrap { gap: 0.5rem; } }
@media (max-width: 1000px) { .main-nav { display: none; } }
@media (max-width: 600px) { .logo img { width: 128px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; background: var(--river); color: #fff; border: 0; border-radius: 999px; padding: 0.85rem 1.5rem; font: 700 1rem/1.2 var(--display); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--river-deep); color: #fff; }
.btn.secondary { background: var(--white); color: var(--river); box-shadow: inset 0 0 0 2px var(--river); }
.btn.secondary:hover { background: var(--river-pale); color: var(--river-deep); }
.btn.block { width: 100%; }

/* Forms */
label { font-size: 0.82rem; font-weight: 700; color: var(--muted); }
input, select, textarea { font: 400 1rem/1.3 var(--text); color: var(--ink); background: var(--white); border: 1.5px solid #c9d8c1; border-radius: var(--r-sm); padding: 0.7rem 0.8rem; width: 100%; min-width: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--river); outline: 2px solid var(--river-pale); }
textarea { min-height: 7rem; resize: vertical; }
.field { display: grid; gap: 0.3rem; min-width: 0; }
.check { display: flex; gap: 0.5rem; align-items: center; font-size: 0.95rem; color: var(--ink); font-weight: 600; }
.check input { width: 1.15rem; height: 1.15rem; accent-color: var(--river); }

/* Home hero */
.hero { background: var(--pale); }
.hero .wrap { padding-block: clamp(2.25rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2rem 3rem; align-items: center; }
.hero-copy { display: grid; gap: 1.1rem; }
.hero .lede { font-size: clamp(1.1rem, 1.8vw, 1.25rem); color: var(--muted); max-width: 34rem; }
.tagline { font-family: var(--display); font-weight: 700; color: var(--copper); font-size: 1rem; letter-spacing: 0.02em; }
.hero-photo { border-radius: 28px 28px 28px 6px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero .search { grid-column: 1 / -1; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .hero-photo { order: -1; aspect-ratio: 16 / 10; } }

.search { background: var(--white); border-radius: var(--r); padding: 1rem 1.1rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 0.75rem; align-items: end; box-shadow: var(--shadow); border: 1px solid var(--rule); }
.search .check { padding-bottom: 0.7rem; }
@media (max-width: 900px) { .search { grid-template-columns: repeat(2, minmax(0, 1fr)); } .search .btn { grid-column: 1 / -1; } }
.search-foot { grid-column: 1 / -1; font-size: 0.95rem; color: var(--muted); margin-top: -0.75rem; }

/* Proof row */
.proof { background: var(--white); border-bottom: 2px solid var(--rule); }
.proof ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 2rem; }
.proof li { display: grid; gap: 0.1rem; padding-block: 1.6rem; align-content: start; }
.proof b { font-family: var(--display); font-size: 1.8rem; font-weight: 700; color: var(--leaf-deep); font-variant-numeric: tabular-nums; line-height: 1.1; }
.proof span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 760px) { .proof ul { gap: 1rem; } .proof li { padding-block: 1.1rem; } .proof b { font-size: 1.45rem; } .proof span { font-size: 0.88rem; } }

/* Sections */
.section { padding-block: clamp(2.75rem, 6vw, 4.75rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.section-head p { color: var(--muted); max-width: 40rem; margin-top: 0.5rem; }
.section.alt { background: var(--pale); }

/* Category tiles */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.cat { display: grid; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.cat .photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 1 / 1; background: var(--pale); max-width: 100%; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cat span { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--leaf-deep); line-height: 1.2; }
.cat:hover img { transform: scale(1.04); }
.cat:hover span { color: var(--river); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.chips a { background: var(--pale); border: 1.5px solid var(--rule); border-radius: 999px; padding: 0.45rem 1rem; color: var(--leaf-deep); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 0.92rem; }
.chips a:hover { border-color: var(--river); color: var(--river); background: var(--white); }
@media (max-width: 900px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Property cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.card { display: grid; grid-template-rows: auto 1fr; background: var(--white); border-radius: var(--r); overflow: hidden; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.card .photo { aspect-ratio: 3 / 2; background: var(--pale); overflow: hidden; }
.card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .photo img { transform: scale(1.03); }
.card .body { display: grid; gap: 0.45rem; padding: 1rem 1.15rem 1.2rem; align-content: start; }
.card h3 { font-size: 1.15rem; }
.card:hover h3 { color: var(--river); }
.card .facts { color: var(--muted); font-size: 0.93rem; }
.card .price { font-size: 0.95rem; }
.card .price b { font-family: var(--display); font-size: 1.15rem; color: var(--leaf-deep); }
.badges { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.badge { font-size: 0.78rem; font-weight: 700; background: var(--pale); color: var(--leaf-deep); border-radius: 999px; padding: 0.15rem 0.65rem; }
.badge.key { background: var(--copper-pale); color: var(--copper-ink); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.section:not(.alt) .card { box-shadow: none; border: 1.5px solid var(--rule); }

/* Why us */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2.5rem 4rem; align-items: start; }
.why-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.why-points div { display: grid; gap: 0.35rem; background: var(--pale); border-radius: var(--r); padding: 1.25rem 1.35rem; }
.why-points p { color: var(--muted); }
.why .intro { display: grid; gap: 1rem; }
.why .intro p { color: var(--muted); font-size: 1.1rem; }
@media (max-width: 860px) { .why, .why-points { grid-template-columns: minmax(0, 1fr); } }

/* Guides */
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.guides a { display: grid; gap: 0.25rem; padding: 1.1rem 1.25rem; background: var(--white); border-radius: var(--r); color: var(--ink); text-decoration: none; border: 1.5px solid var(--rule); }
.guides a b { font-family: var(--display); font-size: 1.1rem; color: var(--leaf-deep); }
.guides a span { color: var(--muted); font-size: 0.95rem; }
.guides a:hover { border-color: var(--river); }
.guides a:hover b { color: var(--river); }
@media (max-width: 860px) { .guides { grid-template-columns: minmax(0, 1fr); } }

/* Occasions band */
.band { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.band .inner { background: var(--river-pale); border-radius: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; padding: clamp(1.5rem, 4vw, 2.5rem); }
.band p { color: var(--muted); max-width: 42rem; margin-top: 0.4rem; }

/* Footer */
.site-footer { background: var(--pale); border-top: 2px solid var(--rule); color: var(--muted); font-size: 0.95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-block: 3rem 2rem; }
.site-footer h2 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--river); text-decoration: underline; }
.site-footer .logo img { width: 160px; mix-blend-mode: multiply; }
.site-footer .contact { margin-top: 1rem; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1.5px solid var(--rule); padding-top: 1.25rem; font-size: 0.85rem; }
@media (max-width: 860px) { .site-footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Property page */
.prop-top { background: var(--pale); }
.crumbs { font-size: 0.9rem; color: var(--muted); padding-block: 1.1rem 0.5rem; }
.crumbs a { color: var(--muted); }
.prop-head { padding-bottom: 1.25rem; }
.prop-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.prop-head .sub { color: var(--muted); font-size: 1.15rem; margin-top: 0.4rem; }
.keyfacts { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 1rem 0 0; padding: 0; font-weight: 700; }
.keyfacts li { display: flex; gap: 0.45rem; align-items: center; background: var(--white); border-radius: 999px; padding: 0.35rem 0.9rem 0.35rem 0.7rem; }
.keyfacts li.key { background: var(--copper-pale); color: var(--copper-ink); }
.keyfacts svg { width: 1.15rem; height: 1.15rem; color: var(--leaf); flex: none; }
.keyfacts li.key svg { color: var(--copper); }

.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 0.6rem; border-radius: var(--r); overflow: hidden; aspect-ratio: 2.4 / 1; position: relative; margin-bottom: 2rem; }
.mosaic button { padding: 0; border: 0; background: var(--rule); cursor: zoom-in; display: block; min-height: 0; }
.mosaic button:first-child { grid-row: 1 / 3; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .all { position: absolute; right: 1rem; bottom: 1rem; background: var(--white); color: var(--leaf-deep); border: 0; border-radius: 999px; padding: 0.6rem 1.1rem; font: 700 0.95rem/1 var(--display); cursor: pointer; box-shadow: var(--shadow); }
@media (max-width: 700px) {
  .mosaic { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; aspect-ratio: 4 / 3; }
  .mosaic button:not(:first-child):not(.all) { display: none; }
  .mosaic button:first-child { grid-row: auto; }
}

.prop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 3rem; align-items: start; padding-block: 2.5rem 3rem; }
.prop-main { display: grid; gap: 2.75rem; min-width: 0; }
.prop-main section { display: grid; gap: 1rem; scroll-margin-top: 2rem; }
.prop-main .lead { font-size: 1.15rem; }
.prose { display: grid; gap: 0.9rem; max-width: 42rem; }
@media (max-width: 980px) { .prop-layout { grid-template-columns: minmax(0, 1fr); } .book-panel { display: none; } }

.glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; margin: 0; }
.glance div { padding: 0.85rem 1rem; background: var(--pale); border-radius: var(--r-sm); display: grid; gap: 0.1rem; }
.glance dt { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.glance dd { margin: 0; font-weight: 700; font-family: var(--display); color: var(--leaf-deep); }
@media (max-width: 600px) { .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); } .glance div:last-child { grid-column: 1 / -1; } }

.rooms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.room { background: var(--white); border: 1.5px solid var(--rule); border-radius: var(--r); padding: 1rem; display: grid; gap: 0.4rem; }
.room svg { width: 2rem; height: 2rem; color: var(--leaf); }
.room b { font-family: var(--display); color: var(--leaf-deep); }
.room span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 700px) { .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.amenities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2.5rem; }
.amenities h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.amenities ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.35rem; }
.amenities li { padding-left: 1.5rem; position: relative; }
.amenities li::before { content: ""; position: absolute; left: 0.1rem; top: 0.5em; width: 0.7rem; height: 0.7rem; border-radius: 0 60% 0 60%; background: var(--leaf); }
@media (max-width: 600px) { .amenities { grid-template-columns: minmax(0, 1fr); } }

.cal-shell { background: var(--white); border: 1.5px dashed #c9d8c1; border-radius: var(--r); padding: 1.25rem; display: grid; gap: 0.75rem; }
.cal-months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.cal-month b { font-family: var(--display); color: var(--leaf-deep); display: block; margin-bottom: 0.5rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; font-size: 0.8rem; text-align: center; font-variant-numeric: tabular-nums; }
.cal-grid span { padding: 0.35rem 0; border-radius: 999px; background: var(--pale); }
.cal-grid .h { background: none; color: var(--muted); font-weight: 700; }
.cal-grid .e { background: none; }
@media (max-width: 600px) { .cal-months { grid-template-columns: minmax(0, 1fr); } }

.nearby { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 2rem; list-style: none; margin: 0; padding: 0; }
.nearby li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1.5px solid var(--rule); padding-block: 0.55rem; }
.nearby span { color: var(--muted); white-space: nowrap; }
@media (max-width: 600px) { .nearby { grid-template-columns: minmax(0, 1fr); } }

.policy-list { display: grid; gap: 0.6rem; margin: 0; padding-left: 1.2rem; }
details.terms { background: var(--pale); border-radius: var(--r); padding: 0.9rem 1.2rem; }
details.terms summary { cursor: pointer; font-family: var(--display); font-weight: 700; color: var(--river); }
details.terms[open] summary { margin-bottom: 0.75rem; }
details.terms ul { display: grid; gap: 0.5rem; margin: 0; padding-left: 1.2rem; color: var(--muted); font-size: 0.95rem; }

.ask { background: var(--pale); border-radius: var(--r); padding: 1.25rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.ask .full { grid-column: 1 / -1; }
.ask output { color: var(--leaf-deep); font-weight: 700; }
@media (max-width: 600px) { .ask { grid-template-columns: minmax(0, 1fr); } }

.book-panel { position: sticky; top: 1.5rem; display: grid; gap: 1rem; }
.book-card { background: var(--white); border: 1.5px solid var(--rule); border-radius: var(--r); padding: 1.35rem; display: grid; gap: 1rem; box-shadow: var(--shadow); }
.book-card .from { font-size: 0.95rem; color: var(--muted); }
.book-card .from b { font-family: var(--display); font-size: 1.9rem; color: var(--leaf-deep); }
.book-card .dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.book-card .fine { font-size: 0.85rem; color: var(--muted); }
.direct { background: var(--pale); border-radius: var(--r); padding: 1.15rem 1.3rem; display: grid; gap: 0.6rem; }
.direct h2 { font-size: 1.1rem; }
.direct ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.45rem; font-size: 0.95rem; }
.direct li { padding-left: 1.5rem; position: relative; }
.direct li::before { content: ""; position: absolute; left: 0.1rem; top: 0.45em; width: 0.7rem; height: 0.7rem; border-radius: 0 60% 0 60%; background: var(--leaf); }
.direct .fine { font-size: 0.85rem; color: var(--muted); }

.mobile-bar { display: none; }
@media (max-width: 980px) {
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--white); border-top: 2px solid var(--rule); box-shadow: 0 -4px 16px rgb(31 58 26 / 0.08); padding: 0.7rem var(--gutter-r) calc(0.7rem + env(safe-area-inset-bottom, 0px)) var(--gutter); gap: 0.6rem; align-items: center; }
  .mobile-bar .from { margin-right: auto; font-size: 0.85rem; color: var(--muted); line-height: 1.25; }
  .mobile-bar .from b { display: block; font-family: var(--display); font-size: 1.25rem; color: var(--leaf-deep); }
  .mobile-bar .btn { padding: 0.7rem 1.1rem; }
  body.has-bar { padding-bottom: 5rem; }
}

/* Lightbox */
dialog.lightbox { border: 0; padding: 0; background: rgb(18 30 16 / 0.96); color: #fff; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; }
dialog.lightbox::backdrop { background: rgb(18 30 16 / 0.96); }
.lb-inner { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: max(0.75rem, env(safe-area-inset-top, 0px)) var(--gutter-r) 0.75rem var(--gutter); }
.lb-stage { display: flex; align-items: center; justify-content: center; min-height: 0; padding-inline: var(--gutter); }
.lb-stage img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; border-radius: var(--r-sm); }
.lb-nav { display: flex; justify-content: center; gap: 1rem; padding: 0.75rem var(--gutter) max(0.75rem, env(safe-area-inset-bottom, 0px)); }
.lb-btn { background: rgb(255 255 255 / 0.14); color: #fff; border: 0; border-radius: 999px; padding: 0.65rem 1.2rem; font: 700 1rem/1 var(--display); cursor: pointer; }
.lb-btn:hover { background: rgb(255 255 255 / 0.24); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Live search results (home page) */
.results { padding-block: 2.5rem 3rem; background: var(--white); border-bottom: 2px solid var(--rule); }
.results-head { margin-bottom: 1.5rem; }
.results-head h2:focus { outline: none; }
.results-sub { color: var(--muted); margin-top: 0.35rem; }
.results .price .muted { color: var(--muted); font-size: 0.88rem; }
.results-note { margin-top: 1.5rem; font-size: 0.9rem; color: var(--muted); }
#results-list:empty { display: none; }
.search button[disabled] { opacity: 0.75; cursor: progress; }

/* ---------- Rebuild additions (pages beyond the two design pages) ---------- */
.review-bar a { color: inherit; font-weight: 700; }

/* Small-screen menu (the main nav hides under 1000px) */
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; font: 700 1rem/1 var(--display); color: var(--river); border: 2px solid var(--river); border-radius: 999px; padding: 0.55rem 1rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--river); color: #fff; }
.menu nav { position: absolute; right: 0; top: calc(100% + 0.5rem); z-index: 40; background: var(--white); border: 1.5px solid var(--rule); border-radius: var(--r); box-shadow: var(--shadow); min-width: 14rem; padding: 0.5rem; }
.menu ul { list-style: none; margin: 0; padding: 0; display: grid; }
.menu a { display: block; padding: 0.65rem 0.9rem; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--pale); color: var(--river); }
@media (max-width: 1000px) { .menu { display: block; } }
.main-nav { margin-left: auto; }
.main-nav a[aria-current="page"] { color: var(--river); }

/* Plain pages: guides, FAQs, terms, lists */
.page-top { background: var(--pale); padding-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.page-top h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); max-width: 50rem; }
.page-lead { color: var(--muted); font-size: 1.15rem; margin-top: 0.6rem; max-width: 46rem; }
.page-top .search { margin-top: 1.5rem; }
.page-top .intro { margin-top: 1rem; color: var(--muted); max-width: 48rem; }
.page-top .intro h2 { font-size: 1.25rem; color: var(--ink); margin-top: 0.5rem; }
.page-top p + p { margin: 0; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2.5rem 4rem; padding-block: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.page-layout:has(> :only-child) { grid-template-columns: minmax(0, 46rem); }
@media (max-width: 980px) { .page-layout { grid-template-columns: minmax(0, 1fr); } }
.article { max-width: 46rem; }
.article h2 { font-size: 1.5rem; margin-top: 1.25rem; }
.article h3 { font-size: 1.2rem; margin-top: 0.75rem; }
.article h4 { font-size: 1.05rem; font-family: var(--display); }
.article h2.q { font-size: 1.15rem; margin-top: 1rem; }
.article ul, .article ol { margin: 0; padding-left: 1.3rem; display: grid; gap: 0.35rem; }
.article figure { margin: 0.5rem 0; }
.article figure img { border-radius: var(--r); width: 100%; }
.article blockquote { margin: 0; padding: 0.75rem 1.25rem; border-left: 4px solid var(--leaf); background: var(--pale); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.article table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.article td, .article th { border-bottom: 1.5px solid var(--rule); padding: 0.5rem; text-align: left; vertical-align: top; }
.page-aside { display: grid; gap: 1rem; position: sticky; top: 1.5rem; }
.page-aside .direct p { color: var(--muted); font-size: 0.95rem; }
.side-guides { border: 1.5px solid var(--rule); border-radius: var(--r); padding: 1.1rem 1.3rem; }
.side-guides h2 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.side-guides ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.side-guides a { color: var(--ink); }
.side-guides a:hover { color: var(--river); }
@media (max-width: 980px) { .page-aside { position: static; } }

/* Lists with filters */
.listing { padding-top: clamp(1.75rem, 4vw, 2.5rem); }
.filters { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: end; margin-bottom: 1.5rem; padding: 1rem 1.1rem; border: 1.5px solid var(--rule); border-radius: var(--r); }
.filters .field { min-width: 11rem; }
.filters .check { padding-bottom: 0.7rem; }
.filters .count { margin-left: auto; padding-bottom: 0.7rem; font-family: var(--display); font-weight: 700; color: var(--leaf-deep); }
@media (max-width: 600px) { .filters .field { min-width: 0; flex: 1 1 9rem; } .filters .count { margin-left: 0; } }
.card[hidden] { display: none; }
.empty { padding: 1.5rem; background: var(--pale); border-radius: var(--r); }
.fine-print { margin-top: 1.5rem; color: var(--muted); font-size: 0.9rem; }

/* Live property calendar */
.cal-shell { border-style: solid; border-color: var(--rule); }
.cal-status { color: var(--muted); }
.cal-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.cal-key { display: flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; color: var(--muted); }
.cal-key .k { width: 0.9rem; height: 0.9rem; border-radius: 999px; display: inline-block; margin-left: 0.4rem; }
.cal-key .free, .cal-grid span.free { background: #dff0d3; color: var(--leaf-deep); }
.cal-key .booked, .cal-grid span.booked { background: #f1e3dc; color: #8b6b5c; text-decoration: line-through; }
.cal-key .booked { text-decoration: none; }
.cal-grid span.past { background: none; color: #a9b8a4; }
.cal-shell .fine { font-size: 0.85rem; color: var(--muted); }
.cal-shell .lb-btn { background: var(--pale); color: var(--river); border: 1.5px solid var(--rule); }
.book-card .quote { font-weight: 700; color: var(--leaf-deep); font-size: 0.95rem; }
.book-card .quote:empty { display: none; }
.book-card .quote .quote-lines { display: block; margin-top: 0.35rem; font-weight: 400; color: var(--muted); font-size: 0.85rem; }

/* Few photos: let the first one fill the mosaic */
.mosaic.few { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; aspect-ratio: 16 / 7; }
.mosaic.few button:not(:first-child):not(.all) { display: none; }
.mosaic.few button:first-child { grid-row: auto; }

/* The Lodgix multi-property calendar */
.lodgix-multi { min-height: 30rem; border: 1.5px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.lodgix-multi iframe { width: 100%; border: 0; }
.results .card .photo img { aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Shortlist (favourites) ---------- */
.card-cell { position: relative; display: grid; }
.card-cell[hidden] { display: none; }
.fav { position: absolute; top: 0.6rem; right: 0.6rem; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.94); color: var(--ink); box-shadow: 0 2px 10px rgb(31 58 26 / 0.18); cursor: pointer; }
.fav svg { width: 1.35rem; height: 1.35rem; }
.fav:hover { color: var(--copper); }
.fav[aria-pressed="true"], .fav-btn[aria-pressed="true"] { color: var(--copper); }
.fav[aria-pressed="true"] svg, .fav-btn[aria-pressed="true"] svg { fill: currentColor; }
.fav:focus-visible, .fav-btn:focus-visible { outline: 3px solid var(--river-bright); outline-offset: 2px; }
.fav-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 0.6rem; }
.fav-btn[hidden], .fav[hidden], .sl-link[hidden] { display: none; }
.fav-btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.sl-link { order: 2; display: inline-flex; align-items: center; gap: 0.3rem; color: var(--copper); text-decoration: none; font: 700 1rem/1 var(--display); padding: 0.4rem 0.5rem; border-radius: 999px; }
.sl-link svg { width: 1.3rem; height: 1.3rem; fill: currentColor; }
.sl-link:hover { background: var(--copper-pale); }
@media (max-width: 1000px) { .site-header .sl-link { margin-left: auto; } .site-header .sl-link:not([hidden]) + .call { margin-left: 0; } }
@media (max-width: 479px) { .site-header .sl-link { display: none; } .site-header .call { margin-left: auto; } }
.toast { position: fixed; left: 50%; bottom: 1.25rem; z-index: 60; transform: translate(-50%, 150%); max-width: calc(100% - 2rem); background: var(--ink); color: var(--white); padding: 0.8rem 1.1rem; border-radius: var(--r-sm); box-shadow: var(--shadow); font-size: 0.95rem; opacity: 0; transition: transform 0.25s ease, opacity 0.25s ease; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast a { color: #bfe6ff; font-weight: 700; }
.has-bar .toast { bottom: 5.5rem; }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }
.shortlist .shared-note { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; background: var(--river-pale); border-radius: var(--r); padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.shortlist .shared-note p { margin: 0; font-weight: 700; }
.sl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-bottom: 1.25rem; }
.sl-actions .share-link { width: min(100%, 28rem); margin-left: 0.5rem; }
.shortlist .table-wrap { overflow-x: auto; margin-bottom: 2rem; border: 1.5px solid var(--rule); border-radius: var(--r); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.compare thead th { font: 700 0.85rem/1.2 var(--display); color: var(--muted); background: var(--pale); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody th a { color: var(--river); font-weight: 700; }

/* ---------- Maps ---------- */
.view-toggle { display: inline-flex; border: 2px solid var(--river); border-radius: 999px; overflow: hidden; margin-bottom: 1.25rem; }
.view-toggle[hidden] { display: none; }
.view-toggle button { border: 0; background: var(--white); color: var(--river); font: 700 0.95rem/1 var(--display); padding: 0.6rem 1.3rem; cursor: pointer; }
.view-toggle button[aria-pressed="true"] { background: var(--river); color: var(--white); }
.map { background: var(--pale); border-radius: var(--r); overflow: hidden; z-index: 0; }
.list-map { height: min(70vh, 620px); min-height: 380px; }
.map-wrap { margin-bottom: 1.5rem; }
.map-wrap .fine { margin-top: 0.6rem; }
.area-map { height: 320px; margin-bottom: 1rem; }
.hikes-map-wrap { margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.drive-map-wrap { margin: 1.5rem 0; }
.drive-map { height: min(60vh, 460px); min-height: 340px; }
.drive-map-wrap figcaption { margin-top: 0.6rem; color: var(--muted); font-size: 0.92rem; }
.near-hikes { background: var(--pale); border-radius: var(--r); padding: 0.9rem 1.1rem; }
.stop-icon span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--river-deep); color: #fff; border: 2px solid #fff; box-shadow: 0 1px 4px rgb(0 0 0 / 0.35); font: 700 0.8rem/1 var(--display); }
.pin-icon.hike span { background: var(--leaf-deep); }
.hikes-map { height: min(68vh, 560px); min-height: 380px; }
.hikes-map-wrap .fine { margin-top: 0.6rem; color: var(--muted); }
.leaflet-popup-content .pop-title { display: block; font-family: var(--display); font-size: 1.02rem; color: var(--leaf-deep); margin-bottom: 0.3rem; }
.leaflet-popup-content p { margin: 0 0 0.45rem; }
.leaflet-popup-content .pop-drive { font-weight: 700; color: var(--river-deep); }
.leaflet-popup-content .pop-addr { color: var(--muted); font-size: 0.86rem; }
.drive { list-style: none; margin: 0 0 0.75rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.4rem 1.25rem; }
.drive li { padding-left: 1.4rem; position: relative; }
.drive li::before { content: ''; position: absolute; left: 0.2rem; top: 0.5em; width: 0.6rem; height: 0.6rem; border-radius: 50%; border: 2px solid var(--river); }
.drive b { color: var(--leaf-deep); }
.pin-icon span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--copper); border: 2px solid var(--white); box-shadow: 0 2px 8px rgb(0 0 0 / 0.3); color: var(--white); font: 700 0.8rem/1 var(--display); }
.pin-icon.small span { background: #d9462b; }
.pin-icon i { transform: rotate(45deg); font-style: normal; }
.landmark-label { background: rgb(255 255 255 / 0.92); border: 0; box-shadow: 0 1px 4px rgb(0 0 0 / 0.2); color: var(--river-deep); font: 700 0.78rem/1.2 var(--display); padding: 0.2rem 0.45rem; }
.landmark-label::before { display: none; }
.leaflet-popup-content { font-family: var(--text); font-size: 0.92rem; line-height: 1.4; }
.leaflet-popup-content a { color: var(--river); }
.leaflet-popup-content hr { border: 0; border-top: 1px solid var(--rule); margin: 0.5rem 0; }

/* ---------- Pin placing (preview only) ---------- */
.pins-layout { display: grid; grid-template-columns: minmax(16rem, 22rem) 1fr; gap: 1.5rem; align-items: start; }
.pins-map { height: 78vh; min-height: 480px; position: sticky; top: 1rem; }
.pins-list { list-style: none; margin: 0 0 1rem; padding: 0; max-height: 60vh; overflow: auto; border: 1.5px solid var(--rule); border-radius: var(--r-sm); background: var(--white); }
.pins-list li { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; padding: 0.35rem 0.6rem; border-bottom: 1px solid var(--rule); }
.pins-list li.on { background: var(--river-pale); }
.pins-list button { border: 0; background: none; text-align: left; color: var(--river); font: 700 0.92rem/1.3 var(--text); cursor: pointer; padding: 0.25rem 0; }
.pins-list .st { font-size: 0.78rem; color: var(--muted); white-space: nowrap; }
.pins-list .st.need { color: var(--copper-ink); font-weight: 700; }
@media (max-width: 800px) { .pins-layout { grid-template-columns: 1fr; } .pins-map { position: static; height: 60vh; } }

/* Anything marked hidden stays hidden, whatever its display rule says. */
[hidden] { display: none !important; }
.compare .remove { border: 0; background: none; padding: 0.3rem 0; color: var(--copper-ink); font: 700 0.9rem/1 var(--text); text-decoration: underline; cursor: pointer; }

/* Shortlist feature (home) and hints */
.sl-feature .inner { background: var(--river-pale); border-radius: 28px; padding: clamp(1.5rem, 4vw, 2.75rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 2rem 3.5rem; align-items: center; }
.sl-feature .intro { display: grid; gap: 1rem; }
.sl-feature .intro > p { color: var(--muted); font-size: 1.1rem; }
.sl-feature .intro > p.kicker { display: inline-flex; align-items: center; gap: 0.45rem; font: 700 0.95rem/1.2 var(--display); color: var(--river); text-transform: uppercase; letter-spacing: 0.06em; }
.sl-feature .kicker svg { width: 1.2rem; height: 1.2rem; fill: var(--river); }
.sl-feature .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.sl-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.sl-points li { background: var(--white); border-radius: var(--r); padding: 1.1rem 1.3rem; display: grid; gap: 0.3rem; }
.sl-points p { color: var(--muted); }
.sl-hint { display: flex; align-items: center; gap: 0.5rem; color: var(--muted); margin: 0 0 1.1rem; }
.sl-hint svg { width: 1.15rem; height: 1.15rem; flex: none; color: var(--river); }
p.fine.sl-hint { display: block; margin: 0.5rem 0 0; }
@media (max-width: 760px) { .sl-feature .inner { grid-template-columns: 1fr; } }
