:root {
  --charcoal: #14171b;
  --charcoal-2: #1c2025;
  --cream: #f7f3ec;
  --cream-2: #efe8da;
  --ink: #1b1e22;
  --ink-soft: #5c6167;
  --gold: #b6905b;
  --gold-light: #d9bd8d;
  --line-dark: rgba(247, 243, 236, 0.22);
  --line-light: rgba(27, 30, 34, 0.15);
  --shadow: 0 20px 50px rgba(20, 23, 27, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 18px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h2.light { color: var(--cream); }

p { margin: 0 0 16px; color: var(--ink-soft); }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}
.kicker.center { text-align: center; }
.kicker-light { color: var(--gold-light); }
h2.center { text-align: center; max-width: 620px; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn-solid {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn-solid:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-line:hover { background: var(--ink); color: var(--cream); }
.btn-line-light {
  color: var(--cream);
  border-color: rgba(247,243,236,0.55);
}
.btn-line-light:hover { background: var(--cream); color: var(--charcoal); border-color: var(--cream); }
.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled,
.no-hero .site-header {
  background: rgba(20, 23, 27, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.no-hero .header-inner { height: 76px; }
/* pages without a photo hero (Listings, Contact) — clear the fixed header,
   plus a touch more room since there's no hero to visually separate content.
   Compound selector so it reliably beats .section's shorthand padding
   regardless of source order. */
.section.page-top { padding-top: 156px; }
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 88px;
  transition: height 0.3s ease;
}
.site-header.scrolled .header-inner { height: 76px; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.brand-logo {
  height: 48px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}
.site-header.scrolled .brand-logo { height: 40px; }
.nav {
  display: flex;
  gap: 34px;
}
.nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.85;
}
.nav a:hover { opacity: 1; color: var(--gold-light); }
.header-cta {
  color: var(--cream);
  border-color: rgba(247,243,236,0.4);
  padding: 11px 22px;
  white-space: nowrap;
}
.header-cta:hover { background: var(--cream); color: var(--charcoal); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 1px;
  background: var(--cream);
  display: block;
}

/* Hero */
.hero {
  /* min-height (not a hard height/max-height) so the hero grows to fit its
     own content — a fixed cap + overflow:hidden here was clipping the CTA
     row whenever the title/subtitle needed more room than 640px allowed. */
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 0 0 64px;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden; /* contains the Ken Burns scale-up, not the foreground text */
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,23,27,0.55) 0%, rgba(20,23,27,0.45) 40%, rgba(20,23,27,0.88) 100%),
    linear-gradient(90deg, rgba(20,23,27,0.35), rgba(20,23,27,0.35));
}
.hero-inner {
  position: relative;
  text-align: center;
  padding-top: 88px;
}
.eyebrow-light {
  color: var(--gold-light);
  text-align: center;
}
.hero-title {
  color: var(--cream);
  font-size: clamp(3.4rem, 9vw, 6.5rem);
  font-weight: 500;
  /* Fraunces' actual glyph height (ascent+descent) exceeds the generic h1
     line-height of 1.1 — measured ~1.23x font-size, so 1.1 clips descenders
     ("g", "p") against the next line. 1.35 gives real headroom. */
  line-height: 1.35;
  margin-bottom: 6px;
}
.hero-tagline {
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 28px;
  opacity: 0.85;
}
.hero-sub {
  color: rgba(247,243,236,0.82);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 46px;
  z-index: 2;
}
.scroll-cue span {
  display: block;
  width: 1px;
  height: 100%;
  background: rgba(247,243,236,0.5);
  position: relative;
  animation: scrollcue 2s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* Stat bar */
.stat-bar {
  background: var(--charcoal);
  padding: 56px 0 40px;
  text-align: center;
}
.stat-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.stat { padding: 8px 34px; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--cream);
}
.stat-star { color: var(--gold); margin-left: 4px; font-size: 1.4rem; }
.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(247,243,236,0.55);
}
.stat-div {
  width: 1px;
  height: 44px;
  background: var(--line-dark);
}
.brokerage-credit {
  margin: 32px 0 0;
  text-align: center;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(247,243,236,0.45);
}

/* Sections */
.section { padding: 120px 0; }
.section.about { background: var(--cream); }
.section.services { background: var(--cream-2); }
.section.reviews { background: var(--cream); }
.section.contact { background: var(--cream-2); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 90px;
  align-items: center;
}
.about-photo { position: relative; }
.about-photo::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: -22px;
  bottom: -22px;
  border: 1px solid var(--gold);
  z-index: 0;
}
.photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  box-shadow: var(--shadow);
  z-index: 1;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 34px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.badge-list li {
  padding-left: 26px;
  position: relative;
  font-weight: 500;
  color: var(--ink);
  font-size: 0.95rem;
}
.badge-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 1px;
  background: var(--gold);
}

/* Personal band */
.band {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.band-media { position: absolute; inset: 0; z-index: -1; }
.band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.band-scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 23, 27, 0.5);
}
.band-inner { text-align: center; }
.band-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--cream);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  max-width: 720px;
  margin: 0 auto 16px;
  line-height: 1.35;
}
.band-cite {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  margin: 0;
}

/* Services */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
  background: var(--line-light);
}
.card {
  background: var(--cream-2);
  padding: 44px 36px;
  border-top: 2px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.card:hover { border-top-color: var(--gold); background: var(--cream); }
.card-mark {
  width: 32px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 22px;
}
.card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.card p { margin: 0; font-size: 0.95rem; }

/* Listings */
.section.listings { background: var(--cream); }
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.listing-card {
  display: block;
  text-decoration: none;
  background: transparent;
}
.listing-photo {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.listing-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.listing-card:hover .listing-photo img { transform: scale(1.045); }
.listing-price {
  position: absolute;
  left: 0;
  bottom: 0;
  background: rgba(20, 23, 27, 0.88);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.15rem;
  padding: 10px 18px;
  letter-spacing: 0.01em;
}
.listing-meta { padding: 20px 2px 0; }
.listing-meta h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.listing-meta p {
  margin: 0 0 10px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}
.listing-view {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}
.listing-card:hover .listing-view { color: var(--ink); }
.idx-embed { margin-top: 56px; }
.idx-embed:empty { display: none; }
.idx-widget {
  width: 100%;
  overflow: hidden;
  background: rgba(255,255,255,0.35);
  border: 1px solid var(--line-light);
}
.idx-widget iframe {
  display: block;
  width: 100%;
  border: 0;
}
.idx-widget-wide {
  max-width: 960px;
  margin: 56px auto 0;
}
.idx-widget-wide iframe { height: 300px; }
.idx-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
  margin-top: 64px;
}
.idx-panel {
  padding: 36px 0;
  max-width: 560px;
}
.idx-panel h3 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  margin-bottom: 16px;
}
.idx-widget-search {
  max-width: 320px;
  justify-self: end;
}
.idx-widget-search iframe { height: 680px; }
.listing-cta { text-align: center; margin-top: 56px; }

/* Reviews */
.lead-quote {
  text-align: center;
  max-width: 700px;
  margin: 56px auto 0;
}
.lead-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.4;
}
.lead-quote cite {
  font-style: normal;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.review-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--line-light);
}
.review-item {
  padding: 32px 30px;
  border-right: 1px solid var(--line-light);
  text-align: center;
}
.review-item:last-child { border-right: none; }
.review-item p {
  font-size: 0.98rem;
  color: var(--ink);
  margin-bottom: 10px;
}
.review-item cite {
  font-style: normal;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}
.review-cta { text-align: center; margin-top: 48px; }

/* Instagram */
.section.insta { background: var(--charcoal); }
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 56px;
}
.insta-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.insta-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}
.insta-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 23, 27, 0);
  transition: background 0.3s ease;
}
.insta-tile::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%) scale(0.8);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f7f3ec' stroke-width='1.6'%3E%3Crect x='2.5' y='2.5' width='19' height='19' rx='5.5'/%3E%3Ccircle cx='12' cy='12' r='4.6'/%3E%3Ccircle cx='17.6' cy='6.4' r='1.3' fill='%23f7f3ec' stroke='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.insta-tile:hover::after { background: rgba(20, 23, 27, 0.45); }
.insta-tile:hover::before { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.insta-tile:hover img { transform: scale(1.04); }
.insta-cta { text-align: center; margin-top: 56px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-details { margin: 24px 0; }
.contact-details a {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 10px;
}
.brokerage-line { font-size: 0.9rem; }
.social-links { display: flex; gap: 22px; }
.social-links a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.social-links a:hover { color: var(--gold); }

.valuation-widget {
  width: 100%;
  margin: 28px 0 26px;
  overflow: hidden;
  background: rgba(255,255,255,0.35);
  border: 1px solid var(--line-light);
}
.valuation-widget iframe {
  display: block;
  width: 100%;
  height: 160px;
  border: 0;
}

.contact-form {
  background: var(--charcoal);
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(247,243,236,0.7);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 13px 14px;
  border: 1px solid var(--line-dark);
  background: rgba(247,243,236,0.04);
  color: var(--cream);
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(247,243,236,0.35); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form button { margin-top: 8px; }
.form-note {
  font-size: 0.8rem;
  color: var(--gold-light);
  min-height: 1em;
  margin: 0;
  text-transform: none;
  letter-spacing: normal;
}

/* Motion — all classes below are added by script.js only when the visitor
   has not asked for reduced motion, so the page is fully static without JS. */

/* Hero entrance
   Deliberately NOT an overflow:hidden slot-reveal: "The Bergeson" can soft-wrap
   onto two rows on narrow phones, and a mask sized for one row will clip the
   wrapped row's descenders mid-transition (this was the "g"/"p" cut-off bug).
   A fade + rise has no box to clip against, so it's correct at every width. */
.anim .hero-title .line {
  display: block;
}
.anim .hero-title .line > span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.19, 0.7, 0.16, 1);
}
.anim .hero-title .line:nth-child(2) > span { transition-delay: 0.12s; }
.anim.hero-in .hero-title .line > span { opacity: 1; transform: translateY(0); }

.anim .eyebrow-light,
.anim .hero-tagline,
.anim .hero-sub,
.anim .hero-actions,
.anim .site-header {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.19, 0.7, 0.16, 1);
}
.anim .site-header {
  transform: translateY(-10px);
  transition: opacity 0.8s ease 0.9s, transform 0.8s cubic-bezier(0.19, 0.7, 0.16, 1) 0.9s,
              background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}
.anim .eyebrow-light { transition-delay: 0.55s; }
.anim .hero-tagline { transition-delay: 0.7s; }
.anim .hero-sub { transition-delay: 0.82s; }
.anim .hero-actions { transition-delay: 0.95s; }
.anim.hero-in .eyebrow-light,
.anim.hero-in .hero-tagline,
.anim.hero-in .hero-sub,
.anim.hero-in .hero-actions,
.anim.hero-in .site-header {
  opacity: 1;
  transform: translateY(0);
}

.anim .hero-media img {
  animation: heroDrift 6.5s cubic-bezier(0.2, 0.6, 0.3, 1) forwards;
}
@keyframes heroDrift {
  from { transform: scale(1.26); }
  to   { transform: scale(1.14); }
}
.anim .band-media img { transform: scale(1.18); }

/* Scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.19, 0.7, 0.16, 1);
  transition-delay: var(--d, 0s);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* elements with their own hover transitions keep them alongside the reveal */
.card.reveal {
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.19, 0.7, 0.16, 1),
              border-color 0.2s ease, background 0.2s ease;
  transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s;
}

/* Gold sheen sweep over the hero title, once, after the entrance settles */
.anim.sheen .hero-title .line > span {
  background: linear-gradient(105deg,
    var(--cream) 0%, var(--cream) 38%,
    #fffdf6 46%, var(--gold-light) 50%, #fffdf6 54%,
    var(--cream) 62%, var(--cream) 100%);
  background-size: 320% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sheenSweep 1.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes sheenSweep {
  from { background-position: 100% 0; }
  to   { background-position: 0% 0; }
}

/* Photos must render immediately; motion should never be able to hide them. */
.photo-frame,
.listing-photo,
.insta-tile {
  clip-path: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.photo-frame img,
.listing-photo img,
.insta-tile img {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Word-by-word reveal on the band quote */
.band-quote .w {
  opacity: 0.1;
  transition: opacity 0.55s ease;
  transition-delay: var(--wd, 0s);
}
.band-quote.in-view .w { opacity: 1; }

/* Community marquee */
.marquee-band {
  background: var(--charcoal);
  padding: 30px 0;
}
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 26px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
}
.anim .marquee-track { animation: marqueeMove 38s linear infinite; }
.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 243, 236, 0.4);
}
.marquee-track .marquee-dot {
  color: var(--gold);
  -webkit-text-stroke: 0;
  font-style: normal;
  font-size: 1.4rem;
}
@keyframes marqueeMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Nav underline sweep */
.nav a { position: relative; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.19, 0.7, 0.16, 1);
}
.nav a:hover::after { transform: scaleX(1); }

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: rgba(247,243,236,0.55);
  padding: 40px 0;
  font-size: 0.8rem;
  border-top: 1px solid var(--line-dark);
}
.footer-inner p { color: rgba(247,243,236,0.55); margin: 0 0 10px; }
.footer-links a { color: rgba(247,243,236,0.75); text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }

@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(20,23,27,0.97);
    flex-direction: column;
    gap: 0;
  }
  .nav.nav-open { display: flex; }
  .nav a { padding: 18px 32px; border-top: 1px solid var(--line-dark); }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-photo { max-width: 320px; margin: 0 auto; }
  .cards { grid-template-columns: 1fr; }
  .review-row { grid-template-columns: 1fr; }
  .review-item { border-right: none; border-bottom: 1px solid var(--line-light); }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .stat { padding: 8px 18px; }
  .listing-grid { grid-template-columns: 1fr; gap: 44px; }
  .idx-layout { grid-template-columns: 1fr; gap: 28px; }
  .idx-panel { padding: 8px 0 0; }
  .idx-widget-search { justify-self: center; width: 100%; max-width: 320px; }
  .insta-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    margin-left: -32px;
    margin-right: -32px;
    padding: 0 32px;
    scrollbar-width: none;
  }
  .insta-grid::-webkit-scrollbar { display: none; }
  .insta-tile {
    flex: 0 0 72%;
    scroll-snap-align: center;
  }
}

@media (prefers-color-scheme: dark) {
  body { background: #101215; color: #e9e5db; }
  .section.about, .section.reviews { background: #15181c; }
  .section.services, .section.contact { background: #101215; }
  .section.listings { background: #15181c; }
  .listing-meta h3 { color: #f2eee4; }
  .listing-card:hover .listing-view { color: #f2eee4; }
  h1, h2, h3 { color: #f2eee4; }
  p { color: #a9aeb4; }
  .card { background: #1a1e23; }
  .card:hover { background: #1f242a; }
  .review-row, .review-item, .cards { border-color: rgba(255,255,255,0.08); }
  .lead-quote p, .review-item p { color: #f2eee4; }
  .contact-details a { color: #f2eee4; }
  .social-links a { color: #f2eee4; }
  .about-photo::before { border-color: var(--gold); }
}
