:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-2: #f5efe5;
  --surface-soft: #f8f2e8;
  --border: #e8ddd0;
  --text: #3a352f;
  --muted: #9c9588;
  --primary: #eca72c;
  --primary-ink: #3a352f;
  --accent-rose: #c07c74;
  --accent-teal: #5a8b82;
  --shadow: 0 12px 24px rgba(58, 53, 47, 0.08);
  --shadow-float: 0 24px 48px rgba(58, 53, 47, 0.12);
  --radius: 28px;
  --radius-sm: 18px;
  --radius-xs: 12px;
  --focus: 0 0 0 3px rgba(236, 167, 44, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

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

a {
  color: var(--accent-teal);
}

button,
a,
input,
textarea,
select {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(156, 149, 136, 0.16);
}

.brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.eyebrow,
.section-kicker,
.gallery-kicker,
.panel-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 6px;
}

.brand,
.headline-block h1,
.gallery-header h2,
.section-heading-row h2,
.description h2,
.highlights h2,
.gallery-modal-topbar h2,
.price-small,
#contactModalTitle {
  font-family: 'Fraunces', serif;
}

.brand {
  font-size: 1.3rem;
  font-weight: 700;
}

.topnav {
  display: flex;
  gap: 22px;
}

.topnav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

main {
  width: min(1260px, calc(100% - 32px));
  margin: 28px auto 112px;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(156, 149, 136, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-listing {
  display: grid;
  grid-template-columns: minmax(330px, 440px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 56px;
}

.hero-copy,
.highlights,
.description,
.facts-section,
.sticky-panel {
  padding: 32px;
}

.status-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(192, 124, 116, 0.12);
  color: var(--accent-rose);
  font-size: 0.82rem;
  font-weight: 700;
}

.muted,
.facts,
.address,
.facts-small,
.quick-stats dt,
.facts-panels dt,
.modal-smallprint,
.gallery-counter,
.gallery-label,
.contact-meta,
.trust-note,
.disclaimer {
  color: var(--muted);
}

.headline-block h1 {
  margin: 0;
  font-size: clamp(3rem, 5vw, 4.7rem);
  line-height: 0.96;
  font-style: italic;
  font-weight: 700;
}

.headline-block {
  margin-bottom: 18px;
}

.address {
  font-size: 1.15rem;
  margin: 12px 0 10px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 1rem;
}

.facts span {
  color: var(--accent-rose);
}

.lead-copy {
  margin: 0 0 24px;
  font-size: 1.08rem;
  line-height: 1.75;
}

.cta-row,
.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.single-cta-row {
  grid-template-columns: 1fr;
}

.primary-cta,
.secondary-cta,
.view-all-button,
.mailto-button {
  border-radius: 999px;
  padding: 16px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.primary-cta,
.view-all-button,
.mailto-button {
  border: none;
  background: var(--primary);
  color: var(--primary-ink);
}

.secondary-cta {
  border: 2px solid rgba(90, 139, 130, 0.55);
  background: transparent;
  color: var(--accent-teal);
}

.sidebar-love {
  white-space: nowrap;
}

.primary-cta:hover,
.view-all-button:hover,
.mailto-button:hover,
.secondary-cta:hover {
  transform: translateY(-1px);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 0;
}

.quick-stats div {
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid rgba(156, 149, 136, 0.14);
  border-radius: var(--radius-sm);
}

.quick-stats dt,
.facts-panels dt {
  font-size: 0.82rem;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quick-stats dd,
.facts-panels dd {
  margin: 0;
  font-weight: 500;
  line-height: 1.55;
}

.hero-gallery {
  padding-top: 6px;
}

.gallery-header,
.section-heading-row,
.gallery-modal-topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.gallery-header h2,
.section-heading-row h2,
.description h2,
.highlights h2,
.gallery-modal-topbar h2,
#contactModalTitle {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 18px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border: 0;
  padding: 0;
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
  cursor: pointer;
  min-height: 200px;
}

.gallery-card picture,
.gallery-card img {
  width: 100%;
  height: 100%;
}

.gallery-card img {
  object-fit: cover;
}

.gallery-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58, 53, 47, 0.45), rgba(58, 53, 47, 0.03));
}

.gallery-lead {
  grid-row: span 2;
  min-height: 470px;
}

.gallery-thumb {
  min-height: 226px;
}

.gallery-label,
.more-photos-badge {
  position: absolute;
  z-index: 1;
}

.gallery-label {
  left: 18px;
  bottom: 18px;
  color: white;
  font-weight: 600;
}

.more-photos-badge {
  right: 18px;
  bottom: 18px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(250, 247, 242, 0.92);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.listing-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) 380px;
  gap: 28px;
  align-items: start;
}

.listing-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.facts-section {
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(248,242,232,0.55) 100%);
}

.facts-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.facts-panels section {
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(156, 149, 136, 0.12);
  border-radius: var(--radius-sm);
}

.facts-panels h3 {
  margin-top: 0;
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
}

.facts-panels dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.description p,
.highlights p,
.modal-intro,
.contact-meta,
.trust-note,
.disclaimer {
  line-height: 1.8;
}

.sticky-panel {
  position: sticky;
  top: 92px;
}

.price-small {
  margin: 0;
  font-size: 3rem;
  font-weight: 700;
}

.facts-small {
  margin-top: 8px;
}

.contact-meta {
  margin-top: 18px;
}

.trust-note {
  margin-top: 16px;
  padding: 16px 18px;
  background: var(--surface-soft);
  border: 1px solid rgba(156, 149, 136, 0.12);
  border-radius: var(--radius-sm);
}

.disclaimer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(156, 149, 136, 0.16);
  font-size: 0.92rem;
}

.mobile-cta-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 18;
  display: none;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 12px;
  background: rgba(250, 247, 242, 0.96);
  border: 1px solid rgba(156, 149, 136, 0.16);
  border-radius: 24px;
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(10px);
}

.modal {
  border: none;
  padding: 0;
  max-width: min(1120px, calc(100% - 24px));
  width: 100%;
  background: transparent;
}

.modal::backdrop {
  background: rgba(58, 53, 47, 0.7);
  backdrop-filter: blur(8px);
}

.modal-shell {
  position: relative;
  background: var(--surface);
  border-radius: 30px;
  box-shadow: var(--shadow-float);
}

.contact-modal-shell {
  max-width: 520px;
  margin: 40px auto;
  padding: 32px;
  background: var(--bg);
}

.contact-card {
  padding: 16px 18px;
  border: 1px solid rgba(156, 149, 136, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.65);
  margin-bottom: 18px;
}

.icon-button {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--accent-teal);
  cursor: pointer;
}

.close-button {
  position: absolute;
  top: 16px;
  right: 16px;
}

.gallery-modal-shell {
  margin: 12px auto;
  padding: 18px 18px 16px;
  background: rgba(58, 53, 47, 0.95);
  color: white;
  max-height: calc(100vh - 24px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gallery-modal-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.gallery-modal-shell .section-kicker,
.gallery-modal-shell .gallery-counter,
.gallery-modal-shell #lightboxCaption {
  color: rgba(255, 255, 255, 0.8);
}

.gallery-modal-topbar {
  padding-right: 64px;
  margin-bottom: 10px;
  flex: 0 0 auto;
}

.lightbox-stage {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 0;
  flex: 1 1 auto;
}

.lightbox-nav {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.96);
  color: var(--accent-teal);
  font-size: 2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.lightbox-figure {
  margin: 0;
}

.lightbox-figure img {
  width: 100%;
  max-height: min(68vh, calc(100vh - 210px));
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

#lightboxCaption {
  margin-top: 12px;
  font-size: 0.95rem;
}

.thumbnail-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 92px;
  gap: 12px;
  overflow-x: auto;
  padding-top: 14px;
  flex: 0 0 auto;
}

.thumb-button {
  border: 2px solid transparent;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  opacity: 0.65;
}

.thumb-button picture,
.thumb-button img {
  width: 100%;
  height: 78px;
}

.thumb-button img {
  object-fit: cover;
}

.thumb-button.is-active {
  border-color: var(--primary);
  opacity: 1;
  transform: scale(1.04);
}

@media (max-width: 1100px) {
  .hero-listing,
  .listing-shell {
    grid-template-columns: 1fr;
  }

  .sticky-panel {
    position: static;
  }
}

@media (max-width: 820px) {
  .gallery-grid,
  .facts-panels,
  .cta-row,
  .contact-actions,
  .quick-stats {
    grid-template-columns: 1fr;
  }

  .gallery-lead,
  .gallery-thumb {
    min-height: 260px;
    grid-row: auto;
  }

  .gallery-header,
  .section-heading-row,
  .gallery-modal-topbar,
  .topbar {
    align-items: start;
    flex-direction: column;
  }

  .topnav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .lightbox-stage {
    grid-template-columns: 1fr;
  }

  .lightbox-nav {
    position: absolute;
    top: calc(50% - 26px);
    z-index: 1;
  }

  .lightbox-nav.prev {
    left: 8px;
  }

  .lightbox-nav.next {
    right: 8px;
  }
}

@media (max-width: 720px) {
  main {
    width: min(100% - 20px, 1260px);
    margin-bottom: 120px;
  }

  .topbar {
    padding: 16px 18px;
  }

  .hero-copy,
  .highlights,
  .description,
  .facts-section,
  .sticky-panel,
  .gallery-modal-shell,
  .contact-modal-shell {
    padding: 22px;
  }

  .mobile-cta-bar {
    display: grid;
  }

  .mobile-cta-bar .primary-cta,
  .mobile-cta-bar .secondary-cta {
    width: 100%;
  }

  .gallery-modal-shell {
    margin: 8px auto;
    padding: 14px 14px 12px;
    max-height: calc(100vh - 16px);
  }

  .close-button {
    top: 12px;
    right: 12px;
  }

  .gallery-modal-topbar {
    padding-right: 52px;
  }

  .headline-block h1 {
    font-size: 2.8rem;
  }
}
