/* ============================================================
   BELLE MEADE, Private offering. Stefan Segall, Miami.
   ============================================================ */

:root {
  --ivory: #f3ede1;
  --sand: #e6dcc7;
  --limestone: #ddd3bd;
  --paper: #f8f4ea;
  --espresso: #2a2117;
  --charcoal: #191510;
  --black: #0e0c09;
  --ink: #23201a;
  --ocean: #4c6469;
  --ocean-light: #7d9599;
  --olive: #5e6248;
  --olive-light: #8b8f68;
  --line: rgba(25, 21, 16, 0.14);
  --line-light: rgba(243, 237, 225, 0.2);
  --shadow: 0 40px 80px -30px rgba(10, 8, 5, 0.5);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-strong: cubic-bezier(0.65, 0, 0.35, 1);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
/* Scroll smoothing is owned entirely by Lenis (see js/main.js) — native
   scroll-behavior:smooth here would fight it and cause janky double-animation. */

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }

.label {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ocean);
  font-weight: 500;
}
.eyebrow { /* legacy alias, same treatment as .label */
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ocean);
  font-weight: 500;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 6vw;
}

/* ---------- Nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px 6vw;
  transition: padding 0.5s var(--ease), background 0.5s var(--ease);
  background: transparent;
  mix-blend-mode: normal;
}
.site-nav.scrolled {
  padding: 18px 6vw;
  background: rgba(14, 12, 9, 0.88);
  backdrop-filter: blur(10px);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  letter-spacing: 0.01em;
  color: #fff;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo span {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-top: 7px;
}
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  padding: 14px;
  margin: -14px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2100;
}
.nav-toggle span {
  width: 26px; height: 1.5px; background: #fff;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle:hover span { opacity: 0.75; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-toggle.open:hover span { opacity: 1; }

/* Full-screen menu overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s;
}
.menu-overlay.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s var(--ease), visibility 0s;
}
.menu-preview {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  overflow: hidden;
  display: none;
}
.menu-preview img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1s var(--ease), transform 1.6s var(--ease);
  filter: grayscale(0.3) brightness(0.8);
}
.menu-preview img.active { opacity: 1; transform: scale(1); }
.menu-preview::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--black) 0%, rgba(14,12,9,0) 32%);
}
.menu-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.menu-inner a {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-style: italic;
  color: rgba(243,237,225,0.4);
  transition: color 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 6px 0;
  display: block;
}
.menu-inner a:hover { color: #f3ede1; padding-left: 14px; }

@media (min-width: 900px) {
  .menu-preview { display: block; }
  .menu-overlay { justify-content: flex-start; padding-left: 9vw; }
  .menu-inner { text-align: left; }
}
.menu-meta {
  position: absolute;
  bottom: 48px; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 0 6vw;
  color: rgba(243,237,225,0.45);
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* ---------- Hero / opening ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
.hero-media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  animation: kenBurns 26s var(--ease) infinite alternate;
}
@keyframes kenBurns {
  0% { transform: scale(1.08) translate3d(0,0,0); }
  100% { transform: scale(1.2) translate3d(-0.8%, -1.2%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media, .p-hero-media { animation: none; transform: scale(1.08); }
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,12,9,0.32) 0%, rgba(14,12,9,0.26) 28%, rgba(14,12,9,0.42) 55%, rgba(14,12,9,0.88) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 6vw 9vh;
}
.hero .eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  font-size: 1.15rem;
  color: #f3ede1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.4);
}
.hero h1 {
  color: #fff;
  font-size: clamp(3.4rem, 9vw, 8.5rem);
  line-height: 0.94;
  margin: 10px 0 26px;
  max-width: 16ch;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.hero p.lead {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  font-weight: 400;
  color: rgba(243,237,225,0.9);
  max-width: 460px;
  margin: 0 0 36px;
  line-height: 1.75;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}
.scroll-cue {
  position: absolute;
  bottom: 34px; right: 6vw;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(243,237,225,0.7);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.scroll-cue .line {
  width: 46px; height: 1px;
  background: rgba(243,237,225,0.5);
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: "";
  position: absolute; inset: 0;
  background: #fff;
  transform: translateX(-100%);
  animation: scrollTrack 2.2s var(--ease) infinite;
}
@keyframes scrollTrack {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  background: transparent;
  cursor: pointer;
  transition: background 0.55s var(--ease), color 0.5s var(--ease), border-color 0.55s var(--ease), letter-spacing 0.5s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { background: var(--charcoal); color: #fff; letter-spacing: 0.3em; }
.btn:active { transform: scale(0.97); }
.btn-light {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.btn-light:hover { background: #fff; color: var(--charcoal); border-color: #fff; }
.btn-solid {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: #fff;
}
.btn-solid:hover { background: var(--ocean); border-color: var(--ocean); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: inherit;
  position: relative;
  padding-bottom: 3px;
}
.text-link::after {
  content: "";
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  opacity: 0.35;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.text-link:hover::after { opacity: 1; }
.text-link .arrow { transition: transform 0.5s var(--ease); }
.text-link:hover .arrow { transform: translateX(6px); }

/* ---------- Focus states (keyboard nav) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 1px solid var(--ocean-light);
  outline-offset: 4px;
}
.nav-toggle:focus-visible,
.gv-arrow:focus-visible,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  outline: 1px solid rgba(255,255,255,0.7);
  outline-offset: -4px;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
}

/* ---------- Shared micro-components ---------- */
.note-serif {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ocean);
  font-size: 1rem;
  margin-top: 14px;
}
.sidebar-card .note-serif { font-size: 0.95rem; margin: 6px 0 20px; }
.brand-sub {
  color: var(--ocean-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-top: 12px;
  font-weight: 500;
}

/* Prevents background scroll while the full-screen menu or lightbox is open */
.no-scroll { overflow: hidden; height: 100vh; }

/* ---------- Section basics ---------- */
section { position: relative; }
.section-head {
  max-width: 640px;
  margin: 0 0 60px;
}
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  margin: 18px 0 0;
}
.section-head p {
  color: #6b665a;
  line-height: 1.8;
  font-size: 1rem;
  margin-top: 20px;
}

/* ---------- Intro statement (home) ---------- */
.intro {
  padding: 16vh 0 13vh;
}
.intro .container { max-width: 1180px; }
.intro-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}
.intro-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ocean);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.intro h1 {
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
  line-height: 1.24;
  font-weight: 400;
}
.intro h1 em { color: var(--ocean); font-style: italic; }
@media (max-width: 700px) {
  .intro-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* ============================================================
   Campaign sections: the property presentation.
   Full-bleed photography, minimal type, no cards.
   ============================================================ */
.campaign-collection { background: var(--ivory); }
.campaign-collection .collection-head {
  padding: 12vh 6vw 8vh;
  max-width: 900px;
}
.campaign {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 92vh;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.campaign:hover .text-link::after { opacity: 1; }
.campaign:hover .text-link .arrow { transform: translateX(6px); }
.campaign:hover .campaign-media img { transform: scale(1.045); filter: brightness(1.03); }
.campaign-media img { transition: transform 1.6s var(--ease), filter 1.6s var(--ease); }
.campaign:hover .campaign-num { opacity: 0.9; }
.campaign-num { transition: opacity 0.6s var(--ease); }
.campaign.reverse { grid-template-columns: 0.85fr 1.15fr; }
.campaign.reverse .campaign-media { order: 2; }
.campaign.reverse .campaign-copy { order: 1; }
.campaign-media {
  position: relative;
  overflow: hidden;
  min-height: 60vh;
}
.campaign-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}
.campaign-status {
  position: absolute;
  top: 32px; left: 32px;
  border: 1px solid rgba(255,255,255,0.5);
  color: #f3ede1;
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 8px 16px;
  z-index: 2;
}
.campaign-num {
  position: absolute;
  bottom: 26px; left: 32px;
  z-index: 2;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.6rem, 4.4vw, 4rem);
  line-height: 1;
  color: #f3ede1;
  opacity: 0.6;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.campaign-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8vh 6vw;
}
.campaign-copy .label { color: var(--ocean); }
.campaign-copy h3 {
  font-size: clamp(2.6rem, 4.2vw, 4.2rem);
  margin: 18px 0 0;
  line-height: 1.02;
}
.campaign-copy .price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--ink);
  margin-top: 22px;
}
.campaign-specs {
  display: flex;
  gap: 28px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b665a;
}
.campaign-specs strong { color: var(--charcoal); font-weight: 500; font-family: var(--sans); }
.campaign-copy .text-link { margin-top: 34px; color: var(--charcoal); }

@media (min-width: 861px) {
  .campaign-media { height: 92vh; }
}

/* ---------- Stats / authority band ---------- */
.stats-band {
  background: var(--espresso);
  color: #ece4d4;
  padding: 14vh 0;
}
.stats-band .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stats-band .stat {
  border-left: 1px solid rgba(236,228,212,0.2);
  padding-left: 24px;
}
.stats-band .stat h3 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  color: #f3ede1;
  margin-bottom: 14px;
  font-style: italic;
}
.stats-band .stat p {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(236,228,212,0.6);
}

/* ---------- Neighborhood / destination editorial ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.split .media { position: relative; overflow: hidden; height: 86vh; }
.split .media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
}
.split .copy { padding: 8vh 6vw; display: flex; flex-direction: column; justify-content: center; }
.split .copy .label { color: var(--ocean); }
.split .copy h2 { font-size: clamp(2.6rem, 4.4vw, 4.4rem); margin-top: 16px; }
.split .copy p { color: #6b665a; line-height: 1.9; margin: 24px 0 0; font-size: 1rem; max-width: 46ch; }
.split.reverse { direction: rtl; }
.split.reverse .copy { direction: ltr; }
.split.reverse .media { direction: ltr; }

.destinations {
  background: var(--charcoal);
  padding: 14vh 0;
  color: #f3ede1;
}
.destinations .section-head h2, .destinations .section-head .label { color: #f3ede1; }
.destinations .section-head p { color: rgba(243,237,225,0.6); }
.dest-list { border-top: 1px solid rgba(243,237,225,0.15); }
.dest-row {
  display: grid;
  grid-template-columns: 0.6fr 1fr 1.4fr;
  align-items: center;
  gap: 40px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(243,237,225,0.15);
}
.dest-row .num { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: rgba(243,237,225,0.4); }
.dest-row h4 { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.4rem); color: #f3ede1; font-weight: 400; }
.dest-row p { color: rgba(243,237,225,0.62); font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* ---------- Access / exclusivity ---------- */
.access {
  background: var(--ivory);
  padding: 16vh 0;
  text-align: center;
}
.access .container { max-width: 820px; }
.access .label { color: var(--ocean); }
.access h2 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  margin: 20px 0 0;
  font-style: italic;
}
.access p.sub {
  color: #6b665a;
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 56ch;
  margin: 26px auto 0;
}
.access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 8vh;
  text-align: left;
}
.access-grid .item { border-top: 1px solid var(--line); padding-top: 22px; }
.access-grid .item .label { display: block; margin-bottom: 12px; }
.access-grid .item p { color: #6b665a; font-size: 0.92rem; line-height: 1.7; margin: 0; }

/* ---------- Agent / About ---------- */
.agent-section {
  background: var(--black);
  color: #ece4d4;
  padding: 16vh 0;
}
.agent-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  align-items: center;
}
.agent-photo {
  position: relative;
  height: 68vh;
  overflow: hidden;
  background: linear-gradient(160deg, #241f18, #0e0c09);
  border: 1px solid rgba(236,228,212,0.12);
}
.agent-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(0.15) contrast(1.03);
}
.agent-photo .placeholder-text {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  color: rgba(236,228,212,0.4);
  font-size: 1.1rem;
  text-align: center;
  padding: 20px;
}
.agent-stat {
  position: absolute;
  left: 0; bottom: 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  background: rgba(14,12,9,0.72);
  backdrop-filter: blur(6px);
  padding: 20px 26px;
  border-top: 1px solid rgba(236,228,212,0.18);
  border-right: 1px solid rgba(236,228,212,0.18);
}
.agent-stat strong {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  color: #f3ede1;
  line-height: 1;
}
.agent-stat span {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(236,228,212,0.62);
}
.agent-grid h2 { color: #fff; font-size: clamp(2.6rem, 4.4vw, 4rem); }
.agent-grid .label { color: var(--ocean-light); }
.agent-grid p.bio { color: rgba(236,228,212,0.72); line-height: 1.9; margin: 24px 0 0; font-size: 1.05rem; max-width: 52ch; }
.agent-contact {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(236,228,212,0.15);
}
.agent-contact div { font-size: 0.9rem; }
.agent-contact .label { display: block; margin-bottom: 8px; }

/* ---------- Contact ---------- */
.contact-section { padding: 16vh 0; background: var(--paper); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.contact-grid form { display: flex; flex-direction: column; gap: 26px; }
.field { position: relative; }
.field label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a8471;
  margin-bottom: 10px;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 2px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ocean); }
.field textarea { resize: vertical; min-height: 100px; }
.hidden-field { position: absolute; left: -9999px; }
.form-success {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--ocean);
  line-height: 1.6;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.form-error {
  font-size: 0.8rem;
  color: #a33;
  margin-top: -10px;
}
.contact-grid .info-col h2 { margin: 18px 0 24px; font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
.contact-grid .info-col p { color: #6b665a; line-height: 1.85; margin-bottom: 34px; max-width: 42ch; }
.contact-list li {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
}
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .label { color: #8a8471; }

/* ---------- Footer ---------- */
footer {
  background: var(--black);
  color: rgba(236,228,212,0.55);
  padding: 0 0 34px;
}
.footer-statement {
  padding: 16vh 0 9vh;
  max-width: 720px;
}
.footer-statement h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 44px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 50px;
  padding-top: 50px;
  padding-bottom: 60px;
  border-top: 1px solid rgba(236,228,212,0.12);
  border-bottom: 1px solid rgba(236,228,212,0.12);
}
.footer-logo {
  font-family: var(--serif);
  font-style: italic;
  color: #fff;
  font-size: 1.5rem;
}
.footer-logo span {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ocean-light);
  margin-top: 8px;
}
.footer-links { display: flex; gap: 70px; flex-wrap: wrap; }
.footer-links h4 {
  color: #ece4d4;
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 18px;
}
.footer-links li { margin-bottom: 12px; font-size: 0.88rem; }
.footer-links a:hover { color: var(--ocean-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: 0.72rem;
  color: rgba(236,228,212,0.35);
  flex-wrap: wrap;
  gap: 14px;
}

.brand-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 46px 0 40px;
  flex-wrap: wrap;
}
.brand-strip .mark {
  display: block;
  width: auto;
  color: #f3ede1;
  fill: currentColor;
  opacity: 0.55;
  transition: opacity 0.4s var(--ease);
}
.brand-strip .mark:hover { opacity: 1; }
.mark-compass { height: 15px; }
.mark-carroll { height: 24px; }
.mark-flock { height: 78px; margin: -16px 0; }
.brand-divider {
  width: 1px;
  height: 26px;
  background: rgba(236,228,212,0.18);
}
@media (max-width: 600px) {
  .brand-strip { gap: 26px; padding: 40px 0 34px; }
  .brand-divider { display: none; }
}

.agent-brands {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 38px;
  padding-top: 32px;
  border-top: 1px solid rgba(236,228,212,0.15);
}
.agent-brands .mark { color: #f3ede1; fill: currentColor; opacity: 0.6; }
.agent-brands .mark:hover { opacity: 1; }

.brand-row {
  background: var(--espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 26px 6vw;
  flex-wrap: wrap;
}
.brand-row .mark { opacity: 0.55; }
.brand-row .mark:hover { opacity: 1; }

/* ---------- Property detail page ---------- */
.p-hero {
  position: relative;
  height: 96vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.p-hero-media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  animation: kenBurns 30s var(--ease) infinite alternate;
}
.p-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,12,9,0.22) 0%, rgba(14,12,9,0.4) 32%, rgba(14,12,9,0.58) 68%, rgba(14,12,9,0.92) 100%);
}
.p-hero-content {
  position: relative; z-index: 2;
  width: 100%;
  padding: 0 6vw 7vh;
}
.p-hero-content .eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  font-size: 1.05rem;
  color: #f3ede1;
  text-shadow: 0 1px 3px rgba(0,0,0,0.85), 0 2px 22px rgba(0,0,0,0.6);
}
.p-hero-content h1 {
  color: #fff;
  font-size: clamp(2.8rem, 6.5vw, 6rem);
  margin: 14px 0 10px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7), 0 6px 34px rgba(0,0,0,0.45);
}
.p-hero-content .addr { font-size: 1rem; color: rgba(243,237,225,0.9); letter-spacing: 0.02em; text-shadow: 0 1px 3px rgba(0,0,0,0.8), 0 2px 18px rgba(0,0,0,0.5); }
.p-hero-price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  color: #a9c1c4;
  margin-top: 20px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.85), 0 2px 20px rgba(0,0,0,0.6);
}

.details-bar { background: var(--espresso); color: #ece4d4; }
.details-bar .container {
  display: flex;
  justify-content: space-between;
  padding: 34px 6vw;
  flex-wrap: wrap;
  gap: 24px;
}
.details-bar .d { text-align: center; flex: 1; min-width: 110px; }
.details-bar .d strong { display: block; font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: #fff; }
.details-bar .d span { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(236,228,212,0.6); }

.p-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 100px; padding: 14vh 0; }
.p-body h2 { font-size: clamp(2rem, 3.2vw, 2.6rem); margin-bottom: 26px; }
.p-body .lead-text { font-size: 1.2rem; color: var(--charcoal); line-height: 1.85; margin-bottom: 26px; font-weight: 400; }
.p-body p { color: #6b665a; line-height: 1.9; margin-bottom: 22px; }

.features-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; margin-top: 32px; }
.features-list li { font-size: 0.9rem; color: #4a4841; padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.features-list li::before { content: ""; width: 4px; height: 4px; background: var(--ocean); flex-shrink: 0; }

.sidebar-card { background: var(--paper); border: 1px solid var(--line); padding: 44px 36px; position: sticky; top: 120px; height: fit-content; }
.sidebar-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.sidebar-card .p-price { font-family: var(--serif); font-style: italic; color: var(--ocean); font-size: 1.7rem; margin-bottom: 26px; }
.sidebar-card .field { margin-bottom: 18px; }
.sidebar-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.sidebar-note { font-size: 0.78rem; color: #8a8471; margin-top: 20px; line-height: 1.6; text-align: center; }

/* ---------- Gallery ---------- */
.gallery-section { padding: 0 0 12vh; }
.gallery-section .container { padding-top: 60px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 4px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: opacity 0.4s; }
.gallery-grid img:hover { opacity: 0.85; }
.gallery-grid a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid a:nth-child(4) { grid-column: span 2; }
@media (max-width: 800px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-grid a:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}
/* Hidden once the JS-built viewer takes over; stays visible as a no-JS fallback */
.gallery-grid.gv-source { display: none; }

.gallery-viewer { position: relative; }
.gallery-viewer-frame {
  position: relative;
  width: 100%;
  height: 76vh;
  min-height: 420px;
  overflow: hidden;
  background: var(--charcoal);
}
.gv-img {
  width: 100%; height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  display: block;
}
.gv-arrow {
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--serif);
  font-size: 2.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s var(--ease);
}
.gv-arrow:hover { background: rgba(14,12,9,0.3); }
.gv-prev { left: 0; justify-content: flex-start; padding-left: 22px; }
.gv-next { right: 0; justify-content: flex-end; padding-right: 22px; }
.gv-counter {
  position: absolute;
  bottom: 24px; right: 28px;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  background: rgba(14,12,9,0.45);
  padding: 9px 16px;
  pointer-events: none;
}
.gv-thumbs {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.gv-thumbs::-webkit-scrollbar { display: none; }
.gv-thumbs button {
  flex: 0 0 auto;
  width: 92px; height: 62px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.3s var(--ease);
}
.gv-thumbs button.active { opacity: 1; }
.gv-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 800px) {
  .gallery-viewer-frame { height: 52vh; }
  .gv-arrow { width: 56px; font-size: 1.8rem; }
  .gv-thumbs button { width: 64px; height: 44px; }
}

.lightbox { position: fixed; inset: 0; background: rgba(9,8,6,0.96); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 30px; right: 40px; color: #fff; font-size: 1.8rem; cursor: pointer; background: none; border: none; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 2rem; cursor: pointer; background: none; border: none; padding: 20px; }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

/* ---------- More band (cross links, editorial not cards) ---------- */
.more-band { background: var(--charcoal); padding: 14vh 0; }
.more-band .section-head h2, .more-band .section-head .label { color: #f3ede1; }
.more-band .section-head p { color: rgba(243,237,225,0.55); }
.more-list { border-top: 1px solid rgba(243,237,225,0.15); }
.more-row {
  display: grid;
  grid-template-columns: 0.35fr 1fr 0.5fr 0.3fr;
  align-items: center;
  gap: 30px;
  padding: 30px 6px;
  margin: 0 -6px;
  border-bottom: 1px solid rgba(243,237,225,0.15);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}
.more-row:hover { background: rgba(243,237,225,0.04); padding-left: 16px; }
.more-row .thumb { height: 90px; overflow: hidden; }
.more-row .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.more-row:hover .thumb img { transform: scale(1.08); }
.more-row h4 { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.9rem); color: #f3ede1; font-weight: 400; transition: color 0.4s var(--ease); }
.more-row:hover h4 { color: var(--ocean-light); }
.more-row .addr { font-size: 0.75rem; letter-spacing: 0.08em; color: rgba(243,237,225,0.5); text-transform: uppercase; margin-top: 6px; }
.more-row .price { font-family: var(--serif); font-style: italic; color: var(--ocean-light); font-size: 1.2rem; text-align: right; }
.more-row .arrow { color: rgba(243,237,225,0.5); text-align: right; font-size: 1.2rem; transition: transform 0.4s var(--ease); }
.more-row:hover .arrow { transform: translateX(4px); color: #f3ede1; }

/* ---------- Back link ---------- */
.back-link { position: fixed; top: 30px; left: 6vw; z-index: 999; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) and (min-width: 861px) {
  .campaign { grid-template-columns: 1fr; min-height: auto; }
  .campaign.reverse { grid-template-columns: 1fr; }
  .campaign-media, .campaign.reverse .campaign-media { order: 1; height: 66vh; }
  .campaign-copy, .campaign.reverse .campaign-copy { order: 2; padding: 6vh 6vw 7vh; }
  .agent-grid { grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
  .agent-photo { height: 52vh; }
  .p-body { grid-template-columns: 1.2fr 1fr; gap: 60px; }
  .split .media { height: 64vh; }
}

@media (max-width: 1100px) {
  .intro { padding: clamp(90px, 15vh, 160px) 0 clamp(70px, 12vh, 120px); }
  .campaign-collection .collection-head { padding: clamp(70px, 12vh, 140px) 6vw clamp(50px, 8vh, 90px); }
  .stats-band { padding: clamp(80px, 14vh, 150px) 0; }
  .destinations { padding: clamp(80px, 14vh, 150px) 0; }
  .access { padding: clamp(90px, 16vh, 160px) 0; }
  .agent-section { padding: clamp(90px, 16vh, 160px) 0; }
  .contact-section { padding: clamp(90px, 16vh, 160px) 0; }
  .more-band { padding: clamp(80px, 14vh, 150px) 0; }
  .p-body { padding: clamp(80px, 14vh, 150px) 0; }
  .footer-statement { padding: clamp(90px, 16vh, 160px) 0 clamp(50px, 9vh, 80px); }
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .campaign, .campaign.reverse { grid-template-columns: 1fr; min-height: auto; }
  .campaign-media, .campaign.reverse .campaign-media { order: 1; height: 62vh; }
  .campaign-copy, .campaign.reverse .campaign-copy { order: 2; padding: 6vh 7vw; }
  .campaign-specs { flex-wrap: wrap; row-gap: 16px; column-gap: 24px; }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .split, .split.reverse { grid-template-columns: 1fr; direction: ltr; }
  .split .media { height: 52vh; }
  .access-grid { grid-template-columns: 1fr; gap: 30px; }
  .dest-row { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .agent-grid { gap: 50px; grid-template-columns: 1fr; }
  .agent-photo { height: 40vh; }
  .p-body, .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .sidebar-card { position: static; top: auto; }
  .more-row { grid-template-columns: 0.5fr 1fr; }
  .more-row .price, .more-row .arrow { display: none; }

  .menu-inner { gap: 2px; }
  .menu-inner a { font-size: clamp(2rem, 9vw, 2.8rem); }
  .menu-meta { flex-direction: column; gap: 10px; bottom: 36px; }
  .menu-meta span:first-child { white-space: nowrap; }
}

@media (max-width: 420px) {
  .hero h1, .p-hero-content h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .campaign-copy h3 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
}

/* ============================================================
   Motion layer: opening sequence, grain, cursor glow,
   word-reveal headlines, magnetic + tilt interactions
   ============================================================ */

@view-transition { navigation: auto; }
::view-transition-old(root) { animation-duration: 0.7s; animation-timing-function: var(--ease-strong); }
::view-transition-new(root) { animation-duration: 0.7s; animation-timing-function: var(--ease); }

.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 22px; height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,149,153,0.5) 0%, rgba(124,149,153,0) 70%);
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, width 0.5s var(--ease), height 0.5s var(--ease), margin 0.5s var(--ease), background 0.5s var(--ease);
  will-change: transform;
}
.cursor-glow.active { opacity: 1; }
.cursor-glow.expanded {
  width: 86px; height: 86px;
  margin: -43px 0 0 -43px;
  background: rgba(14, 12, 9, 0.84);
}
.cursor-label {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f3ede1;
  opacity: 0;
  transition: opacity 0.3s var(--ease) 0.1s;
  white-space: nowrap;
}
.cursor-glow.expanded .cursor-label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor-glow { display: none; } }
@media (hover: hover) and (pointer: fine) {
  .campaign, .more-row, .gallery-grid a, .gv-img { cursor: none; }
}

/* Opening sequence: split panels + brand mark */
.intro-curtain {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
}
.intro-panel {
  position: relative;
  width: 50%;
  height: 100%;
  background: var(--black);
  overflow: hidden;
}
.intro-mark {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10001;
  text-align: center;
  pointer-events: none;
}
.intro-mark .name {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  color: #f3ede1;
  opacity: 0;
}
.intro-mark .sub {
  display: block;
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(243,237,225,0.5);
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .intro-curtain, .intro-mark { display: none; }
}

.word-mask { display: inline-block; overflow: hidden; vertical-align: top; perspective: 400px; }
.word-inner { display: inline-block; will-change: transform, filter; transform-origin: 50% 100%; }
.hero h1 .word-mask, .p-hero-content h1 .word-mask { padding-bottom: 0.12em; margin-bottom: -0.12em; }

.campaign-media { will-change: transform; }

.btn { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .grain, .cursor-glow { display: none; }
}
