.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
}

.luxury-glass {
  background: rgba(248, 249, 249, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-logo {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.45rem;
  line-height: 1;
  white-space: nowrap;
}

.site-logo-mark {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--k3-green-brand, #0f6e56);
}

.site-logo-tag {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.4rem, 3.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #775a19;
}

.site-nav-link {
  position: relative;
  padding: 0.5rem 0.125rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #414846;
  transition: color 0.25s ease;
}

.site-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.125rem;
  height: 1px;
  background: #775a19;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.site-nav-link:hover,
.site-nav-link.is-active {
  color: #775a19;
}

.site-nav-link:hover::after,
.site-nav-link.is-active::after {
  transform: scaleX(1);
}

.site-nav-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(119, 90, 25, 0.18);
  color: #414846;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.site-nav-icon-btn:hover {
  border-color: rgba(119, 90, 25, 0.45);
  color: #775a19;
}

.footer-host-login {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  text-decoration: none;
}

.footer-host-login__icon {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.85;
}

.footer-host-login:hover .footer-host-login__icon {
  opacity: 1;
}

/* About page — guest reviews */
.about-review-stars {
  display: flex;
  gap: 2px;
  align-items: center;
}

.about-review-star {
  font-size: 1.125rem !important;
  color: #9a7b2f;
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.about-review-star-muted {
  font-size: 1.125rem !important;
  color: rgba(119, 90, 25, 0.28);
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.about-review-card {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.about-review-card:hover {
  border-color: rgba(119, 90, 25, 0.22);
  box-shadow: 0 12px 32px rgba(0, 21, 17, 0.06);
}

.site-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1.25rem;
  background: #001511;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.site-nav-cta:hover {
  opacity: 0.92;
  box-shadow: 0 8px 24px rgba(0, 21, 17, 0.12);
}

.site-nav-cta:active {
  transform: scale(0.98);
}

.site-mobile-nav {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.site-mobile-nav.is-open {
  max-height: 20rem;
  opacity: 1;
}

.site-mobile-nav-link {
  display: block;
  padding: 0.875rem 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #414846;
  border-bottom: 1px solid rgba(193, 200, 197, 0.45);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.site-mobile-nav-link:hover,
.site-mobile-nav-link.is-active {
  color: #775a19;
  padding-left: 0.25rem;
}

.page-hero {
  padding: 3rem 0 2.5rem;
}

@media (min-width: 768px) {
  .page-hero {
    padding: 4rem 0 3rem;
  }
}

/* ── About page — editorial layout (about.html) ── */

.about-editorial {
  overflow-x: clip;
}

/* Faint paper grain on hero + story only (multiply blend keeps it subtle on light BG) */
.about-edit-paper-texture {
  position: relative;
  isolation: isolate;
}

.about-edit-paper-texture::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280' viewBox='0 0 280 280'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.about-edit-paper-texture > * {
  position: relative;
  z-index: 1;
}

/* About hero — split editorial */
.about-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #f8fbf9 0%, #f3f7f5 38%, #faf9f6 100%);
  border-bottom: 1px solid rgba(15, 110, 86, 0.12);
}

.about-hero__mark {
  position: absolute;
  top: 50%;
  right: clamp(-0.5rem, 4vw, 3rem);
  transform: translateY(-52%);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(8rem, 22vw, 14rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(15, 110, 86, 0.07);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.about-hero__inner {
  position: relative;
  z-index: 1;
}

.about-hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 899px) {
  .about-hero__grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 2rem;
  }

  .about-hero__mark {
    top: 28%;
    right: -0.25rem;
    font-size: 7rem;
    opacity: 0.85;
  }
}

@media (min-width: 900px) {
  .about-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem 4rem;
  }

  .about-hero__mark {
    right: 42%;
  }
}

.about-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #0f6e56;
  margin-bottom: 1.25rem;
}

.about-hero__kicker::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, #7ec9a3, #0f6e56);
}

.about-hero__title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(3rem, 9vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: #001511;
}

.about-hero__title-main {
  display: block;
}

.about-hero__title-accent {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: #0f6e56;
  margin-top: 0.05em;
}

.about-hero__dek {
  margin-top: 1.5rem;
  max-width: 28rem;
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  line-height: 1.7;
  color: #414846;
}

.about-hero__locations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-top: 1.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5c6560;
}

.about-hero__loc-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7ec9a3;
}

.about-hero__cta {
  margin-top: 2rem;
}

.about-hero__media {
  position: relative;
  max-width: 28rem;
  margin-inline: auto;
  width: 100%;
}

@media (min-width: 900px) {
  .about-hero__media {
    margin-inline: 0 0;
    margin-left: auto;
    max-width: none;
  }
}

.about-hero__figure {
  margin: 0;
}

.about-hero__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e8f0ec;
  box-shadow: 0 24px 56px rgba(0, 21, 17, 0.12);
}

.about-hero__frame::before {
  content: "";
  position: absolute;
  inset: 0.75rem -0.75rem -0.75rem 0.75rem;
  border: 1px solid rgba(126, 201, 163, 0.65);
  z-index: 2;
  pointer-events: none;
}

.about-hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-hero__caption {
  margin-top: 0.85rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #5c6560;
  text-align: right;
}

.about-hero__edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4rem;
  background: linear-gradient(180deg, transparent, rgba(248, 249, 249, 0.95));
  pointer-events: none;
  z-index: 2;
}

/* Legacy about hero classes (unused) */
.about-edit-kicker {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #775a19;
  margin-bottom: 1.25rem;
}

.about-edit-display {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.75rem, 8vw, 4.75rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #001511;
  max-width: 14ch;
}

.about-edit-dek {
  margin-top: 1.75rem;
  max-width: 30rem;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.55;
  color: #414846;
}

.about-edit-rule {
  margin-top: 2.5rem;
  max-width: 5rem;
  height: 1px;
  background: linear-gradient(90deg, #775a19, transparent);
}

.about-edit-split-grid {
  display: grid;
  gap: 3rem;
}

/* Slight warm shift so paper grain reads against page background */
.about-edit-split.about-edit-paper-texture {
  background-color: #faf9f6;
}

@media (min-width: 1024px) {
  .about-edit-split-grid {
    grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
    gap: 4rem;
    align-items: start;
  }

  .about-edit-rail {
    position: sticky;
    top: 8rem;
  }
}

.about-edit-rail-num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(119, 90, 25, 0.25);
  margin-bottom: 0.75rem;
}

.about-edit-rail-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.625rem;
  font-weight: 600;
  color: #001511;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.about-edit-rail-note {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #5c6560;
  border-left: 2px solid rgba(119, 90, 25, 0.35);
  padding-left: 1rem;
  max-width: 12rem;
}

.about-edit-prose {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #414846;
  max-width: 33rem;
}

.about-edit-prose > p + p {
  margin-top: 1.35rem;
}

.about-edit-first::first-letter {
  float: left;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4.25rem;
  font-weight: 600;
  line-height: 0.82;
  margin: 0.08em 0.18em 0 0;
  color: #0f6e56;
}

.about-edit-quote {
  margin-top: 2rem !important;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 3px solid #0f6e56;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.65;
  color: #2a322f;
  background: linear-gradient(90deg, rgba(15, 110, 86, 0.06), transparent);
}

/* Full-width lifestyle frame between story and next section */
.about-edit-fullbleed {
  margin: 0;
  padding: 0;
  border: none;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
}

.about-edit-fullbleed img {
  display: block;
  width: 100%;
  height: clamp(220px, 46vh, 620px);
  object-fit: cover;
}

.about-edit-fullbleed-cap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.75rem clamp(1.25rem, 4vw, 3rem) 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6f7873;
  text-align: center;
}

@media (min-width: 768px) {
  .about-edit-fullbleed-cap {
    text-align: right;
  }
}

.about-edit-stripes {
  background: #fafafa;
}

.about-edit-stripes-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .about-edit-stripes-head {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
  }
}

.about-edit-stripes-num {
  flex-shrink: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(0, 21, 17, 0.12);
  min-width: 3rem;
}

.about-edit-stripes-num--invert {
  color: rgba(255, 252, 248, 0.35);
}

.about-edit-stripes-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #001511;
}

.about-edit-stripes-sub {
  margin-top: 0.65rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #5c6560;
  max-width: 28rem;
}

.about-edit-value-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(119, 90, 25, 0.12);
}

.about-edit-value-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(119, 90, 25, 0.12);
  align-items: start;
}

@media (min-width: 768px) {
  .about-edit-value-row {
    gap: 1.5rem 2rem;
    padding: 2.25rem 0;
    grid-template-columns: 4rem 1fr;
  }
}

.about-edit-value-marker {
  color: #775a19;
}

.about-edit-value-marker .material-symbols-outlined {
  font-size: 2rem;
}

.about-edit-value-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #001511;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.about-edit-value-text {
  font-size: 1rem;
  line-height: 1.72;
  color: #414846;
  max-width: 36rem;
}

.about-edit-flow {
  justify-content: space-between;
  align-items: flex-start;
  gap: 0;
  padding-top: 2.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(119, 90, 25, 0.14);
}

.about-edit-flow-step {
  flex: 1;
  position: relative;
  padding: 0.5rem 1.25rem 0;
  text-align: center;
}

.about-edit-flow-step:not(:first-child) {
  border-left: 1px solid rgba(119, 90, 25, 0.12);
}

.about-edit-flow-num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #775a19;
  margin-bottom: 0.75rem;
}

.about-edit-flow-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #001511;
  margin-bottom: 0.35rem;
}

.about-edit-flow-hint {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #5c6560;
  max-width: 13rem;
  margin: 0 auto;
}

.about-edit-reviews {
  background: linear-gradient(180deg, #0f1916 0%, #162420 48%, #0e1513 100%);
  color: rgba(255, 255, 255, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about-edit-reviews-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .about-edit-reviews-head {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
  }
}

.about-edit-reviews-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.about-edit-reviews-intro {
  margin-top: 0.85rem;
  font-size: 1.0625rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.62);
  max-width: 32rem;
}

.about-edit-feature-quote {
  margin: 0 0 3rem;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}

.about-edit-feature-quote::before {
  content: "\201c";
  position: absolute;
  top: 0.75rem;
  left: 1.25rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(154, 123, 47, 0.35);
  pointer-events: none;
}

.about-edit-feature-quote p {
  position: relative;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  line-height: 1.58;
  color: rgba(255, 252, 248, 0.95);
  margin: 0;
  padding: 1.25rem 0 0 2rem;
  max-width: 48rem;
}

.about-edit-feature-quote footer {
  margin-top: 1.5rem;
  padding-left: 2rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 230, 197, 0.75);
}

.about-edit-review-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .about-edit-review-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2.25rem;
  }

  .about-edit-review--wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 6rem 1fr;
    gap: 1rem 1.5rem;
    align-items: start;
    padding-bottom: 0;
  }

  .about-edit-review--wide blockquote {
    grid-column: 2;
    margin-top: 0;
  }

  .about-edit-review--wide figcaption {
    grid-column: 2;
    margin-left: 0;
  }

  .about-edit-review--wide .about-edit-review-stars {
    grid-row: span 3;
    flex-direction: column;
    gap: 0.25rem;
  }
}

.about-edit-review {
  padding: 0 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .about-edit-review:not(.about-edit-review--wide) {
    border-bottom: none;
    padding-bottom: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.75rem;
  }
}

.about-edit-review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}

.about-edit-review--wide .about-edit-review-stars {
  margin-bottom: 0;
}

.about-edit-review blockquote {
  margin: 0;
}

.about-edit-review blockquote p {
  margin: 0;
  font-size: 0.965rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

.about-edit-review figcaption {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.about-edit-review cite {
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 230, 197, 0.9);
}

.about-edit-review figcaption span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.42);
}

[data-page="about"] .about-review-star {
  font-size: 1rem !important;
  color: #c9a227;
}

[data-page="about"] .about-review-star-muted {
  font-size: 1rem !important;
  color: rgba(255, 255, 255, 0.18);
}

.about-edit-reviews-footer {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
}

.about-edit-reviews-footer a {
  color: rgba(251, 230, 197, 0.95);
  text-decoration: none;
  border-bottom: 1px solid rgba(251, 230, 197, 0.35);
  margin-left: 0.35rem;
  transition: border-color 0.2s, color 0.2s;
}

.about-edit-reviews-footer a:hover {
  border-bottom-color: rgba(251, 230, 197, 0.9);
}

/* Property listing cards */
.property-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: #fff;
  border: 1px solid rgba(119, 90, 25, 0.12);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.property-card:hover {
  border-color: rgba(119, 90, 25, 0.35);
  box-shadow: 0 20px 48px rgba(0, 21, 17, 0.08);
  transform: translateY(-2px);
}

.property-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f3f4f4;
}

.property-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-card__media img {
  transform: scale(1.04);
}

.property-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.65rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.property-card__body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-chip {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #775a19;
  background: rgba(254, 212, 136, 0.25);
  border: 1px solid rgba(119, 90, 25, 0.15);
}

.property-card__cta {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid rgba(193, 200, 197, 0.45);
}

/* Home hero — gradient fallback when video file is missing or blocked */
.home-hero-media {
  background-color: #0b2b26;
  background-image: linear-gradient(
    165deg,
    #2e4c46 0%,
    #0b2b26 38%,
    #001511 72%,
    #001511 100%
  );
}

.home-hero-video.is-unavailable {
  display: none;
}

/* Property detail drawer — near full-screen centered panel */
.property-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.5rem, 1.5vw, 1rem);
  background: rgba(0, 21, 17, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.property-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.property-drawer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(72rem, 100%);
  height: calc(100vh - 1rem);
  height: calc(100dvh - 1rem);
  max-height: none;
  background: #f8f9f9;
  border: 1px solid rgba(119, 90, 25, 0.18);
  box-shadow: 0 24px 80px rgba(0, 21, 17, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.97) translateY(10px);
  opacity: 0;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
}

.property-drawer-backdrop.is-open .property-drawer {
  transform: scale(1) translateY(0);
  opacity: 1;
}

@media (min-width: 768px) {
  .property-drawer-backdrop {
    padding: clamp(0.75rem, 2vw, 1.5rem);
  }

  .property-drawer {
    height: calc(100vh - 2rem);
    height: calc(100dvh - 2rem);
    border-radius: 0.25rem;
  }
}

@media (min-width: 1024px) {
  .property-drawer {
    max-width: min(56rem, calc(100vw - 3rem));
  }
}

/* ── Listing drawer (guest property detail) ── */
.listing-drawer {
  border-radius: 0.75rem;
  background: #fff;
  border-color: rgba(119, 90, 25, 0.12);
}

.listing-drawer__close {
  position: absolute;
  top: max(0.75rem, env(safe-area-inset-top));
  right: 0.75rem;
  z-index: 12;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: #001511;
  box-shadow: 0 2px 12px rgba(0, 21, 17, 0.18);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.listing-drawer__close:hover {
  background: #fff;
  color: #775a19;
  transform: scale(1.04);
}

.listing-drawer__close .material-symbols-outlined {
  font-size: 1.35rem;
}

.listing-drawer__hero {
  border-bottom: none;
  background: #001511;
}

/* Gallery: horizontal scroll-snap carousel (swipe + dots + arrows) */
.listing-drawer__gallery {
  position: relative;
  width: 100%;
  height: clamp(240px, 44vh, 500px);
  max-height: none;
  aspect-ratio: unset;
  min-height: 240px;
  background: #001511;
}

.listing-drawer__body {
  padding: 1.35rem 1.5rem 1.75rem;
  background: linear-gradient(180deg, #fafbfb 0%, #fff 8%);
}

.listing-drawer__gallery-track {
  display: flex;
  height: 100%;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.listing-drawer__gallery-track::-webkit-scrollbar {
  display: none;
}

.listing-drawer__gallery-track:focus {
  outline: none;
}

.listing-drawer__gallery-track:focus-visible {
  outline: 2px solid rgba(15, 110, 86, 0.85);
  outline-offset: -2px;
}

.listing-drawer__gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.listing-drawer__gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.listing-drawer__gallery-shade {
  position: absolute;
  inset: auto 0 0 0;
  height: 50%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 21, 17, 0.5) 100%);
  pointer-events: none;
  z-index: 2;
}

.listing-drawer__gallery-chrome {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.listing-drawer__gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: #001511;
  box-shadow: 0 2px 14px rgba(0, 21, 17, 0.18);
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.listing-drawer__gallery-nav:hover {
  background: #fff;
  color: #775a19;
  transform: translateY(-50%) scale(1.04);
}

.listing-drawer__gallery-nav--prev {
  left: 0.75rem;
}

.listing-drawer__gallery-nav--next {
  right: 0.75rem;
}

.listing-drawer__gallery:not(.has-multiple) .listing-drawer__gallery-nav,
.listing-drawer__gallery:not(.has-multiple) .listing-drawer__gallery-dots {
  display: none;
}

.listing-drawer__gallery-bar {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: calc(100% - 6rem);
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  background: rgba(0, 21, 17, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: auto;
}

.listing-drawer__gallery-count {
  margin: 0;
  flex-shrink: 0;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
}

.listing-drawer__gallery-dots {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.listing-drawer__gallery-dots::-webkit-scrollbar {
  display: none;
}

.listing-drawer__gallery-dot {
  flex-shrink: 0;
  width: 0.4rem;
  height: 0.4rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: width 0.22s ease, background 0.2s ease;
}

.listing-drawer__gallery-dot.is-active {
  width: 1.15rem;
  background: #fff;
}

.listing-drawer__gallery-dot:hover {
  background: rgba(255, 255, 255, 0.75);
}

@media (min-width: 768px) {
  .listing-drawer__gallery {
    height: clamp(280px, 48vh, 520px);
  }

  .listing-drawer__gallery.has-multiple .listing-drawer__gallery-nav {
    opacity: 0;
  }

  .listing-drawer__gallery.has-multiple:hover .listing-drawer__gallery-nav,
  .listing-drawer__gallery.has-multiple:focus-within .listing-drawer__gallery-nav {
    opacity: 1;
  }
}

.listing-drawer__header {
  padding-bottom: 1.25rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid rgba(193, 200, 197, 0.5);
}

.listing-drawer__location {
  margin: 0 0 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0f6e56;
}

.listing-drawer__location::before {
  content: "location_on";
  font-family: "Material Symbols Outlined";
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

.listing-drawer__title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #001511;
}

.listing-drawer__tagline {
  margin: 0.65rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #4b5563;
}

.listing-drawer__price {
  margin: 1rem 0 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  padding: 0.45rem 0.85rem;
  font-family: "Playfair Display", serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #775a19;
  background: rgba(254, 212, 136, 0.22);
  border: 1px solid rgba(119, 90, 25, 0.16);
  border-radius: 0.375rem;
}

.listing-drawer__sections {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.listing-drawer__section {
  padding: 1rem 1.1rem;
  background: #f8f9f9;
  border: 1px solid rgba(119, 90, 25, 0.08);
  border-radius: 0.5rem;
}

.listing-drawer__section-title {
  margin: 0 0 0.75rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
}

.listing-drawer__prose {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #374151;
}

.listing-drawer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.listing-drawer__chips .property-chip {
  padding: 0.35rem 0.65rem;
  font-size: 0.5625rem;
  border-radius: 9999px;
  background: #fff;
}

.listing-drawer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.listing-drawer__list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #374151;
}

.listing-drawer__list-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: #0f6e56;
  margin-top: 0.05rem;
}

.listing-drawer__footer {
  padding: 1rem 1.5rem 1.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, #fff 100%);
  border-top: 1px solid rgba(119, 90, 25, 0.1);
  box-shadow: 0 -12px 32px rgba(0, 21, 17, 0.08);
}

.listing-drawer__summary {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #4b5563;
}

.listing-drawer__cta {
  width: 100%;
  padding: 0.95rem 1.5rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #0f6e56 0%, #0a3d2e 100%);
  box-shadow: 0 4px 14px rgba(15, 110, 86, 0.35);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.listing-drawer__cta:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 110, 86, 0.4);
}

.listing-drawer__cta:active {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .listing-drawer__body {
    padding: 1.5rem 2rem 2rem;
  }

  .listing-drawer__footer {
    padding: 1.15rem 2rem 1.5rem;
  }

  .listing-drawer__gallery {
    height: clamp(300px, 50vh, 540px);
  }
}

/* Gallery + calendar side-by-side on wide drawers (uses former photo dead space) */
.drawer-hero {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid rgba(119, 90, 25, 0.12);
  background: #f8f9f9;
}

.drawer-hero-calendar {
  padding: 0.75rem 1rem 1rem;
  min-width: 0;
}

.drawer-hero-calendar__panel {
  min-height: 0;
}

.drawer-hero-calendar__grid .drawer-cal-cell {
  min-height: 2.35rem !important;
  padding: 0.15rem !important;
  font-size: 0.5625rem;
}

.drawer-hero-calendar__grid .drawer-cal-cell .text-xs {
  font-size: 0.5rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .drawer-gallery:not(.listing-drawer__gallery) {
    max-height: min(50vh, 520px);
  }
}

/* Full-screen photo lightbox (above drawer + book-dates) */
.photo-lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: rgba(0, 10, 8, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.photo-lightbox-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.photo-lightbox {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.photo-lightbox__track {
  flex: 1;
  display: flex;
  width: 100%;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.photo-lightbox__track::-webkit-scrollbar {
  display: none;
}

.photo-lightbox__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: clamp(3.5rem, 10vh, 5rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 8vh, 4rem);
  box-sizing: border-box;
}

.photo-lightbox__slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  border-radius: 0.125rem;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
}

.photo-lightbox__close {
  position: absolute;
  top: max(0.75rem, env(safe-area-inset-top));
  right: max(0.75rem, env(safe-area-inset-right));
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.photo-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.photo-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.photo-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.24);
}

.photo-lightbox__nav.is-hidden {
  display: none;
}

.photo-lightbox__nav--prev {
  left: max(0.5rem, env(safe-area-inset-left));
}

.photo-lightbox__nav--next {
  right: max(0.5rem, env(safe-area-inset-right));
}

.photo-lightbox__count {
  position: absolute;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  margin: 0;
  padding: 0.4rem 0.85rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}

.listing-drawer__gallery.is-expandable {
  cursor: zoom-in;
}

.listing-drawer__gallery.is-expandable .listing-drawer__gallery-slide {
  cursor: zoom-in;
}

.listing-drawer__gallery-expand {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  color: #001511;
  box-shadow: 0 2px 10px rgba(0, 21, 17, 0.15);
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.2s ease, color 0.2s ease;
}

.listing-drawer__gallery-expand:hover {
  background: #fff;
  color: #775a19;
}

.listing-drawer__gallery-expand[hidden] {
  display: none;
}

.book-dates-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  align-items: center;
  justify-content: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  background: rgba(0, 21, 17, 0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.book-dates-backdrop.is-open {
  display: flex;
}

.book-dates-panel {
  overflow: hidden;
  max-width: 32rem;
}

/* ── Book-dates calendar (guest) ── */
.book-cal-panel {
  background: linear-gradient(180deg, #fafbfb 0%, #fff 12%);
  border: 1px solid rgba(119, 90, 25, 0.14);
  border-radius: 0.75rem;
  padding: 1rem 1rem 0.875rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.book-cal-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.book-cal-toolbar__center {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.book-cal-month-title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #001511;
  line-height: 1.2;
}

.book-cal-range-label {
  margin: 0.2rem 0 0;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.book-cal-nav-btn {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(119, 90, 25, 0.18);
  border-radius: 9999px;
  background: #fff;
  color: #001511;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.book-cal-nav-btn:hover {
  border-color: #775a19;
  color: #775a19;
  background: #faf8f4;
}

.book-cal-nav-btn .material-symbols-outlined {
  font-size: 1.25rem;
}

.book-cal-today-link {
  display: block;
  width: fit-content;
  margin: 0 0 0.75rem auto;
  padding: 0;
  border: none;
  background: none;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0f6e56;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.book-cal-today-link:hover {
  color: #0a3d2e;
}

.book-cal-grid-host {
  max-height: min(44vh, 400px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.book-cal-grid {
  user-select: none;
}

.book-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}

.book-cal-weekday {
  text-align: center;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
  padding: 0.35rem 0;
}

.book-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}

.book-cal-pad {
  aspect-ratio: 1;
  min-height: 2.5rem;
  pointer-events: none;
}

.book-cal-cell-wrap {
  display: block;
  aspect-ratio: 1;
  min-height: 2.5rem;
  cursor: not-allowed;
}

.book-cal-cell-wrap .book-cal-cell {
  width: 100%;
  height: 100%;
}

.book-cal-grid-host .book-cal-cell.drawer-cal-cell {
  min-height: unset !important;
  padding: 0 !important;
  font-size: 0.875rem;
}

.book-dates-body .book-cal-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  min-height: 2.5rem !important;
  padding: 0;
  border: none;
  border-radius: 0.5rem;
  background: #fff;
  color: #001511;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    transform 0.12s ease,
    box-shadow 0.15s ease;
}

.book-dates-body .book-cal-cell .book-cal-day {
  position: relative;
  z-index: 1;
}

.book-dates-body .book-cal-cell.is-bookable:hover:not(:disabled) {
  background: #f0f4f3;
  transform: scale(1.04);
}

.book-dates-body .book-cal-cell.cal-day-unavailable,
.book-dates-body .book-cal-cell.cal-day-outside {
  color: #9ca3a0;
  background: #f6f7f7;
  cursor: default;
}

.book-dates-body .book-cal-cell.cal-day-unavailable .book-cal-day,
.book-dates-body .book-cal-cell.cal-day-outside .book-cal-day {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.book-dates-body .book-cal-cell.cal-day-outside {
  opacity: 0.55;
}

.book-dates-body .book-cal-cell.cal-day-in-range {
  background: rgba(126, 201, 163, 0.22);
  border-radius: 0;
  color: #0a3d2e;
}

.book-dates-body .book-cal-cell.cal-day-range-start,
.book-dates-body .book-cal-cell.cal-day-range-end {
  background: #0f6e56;
  color: #fff;
  font-weight: 600;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(15, 110, 86, 0.28);
  z-index: 2;
}

.book-dates-body .book-cal-cell.cal-day-range-start.cal-day-in-range {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.book-dates-body .book-cal-cell.cal-day-range-end.cal-day-in-range {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.book-dates-body .book-cal-cell.cal-day-range-start.cal-day-range-end {
  border-radius: 0.5rem;
}

.book-dates-body .book-cal-cell.cal-day-today:not(.cal-day-unavailable):not(.cal-day-outside):not(.cal-day-range-start):not(.cal-day-range-end) {
  box-shadow: inset 0 0 0 1.5px rgba(15, 110, 86, 0.65);
}

.book-dates-body .book-cal-cell:disabled {
  opacity: 1;
}

.book-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 0.875rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(119, 90, 25, 0.1);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
}

.book-cal-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.book-cal-legend__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  flex-shrink: 0;
}

.book-cal-legend__dot--open {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15, 110, 86, 0.45);
}

.book-cal-legend__dot--stay {
  background: #0f6e56;
}

.book-cal-legend__dot--pending {
  background: #c9a227;
}

.book-cal-legend__sample-unavailable {
  text-decoration: line-through;
  color: #9ca3a0;
  font-weight: 500;
}

.drawer-gallery:not(.listing-drawer__gallery) {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: min(42vh, 520px);
  background: #001511;
  overflow: hidden;
  flex-shrink: 0;
}

.listing-drawer__gallery.drawer-gallery {
  overflow: hidden;
  flex-shrink: 0;
}

.drawer-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.drawer-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(119, 90, 25, 0.15);
  color: #001511;
  transition: color 0.2s ease, background 0.2s ease;
}

.drawer-gallery__nav:hover {
  color: #775a19;
  background: #fff;
}

.drawer-gallery__nav--prev { left: 0.75rem; }
.drawer-gallery__nav--next { right: 0.75rem; }

.drawer-gallery__counter {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(0, 21, 17, 0.65);
  color: #fff;
}

.drawer-footer {
  flex-shrink: 0;
  padding: 1rem 1.25rem 1.25rem;
  background: #fff;
  border-top: 1px solid rgba(119, 90, 25, 0.12);
  box-shadow: 0 -8px 24px rgba(0, 21, 17, 0.06);
}

.drawer-cal-cell {
  min-height: 3rem !important;
}

.drawer-cal-cell.cal-available,
.cal-legend-available {
  background-color: #7ec9a3;
}

.drawer-cal-cell.cal-available:not(.cal-past) {
  color: #0a3d2e;
}

.drawer-cal-cell.cal-available:hover {
  background-color: #5db88e;
}

.drawer-cal-cell.cal-booked {
  background-color: #fed488;
}

.drawer-cal-cell.cal-unavailable {
  background-color: #c1c8c5;
}

.drawer-cal-cell.cal-your-dates {
  background-color: rgba(254, 212, 136, 0.35);
  box-shadow: inset 0 0 0 2px #775a19;
}

.drawer-cal-cell.cal-past {
  opacity: 0.55;
}

.drawer-cal-cell.cal-today {
  box-shadow: inset 0 0 0 1px rgba(119, 90, 25, 0.45);
}

@media (min-width: 768px) {
  .drawer-cal-cell {
    min-height: 3.25rem !important;
  }
}

/* Owner Finance tab */
.kpi-card {
  background: #fff;
  border: 1px solid rgba(119, 90, 25, 0.12);
  padding: 1.25rem 1.5rem;
}

.kpi-card .label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #414846;
}

.kpi-card .value {
  font-size: 1.35rem;
  font-weight: 700;
  font-family: ui-monospace, monospace;
  margin-top: 0.5rem;
  color: #001511;
}

.kpi-card .sub {
  font-size: 0.75rem;
  color: #414846;
  margin-top: 0.25rem;
}

.kpi-good .value {
  color: #0f6e56;
}

.kpi-bad .value {
  color: #b3261e;
}

.cat-row {
  display: grid;
  grid-template-columns: 12px 1fr 1.5fr auto;
  gap: 0.625rem;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(119, 90, 25, 0.1);
}

.cat-row:last-child {
  border-bottom: none;
}

.cat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cat-bar-wrap {
  height: 8px;
  background: rgba(119, 90, 25, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.cat-bar {
  height: 100%;
  border-radius: 999px;
  min-width: 2px;
}

.progress-bar-fill {
  background: linear-gradient(90deg, #775a19, #0f6e56);
  transition: width 0.35s ease;
}

.cat-amount {
  font-family: ui-monospace, monospace;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
  color: #001511;
}


/* Host login gate (owner.html + host-login.html) */
html.host-auth-pending body,
.host-auth-redirecting body {
  visibility: hidden;
}

html.host-auth-ok body {
  visibility: visible;
}

.host-login-page {
  min-height: 100vh;
}

.host-login-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  gap: 2rem;
}

.host-login-brand {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary, #0f6e56);
  text-decoration: none;
}

.host-login-card {
  width: 100%;
  max-width: 22rem;
  padding: 2rem 1.75rem;
  background: var(--color-surface-container-lowest, #fff);
  border: 1px solid rgba(119, 90, 25, 0.12);
  text-align: center;
}

.host-login-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(15, 110, 86, 0.08);
  color: var(--color-primary, #0f6e56);
}

.host-login-card__icon .material-symbols-outlined {
  font-size: 1.5rem;
}

.host-login-card__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-primary, #0f6e56);
}

.host-login-card__sub {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  color: var(--color-on-surface-variant, #5c5f5d);
  line-height: 1.5;
}

.host-login-form {
  text-align: left;
}

.host-login-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-on-surface-variant, #5c5f5d);
  margin-bottom: 0.375rem;
}

.host-login-input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid rgba(119, 90, 25, 0.25);
  border-radius: 0.5rem;
  background: transparent;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.host-login-input:focus {
  outline: none;
  border-color: var(--color-secondary, #775a19);
}

.host-login-error {
  font-size: 0.8125rem;
  color: #b3261e;
  margin-bottom: 0.75rem;
}

.host-login-error.hidden {
  display: none;
}

.host-login-submit {
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.5rem;
  background: var(--color-primary, #0f6e56);
  color: var(--color-on-primary, #fff);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: opacity 0.15s;
}

.host-login-submit:hover {
  opacity: 0.92;
}

.host-login-foot {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(119, 90, 25, 0.1);
}

.host-login-back {
  font-size: 0.75rem;
  color: var(--color-secondary, #775a19);
  text-decoration: none;
}

.host-login-back:hover {
  text-decoration: underline;
}

/* Staff / owner portal (owner.html) */
.owner-portal {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.owner-portal-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.owner-portal-logo {
  color: inherit;
  text-decoration: none;
}

.owner-portal-main {
  flex: 1;
}

.owner-portal-main .ownerTabPanel.hidden {
  display: none;
}

/* Option B — owner app shell (sidebar + drawers) */
.owner-app.owner-portal {
  flex-direction: row;
  align-items: stretch;
}

.owner-app-layout {
  display: flex;
  flex: 1;
  min-width: 0;
  min-height: 100vh;
}

.owner-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 21, 17, 0.45);
  z-index: 35;
  display: none;
}

.owner-sidebar-overlay.show {
  display: block;
}

.owner-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: var(--color-surface-container-lowest, #fff);
  border-right: 1px solid rgba(119, 90, 25, 0.15);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 40;
  transform: translateX(-100%);
  transition: transform 0.2s ease;
}

.owner-sidebar.show {
  transform: translateX(0);
}

@media (min-width: 960px) {
  .owner-sidebar {
    position: sticky;
    top: 0;
    transform: none;
    height: 100vh;
  }

  .owner-sidebar-overlay {
    display: none !important;
  }

  .owner-menu-btn {
    display: none !important;
  }
}

.owner-sidebar-brand {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-primary, #0f6e56);
  text-decoration: none;
}

.owner-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.owner-sidebar-nav button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  border: none;
  background: transparent;
  color: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.owner-sidebar-nav button[aria-current="page"] {
  background: var(--color-primary, #0f6e56);
  color: var(--color-on-primary, #fff);
}

.owner-sidebar-nav button:hover:not([aria-current="page"]) {
  background: rgba(15, 110, 86, 0.08);
}

.owner-sidebar-filter {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(119, 90, 25, 0.15);
}

.owner-filter-year-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.owner-filter-year-row span {
  font-weight: 700;
  font-size: 0.9375rem;
}

.owner-sidebar-months {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.owner-sidebar-month-btn {
  border: 1px solid rgba(119, 90, 25, 0.2);
  background: var(--color-surface, #fff);
  border-radius: 0.5rem;
  padding: 0.375rem 0.25rem;
  font-size: 0.6875rem;
  cursor: pointer;
  font-weight: 600;
}

.owner-sidebar-month-btn.is-active {
  background: var(--color-primary, #0f6e56);
  color: #fff;
  border-color: var(--color-primary, #0f6e56);
}

.owner-sidebar-select {
  width: 100%;
  padding: 0.5rem 0.625rem;
  border: 1px solid rgba(119, 90, 25, 0.2);
  border-radius: 0.5rem;
  background: transparent;
  font-size: 0.8125rem;
}

.owner-sidebar-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(119, 90, 25, 0.15);
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.owner-sidebar-footer a {
  color: var(--color-secondary, #775a19);
  text-decoration: none;
}

.owner-sidebar-signout {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0;
  border: none;
  background: none;
  font-size: 0.75rem;
  color: var(--color-on-surface-variant, #5c5f5d);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.owner-sidebar-signout:hover {
  color: var(--color-secondary, #775a19);
}

.owner-app-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.owner-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.625rem 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--color-surface-container-lowest, #fff);
  border-bottom: 1px solid rgba(119, 90, 25, 0.15);
  position: sticky;
  top: 0;
  z-index: 20;
}

.owner-menu-btn {
  border: 1px solid rgba(119, 90, 25, 0.2);
  background: var(--color-surface, #fff);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  line-height: 1;
}

.owner-topbar-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
  flex: 1 1 auto;
  min-width: 6rem;
  align-self: center;
  color: var(--color-primary, #0f6e56);
}

.owner-topbar-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.5rem 1rem;
  margin-left: auto;
}

@media (max-width: 720px) {
  .owner-topbar-filters {
    width: 100%;
    margin-left: 0;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(119, 90, 25, 0.1);
  }

  .owner-filter-field {
    flex: 1 1 8rem;
    min-width: 0;
  }
}

.owner-topbar-context {
  font-size: 0.75rem;
  color: var(--color-on-surface-variant, #5c5f5d);
  white-space: nowrap;
}

.owner-filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 8.5rem;
}

.owner-filter-label {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-on-surface-variant, #5c5f5d);
}

.owner-filter-input {
  padding: 0.5rem 0.625rem;
  border: 1px solid rgba(119, 90, 25, 0.2);
  border-radius: 0.5rem;
  background: transparent;
  font-size: 0.875rem;
  min-height: 2.25rem;
}

.owner-main-pad {
  padding: 1rem 1.25rem 1.5rem;
  flex: 1;
}

.owner-action-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.owner-action-spacer {
  flex: 1;
}

.owner-btn {
  border: 1px solid rgba(119, 90, 25, 0.25);
  background: var(--color-surface, #fff);
  color: inherit;
  border-radius: 0.5rem;
  padding: 0.5rem 0.875rem;
  cursor: pointer;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: filter 0.15s, background 0.15s;
}

.owner-btn:hover {
  filter: brightness(0.97);
}

.owner-btn-primary {
  background: var(--color-primary, #0f6e56);
  color: var(--color-on-primary, #fff);
  border-color: var(--color-primary, #0f6e56);
}

.owner-btn-secondary {
  background: var(--color-surface-container-low, #f5f2eb);
}

.owner-panel {
  background: var(--color-surface-container-lowest, #fff);
  border: 1px solid rgba(119, 90, 25, 0.12);
  border-radius: 0.875rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.owner-panel-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(119, 90, 25, 0.12);
}

.owner-panel-title {
  font-weight: 700;
  font-size: 0.9375rem;
}

.owner-panel-body {
  padding: 1rem;
}

.owner-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 21, 17, 0.45);
  z-index: 80;
  display: none;
}

.owner-drawer-overlay.show {
  display: block;
}

.owner-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(440px, 100vw);
  height: 100%;
  background: var(--color-surface-container-lowest, #fff);
  z-index: 90;
  transform: translateX(100%);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
}

.owner-drawer.show {
  transform: translateX(0);
}

.owner-drawer-header {
  padding: 1rem;
  border-bottom: 1px solid rgba(119, 90, 25, 0.12);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.owner-drawer-body {
  padding: 1rem;
  overflow: auto;
  flex: 1;
}

.owner-drawer-footer {
  padding: 1rem;
  border-top: 1px solid rgba(119, 90, 25, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: flex-end;
}

.owner-form-host.hidden {
  display: none !important;
}

.owner-portal-header {
  display: none;
}

.owner-portal-main {
  padding: 0;
}

.owner-portal-main .ownerTabPanel.hidden {
  display: none;
}

.owner-finance-tables-only .owner-finance-hide-on-tab {
  display: none;
}

/* ── Guest checkout (M-Pesa) ── */
.checkout-panel {
  background: #fff;
  border: 1px solid rgba(119, 90, 25, 0.12);
  border-radius: 0.5rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 21, 17, 0.06);
}

.checkout-summary {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #374151;
}

.checkout-pay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #0f6e56 0%, #0a3d2e 100%);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.checkout-pay-btn:hover:not(:disabled) {
  opacity: 0.95;
  transform: translateY(-1px);
}

.checkout-pay-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.checkout-pending-spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid rgba(15, 110, 86, 0.2);
  border-top-color: #0f6e56;
  border-radius: 50%;
  animation: drawer-gallery-spin 0.7s linear infinite;
}
