:root {
  --ink: #1c1b19;
  --ink-soft: #5b5850;
  --paper: #faf8f4;
  --card: #ffffff;
  --line: #e6e1d8;
  --accent: #2f4a3a;      /* deep forest green — buttons & CTAs */
  --accent-ink: #ffffff;
  --gold: #b08d57;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; }
h2 { font-size: clamp(32px, 4vw, 48px); margin: 8px 0 16px; }
.lead { color: var(--ink-soft); font-size: 18px; max-width: 620px; }
section { padding: 96px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #23382c; }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-block { width: 100%; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.nav.solid, .nav.always-solid { background: rgba(250, 248, 244, .96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.nav:not(.solid):not(.always-solid) { color: #fff; }
.logo { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: .02em; }
.nav-links { display: flex; gap: 32px; align-items: center; font-size: 14px; font-weight: 500; }
.nav-links a:not(.btn):hover { opacity: .7; }
.nav .btn { padding: 10px 20px; }
.menu-btn { display: none; background: none; border: 0; color: inherit; font-size: 26px; cursor: pointer; }

/* Hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; color: #fff; padding: 130px 0 72px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: #3a3a33 center/cover no-repeat; transform: scale(1.04); animation: slowzoom 18s ease-out forwards; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.72) 100%); }
.hero .wrap { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero .wrap { position: relative; z-index: 1; width: 100%; }
.hero h1 { font-size: clamp(44px, 7vw, 92px); max-width: 900px; margin: 12px 0 18px; }
.hero p { font-size: 19px; max-width: 560px; opacity: .92; }
.hero .eyebrow { color: #e9d7b5; }
@keyframes slowzoom { to { transform: scale(1); } }

/* Hero buttons */
.hero-ctas { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-ctas .btn { padding: 16px 30px; }
.hero-ctas .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.hero-ctas .btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Trust strip */
.trust { background: var(--card); border-bottom: 1px solid var(--line); padding: 28px 0; }
.trust .wrap { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px; text-align: center; }
.trust strong { display: block; font-family: var(--serif); font-size: 34px; font-weight: 600; }
.trust small { color: var(--ink-soft); font-size: 13px; }

/* Property cards — "listing" style */
.listings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(30, 25, 15, .12); }
.card-img { position: relative; aspect-ratio: 4/3; background: #ddd center/cover; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-badges, .card-price { z-index: 1; }
.card-badge { position: absolute; top: 14px; left: 14px; background: #fff; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.card-price { position: absolute; bottom: 14px; right: 14px; background: rgba(28,27,25,.85); color: #fff; padding: 6px 14px; border-radius: 999px; font-size: 14px; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-loc { font-size: 13px; color: var(--ink-soft); display: flex; justify-content: space-between; }
.card h3 { font-size: 30px; margin: 6px 0 4px; }
.card-tag { color: var(--ink-soft); font-size: 15px; margin-bottom: 18px; }
.specs { display: flex; gap: 18px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: auto; font-size: 13px; color: var(--ink-soft); }
.specs b { color: var(--ink); font-size: 15px; display: block; }

/* Book direct */
.direct { background: var(--accent); color: #fff; }
.direct .lead { color: rgba(255,255,255,.8); }
.direct .eyebrow { color: #e9d7b5; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.perk { border-top: 1px solid rgba(255,255,255,.25); padding-top: 22px; }
.perk .num { font-family: var(--serif); font-size: 44px; color: #e9d7b5; line-height: 1; }
.perk h4 { font-size: 17px; margin: 12px 0 6px; }
.perk p { font-size: 14px; color: rgba(255,255,255,.75); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.review { background: var(--card); padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); }
.review-summary { margin-top: 14px; color: var(--ink-soft); font-size: 17px; }
.review-summary b { color: var(--ink); }

/* Scrolling reviews: the list is rendered twice and slid left by half its width, so it loops seamlessly */
.marquee { overflow: hidden; margin-top: 44px; padding: 4px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 24px; width: max-content; animation: marquee var(--marquee-time, 120s) linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee .review { width: 380px; flex: none; display: flex; flex-direction: column; }
.marquee .review blockquote { font-size: 20px; flex: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 12px)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
  .marquee .review[aria-hidden] { display: none; }
}
@media (max-width: 600px) { .marquee .review { width: 300px; padding: 24px; } }
.stars { color: var(--gold); letter-spacing: 3px; }
.review blockquote { font-family: var(--serif); font-size: 22px; line-height: 1.35; margin: 14px 0 20px; }
.review cite { font-style: normal; font-size: 14px; font-weight: 600; }
.review cite small { display: block; font-weight: 400; color: var(--ink-soft); }

/* Host */
.host { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.host-img { aspect-ratio: 4/5; border-radius: var(--radius); background: #cfc8bb center/cover; }
.host p { color: var(--ink-soft); margin-bottom: 16px; font-size: 17px; }
.signature { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--ink) !important; }

/* FAQ */
.faq { max-width: 820px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); margin-top: 12px; }

/* CTA + footer */
.cta { text-align: center; background: #efeae1; }
.cta .lead { margin: 0 auto 32px; }
footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 64px 0 32px; font-size: 14px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.foot h5 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.foot a { display: block; margin-bottom: 8px; }
.foot a:hover { color: #fff; }
.foot .logo { color: #fff; margin-bottom: 12px; }
.copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ===== Property page ===== */
.prop-head { padding: 116px 0 24px; }
.prop-head h1 { font-size: clamp(40px, 5vw, 64px); }
.prop-meta { display: flex; gap: 20px; flex-wrap: wrap; color: var(--ink-soft); font-size: 15px; margin-top: 10px; }
.prop-meta b { color: var(--ink); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 10px; border-radius: var(--radius); overflow: hidden; }
.gallery { position: relative; }
.gallery div { background: #ddd center/cover; cursor: pointer; transition: filter .2s; }
.show-all { position: absolute; right: 16px; bottom: 16px; background: #fff; border: 1px solid var(--ink); border-radius: 8px; padding: 8px 14px; font: 600 14px var(--sans); cursor: pointer; }
.book-min { font-size: 13px; color: var(--ink-soft); margin: -10px 0 16px; }
.lb-count { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; }
.gallery div:hover { filter: brightness(.9); }
.gallery div:first-child { grid-row: span 2; }
.prop-layout { display: grid; grid-template-columns: 1fr 400px; gap: 64px; padding: 48px 0 96px; align-items: start; }
.prop-section { padding: 36px 0; border-bottom: 1px solid var(--line); }
.prop-section:first-child { padding-top: 0; }
.prop-section h2 { font-size: 32px; margin-top: 0; }
.prop-section p { color: var(--ink-soft); font-size: 17px; }
.highlights { display: grid; gap: 22px; }
.highlights div b { display: block; font-size: 16px; }
.highlights div span { color: var(--ink-soft); font-size: 15px; }
.amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; margin-top: 8px; }
.amenities li { list-style: none; padding-left: 26px; position: relative; color: var(--ink); }
.amenities li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.map { aspect-ratio: 16/8; border-radius: var(--radius); background: #e4dfd5; display: grid; place-items: center; color: var(--ink-soft); margin-top: 12px; }

/* Booking widget */
.book { position: sticky; top: 100px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 20px 50px rgba(30, 25, 15, .08); }
.book-price { font-size: 15px; color: var(--ink-soft); }
.book-price b { font-family: var(--serif); font-size: 36px; color: var(--ink); font-weight: 600; }
.book-save { display: inline-block; background: #e8efe9; color: var(--accent); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin: 8px 0 18px; }
.book-fields { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 16px; }
.book-fields label { padding: 10px 14px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.book-fields label:first-child { border-right: 1px solid var(--line); }
.book-fields label.full { grid-column: span 2; border-top: 1px solid var(--line); border-right: 0; }
.book-fields label { min-width: 0; }
.book-fields input, .book-fields select { display: block; width: 100%; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 15px; text-transform: none; letter-spacing: 0; font-weight: 400; margin-top: 2px; background: transparent; }
.breakdown { margin-top: 18px; font-size: 15px; }
.breakdown div { display: flex; justify-content: space-between; padding: 6px 0; color: var(--ink-soft); }
.breakdown .total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; color: var(--ink); font-weight: 700; }
.breakdown .saving { color: var(--accent); font-weight: 600; }
.breakdown .conflict { color: #a3402c; font-weight: 600; display: block; }

/* Availability calendar (booked nights come from data/availability.json, synced from Airbnb) */
.prop-section { position: relative; }
.avail-note { font-size: 15px !important; margin-bottom: 18px; }
.avail-nav { position: absolute; top: 36px; right: 0; display: flex; gap: 8px; }
.avail-nav button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink); }
.avail-nav button:disabled { opacity: .35; cursor: default; }
.avail { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.cal h4 { font-size: 15px; margin-bottom: 10px; text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: 14px; }
.cal-grid .dow { font-size: 11px; color: var(--ink-soft); font-weight: 600; padding-bottom: 4px; }
.cal-grid button { aspect-ratio: 1; border: 0; border-radius: 8px; background: transparent; font: inherit; color: var(--ink); cursor: pointer; }
.cal-grid button:hover:not(:disabled) { background: var(--line); }
.cal-grid button:disabled { cursor: default; }
.cal-grid .past { color: #c4beb3; }
.cal-grid .booked { color: #aaa49a; text-decoration: line-through; background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(0,0,0,.05) 5px 7px); }
.cal-grid .pick { background: var(--accent) !important; color: var(--accent-ink); }
.avail-key { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--ink-soft); flex-wrap: wrap; }
.avail-key span { width: 14px; height: 14px; border-radius: 4px; display: inline-block; margin-left: 10px; }
.avail-key span:first-child { margin-left: 0; }
.k-open { border: 1px solid var(--line); background: var(--card); }
.k-booked { background: repeating-linear-gradient(135deg, #eee 0 3px, #d6d1c8 3px 5px); }
.k-pick { background: var(--accent); }
@media (max-width: 700px) { .avail { grid-template-columns: 1fr; } .avail .cal + .cal { display: none; } }
.book-note { text-align: center; font-size: 13px; color: var(--ink-soft); margin-top: 12px; }
.other { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 100; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 8px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 40px; cursor: pointer; padding: 20px; }
.lb-close { top: 10px; right: 20px; } .lb-prev { left: 10px; } .lb-next { right: 10px; }

/* Mobile sticky bar */
.mobile-bar { display: none; }

/* Responsive */
@media (max-width: 980px) {
  .listings, .reviews { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .host { grid-template-columns: 1fr; gap: 40px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .prop-layout { grid-template-columns: minmax(0, 1fr); }
  .book { position: static; }
}
@media (max-width: 700px) {
  section { padding: 64px 0; }
  .hero { min-height: auto; padding: 120px 0 48px; }
  .hero::after { background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.75) 100%); }
  .trust .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .trust strong { font-size: 26px; }
  .host-img { aspect-ratio: 4/3; }
  .hero .eyebrow { font-size: 11px; letter-spacing: .12em; }
  .wrap { padding: 0 16px; }
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--paper); color: var(--ink); flex-direction: column; padding: 24px; gap: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.1); }
  .nav-links.open { display: flex; }
  .menu-btn { display: block; }
  .perks, .other, .amenities { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 120px; }
  .gallery div:first-child { grid-column: span 2; grid-row: auto; }
  .gallery div:nth-child(n+4) { display: none; }
  .foot { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); padding: 12px 16px; justify-content: space-between; align-items: center; z-index: 40; }
  .mobile-bar b { font-family: var(--serif); font-size: 24px; }
  body.has-bar { padding-bottom: 76px; }
}

/* ===== Direct booking system: how-to-book, Airbnb links, book / login / account / host pages ===== */
.how { background: #efeae1; }
.how-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-top: 44px; }
.how-steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.how-steps .num { font-family: var(--serif); font-size: 40px; color: var(--gold); line-height: 1; }
.how-steps h4 { font-size: 17px; margin: 12px 0 6px; }
.how-steps p { font-size: 14px; color: var(--ink-soft); }
.how-foot { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.airbnb-link { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); border-bottom: 1px solid currentColor; line-height: 1.3; }
.airbnb-link:hover { opacity: .75; }
.review .airbnb-link { margin-top: 12px; align-self: flex-start; }
.airbnb-links { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
.prop-review-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; color: var(--ink-soft); margin-bottom: 22px; }
.prop-review-head b { color: var(--ink); }
.prop-reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.prop-reviews .review { padding: 24px; }
.prop-reviews .review blockquote { font-size: 19px; }

/* App pages */
.app-main { padding-top: 116px; padding-bottom: 96px; min-height: 70vh; }
.app-main h1 { font-size: clamp(36px, 5vw, 56px); margin: 6px 0 10px; }
.app-main .lead { margin-bottom: 28px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel + .panel { margin-top: 20px; }
.panel h2 { font-size: 30px; margin: 0 0 6px; }
.panel h3 { font-size: 24px; margin-bottom: 8px; }
.muted { color: var(--ink-soft); }
.small { font-size: 13px; }
.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.book-layout aside { position: sticky; top: 100px; }
.stay-card .stay-img { aspect-ratio: 16/10; border-radius: 10px; background: #ddd center/cover; margin-bottom: 16px; }
.stay-card h3 { font-size: 26px; margin: 0; }
.stay-card .dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 4px; font-size: 14px; }
.stay-card .dates b { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }

.steps { display: flex; gap: 6px; list-style: none; margin: 0 0 22px; flex-wrap: wrap; }
.steps li { font-size: 13px; font-weight: 600; color: var(--ink-soft); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
.steps li.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.steps li.done { color: var(--accent); border-color: #c6d6ca; background: #e8efe9; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 15px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field .hint { font-weight: 400; color: var(--ink-soft); font-size: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; align-items: center; }
.btn-light { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.error { color: #a3402c; font-weight: 600; font-size: 14px; }
.notice { background: #fbf3e2; border: 1px solid #ecd9ad; color: #6b5220; border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.notice.ok { background: #e8efe9; border-color: #c6d6ca; color: var(--accent); }

.review-list { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; font-size: 15px; margin-top: 14px; }
.review-list dt { color: var(--ink-soft); }
.review-list dd { overflow-wrap: anywhere; }

.agreement { white-space: pre-wrap; font-size: 14px; line-height: 1.6; max-height: 420px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; background: #fdfcf9; margin-top: 14px; }
.agreement.full { max-height: none; }
.draft-flag { display: inline-block; background: #fbf3e2; color: #8a5a12; border: 1px solid #ecd9ad; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 4px 10px; }
.sig-name { font-family: var(--serif) !important; font-style: italic; font-size: 24px !important; }

.paywall { border: 2px dashed var(--gold); border-radius: var(--radius); padding: 22px; background: repeating-linear-gradient(135deg, #fffdf8 0 14px, #fbf6ea 14px 28px); position: relative; margin-top: 18px; }
.paywall .tag { position: absolute; top: -12px; left: 18px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 3px 10px; }
.pay-options { display: grid; gap: 14px; margin-top: 16px; }
.pay-option { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fff; }
.pay-option h4 { font-size: 16px; margin-bottom: 4px; }
.pay-option .actions { margin-top: 12px; }

.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #eee9df; color: var(--ink-soft); white-space: nowrap; }
.badge.ok { background: #e8efe9; color: var(--accent); }
.badge.warn { background: #fbf3e2; color: #8a5a12; }
.badge.bad { background: #f6e4df; color: #a3402c; }

.trip { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; }
.trip-img { border-radius: 10px; background: #ddd center/cover; aspect-ratio: 4/3; align-self: start; }
.trip-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.trip-badges { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 12px; }
.trip details { border-top: 1px solid var(--line); padding: 12px 0 0; margin-top: 12px; }
.trip summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.checkin-box { margin-top: 12px; border-radius: 10px; padding: 16px 18px; background: #f6f3ec; }
.checkin-box.locked { color: var(--ink-soft); }
.checkin-box dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: 15px; }
.checkin-box dt { color: var(--ink-soft); }
.checkin-box dd { white-space: pre-wrap; overflow-wrap: anywhere; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs button { font: 600 14px var(--sans); padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); }
.tabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.host-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.host-table th { text-align: left; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.host-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.host-table td .actions { margin-top: 0; gap: 6px; }
.host-table .who b { display: block; }
.paid-form { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.paid-form input, .paid-form select { font: inherit; font-size: 13px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; max-width: 130px; }
.stat-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.stat-row div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; font-size: 13px; color: var(--ink-soft); }
.stat-row b { display: block; font-family: var(--serif); font-size: 28px; color: var(--ink); line-height: 1.1; }

.auth-wrap { max-width: 460px; margin: 0 auto; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 18px; }
.auth-tabs button { font: 600 15px var(--sans); padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); }
.auth-tabs button.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.demo-hosts { display: grid; gap: 8px; margin-top: 12px; }

.demo-banner { background: #2b2a26; color: #f3ead8; font-size: 13px; text-align: center; padding: 7px 16px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; }
.demo-banner button { margin-left: 8px; background: transparent; color: inherit; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 2px 10px; font: inherit; cursor: pointer; }
body.has-demo-banner { padding-bottom: 56px; }

dialog.sheet { border: 0; border-radius: var(--radius); padding: 0; max-width: 760px; width: calc(100% - 32px); margin: auto; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
dialog.sheet::backdrop { background: rgba(20,18,14,.55); }
dialog.sheet .sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
dialog.sheet .sheet-body { padding: 18px 22px 24px; }
dialog.sheet .sheet-head button { background: none; border: 0; font-size: 28px; cursor: pointer; line-height: 1; }

@media (max-width: 1100px) { .how-steps { grid-template-columns: repeat(3, 1fr); } .nav-links { gap: 22px; } }
@media (max-width: 980px) {
  .book-layout { grid-template-columns: minmax(0, 1fr); }
  .book-layout aside { position: static; order: -1; }
  .host-table thead { display: none; }
  .host-table, .host-table tbody, .host-table tr, .host-table td { display: block; width: 100%; }
  .host-table tr { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; background: #fff; padding: 6px 4px; }
  .host-table td { border: 0; padding: 8px 12px; }
  .host-table td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
}
@media (max-width: 700px) {
  .how-steps, .prop-reviews { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .trip { grid-template-columns: 1fr; }
  .trip-img { aspect-ratio: 16/9; }
  .panel { padding: 20px; }
  .app-main { padding-top: 100px; }
  .review-list, .checkin-box dl { grid-template-columns: 1fr; gap: 2px; }
  .review-list dd, .checkin-box dd { margin-bottom: 8px; }
  .stay-card .stay-img { display: none; }
}
#flow { scroll-margin-top: 96px; }

/* Neighborhood guide (homepage) and per-home "good to know" sections */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.area { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.area h3 { font-size: 30px; margin-bottom: 6px; }
.area p { color: var(--ink-soft); margin-bottom: 14px; }
.area ul { color: var(--ink-soft); padding-left: 18px; font-size: 15px; }
.area a { color: var(--accent); font-weight: 600; }
.prop-section .faq { margin: 8px 0 0; }
.prop-section .license { font-size: 14px; color: var(--ink-soft); margin-top: 12px; }
@media (max-width: 700px) { .areas { grid-template-columns: 1fr; } .area { padding: 24px; } }

/* Showcase mode: direct booking closed (SITE_CONFIG.BOOKING_OPEN = false) */
.booking-closed { margin-top: 14px; font-size: 14px; line-height: 1.5; }
.booking-closed .actions { margin-top: 10px; flex-wrap: wrap; }
/* Link back to themitchwalker.com/stays (footer on every page, hosts section on the homepage) */
.copy a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.copy a:hover { color: #fff; }
.host .host-link a { color: var(--accent); font-weight: 600; }
/* "What guests say most": review themes and Airbnb rankings (homepage) */
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.theme { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.theme-lead { grid-column: span 3; background: var(--accent); border-color: var(--accent); color: #fff; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px 28px; }
.theme-lead .theme-count, .theme-lead h3 { grid-column: 1 / -1; }
.theme-count { font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }
.theme-count b { color: var(--gold); font-size: 15px; }
.theme h3 { font-size: 28px; margin: 6px 0 12px; }
.theme blockquote { font-family: var(--serif); font-size: 20px; line-height: 1.35; }
.theme cite { display: block; font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.theme-lead .theme-count, .theme-lead cite { color: rgba(255,255,255,.75); }
.theme-lead h3 { font-size: 36px; color: #fff; }
.themes-also { color: var(--ink-soft); font-size: 15px; margin-top: 20px; }
.ranks-title { font-size: 30px; margin: 56px 0 16px; }
.ranks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rank { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: border-color .2s; }
.rank:hover { border-color: var(--gold); }
.rank-badge { display: inline-block; background: var(--gold); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.rank b { display: block; font-size: 16px; }
.rank small { display: block; color: var(--ink-soft); font-size: 13px; margin-top: 4px; }
.rank-help { margin-top: 16px; max-width: 820px; color: var(--ink-soft); font-size: 15px; }
.rank-help summary { cursor: pointer; font-weight: 600; color: var(--accent); }
.rank-help p { margin-top: 10px; }
.card-rank { font-size: 13px; font-weight: 600; color: var(--gold); margin: -2px 0 6px; }
.rank-link { color: var(--accent); font-weight: 600; }
@media (max-width: 900px) { .themes { grid-template-columns: 1fr 1fr; } .theme-lead { grid-column: span 2; grid-template-columns: 1fr; } .ranks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .themes, .ranks { grid-template-columns: 1fr; } .theme-lead { grid-column: auto; } .theme-lead h3 { font-size: 30px; } }

/* Rotating card badge (startBadges in app.js): one chip at a time, fading in. */
.card-badges { position: absolute; top: 14px; left: 14px; right: 14px; height: 28px; pointer-events: none; }
.card-badges .card-badge { top: 0; left: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 2px 8px rgba(0,0,0,.18);
  opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s; }
.card-badges .card-badge.on { opacity: 1; transform: none; }
.rank-chip { background: var(--gold) !important; color: #fff; }
@media (prefers-reduced-motion: reduce) { .card-badges .card-badge { transition: none; } }
/* Badge chips under the home's name on its page */
.prop-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; }
.chip.rank-chip { border-color: var(--gold); }

/* Homepage hero slideshow (startHeroSlides in app.js): crossfade with a slow zoom on the photo showing. */
.hero-slides { position: absolute; inset: 0; background: #3a3a33; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.on { opacity: 1; animation: kenburns 7s ease-out both; }
.hero.paused .hero-slide.on { animation-play-state: paused; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-controls { position: absolute; right: 20px; bottom: 20px; z-index: 2; display: flex; gap: 8px; align-items: center; }
.hero-label, .hero-pause { background: rgba(0,0,0,.45); color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-size: 12px; font-weight: 600; padding: 6px 12px; backdrop-filter: blur(4px); }
.hero-pause { cursor: pointer; font-family: var(--sans); line-height: 1; min-width: 32px; }
.hero-label:hover, .hero-pause:hover { background: rgba(0,0,0,.65); }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } .hero-slide.on { animation: none; } }
@media (max-width: 700px) { .hero-controls { right: 12px; bottom: 12px; } }

/* "Verified on Airbnb" links on each home page (verifyHTML in app.js) */
.verify a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 14px; color: var(--ink); text-decoration: none; }
.verify a:hover { border-color: #ff385c; }
.verify b { color: var(--ink); }
.verify-cta { color: #e31c5f; font-weight: 600; }
.verify-box a { display: flex; margin: 10px 0 4px; font-size: 13px; padding: 9px 12px; }
.trust-row { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-soft); text-align: center; }

/* Clickable features on a home's page (featHTML in app.js): open a photo or a map. */
.feat { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline dotted var(--gold); text-underline-offset: 4px; text-decoration-thickness: 1.5px; display: inline-flex; align-items: center; gap: 6px; text-align: left; }
.feat:hover { color: var(--accent); text-decoration-style: solid; }
.feat:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.feat-ico { width: 15px; height: 15px; flex: none; color: var(--gold); }
.chip.feat { text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; }
.chip.feat:hover { border-color: var(--gold); }

/* Logo (images/brand/logo.svg, built by scripts/build-logo.py). The green sign reads on the photo and the solid bar. */
.logo img { display: block; height: 88px; width: auto; }
.foot .logo img { height: 88px; }
@media (max-width: 700px) { .nav .wrap { height: 76px; } .nav .logo img { height: 68px; } }

/* Phone-only "Book direct" pill that fills the top bar between the logo and the menu button. */
.nav-cta-m { display: none; }
@media (max-width: 700px) {
  .nav-cta-m { display: inline-flex; align-items: center; margin-left: auto; margin-right: 14px; padding: 9px 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
  .nav-cta-m:active { opacity: .85; }
}
@media (max-width: 340px) { .nav-cta-m { font-size: 12px; padding: 8px 10px; margin-right: 8px; } }

/* "Where you'll be": neighborhood line and approximate-area map (drawAreaMap in app.js) */
.where-line { font-size: 17px; margin-bottom: 14px; }
.area-map { height: 300px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-bottom: 18px; background: #e8e4da; z-index: 0; position: relative; }
@media (max-width: 700px) { .area-map { height: 240px; } }

/* Photo lightbox: big round arrows, swipe on phones (app.js renderProperty). */
.lightbox { touch-action: none; user-select: none; }
.lightbox img { user-select: none; -webkit-user-drag: none; }
.lightbox .lb-prev, .lightbox .lb-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; padding: 0; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 4px 16px rgba(0,0,0,.35); display: grid; place-items: center; transition: transform .15s, background .15s; z-index: 2; }
.lightbox .lb-prev { left: 20px; } .lightbox .lb-next { right: 20px; }
.lightbox .lb-prev svg, .lightbox .lb-next svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.lightbox .lb-prev:hover, .lightbox .lb-next:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.lightbox .lb-prev:active, .lightbox .lb-next:active { transform: translateY(-50%) scale(.95); }
.lightbox .lb-close { top: 16px; right: 16px; width: 48px; height: 48px; padding: 0; border-radius: 50%; background: rgba(255,255,255,.16); font-size: 34px; line-height: 1; display: grid; place-items: center; z-index: 2; }
.lightbox .lb-close:hover { background: rgba(255,255,255,.3); }
.lightbox button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.lb-count { top: 26px; font-size: 15px; font-weight: 700; background: rgba(0,0,0,.5); padding: 5px 14px; border-radius: 999px; letter-spacing: .04em; }
html.lb-locked { overflow: hidden; }
.gallery-dots { display: none; }
@media (max-width: 700px) {
  .lightbox .lb-prev, .lightbox .lb-next { width: 44px; height: 44px; }
  .lightbox .lb-prev { left: 10px; } .lightbox .lb-next { right: 10px; }
  .lightbox img { max-width: 100vw; border-radius: 0; }
  /* The gallery becomes a swipeable strip with dots. */
  .gallery { display: flex; grid-template-rows: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery div, .gallery div:first-child, .gallery div:nth-child(n+4) { display: block; flex: 0 0 100%; height: 260px; scroll-snap-align: center; }
  .gallery .show-all { display: none; }
  .gallery-dots { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
  .gallery-dots .dots { display: flex; gap: 6px; }
  .gallery-dots .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background .2s, transform .2s; }
  .gallery-dots .dot.on { background: var(--accent); transform: scale(1.25); }
  .dots-all { font: inherit; font-size: 13px; font-weight: 600; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; color: var(--ink); }
}

/* Contact page */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-aside a { color: var(--accent); font-weight: 600; word-break: break-word; }
.contact-airbnb { list-style: none; margin: 8px 0 0; padding: 0; font-size: 14px; }
.contact-airbnb li + li { margin-top: 6px; }
.msg-body { white-space: pre-wrap; max-width: 520px; }
@media (max-width: 980px) { .book-layout.contact-layout aside { order: 0; } }
/* Nav with the Contact link: keep labels on one line just above the menu-button breakpoint. */
.nav-links a { white-space: nowrap; }
@media (max-width: 1060px) and (min-width: 981px) { .nav-links { gap: 16px; } }

/* Verified direct-stay reviews */
.verified-badge { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--accent); background: #e8efe9; border-radius: 999px; padding: 3px 10px; }
.direct-review blockquote { margin-top: 12px; }
.host-reply { margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--line); background: #f6f3ec; border-radius: 0 10px 10px 0; font-size: 14px; }
.host-reply p { margin-top: 4px; color: var(--ink-soft); }
.review-prompt { border-color: var(--accent); background: #f3f7f3; }
.review-prompt + .panel { margin-top: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.star-input { border: 0; padding: 0; margin: 16px 0 0; display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.star-input legend { font-size: 13px; font-weight: 600; padding: 0; margin-bottom: 4px; width: 100%; }
.star-input label { cursor: pointer; font-size: 24px; line-height: 1; color: #d6cfc0; padding: 2px; }
.star-input.big label { font-size: 34px; }
.star-input label.on { color: var(--gold); }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label:focus-within { outline: 2px solid var(--accent); border-radius: 4px; }
.star-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0 18px; }
