/* ============================================================
   A BEAUTIFUL WEEK — Luxury Rental Website
   Complete Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* --- TOKENS --- */
:root {
  --bg:           #F9F7F4;
  --dark:         #1C1917;
  --text:         #3D3935;
  --muted:        #78716C;
  --border:       #E5E1DA;
  --light:        #EDEAE4;
  --accent:       #9B8B70;
  --accent-h:     #7A6E56;
  --white:        #FFFFFF;
  --overlay:      rgba(28,25,23,0.42);
  --overlay-deep: rgba(28,25,23,0.62);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', -apple-system, sans-serif;

  --nav-h: 72px;
  --max-w: 1440px;

  --ease:      0.3s ease;
  --ease-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 1rem; line-height: 1.65; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

/* --- TYPOGRAPHY --- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--light { color: rgba(255,255,255,0.55); }

/* --- LAYOUT --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* --- NAVIGATION --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background var(--ease), box-shadow var(--ease);
}
.nav--transparent { background: transparent; }
.nav--white { background: var(--white); box-shadow: 0 1px 0 var(--border); }

.nav__inner {
  width: 100%; max-width: var(--max-w); margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  font-family: var(--serif);
  font-size: 1.25rem; font-weight: 500; letter-spacing: 0.05em;
  color: var(--white); transition: color var(--ease); white-space: nowrap;
}
.nav--white .nav__logo { color: var(--dark); }

.nav__links { display: flex; align-items: center; gap: 2.5rem; }
.nav__item { position: relative; }

.nav__link {
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.8); transition: color var(--ease); padding: 0; background: none; border: none; cursor: pointer;
}
.nav__link:hover { color: var(--white); }
.nav--white .nav__link { color: var(--muted); }
.nav--white .nav__link:hover { color: var(--dark); }

.nav__dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--border);
  min-width: 240px; padding: 0.75rem 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--ease), visibility var(--ease);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  margin-top: 8px;
}
.nav__dropdown::before {
  content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px;
}
.nav__item:hover .nav__dropdown,
.nav__item.is-open .nav__dropdown { opacity: 1; visibility: visible; pointer-events: auto; }

.nav__dropdown-link {
  display: block; padding: 0.625rem 1.25rem;
  font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  color: var(--text); transition: color var(--ease);
}
.nav__dropdown-link:hover { color: var(--accent); }

.nav__cta {
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.625rem 1.5rem; border: 1px solid rgba(255,255,255,0.45);
  color: var(--white); transition: all var(--ease);
}
.nav__cta:hover { background: var(--white); border-color: var(--white); color: var(--dark); }
.nav--white .nav__cta { border-color: var(--accent); color: var(--accent); }
.nav--white .nav__cta:hover { background: var(--accent); color: var(--white); }

.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav__burger span { width: 22px; height: 1.5px; background: var(--white); transition: all var(--ease); display: block; }
.nav--white .nav__burger span { background: var(--dark); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: var(--dark); z-index: 200;
  padding: 7rem 2rem 2rem;
  flex-direction: column;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu__close {
  position: absolute; top: 1.5rem; right: 1.75rem;
  color: rgba(255,255,255,0.5); font-size: 1.5rem; line-height: 1;
  transition: color var(--ease);
}
.mobile-menu__close:hover { color: var(--white); }
.mobile-menu__link {
  font-family: var(--serif);
  font-size: clamp(2rem, 7vw, 3rem);
  font-style: italic; font-weight: 300;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  transition: color var(--ease);
}
.mobile-menu__link:hover { color: var(--white); }
.mobile-menu__sub {
  font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); padding: 1rem 0;
}

/* --- HERO --- */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.12);
  transition: transform 18s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.hero.loaded .hero__bg { transform: scale(1.02); }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(28,25,23,0) 0%, rgba(28,25,23,0.35) 70%, rgba(28,25,23,0.65) 100%),
    linear-gradient(to bottom, rgba(28,25,23,0.25) 0%, rgba(28,25,23,0.15) 40%, rgba(28,25,23,0.55) 100%);
}
.hero__content {
  position: relative; text-align: center; color: var(--white);
  padding: 0 1.5rem; max-width: 960px; z-index: 1;
}
.hero__eyebrow {
  font-size: 0.575rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 11vw, 11rem);
  font-weight: 300; font-style: italic;
  line-height: 0.88; color: var(--white); margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero__subtitle {
  font-family: var(--serif);
  font-size: clamp(1rem, 2.2vw, 1.625rem);
  font-weight: 300; font-style: italic;
  color: rgba(255,255,255,0.72); margin-bottom: 3rem;
  letter-spacing: 0.04em;
}
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.625rem;
  color: rgba(255,255,255,0.45); font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase;
  animation: bob 2.5s ease infinite;
}
.hero__scroll::after {
  content: ''; width: 1px; height: 36px; background: rgba(255,255,255,0.3);
}
@keyframes bob {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Property hero */
.hero--prop { height: 88vh; align-items: flex-end; }
.hero--prop .hero__content {
  text-align: left; max-width: var(--max-w); width: 100%;
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
}
.hero--prop .hero__title {
  font-size: clamp(3rem, 7vw, 7.5rem); margin-bottom: 0.75rem;
}
.hero--prop-location {
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-top: 0.5rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; gap: 0.625rem;
  font-family: var(--sans); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  transition: all var(--ease); cursor: pointer;
}
.btn-arrow { transition: transform var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn--primary { background: var(--accent); color: var(--white); padding: 1rem 2rem; }
.btn--primary:hover { background: var(--accent-h); }

.btn--outline-light { border: 1px solid rgba(255,255,255,0.5); color: var(--white); padding: 1rem 2rem; }
.btn--outline-light:hover { background: var(--white); border-color: var(--white); color: var(--dark); }

.btn--outline-dark { border: 1px solid var(--accent); color: var(--accent); padding: 1rem 2rem; }
.btn--outline-dark:hover { background: var(--accent); color: var(--white); }

.btn--text { color: var(--accent); font-size: 0.65rem; }
.btn--text:hover { color: var(--accent-h); }

/* --- BOOKING BAR --- */
.booking-bar {
  position: sticky; top: var(--nav-h); z-index: 90;
  background: var(--white); border-bottom: 1px solid var(--border);
}
.booking-bar__inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap;
}
.booking-bar__stat { display: flex; flex-direction: column; gap: 2px; }
.booking-bar__label { font-size: 0.575rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.booking-bar__value { font-family: var(--serif); font-size: 1.625rem; font-weight: 500; color: var(--dark); line-height: 1; }
.booking-bar__sep { width: 1px; height: 36px; background: var(--border); }
.booking-bar__cta { margin-left: auto; }

/* --- PROPERTIES GRID (homepage) — uniform 2x2 + Del Mar full-width banner --- */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}
.prop-card {
  position: relative; overflow: hidden; cursor: pointer;
  display: block;
}
.prop-card--fl,
.prop-card--napa,
.prop-card--pc,
.prop-card--sh {
  aspect-ratio: 5/4;
}
.prop-card--dm {
  grid-column: 1 / -1;
  aspect-ratio: 21/6;
}

.prop-card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.prop-card:hover .prop-card__img { transform: scale(1.04); }

.prop-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,16,14,0.72) 0%, rgba(20,16,14,0.1) 55%, transparent 100%);
}
.prop-card--muted .prop-card__overlay { background: rgba(20,16,14,0.5); }

.prop-card__content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
}
.prop-card__location {
  font-size: 0.55rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-bottom: 0.4rem;
}
.prop-card__name {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  font-style: italic; font-weight: 300;
  color: var(--white); line-height: 1.05; margin-bottom: 0.625rem;
}
.prop-card__meta {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.7rem; color: rgba(255,255,255,0.65);
}
.prop-card__badge {
  position: absolute; top: 1.25rem; left: 1.25rem;
  background: var(--accent); color: var(--white);
  font-size: 0.5rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 0.25rem 0.625rem;
}
.prop-card__unavail {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.625rem;
}
.prop-card__unavail-title {
  font-family: var(--serif); font-size: 1.75rem; font-style: italic; font-weight: 300;
  color: rgba(255,255,255,0.6);
}
.prop-card__unavail-sub {
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.35);
}

/* --- BRAND STATEMENT --- */
.brand {
  padding: clamp(4rem, 8vw, 8rem) 0;
  text-align: center;
}
.brand__headline {
  font-family: var(--serif);
  font-size: clamp(1.875rem, 4.5vw, 4rem);
  font-weight: 300; font-style: italic;
  color: var(--dark); line-height: 1.2;
  max-width: 820px; margin: 0 auto 1.5rem;
}
.brand__text {
  font-size: 1.0625rem; color: var(--muted); line-height: 1.85;
  max-width: 560px; margin: 0 auto 2.5rem;
}

/* --- EXPERIENCE SECTION --- */
.experience {
  background: var(--dark);
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.experience__header { text-align: center; margin-bottom: clamp(3rem, 6vw, 5rem); }
.experience__title {
  font-family: var(--serif); font-size: clamp(2rem, 5vw, 4.5rem);
  font-style: italic; font-weight: 300; color: var(--white); margin-top: 1rem; line-height: 1.1;
}
.experience__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.experience__item {
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  transition: background var(--ease);
}
.experience__item:hover { background: rgba(255,255,255,0.04); }
.experience__num {
  font-family: var(--serif); font-size: 3.5rem; font-weight: 300;
  color: var(--accent); line-height: 1; margin-bottom: 1.25rem;
}
.experience__name {
  font-family: var(--serif); font-size: 1.375rem; font-style: italic; font-weight: 400;
  color: var(--white); margin-bottom: 0.75rem;
}
.experience__desc {
  font-size: 0.875rem; color: rgba(255,255,255,0.45); line-height: 1.75;
}

/* --- INQUIRY SECTION (homepage) --- */
.inq-section {
  padding: clamp(4rem, 8vw, 8rem) 0;
  background: var(--light);
}
.inq-section__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.inq-section__left h2 {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-style: italic; font-weight: 300;
  color: var(--dark); line-height: 1.1; margin-bottom: 1.25rem;
}
.inq-section__left p {
  font-size: 1.0625rem; color: var(--muted); line-height: 1.85; margin-bottom: 2rem;
}
.inq-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.inq-contact__item {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.9375rem; color: var(--text);
}
.inq-contact__label {
  font-size: 0.55rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); min-width: 48px;
}
.inq-contact a { color: var(--text); transition: color var(--ease); }
.inq-contact a:hover { color: var(--accent); }

/* --- FORM --- */
.form { display: flex; flex-direction: column; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__group { display: flex; flex-direction: column; gap: 0.375rem; }
.form__label { font-size: 0.575rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.form__input, .form__select, .form__textarea {
  width: 100%; padding: 0.875rem 1rem;
  background: var(--white); border: 1px solid var(--border);
  font-size: 0.9375rem; color: var(--dark);
  transition: border-color var(--ease);
  -webkit-appearance: none; appearance: none; border-radius: 0;
}
.form__input:focus, .form__select:focus, .form__textarea:focus {
  outline: none; border-color: var(--accent);
}
.form__textarea { resize: vertical; min-height: 110px; }
.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%239B8B70' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer;
}
.form__note { font-size: 0.75rem; color: var(--muted); line-height: 1.5; text-align: center; }

/* --- PROPERTY PAGE LAYOUT --- */
.prop-layout {
  max-width: var(--max-w); margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1fr 360px; gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}
.prop-header { margin-bottom: 3rem; max-width: 820px; }
.prop-header__loc {
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.75rem; display: block;
}
.prop-header__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-style: italic; font-weight: 300;
  color: var(--dark); line-height: 1.05; margin-bottom: 1.5rem;
}
.prop-header__intro {
  font-family: var(--serif);
  font-size: clamp(1.125rem, 1.7vw, 1.4rem);
  font-style: italic; font-weight: 300;
  color: var(--text); line-height: 1.65;
  max-width: 800px;
}
/* Editorial body — comfortable serif column */
.prop-body {
  max-width: 820px;
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.85;
}
.prop-body p { margin-bottom: 1.5em; }
.prop-body em { color: var(--accent); font-style: italic; }
.prop-body blockquote {
  max-width: 740px;
  margin: 2em 0;
  padding: 0.5em 0 0.5em 1.5rem;
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--dark);
  line-height: 1.5;
}

.prop-divider { height: 1px; background: var(--border); margin: 2.5rem 0; max-width: 820px; }

.prop-section-title {
  font-family: var(--serif); font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-style: italic; font-weight: 300; color: var(--dark); margin-bottom: 1.5rem;
}

/* Amenities */
.amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem 2rem; }
.amenity {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.9375rem; color: var(--text);
}
.amenity::before { content: ''; width: 18px; height: 1px; background: var(--accent); flex-shrink: 0; }

/* Location highlights */
.loc-highlights { display: flex; flex-direction: column; gap: 0.625rem; }
.loc-highlight { display: flex; align-items: baseline; gap: 1rem; font-size: 0.9375rem; }
.loc-highlight__dist {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 500;
  color: var(--accent); min-width: 64px; flex-shrink: 0;
}

/* --- SIDEBAR --- */
.prop-sidebar {
  position: sticky; top: calc(var(--nav-h) + 5rem);
  background: var(--white); border: 1px solid var(--border);
  padding: 2rem;
}
.sidebar__price {
  display: flex; align-items: baseline; gap: 0.375rem;
  margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border);
}
.sidebar__amount {
  font-family: var(--serif); font-size: 3rem; font-weight: 500;
  color: var(--dark); line-height: 1;
}
.sidebar__unit { font-size: 0.8125rem; color: var(--muted); }

.sidebar__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.75rem; }
.sidebar__stat { text-align: center; }
.sidebar__stat-n {
  font-family: var(--serif); font-size: 2rem; font-weight: 400;
  color: var(--dark); line-height: 1;
}
.sidebar__stat-l {
  font-size: 0.5rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 2px;
}

.sidebar__form { display: flex; flex-direction: column; gap: 0.875rem; }
.sidebar__form .form__input,
.sidebar__form .form__select,
.sidebar__form .form__textarea { background: var(--bg); font-size: 0.875rem; padding: 0.75rem 0.875rem; }
.sidebar__form .btn { width: 100%; justify-content: center; padding: 1rem; }

/* --- GALLERY --- */
.gallery { width: 100%; overflow: hidden; }
.gallery__strip {
  display: flex; gap: 3px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab;
}
.gallery__strip::-webkit-scrollbar { display: none; }
.gallery__strip:active { cursor: grabbing; }
.gallery__item { flex: 0 0 auto; scroll-snap-align: start; overflow: hidden; }
.gallery__item--w { width: 62vw; aspect-ratio: 16/10; }
.gallery__item--s { width: 36vw; aspect-ratio: 4/3; }
.gallery__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery__item:hover .gallery__img { transform: scale(1.02); }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.93); align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox__img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
.lightbox__close {
  position: absolute; top: 1.5rem; right: 1.75rem;
  color: rgba(255,255,255,0.55); font-size: 1.25rem; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.2); transition: all var(--ease); cursor: pointer;
}
.lightbox__close:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }
.lightbox__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.6); font-size: 1.25rem; width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.2); transition: all var(--ease); cursor: pointer;
}
.lightbox__btn:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.lightbox__prev { left: 1.5rem; }
.lightbox__next { right: 1.5rem; }

/* --- RELATED --- */
.related { background: var(--light); padding: clamp(4rem, 7vw, 6rem) 0; }
.related__header { text-align: center; margin-bottom: 3rem; }
.related__title {
  font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-style: italic; font-weight: 300; color: var(--dark); margin-top: 0.5rem;
}
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.rel-card { position: relative; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; display: block; }
.rel-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--ease-slow); }
.rel-card:hover .rel-card__img { transform: scale(1.04); }
.rel-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,16,14,0.65) 0%, transparent 55%); }
.rel-card__content { position: absolute; bottom: 0; padding: 1.5rem; color: var(--white); }
.rel-card__loc { font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 0.375rem; }
.rel-card__name { font-family: var(--serif); font-size: 1.5rem; font-style: italic; font-weight: 300; }

/* --- FOOTER --- */
.footer { background: var(--dark); color: rgba(255,255,255,0.5); padding: 5rem 0 2rem; }
.footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem;
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer__logo {
  font-family: var(--serif); font-size: 1.75rem; font-style: italic;
  color: var(--white); margin-bottom: 1rem;
}
.footer__desc {
  font-size: 0.875rem; color: rgba(255,255,255,0.38);
  line-height: 1.75; max-width: 260px; margin-bottom: 1.5rem;
}
.footer__contact { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
.footer__contact a { color: rgba(255,255,255,0.45); transition: color var(--ease); }
.footer__contact a:hover { color: var(--white); }
.footer__col-title {
  font-size: 0.5rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.22); margin-bottom: 1.5rem;
}
.footer__links { display: flex; flex-direction: column; gap: 0.875rem; }
.footer__link {
  font-family: var(--serif); font-size: 1rem; font-style: italic;
  color: rgba(255,255,255,0.48); transition: color var(--ease);
}
.footer__link:hover { color: var(--white); }
.footer__bottom {
  max-width: var(--max-w); margin: 0 auto;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.7rem; color: rgba(255,255,255,0.2);
}

/* --- ABOUT PAGE --- */
.about-intro { padding: clamp(3rem, 6vw, 6rem) 0; }
.about-intro__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-intro__img-wrap { aspect-ratio: 3/4; overflow: hidden; }
.about-intro__img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 {
  font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-style: italic; font-weight: 300; color: var(--dark); margin-bottom: 1.5rem; line-height: 1.15;
}
.about-text p { font-size: 1.0625rem; color: var(--text); line-height: 1.9; margin-bottom: 1.125rem; }

/* --- CONTACT PAGE --- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-info h1 {
  font-family: var(--serif); font-size: clamp(2.25rem, 4vw, 4rem);
  font-style: italic; font-weight: 300; color: var(--dark); margin-bottom: 1.5rem; line-height: 1.1;
}
.contact-info p { font-size: 1.0625rem; color: var(--muted); line-height: 1.85; margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-detail { display: flex; flex-direction: column; gap: 0.25rem; }
.contact-detail__label { font-size: 0.575rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.contact-detail__val { font-size: 1rem; color: var(--dark); }
.contact-detail a { color: var(--dark); transition: color var(--ease); }
.contact-detail a:hover { color: var(--accent); }

/* --- SCROLL ANIMATIONS --- */
.fade-up {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* --- PAGE HERO (non-full-screen) --- */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  background: var(--dark); text-align: center;
}
.page-hero__title {
  font-family: var(--serif); font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-style: italic; font-weight: 300; color: var(--white); line-height: 1.05;
}
.page-hero__sub { font-size: 1rem; color: rgba(255,255,255,0.45); margin-top: 0.75rem; letter-spacing: 0.05em; }

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
  .prop-layout { grid-template-columns: 1fr; }
  .prop-sidebar { position: static; }
  .experience__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .properties-grid { display: flex; flex-direction: column; }
  .prop-card--fl, .prop-card--napa, .prop-card--pc, .prop-card--sh { aspect-ratio: 4/3; }
  .prop-card--dm { aspect-ratio: 16/9; }
  .inq-section__inner { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .amenities { grid-template-columns: 1fr; }
  .experience__grid { grid-template-columns: 1fr; }
  .related__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .gallery__item--w { width: 88vw; }
  .gallery__item--s { width: 72vw; }
  .about-intro__inner { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .booking-bar__cta { width: 100%; margin-left: 0; }
  .booking-bar__cta .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   EMAIL POPUP
   ============================================================ */
.email-popup {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.email-popup.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.email-popup__overlay {
  position: absolute; inset: 0;
  background: rgba(28,25,23,0.72);
  cursor: pointer;
}
.email-popup__modal {
  position: relative; z-index: 1;
  background: var(--white);
  max-width: 480px; width: calc(100% - 2rem);
  padding: 3rem 2.5rem 2.5rem;
  text-align: center;
  animation: popupIn 0.5s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes popupIn {
  from { transform: translateY(24px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.email-popup__close {
  position: absolute; top: 1rem; right: 1.25rem;
  background: none; border: none; cursor: pointer;
  font-size: 1.125rem; color: var(--muted);
  transition: color var(--ease);
  padding: 0.25rem;
}
.email-popup__close:hover { color: var(--dark); }
.email-popup__title {
  font-family: var(--serif); font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-style: italic; font-weight: 300; color: var(--dark);
  margin: 0.5rem 0 0.875rem;
}
.email-popup__sub {
  font-size: 0.9375rem; color: var(--muted); line-height: 1.7;
  margin-bottom: 1.75rem;
}
.email-popup__form {
  display: flex; flex-direction: column; gap: 0.875rem;
}
.email-popup__input {
  width: 100%; padding: 0.875rem 1rem; box-sizing: border-box;
  border: 1px solid var(--border); background: var(--bg);
  font-family: var(--sans); font-size: 0.9375rem; color: var(--dark);
  outline: none; transition: border-color var(--ease);
}
.email-popup__input:focus { border-color: var(--accent); }
.email-popup__note {
  font-size: 0.75rem; color: var(--muted); margin-top: 0.75rem;
}
.email-popup__success {
  display: none; padding: 1rem; background: #f0ede8;
  font-size: 0.9375rem; color: var(--dark); line-height: 1.6;
}
.email-popup__success.visible { display: block; }

/* ============================================================
   BOOKING CALENDAR WIDGET
   ============================================================ */
.booking-cal {
  background: var(--white); border: 1px solid var(--border);
  padding: 2rem; margin-bottom: 2rem;
}
.booking-cal__title {
  font-family: var(--serif); font-size: 1.375rem; font-style: italic;
  font-weight: 300; color: var(--dark); margin-bottom: 0.375rem;
}
.booking-cal__sub {
  font-size: 0.875rem; color: var(--muted); margin-bottom: 1.5rem;
}
.booking-cal__dates {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin-bottom: 1.25rem;
}
.booking-cal__field label {
  display: block; font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.375rem;
}
.booking-cal__field input {
  width: 100%; box-sizing: border-box;
  padding: 0.75rem 1rem; border: 1px solid var(--border);
  background: var(--bg); font-family: var(--sans);
  font-size: 0.9375rem; color: var(--dark); outline: none;
  transition: border-color var(--ease); cursor: pointer;
}
.booking-cal__field input:focus { border-color: var(--accent); }
.booking-cal__actions {
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
}
.booking-cal__platforms {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  margin-top: 1.25rem; padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  align-items: center;
}
.booking-cal__platforms-label {
  font-size: 0.75rem; font-weight: 500; color: var(--muted);
  letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
}
.booking-cal__platform-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border: 1px solid var(--border);
  background: var(--white); font-family: var(--sans); font-size: 0.8125rem;
  font-weight: 500; color: var(--dark); text-decoration: none;
  transition: border-color var(--ease), background var(--ease);
  cursor: pointer;
}
.booking-cal__platform-btn:hover {
  border-color: var(--accent); background: var(--light);
}
.booking-cal__platform-btn--airbnb { color: #FF5A5F; border-color: #FF5A5F33; }
.booking-cal__platform-btn--airbnb:hover { background: #fff0f0; border-color: #FF5A5F; }
.booking-cal__platform-btn--vrbo { color: #1a5276; border-color: #1a527633; }
.booking-cal__platform-btn--vrbo:hover { background: #f0f4f8; border-color: #1a5276; }

@media (max-width: 640px) {
  .booking-cal__dates { grid-template-columns: 1fr; }
  .email-popup__modal { padding: 2.5rem 1.5rem 2rem; }
}

/* ============================================================
   LUXURY POLISH — site-wide refinements
   ============================================================ */

/* --- Word-by-word reveal on hero titles ---
   Each word wrapped in a span by JS; cascading rise reveal. */
.hero__title .word,
.hero__subtitle .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.hero__title .word > span,
.hero__subtitle .word > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero.loaded .hero__title .word > span,
.hero.loaded .hero__subtitle .word > span {
  transform: translateY(0);
  opacity: 1;
}
/* Stagger via inline custom property set by JS (--i: word index) */
.hero__title .word > span { transition-delay: calc(0.4s + var(--i, 0) * 0.12s); }
.hero__subtitle .word > span { transition-delay: calc(1.0s + var(--i, 0) * 0.06s); }

/* Remove the old single-block transition on .hero__title-inner
   (inline rule in index.html still applies; this overrides where applicable) */
.hero__title .hero__title-inner { transition: none; transform: none; }

/* --- Refined hero scroll indicator --- */
.hero__scroll {
  font-family: var(--sans);
  font-size: 0.55rem;
  letter-spacing: 0.32em;
  font-weight: 500;
  opacity: 0;
  animation: heroScrollIn 1.2s cubic-bezier(0.16,1,0.3,1) 2.4s forwards, bob 2.5s ease 3.6s infinite;
}
@keyframes heroScrollIn {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* --- Nav: backdrop-blur on scroll --- */
.nav--white {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}

/* --- Custom cursor on gallery images --- */
.gallery__img,
.prop-card__img,
.rel-card__img {
  cursor: none;
}
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 76px; height: 76px;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1),
              border-color 0.3s ease,
              background 0.3s ease;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  mix-blend-mode: difference;
}
.cursor-dot.is-active {
  transform: translate(-50%, -50%) scale(1);
}

/* --- Gallery item: subtle ambient pan on hover (whole strip) ---
   Pause auto-pan on hover for control. */
.gallery__strip {
  scroll-behavior: smooth;
}

/* --- Property card hover: subtle lift + slower zoom for editorial feel --- */
.prop-card {
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.prop-card__img {
  transition: transform 1.6s cubic-bezier(0.16,1,0.3,1);
}
.prop-card:hover .prop-card__img {
  transform: scale(1.06);
}

/* --- Brand statement headline: tighter spacing, more drama --- */
.brand__headline {
  letter-spacing: -0.015em;
}

/* --- Smooth lightbox open/close --- */
.lightbox {
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1);
}
.lightbox.open {
  opacity: 1;
  display: flex;
}
.lightbox__img {
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1),
              opacity 0.4s ease;
}

/* --- Reduced motion respect --- */
@media (prefers-reduced-motion: reduce) {
  .hero__bg,
  .hero__title .word > span,
  .hero__subtitle .word > span,
  .prop-card__img,
  .lightbox__img {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
