/* ============================================================
   Nesconset 1BR — boutique private-listing styles
   Design language: warm editorial / residential (not Zillow blue)
   Headings: Fraunces  •  Body & data: Inter
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --pine:        #1f4638;
  --pine-600:    #2a5747;
  --pine-700:    #163228;
  --brass:       #b5843c;
  --brass-600:   #9d6f2e;
  --pine-tint:   #e8efe9;
  --brass-tint:  #f5ead2;

  /* Neutrals */
  --ink:         #1d1b16;
  --ink-soft:    #4f4b41;
  --muted:       #857f72;
  --paper:       #f7f4ee;
  --surface:     #ffffff;
  --surface-2:   #fbf9f4;
  --line:        #e9e3d7;
  --line-strong: #d8d0c0;

  /* Feedback */
  --danger:      #b23b3b;
  --danger-tint: #f7e6e4;
  --ok:          #2f6b4f;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(29,27,22,.06), 0 1px 3px rgba(29,27,22,.05);
  --sh-md: 0 6px 20px rgba(29,27,22,.08);
  --sh-lg: 0 18px 44px rgba(29,27,22,.14);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --nav-h: 68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }

/* Tabular numerals for data/prices */
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: 12px; top: -60px;
  background: var(--pine); color: #fff; padding: 10px 16px;
  border-radius: var(--r-sm); z-index: 200; transition: top .18s ease;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,244,238,.86);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--pine); color: var(--brass-tint);
  display: grid; place-items: center; flex: none;
  box-shadow: var(--sh-sm);
}
.brand__mark svg { width: 22px; height: 22px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; color: var(--ink); }
.brand__sub { font-size: .74rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__contact { display: flex; align-items: center; gap: 7px; text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: .92rem; }
.nav__contact svg { width: 17px; height: 17px; color: var(--pine); }
.nav__contact:hover { color: var(--pine); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-weight: 600; font-size: .95rem; line-height: 1;
  padding: 13px 22px; text-decoration: none;
  transition: transform .12s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
  min-height: 46px;
}
.btn svg { width: 18px; height: 18px; }
.btn { white-space: nowrap; }
.btn--primary { background: var(--pine); color: #fff; box-shadow: var(--sh-sm); }
.btn--primary:hover { background: var(--pine-700); box-shadow: var(--sh-md); }
.btn--primary:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--pine); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface); border-color: var(--pine); }
.btn--brass { background: var(--brass); color: #fff; }
.btn--brass:hover { background: var(--brass-600); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 26px; font-size: 1rem; min-height: 54px; }

/* ============================================================
   Gallery
   ============================================================ */
.gallery { padding-top: 22px; }
.gallery__grid {
  display: grid; gap: 8px;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 20 / 9; max-height: 560px;
}
.gtile { position: relative; overflow: hidden; background: var(--surface-2); border: none; padding: 0; }
.gtile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gtile:hover img { transform: scale(1.045); }
.gtile--main { grid-row: 1 / span 2; }
.gtile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,20,16,0) 60%, rgba(20,20,16,.16));
  opacity: 0; transition: opacity .2s ease;
}
.gtile:hover::after { opacity: 1; }
.gallery__more {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  background: rgba(255,255,255,.94); color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 10px 16px; border-radius: var(--r-pill);
  font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: var(--sh-sm);
}
.gallery__more:hover { background: #fff; }
.gallery__more svg { width: 16px; height: 16px; }

/* ============================================================
   Summary / action bar
   ============================================================ */
.summary { padding: 26px 0 8px; }
.summary__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.summary__price { display: flex; align-items: baseline; gap: 8px; }
.summary__price .amt { font-family: var(--font-display); font-weight: 600; font-size: 2.5rem; letter-spacing: -.02em; color: var(--ink); }
.summary__price .per { color: var(--muted); font-weight: 500; }
.summary__from { display: inline-block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brass-600); font-weight: 700; margin-bottom: 2px; }
.summary__title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -.01em; color: var(--ink); margin-top: 10px; line-height: 1.15; max-width: 22ch; }
.summary__addr { margin-top: 8px; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; font-size: 1.02rem; }
.summary__addr svg { width: 18px; height: 18px; color: var(--pine); flex: none; }
.summary__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.facts-bar {
  margin-top: 20px; display: flex; flex-wrap: wrap; gap: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--sh-sm); overflow: hidden;
}
.fact {
  flex: 1 1 0; min-width: 130px; padding: 16px 20px;
  display: flex; align-items: center; gap: 13px;
  border-right: 1px solid var(--line);
}
.fact:last-child { border-right: none; }
.fact__icon { width: 40px; height: 40px; border-radius: 11px; background: var(--pine-tint); color: var(--pine); display: grid; place-items: center; flex: none; }
.fact__icon svg { width: 21px; height: 21px; }
.fact__v { font-weight: 700; font-size: 1.06rem; color: var(--ink); line-height: 1.1; }
.fact__l { font-size: .82rem; color: var(--muted); }

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--pine-tint); color: var(--pine-700);
  padding: 6px 13px; border-radius: var(--r-pill);
  font-weight: 600; font-size: .82rem;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(47,107,79,.18); }

/* ============================================================
   Body layout
   ============================================================ */
.layout {
  display: grid; grid-template-columns: minmax(0,1fr) 380px;
  gap: 40px; padding: 40px 0 72px; align-items: start;
}
.content > section { scroll-margin-top: calc(var(--nav-h) + 16px); }
.content > section + section { margin-top: 44px; }

.section-title { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; letter-spacing: -.01em; color: var(--ink); }
.section-title + .section-lead { margin-top: 8px; color: var(--ink-soft); }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-600); margin-bottom: 10px; }

.prose p { color: var(--ink-soft); font-size: 1.06rem; max-width: 66ch; }
.prose p + p { margin-top: 14px; }

/* Highlights row */
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.highlight {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px; box-shadow: var(--sh-sm);
}
.highlight__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--brass-tint); color: var(--brass-600); display: grid; place-items: center; margin-bottom: 12px; }
.highlight__icon svg { width: 22px; height: 22px; }
.highlight h3 { font-size: 1rem; font-weight: 700; color: var(--ink); }
.highlight p { font-size: .9rem; color: var(--muted); margin-top: 3px; }

/* Facts & features grid */
.ff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin-top: 22px; }
.ff-item { background: var(--surface); padding: 16px 18px; display: flex; gap: 13px; align-items: flex-start; }
.ff-item svg { width: 20px; height: 20px; color: var(--pine); flex: none; margin-top: 2px; }
.ff-item .k { font-size: .82rem; color: var(--muted); }
.ff-item .v { font-weight: 650; font-weight: 600; color: var(--ink); }

/* Included utilities strip */
.util-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.util-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--pine-tint); color: var(--pine-700);
  border-radius: var(--r-pill); padding: 10px 16px; font-weight: 600; font-size: .92rem;
}
.util-chip svg { width: 18px; height: 18px; }

/* Pricing tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.tier {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px 22px; box-shadow: var(--sh-sm);
  display: flex; flex-direction: column;
}
.tier--featured { border-color: var(--pine); box-shadow: var(--sh-md); }
.tier__flag {
  position: absolute; top: -12px; left: 22px;
  background: var(--pine); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--r-pill);
}
.tier__name { font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.tier__price { font-family: var(--font-display); font-weight: 600; font-size: 2.1rem; color: var(--ink); margin: 10px 0 2px; letter-spacing: -.02em; }
.tier__price span { font-family: var(--font-body); font-size: .95rem; font-weight: 500; color: var(--muted); }
.tier__list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.tier__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--ink-soft); }
.tier__list svg { width: 18px; height: 18px; color: var(--pine); flex: none; margin-top: 1px; }
.tier__note { font-size: .82rem; color: var(--muted); margin-top: 14px; }

.callout {
  margin-top: 22px; background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--brass); border-radius: var(--r-md);
  padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start;
  box-shadow: var(--sh-sm);
}
.callout svg { width: 24px; height: 24px; color: var(--brass-600); flex: none; }
.callout h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.callout p { color: var(--ink-soft); font-size: .96rem; margin-top: 4px; }
.callout .big { font-family: var(--font-display); font-weight: 600; color: var(--ink); }

/* Kitchen feature */
.kitchen-card {
  margin-top: 22px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm);
}
.kitchen-card__body { padding: 24px; }
.kitchen-card__body h3 { font-weight: 700; color: var(--ink); font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.kitchen-card__body h3 svg { width: 22px; height: 22px; color: var(--pine); }
.kitchen-card__body p { color: var(--ink-soft); margin-top: 8px; font-size: .98rem; }
.func-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.func { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 7px 14px; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.kitchen-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); margin-top: 22px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.kitchen-split > div { background: var(--surface); padding: 18px 20px; }
.kitchen-split h4 { font-weight: 700; color: var(--ink); font-size: .98rem; display: flex; align-items: center; gap: 8px; }
.kitchen-split h4 svg { width: 18px; height: 18px; color: var(--brass-600); }
.kitchen-split p { color: var(--ink-soft); font-size: .9rem; margin-top: 6px; }

/* Good to know */
.gtk-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 22px; }
.gtk {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px 20px; box-shadow: var(--sh-sm);
}
.gtk h4 { font-weight: 700; color: var(--ink); font-size: .98rem; display: flex; gap: 9px; align-items: center; }
.gtk h4 svg { width: 19px; height: 19px; color: var(--pine); flex: none; }
.gtk p { color: var(--ink-soft); font-size: .92rem; margin-top: 7px; }

/* Location */
.map-embed { margin-top: 22px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }
.loc-notes { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 16px; }
.loc-note { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--sh-sm); }
.loc-note svg { width: 20px; height: 20px; color: var(--brass-600); }
.loc-note h4 { font-weight: 700; font-size: .95rem; color: var(--ink); margin-top: 8px; }
.loc-note p { color: var(--muted); font-size: .86rem; margin-top: 3px; }

/* Lease/deposit terms */
.terms-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.terms-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); font-size: .96rem; }
.terms-list svg { width: 20px; height: 20px; color: var(--pine); flex: none; margin-top: 2px; }

/* ============================================================
   Tour request card (sticky)
   ============================================================ */
.aside { position: sticky; top: calc(var(--nav-h) + 20px); }
.tour-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-md); overflow: hidden;
}
.tour-card__head { background: var(--pine); color: #fff; padding: 22px 24px; }
.tour-card__head h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; }
.tour-card__head p { color: rgba(255,255,255,.82); font-size: .92rem; margin-top: 4px; }
.tour-card__price { display: flex; align-items: baseline; gap: 6px; margin-top: 14px; }
.tour-card__price .a { font-size: 1.5rem; font-weight: 700; font-family: var(--font-display); }
.tour-card__price .b { color: rgba(255,255,255,.75); font-size: .9rem; }
.tour-form { padding: 22px 24px 26px; }

.field { margin-bottom: 15px; }
.field > label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 6px; }
.field .req { color: var(--danger); }
.field .opt { color: var(--muted); font-weight: 500; font-size: .8rem; }
.control {
  width: 100%; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  padding: 12px 13px; font-size: .95rem; font-family: inherit; color: var(--ink);
  background: var(--surface-2); transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  min-height: 46px;
}
.control:hover { border-color: var(--muted); }
.control:focus { outline: none; border-color: var(--pine); background: #fff; box-shadow: 0 0 0 3px var(--pine-tint); }
select.control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23857f72' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 38px; }
textarea.control { resize: vertical; min-height: 74px; line-height: 1.5; }
.control--error { border-color: var(--danger); background: var(--danger-tint); }
.field__error { display: none; color: var(--danger); font-size: .8rem; margin-top: 5px; font-weight: 500; }
.field__error.show { display: block; }
.field__hint { color: var(--muted); font-size: .8rem; margin-top: 5px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pet-extra { display: none; }
.pet-extra.show { display: block; animation: slidedown .22s ease; }
@keyframes slidedown { from { opacity: 0; transform: translateY(-4px);} to {opacity:1; transform:none;} }

.form-note { font-size: .8rem; color: var(--muted); margin-top: 14px; display: flex; gap: 8px; align-items: flex-start; }
.form-note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--pine); }

.error-summary {
  display: none; background: var(--danger-tint); border: 1px solid var(--danger);
  border-radius: var(--r-sm); padding: 14px 16px; margin-bottom: 16px;
}
.error-summary.show { display: block; }
.error-summary h3 { color: var(--danger); font-size: .92rem; font-weight: 700; margin-bottom: 6px; }
.error-summary ul { margin: 0; padding-left: 18px; }
.error-summary a { color: var(--danger); font-size: .86rem; }

/* Success state */
.tour-success { display: none; padding: 34px 24px; text-align: center; }
.tour-success.show { display: block; }
.tour-success__icon { width: 62px; height: 62px; border-radius: 50%; background: var(--pine-tint); color: var(--pine); display: grid; place-items: center; margin: 0 auto 16px; }
.tour-success__icon svg { width: 32px; height: 32px; }
.tour-success h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--ink); }
.tour-success p { color: var(--ink-soft); margin-top: 8px; font-size: .95rem; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--pine-700); color: rgba(255,255,255,.82); padding: 48px 0 30px; margin-top: 20px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer .brand__name, .footer .footer__h { color: #fff; }
.footer__h { font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; color: rgba(255,255,255,.6); }
.footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__links { list-style: none; padding: 0; display: grid; gap: 9px; font-size: .92rem; }
.footer__contact { display: grid; gap: 9px; font-size: .92rem; }
.footer__contact a { display: flex; align-items: center; gap: 9px; }
.footer__contact svg { width: 16px; height: 16px; color: var(--brass); }
.footer__mark { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer__mark .brand__mark { background: rgba(255,255,255,.1); color: var(--brass-tint); }
.footer p.small { font-size: .86rem; color: rgba(255,255,255,.62); max-width: 42ch; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 34px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .8rem; color: rgba(255,255,255,.55); }

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(18,17,13,.94); display: none; flex-direction: column; }
.lightbox.show { display: flex; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; color: #fff; flex: none; }
.lightbox__count { font-weight: 600; font-variant-numeric: tabular-nums; }
.lightbox__close { background: rgba(255,255,255,.12); border: none; color: #fff; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.lightbox__close:hover { background: rgba(255,255,255,.24); }
.lightbox__close svg { width: 22px; height: 22px; }
.lightbox__stage { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; padding: 0 16px 12px; min-height: 0; }
.lightbox__img { max-width: min(1100px, 92vw); max-height: 100%; object-fit: contain; border-radius: var(--r-md); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.14); border: none; color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; }
.lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__nav svg { width: 26px; height: 26px; }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox__caption { text-align: center; color: rgba(255,255,255,.8); padding: 6px 0 14px; font-size: .92rem; flex: none; }
.lightbox__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 22px 20px; flex: none; scrollbar-width: thin; }
.lightbox__thumb { flex: none; width: 92px; height: 62px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; opacity: .55; padding: 0; background: none; transition: opacity .15s ease, border-color .15s ease; }
.lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__thumb.active { opacity: 1; border-color: var(--brass); }
.lightbox__thumb:hover { opacity: .85; }

/* ============================================================
   Toast
   ============================================================ */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 13px 20px; border-radius: var(--r-pill);
  box-shadow: var(--sh-lg); font-size: .92rem; font-weight: 500; z-index: 400;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
  display: flex; align-items: center; gap: 10px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast svg { width: 18px; height: 18px; color: var(--brass); }

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
/* Hidden state only applies once JS confirms it can reveal them again,
   so the page stays fully visible if JS fails to load. */
.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-reveal .reveal { opacity: 1; transform: none; } }

/* ============================================================
   Mobile tour bar
   ============================================================ */
.mobilebar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  align-items: center; justify-content: space-between; gap: 14px; box-shadow: 0 -4px 20px rgba(29,27,22,.08);
}
.mobilebar__price { font-weight: 700; }
.mobilebar__price span { color: var(--muted); font-weight: 500; font-size: .85rem; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; gap: 0; padding-bottom: 40px; }
  .aside { position: static; margin-top: 44px; }
  .highlights { grid-template-columns: repeat(2,1fr); }
  .tiers { grid-template-columns: 1fr; }
  .loc-notes { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --nav-h: 60px; }
  .nav__inner { gap: 8px; }
  .brand { gap: 9px; }
  .brand__mark { width: 34px; height: 34px; border-radius: 9px; }
  .brand__mark svg { width: 19px; height: 19px; }
  .brand__name { font-size: .98rem; white-space: nowrap; }
  .brand__sub { font-size: .62rem; white-space: nowrap; }
  .nav__actions { gap: 8px; }
  .nav .btn--primary { padding: 10px 15px; font-size: .88rem; min-height: 40px; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr 1fr; aspect-ratio: 4/3; }
  .gtile--main { grid-column: 1 / span 2; grid-row: 1; }
  .gtile:nth-child(n+4) { display: none; }
  .summary__price .amt { font-size: 2rem; }
  .facts-bar { flex-direction: column; }
  .fact { border-right: none; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: none; }
  .ff-grid, .gtk-list, .kitchen-split { grid-template-columns: 1fr; }
  .summary__actions .btn span.hide-sm { display: none; }
  .mobilebar { display: flex; }
  body { padding-bottom: 78px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .nav__contact--email .label { display: none; }
  .summary__title { font-size: 1.25rem; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .highlights { grid-template-columns: 1fr; }
  .summary__price .amt { font-size: 1.8rem; }
}
