/* ===================================================
   THE CLARK ON 54TH — MAIN STYLESHEET
   clarkon54th.com
   =================================================== */

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

/* === CSS VARIABLES === */
:root {
  /* Brand Palette */
  --olive:       #383820;   /* nav bar army green — used for headings, UI elements */
  --olive-dark:  #3F0E00;   /* deep mahogany brown — dark backgrounds              */
  --rust:        #BF5B05;   /* warm orange-rust — primary CTA                      */
  --rust-dark:   #8C1C04;   /* deep rust — hover states                            */
  --amber:       #BF7F04;   /* warm amber gold — accents, labels                   */
  --sage:        #C8A878;   /* warm tan                                            */
  --sage-dark:   #A88550;   /* deeper tan                                          */
  --cream:       #FEE8AA;   /* warm cream                                          */
  --cream-light: #FFF8E8;   /* near-white warm                                     */

  /* Dark backgrounds */
  --navy:        #3F0E00;
  --navy-dark:   #2A0800;

  /* Neutrals */
  --white:       #FFFFFF;
  --off-white:   #F6F1E8;
  --text-dark:   #2A2618;
  --text-medium: #4A4236;
  --text-light:  #7A6F5E;
  --border:      #DDD0B0;
  --border-light:#EDE5CC;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --section-pad:    88px;
  --container-max:  1200px;
  --container-pad:  24px;

  /* Motion */
  --transition: 0.3s ease;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(56,56,32,0.10);
  --shadow-md: 0 6px 24px rgba(56,56,32,0.16);
  --shadow-lg: 0 12px 48px rgba(56,56,32,0.22);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 { font-family: var(--font-serif); line-height: 1.2; color: var(--olive); }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.65rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--text-medium); line-height: 1.82; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.9rem;
  display: block;
}

/* === LAYOUT === */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
section { padding: var(--section-pad) 0; }

.section-header { text-align: center; max-width: 620px; margin: 0 auto 60px; }
.section-header h2 { margin-bottom: 1rem; }

.rust-bar  { width: 52px; height: 3px; background: var(--rust);  margin: 1.25rem auto 0; }
.amber-bar { width: 52px; height: 3px; background: var(--amber); margin: 1.25rem auto 0; }
.gold-bar  { width: 52px; height: 3px; background: var(--amber); margin: 1.25rem auto 0; }
.divider   { width: 52px; height: 3px; background: var(--rust);  margin: 1.25rem 0; }

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary       { background: var(--rust);  color: var(--white); border-color: var(--rust); }
.btn-primary:hover { background: var(--olive); color: var(--white); border-color: var(--olive); }

.btn-secondary       { background: transparent; color: var(--white); border-color: var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--olive); }

.btn-outline-navy       { background: transparent; color: var(--olive); border-color: var(--olive); }
.btn-outline-navy:hover { background: var(--olive); color: var(--white); }

.btn-outline-gold       { background: transparent; color: var(--amber); border-color: var(--amber); }
.btn-outline-gold:hover { background: var(--amber); color: var(--olive-dark); }

.btn-outline-rust       { background: transparent; color: var(--rust); border-color: var(--rust); }
.btn-outline-rust:hover { background: var(--rust); color: var(--white); }

.btn-lg { padding: 17px 42px; font-size: 0.82rem; }

/* === ANNOUNCEMENT BAR === */
.announce-bar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1010;
  background: var(--olive);
  border-bottom: 1px solid rgba(219,140,41,0.35);
  padding: 0 24px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.announce-bar-text {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  text-align: center;
}
.announce-bar-text strong { color: var(--amber); }
.announce-bar-link {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  border-bottom: 1px solid rgba(219,140,41,0.45);
  padding-bottom: 1px;
  white-space: nowrap;
  transition: color var(--transition);
  flex-shrink: 0;
}
.announce-bar-link:hover { color: var(--cream); border-color: var(--cream); }
.announce-bar-dismiss {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 6px;
  transition: color var(--transition);
}
.announce-bar-dismiss:hover { color: rgba(255,255,255,0.85); }
body.bar-dismissed .announce-bar { transform: translateY(-100%); opacity: 0; pointer-events: none; }
body.bar-dismissed #navbar { top: 0 !important; }

/* === NAVIGATION === */
#navbar {
  position: fixed;
  top: 38px; left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition);
  padding: 18px 0;
  background: rgba(56, 56, 32, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
#navbar.scrolled, #navbar.solid {
  background: var(--olive);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-text .logo-name { font-family: var(--font-serif); font-size: 1.1rem; color: var(--white); font-weight: 600; letter-spacing: 0.02em; }
.nav-logo-text .logo-sub  { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber); margin-top: 3px; }
.nav-logo img { height: 40px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 8px 9px;
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--amber); }
.nav-cta { margin-left: 14px; }
.nav-links .nav-cta a {
  background: var(--rust);
  color: var(--white) !important;
  padding: 9px 18px;
  font-weight: 700;
  border: 2px solid var(--rust);
}
.nav-links .nav-cta a:hover { background: transparent; color: var(--rust) !important; border-color: var(--rust); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--white); transition: all var(--transition); }

.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: var(--olive);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-family: var(--font-serif); font-size: 1.9rem; color: var(--white); padding: 6px 0; transition: color var(--transition); }
.nav-mobile a:hover { color: var(--amber); }
.nav-mobile .close-btn {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--font-sans); font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); cursor: pointer; background: none; border: none;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--olive-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
  background-image: url('../images/rendering-1.jpg');
  background-color: var(--olive-dark);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(63, 14, 0, 0.22)  0%,
    rgba(63, 14, 0, 0.48) 45%,
    rgba(63, 14, 0, 0.84) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 820px;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 28px rgba(0,0,0,0.4);
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  letter-spacing: 0.01em;
  line-height: 1.08;
}
.hero-content p {
  color: rgba(255,255,255,0.88);
  font-size: 1.08rem;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-badge {
  display: inline-block;
  background: var(--rust);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 20px;
  margin-bottom: 1.75rem;
}
.hero-scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollBounce 2.4s ease-in-out infinite;
}
.hero-scroll::after { content: ''; display: block; width: 1px; height: 36px; background: rgba(255,255,255,0.3); }
@keyframes scrollBounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* === DOT NAVIGATION === */
.dot-nav {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: auto;
}
.dot-nav-item {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.55);
  background: transparent;
  cursor: pointer;
  transition: all 0.35s ease;
  padding: 0;
  position: relative;
  flex-shrink: 0;
}
.dot-nav-item::before {
  content: attr(title);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  background: rgba(63,14,0,0.72);
  padding: 3px 8px;
}
.dot-nav-item:hover::before { opacity: 1; }
.dot-nav-item:hover { border-color: rgba(255,255,255,0.9); transform: scale(1.25); }
.dot-nav-item.active { background: var(--amber); border-color: var(--amber); transform: scale(1.15); }
/* On light-background sections */
.dot-nav.on-light .dot-nav-item { border-color: rgba(79,79,48,0.4); }
.dot-nav.on-light .dot-nav-item::before { color: rgba(79,79,48,0.9); background: rgba(255,255,255,0.85); }
.dot-nav.on-light .dot-nav-item:hover { border-color: var(--olive); }
.dot-nav.on-light .dot-nav-item.active { background: var(--rust); border-color: var(--rust); }
@media (max-width: 1024px) { .dot-nav { display: none; } }

/* Page Hero (inner pages) */
.page-hero {
  padding: 160px 0 80px;
  background: var(--olive-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('../images/rendering-1.jpg');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.28;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(63,14,0,0.55) 0%,
    rgba(63,14,0,0.35) 50%,
    rgba(63,14,0,0.75) 100%
  );
}
.page-hero > * { position: relative; z-index: 2; }
.page-hero .container { position: relative; z-index: 2; width: 100%; }
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; text-shadow: 0 2px 18px rgba(0,0,0,0.45); }
.page-hero p { color: rgba(255,255,255,0.78); max-width: 500px; margin: 0 auto; }
.page-hero .gold-bar,
.page-hero .rust-bar { margin-top: 1.25rem; }

/* === STATS BAR === */
.stats-bar { background: var(--rust); padding: 26px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat-item { padding: 0 20px; border-right: 1px solid rgba(255,255,255,0.2); }
.stat-item:last-child { border-right: none; }
.stat-number { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 5px; }
.stat-label  { font-size: 0.67rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(255,255,255,0.78); }

/* === SPLIT SECTIONS === */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-image { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.split-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.65s ease; }
.split-image:hover img { transform: scale(1.04); }
.split-image-accent {
  position: absolute; bottom: -16px; right: -16px;
  width: 100px; height: 100px;
  background: var(--amber);
  z-index: -1;
}
.split-content .btn { margin-top: 1.75rem; }

/* Placeholder image block */
.img-placeholder {
  width: 100%; height: 100%; min-height: 340px;
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
  color: rgba(255,255,255,0.45);
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  text-align: center; padding: 20px;
}
.img-placeholder span { font-size: 2.5rem; opacity: 0.35; }

/* === PHOTO STRIP (full-bleed neighborhood section) === */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 340px;
  overflow: hidden;
}
.photo-strip-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.photo-strip-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.photo-strip-item:hover img { transform: scale(1.07); }
.photo-strip-item .strip-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(63,14,0,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex; align-items: flex-end; padding: 16px;
}
.photo-strip-item:hover .strip-overlay { opacity: 1; }
.strip-caption {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cream);
}
.photo-strip-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
}

/* === AMENITY CARDS === */
.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.amenity-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.amenity-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--rust);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.amenity-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.amenity-card:hover::after { transform: scaleX(1); }
.amenity-icon { font-size: 2rem; margin-bottom: 1.1rem; display: block; color: var(--rust); }
.amenity-icon i { font-size: inherit; color: inherit; }
.apply-icon { font-size: 2rem; margin-bottom: 1rem; display: block; color: var(--rust); }
.apply-icon i { font-size: inherit; color: inherit; }
.amenity-card h3 { font-size: 1.15rem; margin-bottom: 0.7rem; }
.amenity-card p  { font-size: 0.88rem; color: var(--text-light); }

/* === FLOOR PLAN CARDS === */
.floorplan-tabs { display: flex; gap: 0; margin-bottom: 36px; border-bottom: 2px solid var(--border); }
.floorplan-tab {
  padding: 12px 28px;
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  background: none;
  border-top: none; border-left: none; border-right: none;
  font-family: var(--font-sans);
  transition: all var(--transition);
}
.floorplan-tab.active, .floorplan-tab:hover { color: var(--olive); border-bottom-color: var(--rust); }
.floorplan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.floorplan-card { border: 1px solid var(--border); overflow: hidden; transition: all var(--transition); background: var(--white); }
.floorplan-card:hover { box-shadow: var(--shadow-md); }

/* Clickable image indicator */
.floorplan-image {
  height: 300px;
  background: #ffffff;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.floorplan-image img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 12px;
  background: #fff;
  transition: transform 0.4s ease;
}
.floorplan-card:hover .floorplan-image img { transform: scale(1.04); }

/* Expand hint on hover */
.floorplan-image::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  bottom: 10px; right: 12px;
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  background: rgba(63,14,0,0.55);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  line-height: 32px;
  text-align: center;
}
.floorplan-card:hover .floorplan-image::after { opacity: 1; }

/* === LIGHTBOX === */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20, 5, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: pointer;
}
.lightbox-overlay.open {
  display: flex;
}
.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  cursor: default;
}
.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  display: block;
}
.lightbox-caption {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-align: center;
}
.lightbox-close {
  position: fixed;
  top: 20px; right: 24px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
  z-index: 2001;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); color: #fff; }
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
  z-index: 2001;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); color: #fff; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
@media (max-width: 768px) {
  .lightbox-nav { display: none; }
  .lightbox-img { max-height: 75vh; }
}

.floorplan-details { padding: 26px; }
.floorplan-type { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.4rem; display: block; }
.floorplan-details h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.floorplan-specs { display: flex; gap: 20px; margin-bottom: 1.1rem; flex-wrap: wrap; }
.floorplan-spec { display: flex; flex-direction: column; gap: 2px; }
.spec-label { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); }
.spec-value { font-size: 0.92rem; font-weight: 700; color: var(--text-dark); }
.affordable-badge {
  display: inline-block;
  background: rgba(191,200,161,0.35);
  color: var(--olive);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; margin-bottom: 0.85rem;
  border: 1px solid var(--sage);
}

/* === AVAILABILITY TABLE === */
.avail-filters { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; align-items: center; }
.avail-filter-btn {
  padding: 8px 18px;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--border);
  background: var(--white); color: var(--text-medium);
  cursor: pointer; transition: all var(--transition);
  font-family: var(--font-sans);
}
.avail-filter-btn.active, .avail-filter-btn:hover { background: var(--olive); color: var(--white); border-color: var(--olive); }
.avail-table-wrap { overflow-x: auto; }
.avail-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.avail-table th {
  background: var(--olive);
  color: var(--white);
  padding: 13px 18px; text-align: left;
  font-size: 0.67rem; letter-spacing: 0.13em; text-transform: uppercase;
  font-family: var(--font-sans); font-weight: 700; white-space: nowrap;
}
.avail-table td { padding: 13px 18px; border-bottom: 1px solid var(--border-light); color: var(--text-medium); }
.avail-table tr:last-child td { border-bottom: none; }
.avail-table tr:nth-child(even) td { background: var(--off-white); }
.avail-table tr:hover td { background: rgba(254,232,170,0.35); }
.badge { display: inline-block; font-size: 0.65rem; font-weight: 700; padding: 3px 9px; letter-spacing: 0.06em; }
.badge-market     { background: rgba(79,79,48,0.1);  color: var(--olive); }
.badge-affordable { background: rgba(191,200,161,0.4); color: var(--olive); border: 1px solid var(--sage); }
.badge-available  { background: rgba(76,175,80,0.12); color: #2e7d32; }
.badge-contact    { background: rgba(219,140,41,0.15); color: #7a4f10; }

/* === NEIGHBORHOOD === */
.neighborhood-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.neighborhood-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.neighborhood-category h4 {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 0.9rem;
  font-family: var(--font-sans); font-weight: 700;
}
.neighborhood-list li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 7px 0; border-bottom: 1px solid var(--border-light);
  font-size: 0.88rem; color: var(--text-medium);
}
.neighborhood-list li::before { content: '→'; color: var(--rust); font-size: 0.8rem; flex-shrink: 0; }
.map-embed { width: 100%; height: 380px; border: 1px solid var(--border); background: var(--off-white); }

/* === GALLERY === */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery-item { overflow: hidden; background: var(--cream); cursor: pointer; position: relative; aspect-ratio: 4/3; }
.gallery-item.featured { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-placeholder {
  width: 100%; height: 100%; min-height: 240px;
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); flex-direction: column; gap: 8px;
}
.gallery-item.featured .gallery-placeholder { min-height: 490px; }
.gallery-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(63,14,0,0.85), transparent);
  color: rgba(255,255,255,0.9); font-size: 0.7rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover .gallery-label { opacity: 1; }

/* === CONTACT / FORM === */
.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 72px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.67rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-medium); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: var(--font-sans); font-size: 0.9rem;
  color: var(--text-dark); outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none; border-radius: 0;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--rust); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit { margin-top: 8px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }

.contact-info-card { background: var(--olive-dark); padding: 38px 32px; }
.contact-info-card h3 { color: var(--white); margin-bottom: 2rem; font-size: 1.25rem; }
.contact-info-item { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.contact-info-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-info-label { font-size: 0.63rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.4rem; display: block; }
.contact-info-value { font-size: 0.92rem; color: rgba(255,255,255,0.88); line-height: 1.6; }
.contact-info-value a { color: rgba(255,255,255,0.88); }
.contact-info-value a:hover { color: var(--amber); }

/* === RESIDENTS PAGE === */
.resident-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.resident-card { background: var(--off-white); padding: 34px; border-left: 4px solid var(--amber); transition: all var(--transition); }
.resident-card:hover { background: var(--cream-light); box-shadow: var(--shadow-sm); }
.resident-card h3 { font-size: 1.1rem; margin-bottom: 0.7rem; }
.resident-card p  { font-size: 0.88rem; margin-bottom: 1.1rem; }
.resident-card .btn { font-size: 0.7rem; padding: 9px 20px; }

/* === APPLY PAGE === */
.apply-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-bottom: 48px; }
.apply-card { border: 2px solid var(--border); padding: 36px; text-align: center; transition: all var(--transition); }
.apply-card:hover { border-color: var(--rust); box-shadow: var(--shadow-md); }
.apply-card .apply-icon { font-size: 2.2rem; margin-bottom: 1rem; display: block; }
.apply-card h3 { font-size: 1.15rem; margin-bottom: 0.7rem; }
.apply-card p  { font-size: 0.88rem; margin-bottom: 1.5rem; }
.apply-steps { counter-reset: step; display: flex; flex-direction: column; gap: 0; }
.apply-step { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border-light); }
.apply-step:last-child { border-bottom: none; }
.step-num {
  counter-increment: step;
  width: 36px; height: 36px;
  background: var(--olive);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1rem; flex-shrink: 0;
}
.step-num::before { content: counter(step); }
.step-content h4 { margin-bottom: 0.4rem; }
.step-content p  { font-size: 0.88rem; }

/* === CTA BAND === */
.cta-band { background: var(--olive); padding: 88px 0; text-align: center; }
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p  { color: rgba(255,255,255,0.68); max-width: 460px; margin: 0 auto 2rem; }

/* === FOOTER === */
footer { background: var(--olive-dark); color: rgba(255,255,255,0.65); padding: 68px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { font-size: 0.86rem; line-height: 1.75; margin: 1.25rem 0; color: rgba(255,255,255,0.52); max-width: 280px; }
.footer-logo-name { font-family: var(--font-serif); font-size: 1.2rem; color: var(--white); display: block; }
.footer-logo-sub  { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); display: block; margin-top: 3px; }
.footer-col h4 { font-family: var(--font-sans); font-size: 0.67rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.25rem; }
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul li a { font-size: 0.86rem; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--amber); }
.footer-contact-item { margin-bottom: 1rem; }
.footer-contact-label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.13em; color: var(--amber); display: block; margin-bottom: 2px; }
.footer-contact-value { font-size: 0.86rem; color: rgba(255,255,255,0.65); line-height: 1.5; }
.footer-bottom { padding: 18px 0; display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; color: rgba(255,255,255,0.28); }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { color: rgba(255,255,255,0.28); }
.footer-bottom-links a:hover { color: var(--amber); }

/* === UTILITIES === */
.bg-olive    { background: var(--olive); }
.bg-cream    { background: var(--cream); }
.bg-off-white{ background: var(--off-white); }
.bg-sage     { background: rgba(191,200,161,0.2); }
.text-center { text-align: center; }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }

/* Scroll-triggered fade in */
[data-animate] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-animate].visible { opacity: 1; transform: none; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  :root { --section-pad: 64px; }
  .split-section { grid-template-columns: 1fr; gap: 36px; }
  .split-section.reverse { direction: ltr; }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .floorplan-grid { grid-template-columns: 1fr; }
  .neighborhood-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { padding: 16px 20px; }
  .apply-options { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); height: 480px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 52px; }
  .announce-bar-text { font-size: 0.6rem; letter-spacing: 0.08em; }
  .announce-bar-link { display: none; }
  .announce-bar { gap: 8px; padding: 0 40px 0 16px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .amenity-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.featured { grid-column: span 2; }
  .neighborhood-features { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .resident-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .avail-table th, .avail-table td { padding: 10px 12px; font-size: 0.82rem; }
  .floorplan-tabs { flex-wrap: wrap; }
  .photo-strip { grid-template-columns: 1fr 1fr; height: 400px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.featured { grid-column: span 1; }
  .photo-strip { grid-template-columns: 1fr 1fr; height: 320px; }
}
