/* ============================================================
   132 Washington Ave — Leasing Site
   Clean modern typographic style
   ============================================================ */

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #2D5A3D;
  --green-light: #4A7C5B;
  --green-pale:  #EDF4F0;
  --cream:       #FAF8F5;
  --warm-gray:   #F0ECE7;
  --mid-gray:    #8B8070;
  --dark:        #1E1A16;
  --text:        #2C2420;
  --text-muted:  #6B5E54;
  --border:      #E0D8D0;
  --white:       #FFFFFF;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --shadow-sm:  0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.14);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --max-w: 1140px;
  --header-h: 68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* --- Typography -------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.18;
  color: var(--dark);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; font-family: var(--font-sans); font-weight: 600; }

p { color: var(--text-muted); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.section-sub {
  max-width: 640px;
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
}

/* --- Containers -------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Buttons ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border: 2px solid var(--green);
}
.btn-primary:hover { background: var(--green-light); border-color: var(--green-light); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.45);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.btn-large { font-size: 1rem; padding: 1rem 2.25rem; }

/* --- Header ----------------------------------------------- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: box-shadow 0.3s ease;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header-address {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-shrink: 0;
}
.header-label {
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  background: var(--green);
  color: white;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  font-weight: 600;
}
.header-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
}
.header-city {
  font-size: 0.8rem;
  color: var(--text-muted);
}
#main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
#main-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
#main-nav a:hover { color: var(--dark); }
.nav-cta {
  background: var(--green) !important;
  color: white !important;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--green-light) !important; }

#nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
#nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.25s;
}

/* --- Hero -------------------------------------------------- */
.hero {
  position: relative;
  margin-top: var(--header-h);
  height: calc(100vh - var(--header-h));
  min-height: 500px;
  max-height: 800px;
  overflow: hidden;
  display: flex;
}
.hero-gallery {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3px;
}
.hero-main, .hero-main img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.hero-grid {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
}
.hero-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 8, 5, 0.88) 0%,
    rgba(10, 8, 5, 0.65) 40%,
    rgba(10, 8, 5, 0.25) 75%,
    rgba(10, 8, 5, 0.10) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 4rem;
}
.hero-content { max-width: 600px; }
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.hero h1 {
  font-family: var(--font-serif);
  color: white;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.03em;
  margin-bottom: 1.75rem;
}
.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Highlight Bar ----------------------------------------- */
.highlight-bar {
  background: var(--green);
  padding: 0;
}
.highlight-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.4rem 2.2rem;
}
.hi-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.hi-value {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: white;
  line-height: 1;
}
.hi-unit {
  font-size: 0.85rem;
  font-family: var(--font-sans);
  font-weight: 400;
  color: rgba(255,255,255,0.75);
}
.highlight-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* --- Two Column Layout ------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.col-text h2 { margin-bottom: 1.25rem; }
.col-text p { margin-bottom: 1.1rem; font-size: 0.975rem; }

.feature-list {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
}
.feature-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
}

/* --- Photo Stack / Media ----------------------------------- */
.photo-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.photo-main {
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.photo-row img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

/* --- Gallery / Carousel ----------------------------------- */
.gallery-section { background: var(--warm-gray); }
.gallery-section .container { margin-bottom: 2rem; }
.gallery-section h2 { margin-bottom: 0; }

.carousel-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--dark);
  user-select: none;
}
.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 560px;
  overflow: hidden;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.92);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.22);
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
}
.carousel-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.08);
}
.carousel-prev { left: 1.25rem; }
.carousel-next { right: 1.25rem; }

.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active {
  background: white;
  transform: scale(1.25);
}

/* --- 3D Tour Section --------------------------------------- */
.tour-section { background: var(--dark); }
.tour-section .section-eyebrow { color: rgba(255,255,255,0.5); }
.tour-section h2 { color: white; margin-bottom: 0.75rem; }
.tour-section .section-sub { color: rgba(255,255,255,0.6); }
.matterport-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow-lg);
}
.matterport-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Lease Terms ------------------------------------------- */
.lease-section { background: var(--green-pale); }
.lease-section h2 { margin-bottom: 2.5rem; }
.lease-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.lease-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.lease-card.primary {
  background: var(--green);
  border-color: var(--green);
}
.lc-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--mid-gray);
}
.lease-card.primary .lc-label { color: rgba(255,255,255,0.65); }
.lc-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1;
}
.lease-card.primary .lc-value { color: white; }
.lc-unit { font-size: 1rem; font-family: var(--font-sans); font-weight: 400; }
.lc-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}
.lease-card.primary .lc-note { color: rgba(255,255,255,0.65); }

.lease-details-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}
.ld-item h4 { margin-bottom: 0.5rem; }
.ld-item p { font-size: 0.9rem; }

.floor-plan-wrap { margin-top: 1rem; }
.floor-plan-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.floor-plan-img {
  max-width: 680px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: white;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: box-shadow 0.2s, transform 0.2s;
}
.floor-plan-img:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.01);
}
.fp-hint {
  font-size: 0.75rem;
  color: var(--mid-gray);
  letter-spacing: 0.05em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.fp-hint::before {
  content: '⊕';
  font-size: 0.85rem;
  color: var(--green);
}
.fp-credit {
  font-size: 0.78rem;
  color: var(--mid-gray);
  font-style: italic;
  margin: 0.25rem 0 0;
  text-align: center;
}

/* --- Lightbox --------------------------------------------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 5, 0.92);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}
.lightbox.open {
  display: flex;
}
.lightbox-img {
  max-width: min(90vw, 900px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: white;
  padding: 1.25rem;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* --- Neighborhood ----------------------------------------- */
.neighborhood-section { background: var(--cream); padding-bottom: 4rem; }
.neighborhood-section .container { text-align: center; }
.neighborhood-section h2 { margin-bottom: 0.75rem; }
.neighborhood-section .section-sub { max-width: 720px; margin-left: auto; margin-right: auto; }

.neighbor-context {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.nc-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.ncs-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}
.ncs-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 180px;
  line-height: 1.4;
}

.map-embed-wrap {
  width: 100%;
  margin: 2rem 0 0;
}
.neighborhood-map-iframe {
  width: 100%;
  height: 680px;
  border: none;
  display: block;
}

.neighbor-list-wrap {
  padding-top: 2.5rem;
  padding-bottom: 5rem;
}
.neighbor-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.nc-cat-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nc-cat-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot, var(--green));
  flex-shrink: 0;
}
.neighbor-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.neighbor-col ul li {
  font-size: 0.85rem;
  line-height: 1.4;
}
.neighbor-col ul li strong {
  display: block;
  color: var(--dark);
  font-weight: 600;
}
.neighbor-col ul li span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* --- PDF CTA ----------------------------------------------- */
.pdf-cta {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}
.pdf-cta .btn {
  width: auto;
  max-width: 100%;
}
.pdf-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pdf-link:hover { color: white; }

/* --- Contact ----------------------------------------------- */
.contact-section { background: var(--dark); }
.contact-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-text .section-eyebrow { color: rgba(255,255,255,0.45); }
.contact-text h2 { color: white; margin-bottom: 1.25rem; }
.contact-text > p { color: rgba(255,255,255,0.65); margin-bottom: 2rem; font-size: 1rem; }
.contact-note {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35) !important;
  line-height: 1.5;
  font-style: italic;
}

.address-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 2rem;
}
.address-card h4 { color: white; font-size: 1.15rem; margin-bottom: 0.25rem; }
.address-card > p { color: rgba(255,255,255,0.5); font-size: 0.875rem; margin-bottom: 0.15rem; }
.address-details { margin-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; }
.ad-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.875rem;
}
.ad-row span { color: rgba(255,255,255,0.45); }
.ad-row strong { color: white; font-weight: 500; }

/* --- Footer ----------------------------------------------- */
.site-footer {
  background: #100D0A;
  padding: 2rem 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}
.footer-inner p { font-size: 0.82rem; color: rgba(255,255,255,0.35); margin: 0; }
.footer-inner a { color: rgba(255,255,255,0.55); text-decoration: underline; }
.footer-inner a:hover { color: white; }
.footer-disclaimer { font-style: italic; }

/* --- Scroll Reveal ----------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive -------------------------------------------- */
@media (max-width: 900px) {
  .two-col           { grid-template-columns: 1fr; gap: 2.5rem; }
  .lease-grid        { grid-template-columns: repeat(2, 1fr); }
  .lease-details-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .neighbor-cols     { grid-template-columns: 1fr; gap: 2rem; }
  .contact-inner     { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-list      { grid-template-columns: 1fr; }
  .carousel-slide    { height: 420px; }
  .neighborhood-map-iframe { height: 520px; }
}

@media (max-width: 640px) {
  :root { --header-h: 60px; }
  .header-city    { display: none; }
  #main-nav {
    display: none;
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-md);
  }
  #main-nav.open { display: flex; }
  #nav-toggle    { display: flex; }

  .hero          { max-height: 520px; }
  .hero-overlay  { padding: 2rem 1.5rem; }
  .hero-gallery  { grid-template-columns: 1fr; }
  .hero-grid     { display: none; }

  .highlight-inner { flex-wrap: wrap; }
  .highlight-item  { padding: 1rem 1.25rem; }
  .highlight-divider { display: none; }

  .lease-grid    { grid-template-columns: 1fr; }
  .neighbor-grid { grid-template-columns: 1fr; }
  .carousel-slide { height: 300px; }
  .carousel-btn   { width: 38px; height: 38px; }

  .section       { padding: 4rem 0; }
}
