/* =========================================
   DESIGN TOKENS
   ========================================= */
:root {
  /* Luxury Real Estate Palette — warm off-white, deep charcoal, soft gold accent */
  --color-bg: #F6F4EF;
  --color-surface: #FAF9F6;
  --color-dark: #2C2B26;
  --color-dark-2: #3D3B32;
  --color-taupe: #8A8278;
  --color-taupe-light: #B5B0A7;
  --color-gold: #A8854A;
  --color-gold-light: #C4A46E;
  --color-text: #2C2B26;
  --color-text-muted: #7A7870;
  --color-text-faint: #B0AEA8;
  --color-border: #DDD9D2;
  --color-divider: #E8E5DF;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', sans-serif;

  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2.25rem, 1.5rem + 2.5vw, 4rem);
  --text-hero: clamp(3.5rem, 2rem + 5vw, 7rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --content-default: 1100px;
  --content-narrow: 760px;

  --transition: 240ms cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 0;

  --header-h: 80px;
}

/* =========================================
   BASE RESET
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-weight: 300;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.1; font-weight: 300; }
p { text-wrap: pretty; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* =========================================
   TYPOGRAPHY UTILITIES
   ========================================= */
.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-taupe);
  display: block;
  margin-bottom: var(--space-4);
}
.section-label--light { color: var(--color-taupe-light); }
.text-cta {
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  display: inline-block;
  transition: color var(--transition), border-color var(--transition);
}
.text-cta:hover { color: var(--color-gold); }

/* =========================================
   HEADER
   ========================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: oklch(from #F6F4EF l c h / 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px oklch(0.2 0.01 80 / 0.06); }
.header-inner {
  max-width: var(--content-default);
  margin: 0 auto;
  padding: 0 var(--space-8);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo svg { height: 48px; width: auto; color: var(--color-dark); transition: color var(--transition); }
.logo:hover svg { color: var(--color-gold); }
.site-nav { display: flex; gap: var(--space-8); align-items: center; }
.nav-link {
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--color-text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--color-text); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 99;
  border-bottom: 1px solid var(--color-divider);
  transform: translateY(-110%);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
  pointer-events: none;
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav .nav-link {
  padding: var(--space-4) var(--space-8);
  border-bottom: 1px solid var(--color-divider);
  font-size: var(--text-sm);
}
.mobile-nav .nav-link::after { display: none; }

/* Nav always visible — no hamburger */
.nav-toggle { display: none !important; }
.mobile-nav { display: none !important; }

@media (max-width: 680px) {
  .site-nav { gap: var(--space-4); }
  .header-inner { padding: 0 var(--space-4); }
}
@media (max-width: 480px) {
  .site-nav { gap: var(--space-3); }
  .nav-link { font-size: 0.62rem; letter-spacing: 0.1em; }
  .logo svg { height: 38px; }
}

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  margin-top: var(--header-h);
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    oklch(0.15 0.02 80 / 0.1) 0%,
    oklch(0.15 0.02 80 / 0.35) 50%,
    oklch(0.15 0.02 80 / 0.55) 100%
  );
}
.hero-content {
  position: absolute;
  bottom: clamp(var(--space-16), 10vw, var(--space-32));
  left: clamp(var(--space-8), 6vw, var(--space-24));
  color: #F6F4EF;
}
.hero-address {
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  opacity: 0.85;
}
.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 300;
  line-height: 1;
  color: #F6F4EF;
  margin-bottom: var(--space-8);
}
.hero-cta {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #F6F4EF;
  border-bottom: 1px solid oklch(1 0 0 / 0.6);
  padding-bottom: 3px;
  transition: border-color var(--transition);
}
.hero-cta:hover { border-color: #F6F4EF; }
.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  right: var(--space-8);
  color: oklch(1 0 0 / 0.7);
  transition: color var(--transition), transform var(--transition);
}
.hero-scroll:hover { color: #F6F4EF; transform: translateY(3px); }
.scroll-dot { animation: scrollBounce 2s ease-in-out infinite; }
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* =========================================
   INTRO
   ========================================= */
.intro {
  padding: clamp(var(--space-20), 10vw, var(--space-32)) var(--space-8);
  background: var(--color-surface);
}
.intro-inner {
  max-width: var(--content-narrow);
  margin: 0 auto;
  text-align: center;
}
.intro-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-dark);
  margin-bottom: var(--space-6);
}
.intro-body {
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.8;
  max-width: 60ch;
  margin: 0 auto var(--space-8);
}

/* =========================================
   STATS BAR
   ========================================= */
.stats-bar {
  background: var(--color-dark);
  padding: var(--space-10) var(--space-8);
}
.stats-inner {
  max-width: var(--content-default);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-4) clamp(var(--space-6), 3vw, var(--space-12));
}
.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  color: #F6F4EF;
  letter-spacing: 0.02em;
}
.stat-label {
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-taupe-light);
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: oklch(1 0 0 / 0.12);
}
@media (max-width: 640px) {
  .stat-divider { display: none; }
  .stat { padding: var(--space-3) var(--space-6); }
}

/* =========================================
   PHOTO GRID
   ========================================= */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.grid-item {
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
}
.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.grid-item:hover img { transform: scale(1.04); }
@media (max-width: 700px) {
  .photo-grid { grid-template-columns: 1fr; }
  .grid-item { aspect-ratio: 16/10; }
}

/* =========================================
   FEATURE SPLIT
   ========================================= */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}
.feature-image { overflow: hidden; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(var(--space-12), 6vw, var(--space-24)) clamp(var(--space-8), 5vw, var(--space-20));
  background: var(--color-surface);
}
.feature-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-dark);
  margin-bottom: var(--space-6);
}
.feature-body {
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: var(--space-8);
}
.feature-list { display: flex; flex-direction: column; gap: var(--space-3); }
.feature-list li {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--color-text-muted);
  padding-left: var(--space-4);
  position: relative;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 1px;
  background: var(--color-gold);
}
@media (max-width: 800px) {
  .feature-split { grid-template-columns: 1fr; }
  .feature-image { aspect-ratio: 4/3; }
}

/* =========================================
   NEIGHBORHOOD
   ========================================= */
.neighborhood {
  background: var(--color-dark-2);
  padding: clamp(var(--space-16), 8vw, var(--space-32)) var(--space-8);
}
.neighborhood-inner {
  max-width: var(--content-default);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 5vw, var(--space-20));
  align-items: start;
}
.neighborhood-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: #F6F4EF;
  margin-bottom: var(--space-6);
}
.neighborhood-body {
  color: var(--color-taupe-light);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: var(--space-10);
}
.accordion { border-top: 1px solid oklch(1 0 0 / 0.12); }
.accordion-item { border-bottom: 1px solid oklch(1 0 0 / 0.12); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) 0;
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(1 0 0 / 0.75);
  transition: color var(--transition);
}
.accordion-trigger:hover { color: #F6F4EF; }
.accordion-trigger[aria-expanded="true"] { color: #F6F4EF; }
.accordion-icon {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  transition: transform var(--transition);
}
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 400ms cubic-bezier(0.16, 1, 0.3, 1);
}
.accordion-panel p {
  padding-bottom: var(--space-5);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--color-taupe-light);
  line-height: 1.7;
}
.neighborhood-map {
  position: sticky;
  top: calc(var(--header-h) + var(--space-4));
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 20px 60px oklch(0 0 0 / 0.4);
}
.neighborhood-map iframe {
  width: 100%;
  height: 460px;
  border: none;
  display: block;
  filter: grayscale(30%) contrast(0.95);
}
@media (max-width: 800px) {
  .neighborhood-inner { grid-template-columns: 1fr; }
  .neighborhood-map { position: static; }
  .neighborhood-map iframe { height: 300px; }
}

/* =========================================
   BROKERAGE BANNER
   ========================================= */
.brokerage-banner {
  background: var(--color-dark);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-8);
  text-align: center;
}
.brokerage-inner { max-width: var(--content-narrow); margin: 0 auto; }
.brokerage-logo { margin-bottom: var(--space-6); }
.brokerage-logo svg { height: 28px; width: auto; margin: 0 auto; color: oklch(1 0 0 / 0.6); }
.brokerage-logos { display: flex; justify-content: center; margin-bottom: var(--space-6); }
.brokerage-logo-img {
  height: 120px;
  width: auto;
  max-width: 340px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}
.brokerage-text {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--color-taupe-light);
  line-height: 1.8;
  max-width: 50ch;
  margin: 0 auto;
}

/* =========================================
   INQUIRE / CONTACT FORM
   ========================================= */
.inquire {
  padding: clamp(var(--space-20), 10vw, var(--space-32)) var(--space-8);
  background: var(--color-surface);
}
.inquire-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.inquire-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-dark);
  margin-bottom: var(--space-4);
}
.inquire-sub {
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: var(--space-12);
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}
.inquire-form { text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.form-group { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-5); }
.form-group label, .form-label-text {
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.form-group input,
.form-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-3) 0;
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition);
  font-family: var(--font-body);
  resize: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus { border-bottom-color: var(--color-dark); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-text-faint); }
.form-group--broker { margin-bottom: var(--space-5); }
.form-radio-group { display: flex; gap: var(--space-6); margin-top: var(--space-2); }
.radio-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--color-text-muted);
  cursor: pointer;
}
.radio-label input[type="radio"] { accent-color: var(--color-dark); width: 16px; height: 16px; cursor: pointer; }
.form-submit {
  display: block;
  width: 100%;
  padding: var(--space-4) var(--space-8);
  background: var(--color-dark);
  color: #F6F4EF;
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--color-dark);
  margin-top: var(--space-8);
  transition: background var(--transition), color var(--transition);
  font-family: var(--font-body);
  cursor: pointer;
}
.form-submit:hover { background: transparent; color: var(--color-dark); }
.form-note {
  text-align: center;
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-weight: 300;
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-divider);
}
.footer-inner {
  max-width: var(--content-default);
  margin: 0 auto;
  padding: clamp(var(--space-12), 6vw, var(--space-20)) var(--space-8);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-12);
  align-items: start;
}
.footer-logo svg { height: 52px; width: auto; color: var(--color-dark); }
.footer-address {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.footer-agents { display: flex; gap: var(--space-10); }
.footer-agent { display: flex; align-items: flex-start; gap: var(--space-4); }
.agent-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--color-dark);
  color: #F6F4EF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.agent-headshot {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--color-divider);
}
.agent-headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.agent-info { display: flex; flex-direction: column; gap: var(--space-1); }
.agent-name { font-size: var(--text-sm); font-weight: 400; color: var(--color-text); }
.agent-title { font-size: var(--text-xs); color: var(--color-text-muted); font-weight: 300; }
.agent-contact {
  font-size: var(--text-xs);
  font-weight: 300;
  color: var(--color-text-muted);
  transition: color var(--transition);
  display: block;
}
.agent-contact:hover { color: var(--color-text); }
.footer-disclaimer {
  border-top: 1px solid var(--color-divider);
  padding: var(--space-6) var(--space-8);
  text-align: center;
}
.footer-disclaimer p {
  font-size: var(--text-xs);
  font-weight: 300;
  color: var(--color-text-faint);
  line-height: 1.6;
  max-width: 80ch;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-agents { flex-direction: column; gap: var(--space-6); }
  .brokerage-logo-img { height: 48px; max-width: 320px; }
  .footer-cobrand-logo-img { height: 40px; max-width: 280px; }
}

/* =========================================
   SCROLL REVEAL ANIMATION
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   HOME DOCUMENTS SECTION
   ========================================= */
.home-docs {
  padding: clamp(var(--space-20), 10vw, var(--space-32)) var(--space-8);
  background: var(--color-bg);
}
.home-docs-inner {
  max-width: var(--content-default);
  margin: 0 auto;
}
.home-docs-header {
  text-align: center;
  margin-bottom: var(--space-12);
}
.home-docs-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--color-dark);
  margin-bottom: var(--space-4);
}
.home-docs-sub {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--color-text-muted);
  max-width: 50ch;
  margin: 0 auto;
  line-height: 1.7;
}
.home-docs-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--color-divider);
  border: 1px solid var(--color-divider);
  margin-bottom: var(--space-10);
}
.home-doc-item {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-6);
  background: var(--color-surface);
  transition: background var(--transition);
}
.home-doc-item:hover { background: var(--color-bg); }
.home-doc-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  flex-shrink: 0;
}
.home-doc-icon--lock { color: var(--color-taupe); }
.home-doc-info { flex: 1; min-width: 0; }
.home-doc-name {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.home-doc-meta {
  font-size: var(--text-xs);
  font-weight: 300;
  color: var(--color-text-muted);
}
.home-doc-download {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.home-doc-download:hover { background: var(--color-dark); color: #F6F4EF; border-color: var(--color-dark); }
.home-doc-download--restricted { color: var(--color-text-muted); border-style: dashed; }
.home-doc-download--restricted:hover { background: var(--color-dark-2); color: #F6F4EF; border-color: var(--color-dark-2); border-style: solid; }
.home-docs-footer { text-align: center; }

@media (max-width: 600px) {
  .home-doc-item { flex-wrap: wrap; gap: var(--space-3); }
  .home-doc-download { width: 100%; justify-content: center; }
}

/* =========================================
   GATE MODAL (shared — home + documents page)
   ========================================= */
.gate-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-4);
  opacity: 0; pointer-events: none;
  transition: opacity 300ms ease;
}
.gate-modal.open { opacity: 1; pointer-events: auto; }
.gate-backdrop {
  position: absolute; inset: 0;
  background: oklch(0.1 0 0 / 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.gate-content {
  position: relative; z-index: 1;
  background: var(--color-surface);
  padding: clamp(var(--space-8), 4vw, var(--space-12));
  width: 100%; max-width: 480px;
  border: 1px solid var(--color-divider);
  box-shadow: 0 30px 80px oklch(0 0 0 / 0.3);
}
.gate-close {
  position: absolute; top: var(--space-4); right: var(--space-4);
  width: 32px; height: 32px;
  font-size: 1.25rem;
  color: var(--color-text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: color var(--transition);
}
.gate-close:hover { color: var(--color-text); }
.gate-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  color: var(--color-dark);
  margin-bottom: var(--space-3);
}
.gate-sub {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-8);
}

/* =========================================
   DUAL-BRAND BROKERAGE BANNER
   ========================================= */
.brokerage-banner {
  background: var(--color-dark);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-8);
  text-align: center;
}
.brokerage-inner { max-width: var(--content-default); margin: 0 auto; }
.brokerage-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.brokerage-brand { display: flex; align-items: center; justify-content: center; }
.brokerage-svg-njlre { height: 44px; width: auto; color: oklch(1 0 0 / 0.75); }
.brokerage-svg-serhant { height: 44px; width: auto; color: oklch(1 0 0 / 0.85); }
.brokerage-divider {
  width: 1px;
  height: 44px;
  background: oklch(1 0 0 / 0.15);
  flex-shrink: 0;
}
.brokerage-text {
  font-size: var(--text-xs);
  font-weight: 300;
  color: var(--color-taupe-light);
  line-height: 1.8;
  max-width: 52ch;
  margin: 0 auto;
  letter-spacing: 0.03em;
}

/* =========================================
   FOOTER CO-BRAND ROW
   ========================================= */
.footer-cobrand {
  border-top: 1px solid var(--color-divider);
  padding: var(--space-8) var(--space-8);
}
.footer-cobrand-inner {
  max-width: var(--content-default);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.footer-cobrand-label {
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  white-space: nowrap;
}
.footer-cobrand-logos {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}
.footer-cobrand-logo { display: flex; align-items: center; }
.footer-cobrand-logo svg { height: 28px; width: auto; color: var(--color-text-muted); }
.footer-cobrand-logo-img {
  height: 52px;
  width: auto;
  max-width: 380px;
  display: block;
  object-fit: contain;
  transition: opacity var(--transition);
}
.footer-cobrand-logo-img:hover { opacity: 0.75; }
.footer-office-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}
.footer-office-line a {
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.footer-office-line a:hover { color: var(--color-text); }
.footer-office-sep { opacity: 0.4; }
.footer-cobrand-sep {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-weight: 300;
}
.footer-eho {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: auto;
  color: var(--color-text-faint);
}
.footer-eho svg { flex-shrink: 0; opacity: 0.5; }
.footer-eho span {
  font-size: 9px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

/* =========================================
   SERHANT. LEGAL DISCLOSURE
   ========================================= */
.footer-serhant-disclosure {
  background: var(--color-surface-offset, #EDEAE5);
  border-top: 1px solid var(--color-divider);
  padding: var(--space-8) var(--space-8);
}
.footer-disclosure-inner {
  max-width: var(--content-default);
  margin: 0 auto;
}
.footer-disclosure-brand {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}
.footer-serhant-disclosure p {
  font-size: 11px;
  font-weight: 300;
  color: var(--color-text-faint);
  line-height: 1.65;
  margin-bottom: var(--space-3);
  max-width: none;
}
.footer-disclaimer-copy {
  font-size: 10px !important;
  color: var(--color-text-faint);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-divider);
  margin-bottom: 0 !important;
}

@media (max-width: 700px) {
  .brokerage-divider { display: none; }
  .footer-eho { margin-left: 0; }
  .footer-cobrand-inner { gap: var(--space-4); }
}

/* =========================================
   PHOTO SHOWCASE (expanded 6-up grid)
   ========================================= */
.photo-showcase {
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-8);
  background: var(--color-surface);
}
.photo-showcase-editorial {
  max-width: var(--content-narrow);
  margin: 0 auto var(--space-12);
  text-align: center;
}
.photo-showcase-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-dark);
  margin-bottom: var(--space-4);
}
.photo-showcase-body {
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.8;
  max-width: 52ch;
  margin: 0 auto var(--space-6);
}
.photo-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 6px;
  max-width: var(--content-default);
  margin: 0 auto;
}
.psg-item {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 4/3;
  background: var(--color-dark);
}
.psg-item.psg-large {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.psg-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.psg-item:hover img { transform: scale(1.04); }
.psg-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(1 0 0 / 0.85);
  background: linear-gradient(to top, oklch(0 0 0 / 0.5), transparent);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--transition), transform var(--transition);
}
.psg-item:hover .psg-label { opacity: 1; transform: translateY(0); }
@media (max-width: 800px) {
  .photo-showcase-grid { grid-template-columns: 1fr 1fr; }
  .psg-item.psg-large { grid-column: span 2; aspect-ratio: 16/9; }
}
@media (max-width: 560px) {
  .photo-showcase-grid { grid-template-columns: 1fr; gap: 4px; }
  .psg-item.psg-large { grid-column: span 1; aspect-ratio: 4/3; }
}

/* =========================================
   VIDEO SHOWCASE
   ========================================= */
.video-showcase {
  background: var(--color-dark);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-8);
}
.video-showcase-inner {
  max-width: var(--content-default);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-16);
  align-items: center;
}
.video-showcase-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-bg);
  margin-bottom: var(--space-4);
}
.video-showcase-body {
  color: var(--color-taupe-light);
  font-weight: 300;
  line-height: 1.8;
}
.video-wrapper {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
  box-shadow: 0 32px 80px oklch(0 0 0 / 0.4);
}
.property-video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: oklch(0 0 0 / 0.15);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.video-wrapper:hover .video-play-overlay { opacity: 1; pointer-events: auto; }
.video-play-btn {
  color: oklch(1 0 0 / 0.9);
  transition: transform var(--transition), color var(--transition);
}
.video-play-btn:hover { transform: scale(1.1); color: #fff; }
@media (max-width: 900px) {
  .video-showcase-inner { grid-template-columns: 1fr; gap: var(--space-10); }
}

/* =========================================
   ENLARGED SIDE-BY-SIDE AGENT CARDS
   ========================================= */
.footer-agents-header {
  padding: var(--space-12) var(--space-8) var(--space-8);
  border-bottom: 1px solid var(--color-divider);
  max-width: var(--content-default);
  margin: 0 auto;
}
.footer-logo-inline {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.footer-logo-inline svg { height: 52px; width: auto; color: var(--color-dark); }
.footer-logo-inline .footer-address {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.footer-agents-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0;
  max-width: var(--content-default);
  margin: 0 auto;
  padding: var(--space-12) var(--space-8);
}
.footer-agent-card {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-8);
}
.footer-agent-divider {
  width: 1px;
  height: 120px;
  background: var(--color-divider);
  align-self: center;
}
.agent-headshot-lg {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--color-divider);
}
.agent-headshot-lg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.agent-card-info { display: flex; flex-direction: column; gap: var(--space-2); }
.agent-card-name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.5rem);
  font-weight: 400;
  color: var(--color-dark);
  line-height: 1.2;
}
.agent-card-title {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}
.agent-card-contacts { display: flex; flex-direction: column; gap: var(--space-1); }
.agent-card-contact {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.agent-card-contact:hover { color: var(--color-gold); }
.agent-card-contact svg { flex-shrink: 0; color: var(--color-gold); }
@media (max-width: 900px) {
  .footer-agents-grid { grid-template-columns: 1fr; }
  .footer-agent-divider { width: 60px; height: 1px; margin: 0 auto; }
  .footer-agent-card { padding: var(--space-6) 0; }
  .footer-logo-inline { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
}

/* Brand logo image in header/footer */
.logo img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  /* Invert on dark header backgrounds if needed — brand-logo-text is dark text so keep as-is */
}
.footer-logo-inline img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ── Inline Agent Contact Section (below Documents) ── */
.agent-contact-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.agent-contact-section .footer-agents-grid {
  padding: clamp(var(--space-10), 6vw, var(--space-16)) var(--space-8);
}
