/* 1441-1445 4th Street listing — palette and type from the LWLA leasing brochure */
:root {
  --cream: #ede6df;
  --cream-2: #e4dbd2;
  --paper: #f7f3ee;
  --ink: #1c1917;
  --ink-soft: #3a342f;
  --muted: #6b645e;
  --line: #d4cbc1;
  --coral: #fa5050;
  --coral-dark: #e04343;
  --white: #fffcf9;
  --shadow: 0 18px 40px rgba(28, 25, 23, 0.16);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", sans-serif;
  --script: "Great Vibes", cursive;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

/* ----- Nav ----- */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 36px;
  color: #fff;
}
.nav-logo img { height: 34px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-links a { text-decoration: none; opacity: 0.9; }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  border: 1px solid rgba(255,255,255,0.7);
  padding: 8px 16px;
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
}
.nav-cta:hover { background: #fff; color: var(--ink); }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  width: 40px; height: 40px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px; height: 1.5px;
  background: currentColor;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 100svh;
  max-height: 1100px;
  color: #fff;
  display: grid;
  align-items: end;
  background: #111 url("assets/hero-street.jpg") center 40% / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16,14,13,0.15) 30%, rgba(16,14,13,0.62) 100%),
    linear-gradient(180deg, rgba(16,14,13,0.28) 0%, rgba(16,14,13,0.15) 35%, rgba(16,14,13,0.55) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 0 0 auto;
  padding: 0 36px 72px 0;
  max-width: 640px;
  text-align: right;
}
.eyebrow {
  color: var(--coral);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  line-height: 0.88;
  margin: 0;
  letter-spacing: -0.02em;
}
.hero h1 span {
  display: block;
  font-size: 0.38em;
  letter-spacing: 0.12em;
  margin-top: 0.28em;
  font-weight: 500;
}
.hero-script {
  font-family: var(--script);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 400;
  margin: 10px 0 22px;
  letter-spacing: 0.02em;
}
.hero-sub {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0.92;
  margin: 0 0 28px;
}
.hero-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: 0.2s ease;
}
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-dark); }
.btn-ghost { border-color: rgba(255,255,255,0.75); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ----- Stats ----- */
.stats {
  background: var(--ink);
  color: var(--cream);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}
.stat {
  padding: 28px 16px;
  text-align: center;
  border-left: 1px solid rgba(237,230,223,0.12);
}
.stat:first-child { border-left: 0; }
.stat-label {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(237,230,223,0.62);
  margin-bottom: 6px;
}
.stat-value {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ----- Sections ----- */
section { padding: 88px 0; }
.section-kicker {
  color: var(--coral);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 8px;
}
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.15rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 18px;
}
.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0;
}

/* Overview */
.overview { background: var(--cream); }
.overview-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}
.overview-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.features {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.features li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.feat-num {
  font-family: var(--serif);
  color: var(--coral);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
}
.features p { margin: 0; color: var(--ink-soft); }

/* Details table */
.details { background: var(--paper); }
.details-layout {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 64px;
  align-items: start;
}
.specs {
  width: 100%;
  border-collapse: collapse;
}
.specs th, .specs td {
  text-align: left;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.specs th {
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  width: 42%;
  padding-right: 16px;
}
.specs td { font-size: 1rem; color: var(--ink); }
.rate-note { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 2px; }

/* Floor plan */
.plan { background: var(--cream); text-align: center; }
.plan .lede { margin-inline: auto; }
.plan-frame {
  margin-top: 36px;
  background: var(--paper);
  padding: 36px 28px 28px;
  box-shadow: var(--shadow);
  display: inline-block;
  width: min(920px, 100%);
}
.plan-frame img { width: 100%; cursor: zoom-in; }
.plan-caption {
  margin: 14px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Gallery */
.gallery { background: var(--paper); }
.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: auto auto;
  gap: 14px;
  margin-top: 36px;
}
.gallery-grid a:first-child { grid-row: 1 / 3; }
.gallery-grid a {
  display: block;
  overflow: hidden;
  background: var(--cream-2);
  cursor: zoom-in;
  position: relative;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-grid a:first-child img { aspect-ratio: 3 / 4; }
.gallery-grid a:not(:first-child) img { aspect-ratio: 16 / 10; }
.gallery-grid a:hover img { transform: scale(1.04); }
.pic-label {
  position: absolute;
  left: 14px; bottom: 12px;
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}

/* Concepts */
.concepts { background: var(--ink); color: var(--cream); }
.concepts .lede { color: rgba(237,230,223,0.78); }
.concept-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 40px;
}
.concept-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.concept-card img {
  width: 100%;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}
.concept-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.concept-meta span { color: var(--coral); }

/* Location */
.location { background: var(--cream); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 36px;
}
.location-grid .aerial {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  cursor: zoom-in;
}
.place-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.place-stack a { display: block; overflow: hidden; cursor: zoom-in; position: relative; }
.place-stack img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.area-map {
  margin-top: 18px;
  width: 100%;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}
.map-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* Contact */
.contact { background: var(--paper); }
.team {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.team .card:not(.featured) { grid-column: span 2; }
.team .card:nth-child(5) { grid-column: 2 / 4; }
.team .card:nth-child(6) { grid-column: 4 / 6; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 26px 24px 24px;
}
.card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  background: var(--cream);
  border-color: transparent;
}
.card h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  margin: 0 0 4px;
}
.role {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 500;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--coral);
  display: inline-block;
}
.card p, .card a.line {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-decoration: none;
  display: block;
}
.card a.line:hover { color: var(--ink); }
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Footer */
footer {
  background: var(--ink);
  color: rgba(237,230,223,0.72);
  padding: 48px 0 36px;
  font-size: 0.82rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(237,230,223,0.12);
}
.footer-brand img { height: 28px; }
.footer-brand p { margin: 12px 0 0; max-width: 36ch; }
.disclaimer {
  margin: 24px 0 0;
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(237,230,223,0.5);
  max-width: 90ch;
}

/* Lightbox */
.lb {
  position: fixed;
  inset: 0;
  background: rgba(12,10,9,0.94);
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.lb.open { display: flex; }
.lb img {
  max-width: min(1280px, 96vw);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  padding: 10px;
}
.lb-close { top: 16px; right: 20px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-cap {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; }
  .overview-grid, .details-layout, .location-grid, .team { grid-template-columns: 1fr; }
  .team .card:not(.featured),
  .team .card:nth-child(5),
  .team .card:nth-child(6) { grid-column: auto; }
  .place-stack { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-grid a:first-child { grid-row: auto; grid-column: 1 / -1; }
  .card.featured { grid-template-columns: 1fr; }
  .hero-inner { margin: 0 auto 0 auto; text-align: left; padding: 0 24px 64px; }
  .hero-actions { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .nav { padding: 16px 18px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 12px; right: 12px;
    background: rgba(20,18,16,0.96);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    align-items: flex-start;
  }
  .nav.open .nav-links { display: flex; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; border-top: 1px solid rgba(237,230,223,0.12); }
  .wrap, .hero-inner { width: calc(100% - 32px); }
  section { padding: 64px 0; }
  .footer-top { flex-direction: column; }
  .team { grid-template-columns: 1fr; }
}

.lb[hidden]{display:none!important}
.lb.open{display:flex!important}
.overview-photo{cursor:zoom-in}
