/* =========================================================
   6632–6636 NW 39th Expressway — site styles
   Aesthetic: historic Route 66 commercial. Cream/stone/brick
   palette, Cormorant serif display + Inter sans body.
   Same design DNA as 3150waterloo.com, tuned for commercial.
   ========================================================= */

:root {
  --cream:    #f6f2ec;
  --bone:     #ece5da;
  --sand:     #d9cfbf;
  --stone:    #877f73;
  --ink:      #23211d;
  --ink-soft: #46423b;
  --brick:    #9c4a2f;
  --brick-dk: #7a3722;
  --line:     rgba(35, 33, 29, 0.12);
  --shadow:   0 20px 60px -20px rgba(35,33,29,0.25);
  --serif:    'Cormorant Garamond', Georgia, serif;
  --sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

.container        { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container.narrow { max-width: 780px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 0.4em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.6rem); line-height: 1.06; }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.1; }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 0 0 18px;
}
.eyebrow.centered { text-align: center; }

.lede { font-size: 1.16rem; line-height: 1.72; color: var(--ink-soft); font-weight: 300; }

/* buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primary { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-primary:hover { background: var(--brick-dk); border-color: var(--brick-dk); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(246,242,236,0.6); }
.btn-ghost:hover { background: rgba(246,242,236,0.12); border-color: var(--cream); }
.btn-block { width: 100%; padding: 16px 28px; }

/* header / nav */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(246, 242, 236, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-mark { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; letter-spacing: 0.02em; }
.brand-sub  { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--stone); margin-top: 4px; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.nav-cta {
  padding: 10px 18px;
  border: 1px solid var(--ink);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 500;
}
.site-nav a.nav-cta:hover { background: var(--ink); color: var(--cream); }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 30px; height: 22px; padding: 0;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 1.5px; width: 100%; background: var(--ink); transition: 0.25s; }

/* hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-image {
  position: absolute; inset: 0;
  background-image: url('../photos/hero/cover.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 52%, rgba(20,19,16,0.72) 0%, rgba(20,19,16,0.42) 60%, rgba(20,19,16,0.28) 100%),
    linear-gradient(180deg, rgba(20,19,16,0.62) 0%, rgba(20,19,16,0.5) 45%, rgba(20,19,16,0.8) 100%);
}
.hero-content { position: relative; z-index: 2; color: var(--cream); padding: 120px 32px 80px; max-width: 940px; }
.hero-content h1 { color: var(--cream); }
.hero-content .eyebrow { color: rgba(246,242,236,0.8); }
.hero-sub { font-size: 1.16rem; font-weight: 300; color: rgba(246,242,236,0.92); max-width: 660px; margin: 18px auto 34px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-price {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--cream);
  margin: 0 0 6px;
  letter-spacing: 0.01em;
}
.hero-price-sub { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(246,242,236,0.7); margin: 0 0 26px; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(246,242,236,0.85); font-size: 22px;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* at a glance */
.at-a-glance { background: var(--ink); color: var(--cream); padding: 64px 0; text-align: center; }
.at-a-glance .price-label { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(246,242,236,0.6); margin: 0 0 10px; }
.at-a-glance .price { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4rem); margin: 0 0 6px; line-height: 1; }
.at-a-glance .price-note { font-size: 13px; color: rgba(246,242,236,0.65); margin: 0 0 40px; letter-spacing: 0.04em; }
.stats-row {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 0;
}
.stats-row li {
  flex: 1 1 150px;
  padding: 0 20px;
  border-left: 1px solid rgba(246,242,236,0.16);
}
.stats-row li:first-child { border-left: 0; }
.stats-row strong { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 500; line-height: 1.2; }
.stats-row span { display: block; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(246,242,236,0.6); margin-top: 6px; }

/* generic section */
section { padding: 96px 0; }
.intro { padding-bottom: 40px; text-align: center; }

/* highlights */
.highlights { background: var(--bone); }
.highlight-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); margin-top: 48px;
}
.highlight {
  background: var(--bone); padding: 40px 32px;
}
.highlight .num { font-family: var(--serif); font-size: 2.2rem; color: var(--brick); line-height: 1; display: block; margin-bottom: 12px; }
.highlight h3 { font-size: 1.15rem; font-family: var(--sans); font-weight: 500; letter-spacing: 0.02em; margin-bottom: 8px; }
.highlight p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media {
  aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  background-color: var(--sand);
  box-shadow: var(--shadow);
}
.split-reverse .split-media { order: 2; }

/* spec grid */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; margin-top: 56px; }
.spec-col h3 {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--brick);
  padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line);
}
.spec-col ul { list-style: none; padding: 0; margin: 0; }
.spec-col li { font-size: 0.95rem; color: var(--ink-soft); padding: 7px 0; border-bottom: 1px solid rgba(35,33,29,0.05); }

/* facts table */
.facts { background: var(--bone); }
.facts-table { width: 100%; border-collapse: collapse; margin-top: 48px; }
.facts-table tr { border-bottom: 1px solid var(--line); }
.facts-table th {
  text-align: left; font-weight: 500; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone);
  padding: 18px 24px 18px 0; width: 38%; vertical-align: top;
}
.facts-table td { padding: 18px 0; font-size: 1rem; color: var(--ink); }
.facts-table td .src { display: block; font-size: 12px; color: var(--stone); margin-top: 4px; letter-spacing: 0.02em; }

/* tenant mix */
.mix-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.mix {
  border: 1px solid var(--line); padding: 28px 24px; background: var(--cream);
  transition: border-color 0.25s;
}
.mix:hover { border-color: var(--brick); }
.mix h3 { font-family: var(--sans); font-size: 1rem; font-weight: 500; margin-bottom: 6px; }
.mix p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

/* location */
.location { text-align: center; }
.address { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin: 0 0 6px; }
.directions { font-size: 0.95rem; color: var(--stone); margin: 0 0 40px; }
.map-wrap { border: 1px solid var(--line); box-shadow: var(--shadow); line-height: 0; }
.map-wrap iframe { width: 100%; height: 460px; border: 0; }
.anchors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; text-align: left; }
.anchor { border-left: 2px solid var(--brick); padding: 4px 0 4px 20px; }
.anchor .level { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); margin: 0 0 4px; }
.anchor .name { font-family: var(--serif); font-size: 1.3rem; margin: 0 0 4px; }
.anchor .detail { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }

/* demographics */
.demo-table { width: 100%; border-collapse: collapse; margin-top: 40px; }
.demo-table th, .demo-table td { padding: 14px 16px; text-align: left; font-size: 0.95rem; }
.demo-table thead th {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--stone); font-weight: 500; border-bottom: 1px solid var(--ink);
}
.demo-table tbody tr { border-bottom: 1px solid var(--line); }
.demo-table tbody th { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; color: var(--brick); }

/* gallery */
.gallery { background: var(--bone); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 48px; }
.gallery-grid img {
  width: 100%; height: 260px; object-fit: cover; cursor: pointer;
  transition: opacity 0.25s, transform 0.4s; background: var(--sand);
}
.gallery-grid img.tall { grid-row: span 2; height: 532px; }
.gallery-grid img:hover { opacity: 0.9; transform: scale(1.01); }
.gallery-empty { padding: 60px 20px; text-align: center; color: var(--stone); border: 1px dashed var(--sand); }
.gallery-empty code { background: var(--sand); padding: 2px 6px; font-size: 0.85em; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20, 19, 16, 0.95);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 20px; right: 26px;
  background: none; border: 0; color: var(--cream);
  font-size: 40px; line-height: 1; cursor: pointer; opacity: 0.7;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--cream);
  font-size: 60px; line-height: 1; cursor: pointer; opacity: 0.6; padding: 20px;
}
.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-count {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(246,242,236,0.7); font-size: 12px; letter-spacing: 0.16em;
}

/* contact */
.contact { background: var(--cream); }
.contact .lede, .contact h2, .contact .eyebrow { text-align: center; }
.agent-card {
  display: flex; gap: 32px; align-items: center;
  background: var(--bone); border: 1px solid var(--line);
  padding: 32px; margin: 48px 0 40px;
}
.agent-photo {
  width: 132px; height: 132px; flex-shrink: 0;
  border-radius: 50%; background: var(--sand);
  background-image: url('../photos/agent/tara.jpg');
  background-size: cover; background-position: center;
}
.agent-info h3 { margin-bottom: 2px; }
.agent-info .role { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brick); margin: 0 0 12px; }
.agent-info .bio { font-size: 0.95rem; color: var(--ink-soft); margin: 0 0 14px; }
.agent-contact { display: flex; gap: 20px; flex-wrap: wrap; margin: 0; font-size: 0.92rem; }
.agent-contact a { color: var(--brick); border-bottom: 1px solid rgba(156,74,47,0.3); padding-bottom: 1px; }
.agent-contact a:hover { border-color: var(--brick); }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.hidden-field { position: absolute; left: -9999px; margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; }
.contact-form span { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); }
.contact-form input, .contact-form textarea {
  font-family: var(--sans); font-size: 1rem; font-weight: 300; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--sand);
  padding: 10px 0; transition: border-color 0.2s; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 0; border-color: var(--brick); }
.form-note { text-align: center; font-size: 12px; color: var(--stone); margin: 4px 0 0; }

.contact-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.contact-info .label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); margin: 0 0 8px; }
.contact-info p { margin: 0; font-size: 0.95rem; line-height: 1.6; }
.contact-info a { color: var(--brick); }

/* disclosure */
.disclosure { background: var(--bone); padding: 56px 0; border-top: 1px solid var(--line); }
.disclosure p { font-size: 12px; line-height: 1.7; color: var(--stone); margin: 0 auto; max-width: 900px; text-align: center; }

/* footer */
.site-footer { background: var(--ink); color: var(--cream); padding: 56px 0; text-align: center; }
.footer-brand { font-family: var(--serif); font-size: 1.6rem; margin: 0 0 8px; }
.footer-fine { font-size: 13px; color: rgba(246,242,236,0.65); margin: 0 0 6px; }
.footer-mls { font-size: 11px; letter-spacing: 0.1em; color: rgba(246,242,236,0.4); margin: 0; }

/* responsive */
@media (max-width: 1000px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .highlight-grid, .mix-grid, .anchors { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split-reverse .split-media { order: 0; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 22px; }
  section { padding: 64px 0; }

  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 22px 20px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .site-nav a.nav-cta { margin-top: 14px; text-align: center; border: 1px solid var(--ink); }

  .stats-row li { flex-basis: 50%; border-left: 0; padding: 14px 10px; }
  .highlight-grid, .mix-grid, .anchors, .gallery-grid, .spec-grid,
  .contact-info, .field-row { grid-template-columns: 1fr; }
  .gallery-grid img, .gallery-grid img.tall { height: 240px; grid-row: span 1; }
  .agent-card { flex-direction: column; text-align: center; gap: 20px; }
  .agent-contact { justify-content: center; }
  .anchor { border-left: 0; border-top: 2px solid var(--brick); padding: 16px 0 0; }
  .facts-table th { width: 42%; font-size: 11px; padding-right: 14px; }
  .demo-table th, .demo-table td { padding: 10px 8px; font-size: 0.85rem; }
  .map-wrap iframe { height: 320px; }
  .lightbox-nav { font-size: 40px; padding: 10px; }
}
