:root {
  --black: #0b0b0b;
  --ink: #141414;
  --ivory: #f6f2ea;
  --sand: #e9e2d4;
  --stone: #8a8378;
  --gold: #b89b6a;
  --white: #ffffff;
  --line-dark: rgba(255, 255, 255, 0.16);
  --line-light: rgba(20, 20, 20, 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.08; margin: 0 0 0.5em; }
em { font-style: italic; }
p { margin: 0 0 1.2em; }

.container { width: min(1240px, 100% - 64px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 64px); }
.center { text-align: center; }
.section { padding: clamp(96px, 13vw, 180px) 0; }
.nowrap { white-space: nowrap; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.display { font-size: clamp(40px, 5.6vw, 76px); }
.display-sm { font-size: clamp(32px, 3.8vw, 50px); margin: 0; }
.lead { font-family: var(--serif); font-size: clamp(21px, 2.1vw, 27px); line-height: 1.55; color: #3a3631; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 18px 38px;
  font-family: var(--sans); font-size: 12px; font-weight: 400;
  letter-spacing: 0.26em; text-transform: uppercase;
  border: 1px solid currentColor; background: transparent; cursor: pointer;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn-light { color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-light:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-ghost { color: var(--white); border-color: transparent; padding-inline: 8px; position: relative; }
.btn-ghost::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 12px; height: 1px; background: currentColor; transform: scaleX(0.4); transform-origin: left; transition: transform 0.5s var(--ease); }
.btn-ghost:hover::after { transform: scaleX(1); }
.btn-dark { color: var(--white); background: var(--black); border-color: var(--black); }
.btn-dark:hover { background: var(--gold); border-color: var(--gold); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: transparent;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.site-header.scrolled { background: var(--black); box-shadow: 0 1px 0 var(--line-dark); }
.nav { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; transition: height 0.5s var(--ease); }
.site-header.scrolled .nav { height: 72px; }

.brand { display: flex; flex-direction: column; line-height: 1; color: var(--white); }
.site-header .brand { flex-direction: row; align-items: center; gap: 14px; }
.brand-text { display: flex; flex-direction: column; }
.brand-mark { height: 40px; width: auto; flex: none; }
.brand-name { font-family: var(--serif); font-size: 26px; font-weight: 400; letter-spacing: 0.02em; }
.brand-sub { font-size: 9px; letter-spacing: 0.34em; text-transform: uppercase; margin-top: 7px; opacity: 0.7; }

.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(24px, 2.6vw, 44px); }
.nav-menu a {
  color: var(--white); font-size: 12px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.nav-menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav-menu a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-menu .nav-cta { border: 1px solid rgba(255,255,255,0.6); padding: 12px 24px; }
.nav-menu .nav-cta::after { display: none; }
.nav-menu .nav-cta:hover { background: var(--white); color: var(--black); }

.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; cursor: pointer; z-index: 60; }
.nav-toggle span { position: absolute; left: 8px; right: 8px; height: 1px; background: var(--white); transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 24px; }
.nav-open .nav-toggle span:first-child { top: 20px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 20px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; color: var(--white); display: flex; align-items: center; background: var(--black); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.2); }
.hero-content { position: relative; z-index: 2; padding-top: var(--nav-h); }
.hero .eyebrow { color: rgba(255,255,255,0.85); }
.hero-content { text-shadow: 0 1px 24px rgba(0, 0, 0, 0.25); }
.hero-title { font-size: clamp(40px, 6.4vw, 92px); letter-spacing: -0.01em; margin-bottom: 0.3em; }
.hero-title em { color: #cdb185; }
.hero-tagline { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.45; opacity: 0.9; margin-bottom: 48px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }

.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 36px; width: 1px; height: 64px; background: rgba(255,255,255,0.25); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--white); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* Featured-in marquee */
.marquee { background: var(--black); padding: 34px 0; overflow: hidden; border-bottom: 1px solid var(--line-dark); display: flex; align-items: center; }
.marquee-label {
  flex: none; margin: 0; padding: 0 clamp(20px, 3vw, 40px) 0 max(32px, calc((100vw - 1240px) / 2));
  border-right: 1px solid var(--line-dark);
  font-size: 11px; line-height: 1.6; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); white-space: nowrap;
}
.marquee-viewport {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; width: max-content; animation: marquee 60s linear infinite; }
.marquee-viewport:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; padding: 0 clamp(32px, 4vw, 56px); }
.marquee-track img {
  height: 22px; width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity 0.4s var(--ease);
}
.marquee-track .logo-tall img { height: 36px; margin-block: -7px; }
.marquee-track li:hover img { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Intro */
.intro { background: var(--ivory); }

/* Services */
.services { background: var(--black); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.services > .container { position: relative; z-index: 1; }

/* Ambient light: slow-drifting gold glows and floating dust */
.ambient { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ambient-dust { position: absolute; inset: 0; width: 100%; height: 100%; }
.ambient-glow { position: absolute; border-radius: 50%; filter: blur(60px); mix-blend-mode: screen; will-change: transform; }
.ambient-glow-1 {
  width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; top: -18%; right: -10%;
  background: radial-gradient(circle, rgba(205, 177, 133, 0.20) 0%, rgba(184, 155, 106, 0.08) 40%, transparent 70%);
  animation: glow-drift-1 26s ease-in-out infinite alternate;
}
.ambient-glow-2 {
  width: 34vw; height: 34vw; max-width: 520px; max-height: 520px; bottom: -20%; left: -8%;
  background: radial-gradient(circle, rgba(233, 226, 212, 0.10) 0%, rgba(184, 155, 106, 0.05) 45%, transparent 70%);
  animation: glow-drift-2 32s ease-in-out infinite alternate;
}
@keyframes glow-drift-1 { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-8vw, 10vh, 0) scale(1.15); } }
@keyframes glow-drift-2 { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(10vw, -8vh, 0) scale(1.2); } }
.section-head { margin-bottom: clamp(56px, 8vw, 96px); }
.service-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); border-top: 1px solid var(--line-dark); }
.service { padding: 48px 32px 24px 0; border-right: 1px solid var(--line-dark); transition: background 0.6s var(--ease); }
.service + .service { padding-left: 32px; }
.service:last-child { border-right: 0; }
.service-num { display: block; font-family: var(--serif); font-size: 15px; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 64px; }
.service h3 { font-size: clamp(26px, 2.3vw, 34px); }
.service p { color: rgba(255,255,255,0.68); max-width: 34ch; }

/* Properties */
.properties { background: var(--ivory); overflow: hidden; }
.properties-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.properties-head .display { margin-bottom: 0; }
.properties-head .display em { color: var(--stone); }
.slider-nav { display: flex; align-items: center; gap: 12px; flex: none; }
.slider-count { font-size: 12px; letter-spacing: 0.2em; color: var(--stone); margin-right: 16px; }
.slider-count b { font-weight: 400; color: var(--ink); }
.slider-btn { width: 56px; height: 56px; border: 1px solid var(--line-light); border-radius: 50%; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--ink); transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), opacity 0.4s; }
.slider-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.slider-btn:hover:not(:disabled) { background: var(--black); color: var(--white); border-color: var(--black); }
.slider-btn:disabled { opacity: 0.3; cursor: default; }

.property-track {
  --gutter: max(32px, calc((100vw - 1240px) / 2));
  display: flex; gap: clamp(20px, 2.4vw, 36px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 0 var(--gutter) 8px; scrollbar-width: none; outline: none;
}
.property-track::-webkit-scrollbar { display: none; }
.property { flex: 0 0 clamp(290px, 31vw, 400px); scroll-snap-align: start; display: flex; flex-direction: column; }
.property-photo-link { display: block; }
.property h3 a { color: inherit; text-decoration: none; }
.property-photo { margin: 0 0 24px; position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.property-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.property:hover .property-photo img { transform: scale(1.05); }
.property-num { position: absolute; top: 18px; left: 20px; font-family: var(--serif); font-size: 15px; color: var(--white); letter-spacing: 0.1em; text-shadow: 0 1px 12px rgba(0,0,0,0.4); }
.property-loc { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.property h3 { font-size: clamp(26px, 2.2vw, 32px); margin-bottom: 12px; }
.property-desc { font-size: 15px; line-height: 1.7; color: #4a453f; margin-bottom: 24px; }
.property-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line-light); }
.property-price { margin: 0; font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.property-price span { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--stone); margin-bottom: 6px; }
.property-link { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; padding-bottom: 4px; border-bottom: 1px solid currentColor; white-space: nowrap; transition: color 0.4s var(--ease); }
.property-link:hover { color: var(--gold); }

/* About */
.about {
  /* Miami Beach photo kept very faint under the beige */
  background:
    linear-gradient(rgba(233, 226, 212, 0.88), rgba(233, 226, 212, 0.88)),
    url('../images/miami-beach-bg.webp') center / cover no-repeat,
    var(--sand);
}
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(48px, 8vw, 128px); align-items: end; }
.about-copy p:not(.eyebrow) { max-width: 56ch; color: #3a3631; }
.pillars { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.pillars li { padding: 26px 0; border-bottom: 1px solid var(--line-light); display: grid; grid-template-columns: 140px 1fr; gap: 16px; color: #3a3631; }
.pillars span { font-family: var(--serif); font-size: 24px; color: var(--ink); line-height: 1.2; }

/* Team */
.team { background: var(--ivory); }
.member { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.member + .member { margin-top: clamp(96px, 12vw, 160px); }
.member-reverse .member-photo { order: 2; }
.member-photo { margin: 0; position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.member-photo.in img { transform: scale(1); }
.member-copy h3 { font-size: clamp(40px, 4.4vw, 60px); }
.member-copy p:not(.eyebrow) { color: #3a3631; max-width: 52ch; }

/* Instagram */
.team { padding-bottom: clamp(72px, 8vw, 112px); }
.instagram { background: var(--ivory); padding: 0 0 clamp(72px, 9vw, 120px); }
.ig-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; padding-top: clamp(56px, 6vw, 80px); border-top: 1px solid var(--line-light); }
.ig-head .display-sm em { color: var(--stone); }
.ig-handle { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; white-space: nowrap; padding-bottom: 6px; border-bottom: 1px solid var(--ink); transition: color 0.4s var(--ease), border-color 0.4s var(--ease); }
.ig-handle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.ig-handle svg .dot { fill: currentColor; stroke: none; }
.ig-handle:hover { color: var(--gold); border-color: var(--gold); }
.ig-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.ig-tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ig-tile::after { content: ""; position: absolute; inset: 0; background: rgba(11, 11, 11, 0); transition: background 0.5s var(--ease); }
.ig-tile:hover img { transform: scale(1.06); }
.ig-tile:hover::after { background: rgba(11, 11, 11, 0.25); }
.ig-reel { position: absolute; top: 10px; right: 10px; z-index: 1; width: 22px; height: 22px; display: grid; place-items: center; }
.ig-reel svg { width: 18px; height: 18px; fill: var(--white); filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.5)); }

/* Opportunities */
.opportunities {
  position: relative; color: var(--white); padding: clamp(140px, 18vw, 240px) 0;
  background: linear-gradient(rgba(11, 11, 11, 0.55), rgba(11, 11, 11, 0.55)), url('../images/preconstruction-bg.webp') center / cover no-repeat fixed;
  background-color: var(--black);
}
/* iOS/Android ignore fixed backgrounds, so let touch devices scroll normally */
@media (hover: none) { .opportunities { background-attachment: scroll; } }
.opportunities .container { position: relative; }
.opportunities .lead { color: rgba(255,255,255,0.85); font-style: italic; margin-bottom: 48px; }

/* Newsletter */
.newsletter {
  position: relative; overflow: hidden; isolation: isolate; color: var(--white);
  background: var(--black) url('../images/miami-poster.webp') center / cover no-repeat;
  padding: clamp(96px, 12vw, 160px) 0;
}
.newsletter-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.newsletter-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 8, 8, 0.72) 0%, rgba(8, 8, 8, 0.5) 55%, rgba(8, 8, 8, 0.4) 100%); }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.newsletter .eyebrow { color: #cdb185; }
.newsletter .display-sm { margin-bottom: 0.45em; }
.newsletter-copy { color: rgba(255, 255, 255, 0.78); max-width: 50ch; margin: 0; }
.inline-form { display: flex; border-bottom: 1px solid rgba(255, 255, 255, 0.7); }
.inline-form input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 18px; padding: 16px 0; color: var(--white); outline: none; }
.inline-form input::placeholder { color: rgba(255, 255, 255, 0.6); }
.inline-form .btn { padding: 16px 28px; border-bottom: 0; }
.nl-form-wrap { position: relative; }
.inline-form { transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.inline-form.is-sent { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.inline-form[hidden] { display: none; }
.form-success { padding-bottom: 14px; border-bottom: 1px solid rgba(205, 177, 133, 0.7); animation: success-in 0.8s var(--ease) both; }
.form-success[hidden] { display: none; }
.form-success-title { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; margin: 0 0 6px; color: var(--white); }
.form-success-title::before { content: ""; display: inline-block; width: 28px; height: 1px; background: #cdb185; vertical-align: middle; margin-right: 14px; }
.form-success-text { margin: 0; font-size: 15px; color: rgba(255, 255, 255, 0.75); }
@keyframes success-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* FAQ */
.faq { background: var(--black); color: var(--white); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(48px, 8vw, 128px); align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-intro .display em { color: #cdb185; }
.faq-intro p:not(.eyebrow) { color: rgba(255, 255, 255, 0.7); max-width: 34ch; }
.faq-cta { display: inline-block; margin-top: 8px; font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid var(--white); transition: color 0.4s var(--ease), border-color 0.4s var(--ease); }
.faq-cta:hover { color: var(--gold); border-color: var(--gold); }

.faq-list { border-top: 1px solid var(--line-dark); }
.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-item summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 48px 1fr 28px; align-items: center; gap: 12px;
  padding: 30px 0; font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.3;
  transition: color 0.4s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold); }
.faq-item summary:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.faq-num { font-size: 15px; color: var(--gold); letter-spacing: 0.1em; }
.faq-icon { position: relative; width: 18px; height: 18px; justify-self: end; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform 0.5s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 40px 32px 60px; color: rgba(255, 255, 255, 0.7); }
.faq-a p { margin: 0; max-width: 60ch; }
.faq-item[open] .faq-a { animation: faq-open 0.6s var(--ease); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Contact */
.contact {
  --c-ink: #2b2017;
  --c-accent: #6e4c2c;
  --c-line: rgba(43, 32, 23, 0.3);
  position: relative; overflow: hidden;
  padding: clamp(56px, 6vw, 80px) 0;
  color: var(--c-ink);
  background: #c5a87e;
}
.contact-grid { position: relative; z-index: 2; }
.contact-copy { max-width: min(620px, 54vw); }
.contact-rule { display: block; width: 64px; height: 2px; background: var(--c-ink); margin-bottom: 18px; }
.contact .eyebrow { color: var(--c-ink); letter-spacing: 0.4em; margin-bottom: 14px; }
.contact .display { font-size: clamp(32px, 3.4vw, 48px); margin-bottom: 0.3em; }
.contact .display em { color: var(--c-accent); }
.contact-copy > p:not(.eyebrow) { color: rgba(43, 32, 23, 0.78); max-width: 52ch; margin-bottom: 0; }

.contact-portrait {
  position: absolute; z-index: 1; right: max(0px, calc((100vw - 1440px) / 2)); bottom: 0;
  height: 100%; width: auto; max-width: 42%; object-fit: contain; object-position: right bottom;
  pointer-events: none;
}

.contact-form { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
.field-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--c-line); background: transparent; border-radius: 0;
  color: var(--c-ink); font: inherit; font-size: 17px; padding: 26px 0 8px; outline: none; resize: vertical;
  transition: border-color 0.4s var(--ease);
}
.field input:focus, .field textarea:focus { border-color: var(--c-ink); }
.field label { position: absolute; left: 0; top: 30px; color: rgba(43, 32, 23, 0.55); font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; pointer-events: none; transition: all 0.4s var(--ease); }
.contact .field label { top: 26px; font-size: 12px; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 4px; font-size: 10px; color: var(--c-ink); }
.contact-form .btn { align-self: flex-start; margin-top: 24px; padding: 15px 34px; }
.contact-form .btn:disabled { opacity: 0.6; cursor: wait; }
.form-note { margin: 14px 0 0; min-height: 1.4em; font-size: 15px; color: #a5432a; }
.form-note.is-success { color: var(--c-accent); }
.contact .btn-dark:hover { background: var(--c-accent); border-color: var(--c-accent); }

.contact-list { margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 20px 44px; }
.contact-list dt { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(43, 32, 23, 0.6); }
.contact-list dd { margin: 2px 0 0; font-family: var(--serif); font-size: 19px; }
.contact-list a { transition: color 0.3s var(--ease); }
.contact-list a:hover { color: var(--c-accent); }

/* Legal pages */
.site-header.solid { background: var(--black); box-shadow: 0 1px 0 var(--line-dark); }
.legal { background: var(--ivory); padding-top: calc(var(--nav-h) + clamp(64px, 8vw, 112px)); }
.legal .display { margin-bottom: 0.2em; }
.legal-meta { font-size: 13px; letter-spacing: 0.06em; color: var(--stone); padding-bottom: 32px; margin-bottom: 40px; border-bottom: 1px solid var(--line-light); }
.legal-body h2 { font-size: clamp(26px, 2.4vw, 32px); margin: 48px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: #3a3631; max-width: 68ch; }
.legal-body a { border-bottom: 1px solid var(--line-light); transition: color 0.3s var(--ease), border-color 0.3s var(--ease); }
.legal-body a:hover { color: var(--gold); border-color: var(--gold); }
.legal-back { display: inline-block; margin-top: 40px; font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid var(--ink); transition: color 0.4s var(--ease), border-color 0.4s var(--ease); }
.legal-back:hover { color: var(--gold); border-color: var(--gold); }

/* Property detail page */
.pd-hero { position: relative; height: 92vh; height: 92svh; min-height: 560px; display: flex; align-items: flex-end; color: var(--white); background: var(--black); overflow: hidden; }
.pd-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.6) 100%); }
.pd-hero-content { position: relative; z-index: 2; padding-bottom: clamp(56px, 8vw, 104px); text-shadow: 0 1px 24px rgba(0,0,0,0.25); }
.pd-hero .eyebrow { color: rgba(255,255,255,0.85); }
.pd-hero .hero-title { margin-bottom: 0.25em; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(0, 0, 0, 0.45), 0 8px 40px rgba(0, 0, 0, 0.6); }
.pd-hero .eyebrow, .pd-hero .hero-tagline, .pd-back { text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45), 0 2px 18px rgba(0, 0, 0, 0.4); }
.pd-hero .hero-title em { color: #cdb185; }
.pd-hero .hero-tagline { margin-bottom: 0; }
.pd-back { display: inline-block; margin-bottom: 32px; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.8); padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,0.4); transition: color 0.3s var(--ease), border-color 0.3s var(--ease); }
.pd-back::before { content: "\2190\00a0\00a0"; }
.pd-back:hover { color: var(--white); border-color: var(--white); }

.pd-facts { background: var(--black); color: var(--white); border-top: 1px solid var(--line-dark); }
.pd-facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pd-facts-grid div { padding: 36px 24px 36px 0; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; }
.pd-facts-grid div + div { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.pd-facts-grid span { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }

.pd-overview { background: var(--ivory); }
.pd-overview-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(48px, 8vw, 128px); }
.pd-overview .display em, .pd-location .display em { color: var(--stone); }
.pd-overview p:not(.eyebrow):not(.lead) { color: #3a3631; }
.pd-team { margin: 40px 0 0; border-top: 1px solid var(--line-light); }
.pd-team div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.pd-team dt { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--stone); padding-top: 5px; }
.pd-team dd { margin: 0; font-family: var(--serif); font-size: 22px; }

.pd-gallery { background: var(--ivory); padding-bottom: clamp(96px, 13vw, 180px); }
.pd-gallery .section-head { margin-bottom: 40px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(170px, 19vw, 280px); grid-auto-flow: row dense; gap: 10px; }
.gallery-item { position: relative; display: block; overflow: hidden; background: var(--sand); cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.g-feature { grid-column: span 2; grid-row: span 2; }
.gallery-item.g-feature.g-right { grid-column: 2 / span 2; }
.gallery-item.g-span2 { grid-column: span 2; }
.gallery-item.g-wide { grid-column: 1 / -1; }
.gallery-item.g-wide img { object-position: center 72%; }

.pd-location { background: var(--sand); }
.pd-location-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 7vw, 112px); align-items: center; }
.pd-location p:not(.eyebrow) { color: #3a3631; max-width: 52ch; }
.pd-map { aspect-ratio: 1; background: var(--stone); overflow: hidden; }
.pd-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) brightness(0.98); }

.pd-inquire { background: linear-gradient(rgba(11, 11, 11, 0.6), rgba(11, 11, 11, 0.6)), url('../images/heroes/perigon.webp') center / cover no-repeat fixed; }
.pd-inquire-actions { justify-content: center; }

.pd-more { display: grid; grid-template-columns: 1fr 1fr; background: var(--black); border-top: 1px solid var(--line-dark); }
.pd-more-link { display: block; padding: clamp(32px, 4vw, 52px) max(32px, calc((100vw - 1240px) / 2)); color: var(--white); font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; transition: background 0.5s var(--ease); }
.pd-more-link span { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.pd-more-link span::before { content: "\2190\00a0\00a0"; }
.pd-more-next { text-align: right; border-left: 1px solid var(--line-dark); }
.pd-more-next span::before { content: none; }
.pd-more-next span::after { content: "\00a0\00a0\2192"; }
.pd-more-link:hover { background: #161616; }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 8, 8, 0.96); color: var(--white); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.6); }
.lb-img { max-width: min(88vw, 1400px); max-height: 84vh; object-fit: contain; }
.lb-close { position: absolute; top: 20px; right: 28px; background: none; border: 0; color: var(--white); font-size: 40px; font-weight: 200; line-height: 1; cursor: pointer; opacity: 0.8; }
.lb-close:hover { opacity: 1; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); background: transparent; color: var(--white); display: grid; place-items: center; cursor: pointer; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.lb-nav:hover { background: var(--white); color: var(--black); }
.lb-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-count { position: absolute; bottom: 20px; left: 0; right: 0; margin: 0; text-align: center; font-size: 12px; letter-spacing: 0.24em; color: rgba(255,255,255,0.6); }

/* WhatsApp floating button */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--black); color: var(--white);
  border: 1px solid rgba(205, 177, 133, 0.7);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
.wa-float:hover { background: #25d366; border-color: #25d366; transform: translateY(-3px); }
.wa-float:focus-visible { outline: 2px solid #cdb185; outline-offset: 3px; }
.nav-open .wa-float { opacity: 0; visibility: hidden; }
.site-footer .footer-inner { padding-right: 76px; }

/* Footer */
.site-footer { background: var(--black); color: rgba(255,255,255,0.55); border-top: 1px solid var(--line-dark); padding: 40px 0; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.site-footer .brand-name { font-size: 22px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { transition: color 0.3s var(--ease); }
.footer-links a:hover { color: var(--white); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-duration: 1.6s; }
.hero .reveal:nth-child(2) { transition-delay: 0.15s; }
.hero .reveal:nth-child(3) { transition-delay: 0.3s; }
.hero .reveal:nth-child(4) { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
  .ambient-glow { animation: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; row-gap: 28px; }
  .marquee-track [aria-hidden] { display: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; inset: 0; background: var(--black);
    flex-direction: column; justify-content: center; gap: 32px;
    opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s;
  }
  .nav-open .nav-menu { opacity: 1; visibility: visible; }
  .nav-menu a { font-size: 14px; }
  .service-grid, .about-grid, .member, .newsletter-inner, .contact-grid { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 40px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .service-num { margin-bottom: 24px; }
  .member-reverse .member-photo { order: 0; }
  .member-photo { max-width: 520px; }
  .ig-grid { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .ig-head { flex-direction: column; align-items: flex-start; }
  .properties-head { flex-direction: column; align-items: flex-start; }
  .faq-grid { grid-template-columns: 1fr; }
  .pd-facts-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-facts-grid div:nth-child(3) { padding-left: 0; border-left: 0; }
  .pd-facts-grid div:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }
  .pd-overview-grid, .pd-location-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(150px, 30vw, 240px); }
  .gallery-item.g-feature, .gallery-item.g-feature.g-right, .gallery-item.g-wide { grid-column: 1 / -1; grid-row: span 2; }
  .gallery-item.g-span2 { grid-column: auto; }
  .pd-inquire { background-attachment: scroll; }
  .faq-intro { position: static; }
  .contact { padding-bottom: 0; }
  .contact-portrait { position: relative; right: auto; display: block; height: auto; width: min(72%, 340px); max-width: none; margin: 24px auto 0; }
}
@media (max-width: 560px) {
  .marquee { padding: 24px 0 26px; flex-direction: column; align-items: stretch; }
  .marquee-label { padding: 0; border: 0; text-align: center; font-size: 10px; margin-bottom: 16px; }
  .container, .narrow { width: calc(100% - 40px); }
  body { font-size: 16px; }
  .brand-name { font-size: 22px; }
  .brand-mark { height: 34px; }
  .site-header .brand { gap: 11px; }
  .pillars li { grid-template-columns: 1fr; gap: 4px; }
  .field-row { grid-template-columns: 1fr; gap: 4px; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-item summary { grid-template-columns: 34px 1fr 20px; padding: 24px 0; }
  .pd-facts-grid div, .pd-facts-grid div + div { padding: 24px 12px 24px 0; }
  .pd-facts-grid div:nth-child(even) { padding-left: 16px; }
  .pd-team div { grid-template-columns: 1fr; gap: 2px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 62vw; gap: 8px; }
  .gallery-item.g-feature, .gallery-item.g-feature.g-right, .gallery-item.g-wide { grid-column: auto; grid-row: auto; }
  .lb-nav { width: 44px; height: 44px; }
  .pd-more { grid-template-columns: 1fr; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .site-footer .footer-inner { padding-right: 0; }
  .site-footer { padding-bottom: 84px; }
  .wa-float svg { width: 24px; height: 24px; }
  .pd-more-next { text-align: left; border-left: 0; border-top: 1px solid var(--line-dark); }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .faq-a { padding: 0 0 26px 46px; }
  .property-track { --gutter: 20px; }
  .property { flex-basis: 82vw; }
  .slider-btn { width: 48px; height: 48px; }
  .contact-list { flex-direction: column; gap: 14px; margin-top: 28px; }
  .contact-list dd { font-size: 20px; }
  .hero-actions .btn-light { width: 100%; }
}
