/* ============================================================
   Jayden Lee — Shared Styles
   Used by: index.html, featured-listings.html, past-sales.html
   ============================================================ */

:root {
  --bg: #0c0c0c;
  --bg-alt: #141414;
  --bg-card: #1a1a1a;
  --ink: #f4f1ea;
  --ink-soft: #b8b3a8;
  --line: rgba(244, 241, 234, 0.1);
  --accent: #ffffff;
  --accent-bright: #ffffff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.05;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ================ NAV ================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(12, 12, 12, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1300px; margin: 0 auto;
  padding: 16px 40px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.logo img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links { display: flex; gap: 36px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links > a, .nav-links .dropdown-trigger > a { color: var(--ink-soft); transition: color 0.2s; }
.nav-links > a:hover, .nav-links .dropdown-trigger:hover > a { color: var(--accent); }

/* Dropdown menu */
.dropdown-trigger {
  position: relative;
  display: inline-block;
}
.dropdown-trigger > a::after {
  content: ' ▾';
  font-size: 0.7em;
  margin-left: 4px;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.dropdown-trigger:hover > a::after { opacity: 1; }
/* Invisible hover bridge — prevents dropdown from disappearing when moving mouse to it */
.dropdown-trigger::after {
  content: '';
  position: absolute;
  top: 100%; left: -10px; right: -10px;
  height: 22px;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 22px);
  left: -20px;
  background: rgba(12, 12, 12, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  min-width: 220px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 110;
}
.dropdown-trigger:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 12px 24px;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.15s;
}
.dropdown-menu a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.nav-cta {
  border: 1px solid var(--accent); color: var(--accent);
  padding: 10px 22px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  transition: all 0.25s;
}
.nav-cta:hover { background: var(--accent); color: var(--bg); }

/* Hamburger menu (hidden on desktop) */
.nav-hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 110;
  position: relative;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
body.nav-open { overflow: hidden; }

/* ================ HERO (homepage) ================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 0 24px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, rgba(12,12,12,0.45) 0%, rgba(12,12,12,0.35) 30%, rgba(12,12,12,0.95) 100%),
    url('hero.jpg');
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
  z-index: 0;
}
.hero-bg::after {
  content: 'SAVE YOUR PHOTO AS hero.jpg IN THIS FOLDER';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 24px;
  color: rgba(244, 241, 234, 0.18);
  font-size: 11px; letter-spacing: 0.2em;
  background: repeating-linear-gradient(45deg, transparent 0 30px, rgba(201, 164, 92, 0.04) 30px 31px);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 900px;
}
.hero-eyebrow {
  font-size: clamp(13px, 1.3vw, 16px); letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 44px;
}
.hero h1 {
  font-size: clamp(48px, 8vw, 110px);
  margin-bottom: 28px;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-logo {
  width: clamp(340px, 65vw, 760px);
  height: auto;
  margin: 0 auto 48px;
  display: block;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.5));
}
.hero-tagline {
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--ink);
  max-width: 820px; margin: 0 auto 56px;
  font-weight: 300;
  line-height: 1.45;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-ctas .btn { padding: 20px 44px; font-size: 14px; letter-spacing: 0.2em; }
.btn {
  padding: 16px 32px; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  transition: all 0.25s; cursor: pointer; font-family: inherit; border: none;
  display: inline-block;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: var(--ink-soft); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  z-index: 1;
  animation: bounce 2.5s infinite;
}
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ================ SECTIONS ================ */
section { padding: 130px 40px; position: relative; }
.container { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.section-title {
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom: 32px; max-width: 900px;
}
.section-title em { font-style: italic; color: var(--accent); }
.section-lead {
  font-size: 19px; color: var(--ink-soft); max-width: 700px;
  font-weight: 300; line-height: 1.7;
}

/* ================ ABOUT ================ */
/* Photo as parallax background with dark overlay; text sits on top */
.about {
  background-image:
    linear-gradient(180deg, rgba(12,12,12,0.85) 0%, rgba(12,12,12,0.7) 50%, rgba(12,12,12,0.92) 100%),
    url('about-banner.jpg');
  background-size: cover;
  background-position: center 25%;
  background-attachment: fixed;
  background-color: #1a1a1a;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 160px 40px;
  position: relative;
}
.about-content { position: relative; z-index: 1; }
.about-content .container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.about-text p {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 22px;
  line-height: 1.8;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.about .section-title, .about .section-eyebrow { text-shadow: 0 2px 16px rgba(0,0,0,0.6); }
.about .stats { border-top-color: rgba(244, 241, 234, 0.18); }
.about .stat-label { color: var(--ink); opacity: 0.85; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 56px;
  padding-top: 40px; border-top: 1px solid var(--line);
}
.stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 44px; color: var(--accent);
  line-height: 1; margin-bottom: 8px;
}
.stat-label { font-size: 11px; color: var(--ink-soft); letter-spacing: 0.15em; text-transform: uppercase; }

/* ================ PILLARS ================ */
.pillars { background: var(--bg); }
.pillar-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.pillar-block:last-child { border-bottom: none; }
.pillar-block.reverse { direction: rtl; }
.pillar-block.reverse > * { direction: ltr; }
.pillar-num { font-family: 'Playfair Display', Georgia, serif; font-size: 14px; color: var(--accent); letter-spacing: 0.3em; margin-bottom: 16px; }
.pillar-block h3 { font-size: clamp(36px, 4.5vw, 56px); margin-bottom: 24px; }
.pillar-block h3 em { font-style: italic; color: var(--accent); }
.pillar-block p { font-size: 17px; color: var(--ink-soft); margin-bottom: 16px; line-height: 1.8; }
.pillar-list { list-style: none; margin-top: 28px; }
.pillar-list li {
  padding: 14px 0; border-top: 1px solid var(--line);
  color: var(--ink-soft); font-size: 15px;
  display: flex; gap: 18px; align-items: baseline;
}
.pillar-list li:last-child { border-bottom: 1px solid var(--line); }
.pillar-list .item-num { color: var(--accent); font-family: 'Playfair Display', serif; font-size: 13px; letter-spacing: 0.1em; min-width: 24px; }
.pillar-cta {
  margin-top: 32px;
  display: inline-block;
  color: var(--accent); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  border-bottom: 1px solid var(--accent); padding-bottom: 4px;
  transition: all 0.2s;
}
.pillar-cta:hover { color: var(--accent-bright); border-color: var(--accent-bright); }
.pillar-visual {
  aspect-ratio: 4/5;
  background:
    linear-gradient(135deg, rgba(201, 164, 92, 0.08), transparent),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(201, 164, 92, 0.04) 18px 19px);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); font-size: 12px; letter-spacing: 0.2em;
}

/* ================ WORK WITH ME ================ */
.work { background: var(--bg-alt); border-top: 1px solid var(--line); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.work-card {
  background: var(--bg-card);
  padding: 48px 36px;
  border: 1px solid var(--line);
  transition: all 0.3s;
  display: flex; flex-direction: column;
}
.work-card:hover { border-color: var(--accent); transform: translateY(-6px); }
.work-num { font-family: 'Playfair Display', serif; color: var(--accent); font-size: 13px; letter-spacing: 0.25em; margin-bottom: 28px; }
.work-card h4 { font-family: 'Playfair Display', serif; font-size: 28px; margin-bottom: 16px; font-weight: 500; }
.work-card p { color: var(--ink-soft); font-size: 15px; margin-bottom: 32px; flex: 1; line-height: 1.7; }
.work-card .pillar-cta { margin-top: 0; }

/* ================ SPEAKER ================ */
.speaker { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); text-align: center; }
.speaker .container { max-width: 900px; }
.speaker .section-title { margin: 0 auto 32px; }
.speaker-topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 56px 0 48px; }
.speaker-topic {
  padding: 28px 20px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  font-family: 'Playfair Display', serif;
  font-size: 18px; color: var(--ink);
}
.speaker-topic span { display: block; color: var(--accent); font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; font-family: 'Inter', sans-serif; margin-bottom: 12px; }

/* ================ TESTIMONIAL ================ */
.testimonial { text-align: center; background: var(--bg); }
.quote { font-family: 'Playfair Display', serif; font-style: italic; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.4; max-width: 900px; margin: 0 auto 40px; }
.quote::before, .quote::after { color: var(--accent); }
.quote::before { content: '"'; margin-right: 4px; }
.quote::after { content: '"'; margin-left: 4px; }
.quote-author { font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ink-soft); }

/* ================ MEDIA ================ */
.media { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.media .section-eyebrow, .media .section-title { text-align: center; }
.media .section-title { margin: 0 auto 64px; }
.media-logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px; align-items: center; opacity: 0.6; }
.media-logo {
  aspect-ratio: 3/1;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); font-size: 11px; letter-spacing: 0.2em;
}

/* ================ CONTACT ================ */
.contact { background: var(--bg); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info p { color: var(--ink-soft); font-size: 18px; margin-bottom: 36px; line-height: 1.7; }
.contact-detail { margin-bottom: 24px; }
.contact-label { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.contact-value { font-size: 19px; }
.contact-value a { transition: color 0.2s; }
.contact-value a:hover { color: var(--accent); }
.socials { margin-top: 40px; display: flex; gap: 14px; }
.socials a {
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  transition: all 0.2s;
  font-size: 14px;
}
.socials a:hover { border-color: var(--accent); color: var(--accent); }

form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
input, textarea, select {
  background: transparent; border: none;
  border-bottom: 1px solid var(--line);
  padding: 16px 0; color: var(--ink); font-size: 15px;
  font-family: inherit; outline: none;
  transition: border-color 0.2s;
}
input::placeholder, textarea::placeholder { color: var(--ink-soft); }
input:focus, textarea:focus, select:focus { border-bottom-color: var(--accent); }
select option { background: var(--bg); color: var(--ink); }
textarea { resize: vertical; min-height: 120px; }
button[type="submit"] {
  background: var(--accent); color: var(--bg);
  border: none; padding: 18px 32px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s; font-family: inherit;
  align-self: flex-start; margin-top: 16px;
}
button[type="submit"]:hover { background: var(--accent-bright); }

/* ================ PAGE HEADER (sub-pages) ================ */
.page-header {
  padding: 200px 40px 100px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Video background variant */
.page-header.has-video { padding: 220px 40px 140px; }
.page-header-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-header-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,12,12,0.5) 0%, rgba(12,12,12,0.35) 40%, rgba(12,12,12,0.85) 100%);
  z-index: 1;
}
.page-header.has-video .container { position: relative; z-index: 2; }
.page-header.has-video h1,
.page-header.has-video p { text-shadow: 0 2px 18px rgba(0,0,0,0.6); }
.page-header.has-video .page-header-logo { filter: drop-shadow(0 4px 24px rgba(0,0,0,0.6)); }
.page-header .section-eyebrow { margin-bottom: 24px; }
.page-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.05;
  margin: 0 auto 28px;
  max-width: 1000px;
}
.page-header h1 em { font-style: italic; }
.page-header p {
  color: var(--ink-soft);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 300;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}
/* Logo above the page title */
.page-header-logo {
  width: clamp(230px, 32vw, 380px);
  height: auto;
  margin: 0 auto 36px;
  display: block;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,0.4));
}
/* When a logo sits above, h1 stays prominent as the page title */
.page-header.has-logo h1 {
  font-size: clamp(44px, 6.5vw, 80px);
  margin-bottom: 28px;
}

/* ================ PROPERTY GRID (legacy 3-col) ================ */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ================ FEATURED LISTING (Naomi-style, full-width row) ================ */
.listing-feature {
  margin-bottom: 96px;
  padding-bottom: 96px;
  border-bottom: 1px solid var(--line);
}
.listing-feature:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.listing-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.listing-media img,
.listing-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.listing-media-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  font-size: 12px; letter-spacing: 0.2em;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.04), transparent),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(255,255,255,0.03) 18px 19px);
}
.listing-status {
  position: absolute; top: 20px; left: 20px;
  padding: 8px 16px;
  background: var(--accent);
  color: var(--bg);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 2;
}

.listing-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.listing-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  flex: 1;
}
.listing-title small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 8px;
  font-weight: 400;
}
.listing-price {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--ink);
  white-space: nowrap;
}

.listing-body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  margin-top: 36px;
}

.listing-details {
  list-style: none;
  margin: 0; padding: 0;
}
.listing-details li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  gap: 12px;
}
.listing-details li:first-child { border-top: 1px solid var(--line); }
.listing-details .detail-label {
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
  align-self: center;
}
.listing-details .detail-value {
  color: var(--ink);
  font-weight: 400;
  text-align: right;
}

.listing-description {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 28px;
}
.listing-description p { margin-bottom: 16px; }
.listing-description p:last-child { margin-bottom: 0; }

.listing-cta {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  transition: all 0.2s;
}
.listing-cta:hover { color: var(--accent-bright); border-color: var(--accent-bright); }

/* Make featured-listing media clickable like Naomi's */
.listing-feature .listing-media a,
.listing-feature .listing-title a {
  color: inherit;
  text-decoration: none;
  display: block;
  transition: opacity 0.25s;
}
.listing-feature .listing-media a:hover { opacity: 0.85; }
.listing-feature .listing-title a:hover { color: var(--accent); }

/* ================ PROPERTY DETAIL PAGE ================ */
.property-hero {
  position: relative;
  min-height: 90vh;
  display: flex; align-items: flex-end;
  padding: 180px 40px 80px;
  background-color: #1a1a1a;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
/* Per-page slide image is set inline via .hero-slide background-image */

/* Hero slideshow — crossfading background images */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(12,12,12,0.4) 0%, rgba(12,12,12,0.15) 30%, rgba(12,12,12,0.96) 100%);
  pointer-events: none;
}

/* Hero controls (prev / counter / next) */
.hero-controls {
  position: absolute;
  bottom: 28px;
  right: 40px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(12, 12, 12, 0.55);
  backdrop-filter: blur(8px);
  padding: 10px 14px;
  border: 1px solid var(--line);
}
.hero-controls button {
  background: transparent;
  border: none;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  transition: color 0.2s;
  font-family: inherit;
}
.hero-controls button:hover { color: var(--accent); }
.hero-counter {
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  min-width: 60px;
  text-align: center;
}
.hero-counter strong { font-weight: 500; }
.property-hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  position: relative; z-index: 2;
}
.property-hero .listing-status {
  position: static;
  display: inline-block;
  margin-bottom: 24px;
}
.property-address-line {
  font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 20px;
}
.property-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.05;
  margin-bottom: 16px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}
.property-hero h1 small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 12px;
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.property-hero-price {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 60px);
  color: var(--ink);
  margin-top: 24px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.6);
}
.property-hero-mls {
  display: inline-block;
  margin-left: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Quick stats bar */
.quick-stats {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 36px 40px;
}
.quick-stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  text-align: center;
}
.quick-stat {
  border-right: 1px solid var(--line);
  padding-right: 24px;
}
.quick-stat:last-child { border-right: none; padding-right: 0; }
.quick-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 38px);
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}
.quick-stat-label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* Overview - description + key details */
.property-overview {
  padding: 100px 40px;
}
.property-overview-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.property-description {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.85;
}
.property-description .section-eyebrow { margin-bottom: 16px; }
.property-description h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: clamp(28px, 3vw, 38px);
  color: var(--ink);
  margin-bottom: 24px;
  line-height: 1.2;
}
.property-description p { margin-bottom: 18px; }

.property-key-details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 36px;
}
.property-key-details h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.property-key-details ul {
  list-style: none;
}
.property-key-details li {
  display: flex; justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  gap: 12px;
}
.property-key-details li:last-child { border-bottom: none; }
.property-key-details .label {
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}
.property-key-details .value {
  color: var(--ink);
  text-align: right;
  font-weight: 500;
}

/* Property Tour Video */
.property-tour {
  padding: 100px 40px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.property-tour .container { max-width: 1200px; }
.property-tour-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}
.property-tour-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: block;
}

/* Features Section */
.property-features-section {
  background: var(--bg-alt);
  padding: 100px 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.property-features-grid {
  max-width: 1200px; margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.feature-group h4 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.feature-group ul {
  list-style: none;
}
.feature-group li {
  padding: 8px 0;
  color: var(--ink-soft);
  font-size: 15px;
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.feature-group li::before {
  content: '—';
  color: var(--accent);
  font-weight: 500;
}

/* Room dimensions */
.property-rooms {
  padding: 100px 40px;
}
.rooms-table {
  max-width: 900px; margin: 56px auto 0;
  width: 100%;
  border-collapse: collapse;
}
.rooms-table th {
  text-align: left;
  padding: 14px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.rooms-table th:last-child { text-align: right; }
.rooms-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
}
.rooms-table td:last-child { text-align: right; color: var(--ink-soft); font-family: 'Playfair Display', serif; }
.rooms-table td:first-child {
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  width: 100px;
}

/* Photo Gallery */
.property-gallery {
  background: var(--bg-alt);
  padding: 100px 40px;
  border-top: 1px solid var(--line);
}
.gallery-grid {
  max-width: 1400px; margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-photo {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-card);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
}
.gallery-photo:hover { transform: scale(1.02); }
.gallery-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(12,12,12,0.2);
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery-photo:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(12, 12, 12, 0.96);
  z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  color: var(--ink);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  background: transparent; border: none;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: transparent; border: none;
  color: var(--ink); font-size: 40px;
  cursor: pointer; padding: 16px;
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ================ BLOG POST ================ */
.blog-hero {
  position: relative;
  min-height: 70vh;
  display: flex; align-items: flex-end;
  padding: 180px 40px 80px;
  background-color: #1a1a1a;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  text-align: center;
}
.blog-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover;
  background-position: center;
}
.blog-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(12,12,12,0.5) 0%, rgba(12,12,12,0.4) 40%, rgba(12,12,12,0.95) 100%);
}
.blog-hero-inner {
  position: relative; z-index: 2;
  max-width: 900px; margin: 0 auto; width: 100%;
}
.blog-hero .section-eyebrow { color: var(--accent); margin-bottom: 24px; }
.blog-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}
.blog-hero h1 em { font-style: italic; }
.blog-hero-meta {
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-soft);
}

.blog-article {
  padding: 100px 40px;
  background: var(--bg);
}
.blog-intro {
  max-width: 760px; margin: 0 auto 80px;
  font-size: 19px;
  line-height: 1.8;
  color: var(--ink-soft);
  font-weight: 300;
}
.blog-intro p { margin-bottom: 24px; }
.blog-intro strong { color: var(--ink); }
.blog-intro p:first-child::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  float: left;
  line-height: 1;
  padding: 6px 14px 0 0;
  color: var(--ink);
}

.blog-item {
  max-width: 1100px; margin: 0 auto 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.blog-item:nth-child(even) { direction: rtl; }
.blog-item:nth-child(even) > * { direction: ltr; }

.blog-item-img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-card);
  border: 1px solid var(--line);
}

.blog-item-text { padding: 16px 0; }
.blog-item-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(56px, 7vw, 88px);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}
.blog-item-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--ink);
}
.blog-item-text h2 em { font-style: italic; color: var(--accent); }
.blog-item-text p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.blog-item-text p:last-child { margin-bottom: 0; }

.blog-divider {
  max-width: 200px;
  margin: 0 auto 80px;
  border: none;
  border-top: 1px solid var(--line);
}

.blog-cta {
  max-width: 800px; margin: 60px auto 0;
  text-align: center;
  padding: 60px 32px;
  border: 1px solid var(--line);
  background: var(--bg-card);
}
.blog-cta h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 16px;
}
.blog-cta h3 em { font-style: italic; color: var(--accent); }
.blog-cta p { color: var(--ink-soft); font-size: 17px; line-height: 1.7; margin-bottom: 28px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Property page mobile */
@media (max-width: 900px) {
  .blog-item { grid-template-columns: 1fr; gap: 24px; margin-bottom: 64px; }
  .blog-item:nth-child(even) { direction: ltr; }
  .blog-article { padding: 60px 24px; }
  .blog-hero { padding: 140px 24px 60px; min-height: 50vh; }
  .property-overview-grid { grid-template-columns: 1fr; gap: 48px; }
  .property-features-grid { grid-template-columns: 1fr; gap: 32px; }
  .quick-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .quick-stat { border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
  .quick-stat:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .property-hero { min-height: 70vh; padding: 140px 24px 60px; }
  .property-overview, .property-rooms, .property-features-section, .property-gallery { padding: 70px 24px; }
  .hero-controls { bottom: 16px; right: 16px; padding: 8px 10px; gap: 12px; }
  .hero-controls button { font-size: 20px; padding: 4px 6px; }
  .hero-counter { font-size: 11px; min-width: 50px; }
}
.property-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: all 0.3s;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.property-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
}
.property-image {
  aspect-ratio: 4/3;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(255, 255, 255, 0.03) 18px 19px);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  font-size: 11px; letter-spacing: 0.2em;
  position: relative;
  background-size: cover;
  background-position: center;
}
.property-badge {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 14px;
  background: var(--accent);
  color: var(--bg);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}
.property-badge.sold {
  background: var(--ink);
  color: var(--bg);
}
.property-body {
  padding: 28px;
  display: flex; flex-direction: column; flex: 1;
}
.property-price {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 6px;
  font-weight: 500;
}
.property-price.sold {
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(244,241,234,0.3);
}
.property-sold-price {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 6px;
}
.property-address {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.property-meta {
  display: flex; gap: 20px;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.property-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* Filter bar for past sales */
.filter-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap; gap: 16px;
}
.filter-count {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.filter-count strong { color: var(--ink); font-weight: 500; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  border: 1px dashed var(--line);
}
.empty-state h3 { font-size: 24px; margin-bottom: 12px; }
.empty-state p { color: var(--ink-soft); font-size: 15px; max-width: 480px; margin: 0 auto 24px; }

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.back-link:hover { color: var(--accent); }

/* ================ FOOTER ================ */
footer {
  padding: 48px 40px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-soft); font-size: 13px;
}
.footer-inner {
  max-width: 1300px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-family: 'Archivo Black', sans-serif; font-size: 18px; color: var(--ink); letter-spacing: -0.02em; }
.footer-logo .dot { color: var(--accent); }

/* ================ MOBILE ================ */
@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; } /* hide "Let's Talk" pill (in mobile menu instead) */

  /* Mobile menu — full-screen overlay */
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12, 12, 12, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 80px 24px;
    z-index: 99;
    font-size: 18px;
    text-align: center;
    overflow-y: auto;
  }
  .nav-links.active { display: flex; }
  .nav-links > a, .nav-links .dropdown-trigger > a {
    color: var(--ink);
    font-size: 18px;
    letter-spacing: 0.1em;
    padding: 8px 0;
  }

  /* Mobile dropdown — always show child items inline, no hover needed */
  .dropdown-trigger { width: auto; text-align: center; }
  .dropdown-trigger > a::after { display: none; } /* no caret on mobile */
  .dropdown-trigger::after { display: none; } /* no hover bridge */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    backdrop-filter: none;
    border: none;
    padding: 12px 0 0;
    min-width: 0;
    text-align: center;
    transition: none;
  }
  .dropdown-menu a {
    padding: 8px 0;
    font-size: 13px;
    text-transform: uppercase;
  }

  .nav-inner { padding: 14px 20px; }
  section { padding: 80px 24px; }
  .page-header { padding: 140px 24px 70px; }
  .about { padding: 100px 24px; background-attachment: scroll; }
  .about-content .container, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .pillar-block { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .pillar-block.reverse { direction: ltr; }
  .pillar-visual { max-width: 360px; order: -1; }
  .work-grid { grid-template-columns: 1fr; }
  .speaker-topics { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .media-logos { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .property-grid { grid-template-columns: 1fr; }
  .listing-body { grid-template-columns: 1fr; gap: 32px; }
  .listing-header { flex-direction: column; align-items: flex-start; }
  .listing-feature { margin-bottom: 64px; padding-bottom: 64px; }
}
