/* FigLease.com — Option A, v2
   White / navy commercial listing layout. 8px grid. Inter. */

:root {
  --navy: #183058;
  --navy-deep: #12243f;
  --navy-soft: #2a4a73;
  --ink: #1a1d23;
  --text: #2e343c;
  --muted: #5c6570;
  --line: #e6e8eb;
  --line-strong: #cfd4db;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --white: #ffffff;
  --gold: #E0A526;
  --gold-hover: #D49A1E;
  --space: 8px;
  --header-h: 64px;
  --max: 1200px;
  --sidebar: 320px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover { color: var(--navy-soft); }

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 16px;
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius);
}
.skip-link:focus { top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-link:hover { opacity: 0.85; }
.logo-link img { height: 40px; width: auto; }

.header-phone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  color: var(--navy);
  border-left: 1px solid var(--line);
  padding-left: 16px;
  line-height: 1.2;
}
.header-phone:hover { color: var(--navy-soft); text-decoration: none; }
.header-phone .phone-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 2px;
}
.header-phone .phone-number {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--navy);
}
.nav-toggle svg { display: block; }

.header-end {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  min-width: 0;
}

.btn.header-brochure,
.site-nav a.nav-brochure {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  box-sizing: border-box;
  height: 36px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  gap: 6px;
  border-radius: 6px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn.header-brochure {
  display: none;
}
.btn.header-brochure:hover,
.site-nav a.nav-brochure:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--navy-deep);
  text-decoration: none;
}
.btn.header-brochure .icon-download,
.site-nav a.nav-brochure .icon-download {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0 24px;
}
.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 0;
}
.site-nav a:hover { text-decoration: underline; }

.btn,
.site-nav a.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  padding: 0 16px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.site-nav a.nav-cta { height: 32px; padding: 0 12px; font-size: 12px; }
.btn:hover,
.site-nav a.nav-cta:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--white);
  text-decoration: none;
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-block { width: 100%; }

.btn-brochure {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.btn-brochure:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--navy-deep);
}
.btn-brochure .icon-download {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: #0e1624;
}

.hero-photo {
  position: relative;
  height: 280px;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
}

.tag {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  line-height: 1;
}
.hero-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
}
@media (min-width: 768px) {
  .hero-tag { left: 24px; }
}
@media (min-width: 1248px) {
  .hero-tag { left: calc((100% - var(--max)) / 2 + 24px); }
}

/* ---------- Listing header ---------- */
.listing-head {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.listing-head-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px;
}
.listing-head h1 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  color: var(--navy);
}
.listing-sub {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--text);
}
.listing-avail {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.key-strip {
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.key-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.key-item {
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid var(--line);
}
.key-item:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.key-item:nth-child(even) { padding-left: 16px; }
.key-item dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
}
.key-item dd {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.listing {
  display: grid;
  gap: 32px;
  padding: 32px 24px 64px;
  max-width: var(--max);
  margin: 0 auto;
}

.section-block { margin: 0 0 48px; }
.section-block:last-child { margin-bottom: 0; }
.section-block h2 {
  font-size: 18px;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.lede { margin-bottom: 16px; }

.highlights {
  list-style: none;
  margin: 0;
  padding: 0;
}
.highlights li {
  position: relative;
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--text);
}
.highlights li:last-child { border-bottom: 0; }
.highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  background: var(--navy);
}

/* Specs table */
.specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.specs th,
.specs td {
  text-align: left;
  vertical-align: top;
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--line);
}
.specs tr:last-child th,
.specs tr:last-child td { border-bottom: 0; }
.specs th {
  width: 200px;
  max-width: 40%;
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0;
}
.specs td {
  color: var(--ink);
  font-weight: 500;
}

.detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.detail-list li {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.detail-list .lbl {
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: 2px;
}
.detail-list .val { color: var(--ink); }

.uses {
  margin-top: 24px;
  padding: 16px;
  background: var(--bg-soft);
  border-left: 2px solid var(--navy);
}
.uses h3 {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.uses p { font-size: 14px; }

/* ---------- Broker card ---------- */
.broker-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
}
.broker-card .broker-logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
}
.broker-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.broker-card h2 {
  font-size: 18px;
  margin: 0 0 4px;
  padding: 0;
  border: 0;
}
.broker-firm {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text);
}
.broker-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.broker-note {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bg-soft);
  cursor: zoom-in;
  text-decoration: none;
  color: inherit;
}
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.gallery-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 8px 8px;
  background: linear-gradient(transparent, rgba(16, 28, 51, 0.7));
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.gallery-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Plans ---------- */
.plans {
  display: grid;
  gap: 16px;
}
.plan-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px;
}
.plan-card img {
  width: 100%;
  height: auto;
  cursor: zoom-in;
  background: var(--white);
}
.plan-card figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  padding: 0 8px 8px;
}

.plan-placeholder {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 24px;
  background: var(--bg-soft);
  border: 1px dashed var(--line-strong);
}
.plan-placeholder h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
.plan-placeholder p {
  color: var(--muted);
  font-size: 14px;
  max-width: 28em;
}
.plan-download {
  margin: 0;
  padding: 0 8px 10px;
  font-size: 14px;
}
.plan-download a {
  color: var(--navy, #102640);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.plan-download a:hover { color: var(--blue, #3d5f86); }

/* ---------- Parking / cards ---------- */
.card-grid {
  display: grid;
  gap: 16px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 16px;
}
.card h3 {
  font-size: 15px;
  margin: 0 0 8px;
  letter-spacing: 0;
}
.card p, .card li { font-size: 14px; }
.card ul { margin: 8px 0 0; padding: 0 0 0 16px; }
.card li { margin: 4px 0; }
.card .stat {
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 8px;
}
.card .stat-unit {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

.card-full { margin-top: 16px; }

.section-note {
  margin: 16px 0 0;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 14px;
}

.transit-visual { margin-top: 16px; }
.transit-visual img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.credit {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

/* ---------- Neighborhood ---------- */
.highlight-grid {
  display: grid;
  gap: 16px;
  margin: 16px 0 24px;
}
.highlight-grid figure { margin: 0; }
.highlight-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.highlight-grid figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

.poi-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  font-size: 14px;
}
.poi-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 200px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  overflow: hidden;
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--white);
}
.map-legend li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: baseline;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.map-legend li:first-child { border-top: 0; }
.map-legend .place-name {
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  font-size: 14px;
}
.map-legend .place-meta {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}
.map-legend a {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  align-self: center;
}

/* ---------- Form ---------- */
.form-row {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}
.req { color: var(--navy-soft); }
.field input,
.field select,
.field textarea {
  font-family: var(--font);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 8px 12px;
  min-height: 40px;
  width: 100%;
  appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
  border-color: var(--navy);
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23183058' stroke-width='1.6' d='M1.5 1.5L6 6l4.5-4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
  padding-right: 32px;
}
.form-note {
  font-size: 13px;
  color: var(--muted);
  margin: 16px 0 0;
}
.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-left: 2px solid var(--navy);
  font-size: 14px;
}
.form-status.is-visible { display: block; }
.form-status.is-success { border-left-color: var(--navy); background: #f4f6f9; }
.form-status.is-error { border-left-color: #8a2b2b; background: #fbf6f6; }

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.btn[disabled] { opacity: 0.65; cursor: not-allowed; }

.inquire-panel {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 40px 24px 32px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
}
.footer-brand p { color: rgba(255, 255, 255, 0.86); }
.site-footer a { color: rgba(255, 255, 255, 0.9); }
.site-footer a:hover { color: var(--white); }
.footer-phone {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  margin: 8px 0;
}
.footer-phone:hover { text-decoration: underline; }
.footer-meta { font-size: 14px; max-width: 320px; }
.disclaimer {
  max-width: var(--max);
  margin: 24px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 16, 28, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 16px 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(96vw, 1400px);
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  object-fit: contain;
  background: #111;
}
.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin: 16px 0 0;
  text-align: center;
  max-width: 44rem;
}
.lightbox-btn {
  position: absolute;
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, 0.1); }
.lightbox-close { top: 8px; right: 8px; }
.lightbox-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* ---------- Site plan full-screen viewer ---------- */
.plan-viewer {
  position: fixed;
  inset: 0;
  z-index: 320;
  background: #0c121c;
  display: flex;
  flex-direction: column;
  color: #fff;
}
.plan-viewer[hidden] { display: none; }
.plan-viewer-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 16px;
  background: rgba(10, 16, 28, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 2;
}
.plan-viewer-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.plan-viewer-actions { display: flex; align-items: center; gap: 4px; }
.plan-viewer-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 0;
  border-radius: 4px;
}
.plan-viewer-btn:hover,
.plan-viewer-btn:focus-visible { background: rgba(255, 255, 255, 0.12); }
.plan-viewer-stage {
  flex: 1 1 auto;
  position: relative;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  background: #0c121c;
}
.plan-viewer-stage.is-dragging { cursor: grabbing; }
.plan-viewer-stage img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  transform-origin: 0 0;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  background: #fff;
}


/* ---------- Call bar ---------- */
.call-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
  gap: 8px;
  box-shadow: 0 -8px 24px rgba(16, 28, 51, 0.08);
}
.call-bar .btn { flex: 1 1 0; }

/* ---------- 390 / small ---------- */
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; flex-shrink: 0; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 24px 16px;
    gap: 0;
  }
  body.nav-open .site-nav { display: flex; }
  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .site-nav a.nav-cta {
    margin-top: 12px;
    height: 40px;
    border-bottom: 0;
  }
  /* Phone: brochure does not fit in the bar; show it first in the menu. */
  .btn.header-brochure { display: none; }
  .site-nav a.nav-brochure {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    margin: 4px 0 8px;
    border-bottom: 0;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 6px;
  }
}

/* iPad portrait / larger phones: gold brochure button in the header, next to the hamburger. */
@media (min-width: 480px) and (max-width: 1023px) {
  .btn.header-brochure { display: inline-flex; }
  .site-nav a.nav-brochure { display: none; }
}

@media (max-width: 767px) {
  .logo-link img { height: 32px; }
  .header-inner { padding: 0 16px; }
  .header-phone { padding-left: 12px; }
  .header-phone .phone-label { display: none; }
  .header-phone .phone-number { font-size: 13px; }
  .call-bar { display: flex; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
  .hero-photo { height: 240px; }
  .hero-tag { left: 16px; top: 16px; }
  .listing-head-inner,
  .key-strip-inner,
  .listing,
  .wrap { padding-left: 16px; padding-right: 16px; }
  .listing { padding-top: 24px; padding-bottom: 48px; }
  .map-legend li { grid-template-columns: 1fr; gap: 4px; }
  .map-legend a { justify-self: start; }
  .detail-list li { grid-template-columns: 112px 1fr; gap: 8px; }
  .key-item:nth-child(n+5) { display: none; }
}

@media (max-width: 379px) {
  .header-phone .phone-number { font-size: 12px; }
}

/* ---------- 768 iPad portrait ---------- */
@media (min-width: 768px) {
  .hero-photo { height: 400px; }
  .listing-head h1 { font-size: 28px; }
  .key-strip-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .key-item {
    padding: 16px 16px 16px 0;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
  .key-item:nth-child(odd) { padding-right: 16px; }
  .key-item:nth-child(even) { padding-left: 0; }
  .key-item:nth-child(4n) { border-right: 0; padding-right: 0; }
  .key-item:nth-child(n+5) { display: none; } /* first four only in the strip; full table follows */
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-column: 1 / -1; }
  .gallery-item:first-child img { height: 360px; }
  .gallery-item img { height: 200px; }
  .gallery-item.wide { grid-column: span 2; }
  .highlight-grid { grid-template-columns: repeat(3, 1fr); }
  .highlight-grid img { height: 160px; }
  .card-grid,
  .card-grid.two { grid-template-columns: 1fr 1fr; }
  .form-row.two { grid-template-columns: 1fr 1fr; }
  .plan-placeholder { min-height: 100%; }
}

/* ---------- 1024 iPad landscape / desktop listing grid ---------- */
@media (min-width: 1024px) {
  .site-nav { gap: 0 14px; }
  .hero-photo { height: 480px; }
  .listing {
    grid-template-columns: 1fr var(--sidebar);
    align-items: start;
    gap: 32px 40px;
    padding: 32px 24px 80px;
  }
  .listing-primary { grid-column: 1; grid-row: 1; }
  .listing-sidebar {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .listing-rest { grid-column: 1; grid-row: 2; }
  .listing-wide { grid-column: 1 / -1; }
  .broker-card {
    position: sticky;
    top: 80px;
  }
  .card-grid.three { grid-template-columns: repeat(3, 1fr); }
  .card-grid.four { grid-template-columns: repeat(4, 1fr); }
  .poi-list { grid-template-columns: repeat(3, 1fr); }
  .map-embed { aspect-ratio: 16 / 10; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-item:first-child {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
  }
  .gallery-item:first-child img { height: 100%; min-height: 400px; }
  .gallery-item img { height: 196px; }
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item.full { grid-column: 1 / -1; }
  .gallery-item.full img { height: 320px; }
  .key-strip-inner { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .key-item:nth-child(n+5) { display: block; border-top: 0; border-right: 1px solid var(--line); }
  .key-item:nth-child(4n) { border-right: 1px solid var(--line); }
  .key-item:last-child { border-right: 0; padding-right: 0; }
}

@media (min-width: 1200px) {
  .site-nav { gap: 0 18px; }
  .hero-photo { height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

@media print {
  .call-bar, .nav-toggle, .site-nav, .header-brochure { display: none !important; }
  body { padding-bottom: 0; }
  .site-header, .broker-card { position: static; }
}

/* ---------- v3: prominent FOR LEASE hero badge ---------- */
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 20, 38, 0.55) 0%, rgba(10, 20, 38, 0.15) 45%, rgba(10, 20, 38, 0) 70%);
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(18, 36, 63, 0.94);
  color: var(--white);
  padding: 14px 20px 16px;
  border-left: 5px solid var(--white);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  max-width: calc(100% - 32px);
}
.hero-badge-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c9d5e6;
  line-height: 1;
}
.hero-badge-title {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}
.hero-badge-meta {
  font-size: 13px;
  font-weight: 500;
  color: #e3e9f2;
  line-height: 1.3;
}
.listing-eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 12px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}
.bus-list { list-style: disc; }
@media (min-width: 768px) {
  .hero-badge { left: 24px; bottom: 24px; padding: 18px 28px 20px; border-left-width: 6px; }
  .hero-badge-kicker { font-size: 12px; }
  .hero-badge-title { font-size: 56px; }
  .hero-badge-meta { font-size: 15px; }
}
@media (min-width: 1100px) {
  .hero-badge { bottom: 36px; padding: 22px 34px 24px; }
  .hero-badge-title { font-size: 72px; }
  .hero-badge-meta { font-size: 17px; }
}
@media (min-width: 1248px) {
  .hero-badge { left: calc((100% - var(--max)) / 2 + 24px); }
}

/* ---------- v4: CAM note ---------- */
.cam-note {
  margin-top: 16px;
  padding: 16px 18px;
  background: var(--bg-soft);
  border-left: 3px solid var(--navy);
}
.cam-note h3 { margin: 0 0 8px; font-size: 15px; color: var(--navy); }
.cam-note p { margin: 0 0 6px; font-size: 14px; }
.cam-note p:last-child { margin-bottom: 0; }
