/* =========================
   ROFO DESIGN SYSTEM v1
   ========================= */

:root {
  --rofo-blue: #1346d8;
  --rofo-blue-light: #e9eefb;

  --rofo-text: #1f2937;
  --rofo-muted: #556274;

  --rofo-border: #d9e1ea;
  --rofo-bg: #f4f6f8;
  --rofo-card-bg: #ffffff;

  --rofo-radius: 16px;
  --rofo-pill-radius: 999px;

  --rofo-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);

  --rofo-spacing-sm: 12px;
  --rofo-spacing-md: 24px;
  --rofo-spacing-lg: 32px;
}

/* =========================
   BASE
   ========================= */

body {
  color: var(--rofo-text);
  background: var(--rofo-bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
}

a {
  color: var(--rofo-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =========================
   BREADCRUMBS
   ========================= */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: #64748b;
}

.breadcrumbs a {
  color: #64748b;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: #0f172a;
}

/* =========================
   PILLS / EYEBROWS
   ========================= */

.pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: var(--rofo-pill-radius);
  background: var(--rofo-blue-light);
  color: var(--rofo-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.pill.dark {
  background: rgba(255,255,255,.13);
  color: #fff;
}

/* =========================
   CARDS
   ========================= */

.card,
.city-card,
.city-sidecard,
.city-stat,
.city-form,
.building-sidecard,
.building-stat,
.building-form,
.info-card {
  background: var(--rofo-card-bg);
  border: 1px solid var(--rofo-border);
  border-radius: var(--rofo-radius);
  box-shadow: var(--rofo-shadow);
  padding: 24px;
}

/* =========================
   STACKS / HELPERS
   ========================= */

.section-stack {
  display: grid;
  gap: var(--rofo-spacing-md);
}

.section-stack > * + * {
  margin-top: 24px;
}

.card.section-stack > * + * {
  margin-top: 18px;
}

.centered {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   BUILDING GRID
   ========================= */

.building-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* =========================
   BUILDING CARD — STANDARD
   image + overlay format
   ========================= */

.building-card {
  position: relative;
  height: 100%;
}

.semantic-building-card {
  border-color: #d7e3f4;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.semantic-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 14px;
}

.semantic-chip {
  display: inline-flex;
  align-items: center;
  border-radius: var(--rofo-pill-radius);
  border: 1px solid #cfe0f5;
  background: #eef6ff;
  color: #1d4f8f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 11px;
}

.semantic-footnote {
  color: var(--rofo-muted);
  font-size: 13px;
  margin-top: 10px;
}

.building-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.building-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid #dbe4ef;
  background: #f8fafc;
  box-shadow: var(--rofo-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.building-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #f7f9fc;
  transition: transform 0.25s ease;
}

.building-card__overlay {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 20px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(219, 228, 239, 0.95);
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.building-card__title {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.15;
}

.building-card__meta {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.35;
}

.building-card__link:hover {
  text-decoration: none;
}

.building-card__link:hover .building-card__media {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  border-color: #d2dbe7;
}

.building-card__link:hover .building-card__image {
  transform: scale(1.02);
}

.building-card__link:hover .building-card__title {
  text-decoration: underline;
}

/* =========================
   BUILDING CARD — COMPACT
   same language, lighter overlay
   ========================= */

.building-card-compact {
  position: relative;
  height: 100%;
}

.building-card-compact__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.building-card-compact__media {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid #dbe4ef;
  background: #f8fafc;
  box-shadow: var(--rofo-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.building-card-compact__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #f7f9fc;
  transition: transform 0.25s ease;
}

.building-card-compact__overlay {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 10px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* push content to bottom */

  padding: 10px 10px; /* reduced vertical padding */
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.building-card-compact__title {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.1;
}

.building-card-compact__meta {
  margin: 3px 0 0;
  color: #64748b;
  font-size: 0.96rem;
  line-height: 1.2;
}
.building-card-compact__meta:last-child {
  margin-bottom: 0;
}
.building-card-compact__link:hover {
  text-decoration: none;
}

.building-card-compact__link:hover .building-card-compact__media {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  border-color: #d2dbe7;
}

.building-card-compact__link:hover .building-card-compact__image {
  transform: scale(1.02);
}

.building-card-compact__link:hover .building-card-compact__title {
  text-decoration: underline;
}

.building-card-compact .building-presented-by {
  margin: 3px 0 0;
  line-height: 1.15;
  font-size: 0.86rem;
  color: #64748b;
}

.building-card-compact .building-presented-by a {
  color: #334155;
  font-weight: 600;
  text-decoration: none;
}

.building-card-compact .building-presented-by a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .building-card-compact__overlay {
    left: 12px;
    right: 12px;
    bottom: 8px;

    padding: 9px 12px;
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .building-card-compact__title {
    font-size: 1rem;
    line-height: 1.11;
  }

  .building-card-compact__meta {
    margin-top: 2px;
    font-size: 0.88rem;
    line-height: 1.18;
  }

  .building-card-compact__meta:last-child {
    margin-bottom: 0;
  }

  .building-card-compact .building-presented-by {
    margin-top: 2px;
    font-size: 0.82rem;
    line-height: 1.12;
  }
}

/* =========================
   LEGACY BUILDING CARD HELPERS
   kept for compatibility where still referenced
   ========================= */

.building-card__eyebrow,
.building-card-compact__eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef3f8;
  color: #4f647b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 2px;
}

.building-card__desc,
.building-card-compact__desc {
  margin: 10px 0 14px;
  color: #475569;
  line-height: 1.6;
}

.building-card__pill-row,
.building-card-compact__pill-row,
.building-card-compact__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.building-card__pill,
.building-card-compact__pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
}

/* =========================
   BUTTONS
   ========================= */

.btn,
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--rofo-blue);
  color: #fff;
  border: none;
  box-shadow: 0 12px 24px rgba(19,70,216,.18);
}

.btn-primary:hover {
  opacity: 0.94;
  text-decoration: none;
}

.btn-secondary {
  background: #fff;
  color: var(--rofo-blue);
  border: 1px solid var(--rofo-border);
}

.btn-secondary:hover {
  background: #f8fafc;
  text-decoration: none;
}

/* =========================
   TYPOGRAPHY
   ========================= */

h1 {
  font-size: clamp(44px,6vw,68px);
  line-height: .98;
  letter-spacing: -.055em;
  margin: 16px 0 16px;
  max-width: 11ch;
  font-weight: 700;
}

h2 {
  margin: 0 0 12px;
}

p {
  margin: 0 0 14px;
  color: var(--rofo-text);
}

.info-intro,
.info-dek {
  color: var(--rofo-muted);
  margin-bottom: 20px;
}

@media (max-width: 1040px) {
  h1 {
    max-width: none;
  }
}

@media (min-width: 1041px) {
  h1 {
    margin: 14px 0 14px;
  }
}

/* =========================
   LISTS
   ========================= */

.mini-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mini-list li {
  margin-bottom: 10px;
}

.mini-list a {
  color: var(--rofo-blue);
  font-weight: 500;
}

/* =========================
   FORM SYSTEM
   ========================= */

.field {
    background: var(--surface-2);
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    padding: 12px 14px;
    min-height: 70px
}

.form-grid .field {
    min-height: auto
}

.field:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(19,70,216,.12);
}

.form-stack {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  background: #fff;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--rofo-border);
  font-size: 14px;
  box-sizing: border-box;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.optional {
  font-weight: 400;
  color: var(--rofo-muted);
}

.btn-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.checkbox {
  font-size: 14px;
}

.form-note {
  font-size: 13px;
  color: var(--rofo-muted);
  margin-top: 8px;
}

.form-actions .form-note {
  margin-top: 0;
}

/* =========================
   SPACE-TYPE PAGE TUNING
   ========================= */

.market-page--space-type .city-card {
  padding: 28px 32px;
}

.market-page--space-type h1 {
  max-width: 18ch;
}

.market-page--space-type .lead {
  max-width: 55ch;
  margin-bottom: 18px;
}

.market-page--space-type .pill-nav {
  margin-top: 12px;
}

.market-page--space-type .page-stack {
  margin-top: 8px;
}

/* =========================
   MARKET GUIDE PAGE STYLES
   ========================= */

.market-page--guide .page-stack {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}

.guide-list {
  margin: 0;
  padding-left: 20px;
  color: var(--rofo-text);
}

.guide-list li + li {
  margin-top: 10px;
}

.guide-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.market-guide-grid {
  align-items: stretch;
}

.guide-mini-card {
  border: 1px solid var(--rofo-border);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.guide-lead-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.guide-lead-card {
  border: 1px solid var(--rofo-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  background: #fff;
}

.guide-lead-card--intro {
  background: linear-gradient(135deg, #0d3277, #1346d8);
  border: none;
  color: #fff;
}

.guide-lead-card--intro .kicker {
  color: #d9e6ff;
}

.guide-lead-card--intro h2,
.guide-lead-card--intro p {
  color: #fff;
}

.guide-lead-card--intro h2 {
  margin: 10px 0 12px;
}

.guide-lead-card--intro .cta-band__lead,
.guide-lead-card--intro .cta-band__prompt span,
.guide-lead-card--intro .cta-band__footer {
  color: rgba(255, 255, 255, 0.86);
}

.guide-lead-card--intro .cta-band__prompt strong {
  color: #fff;
}

.guide-lead-list {
  margin: 18px 0 0;
  padding-left: 20px;
}

.guide-lead-list li + li {
  margin-top: 10px;
}

.guide-lead-card--form .btn-primary {
  align-self: flex-start;
  width: auto;
}

.market-guide-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.market-guide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.market-guide-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.market-guide-card__content > * + * {
  margin-top: 10px;
}

.market-guide-card__title {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.4em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.market-guide-card__summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.market-guide-card__rent {
  font-weight: 600;
}

.market-guide-card__desc {
  color: #555;
}

.market-guide-card__meta {
  color: var(--rofo-muted);
  font-size: 0.95rem;
  margin-top: auto;
  padding-top: 14px;
}

.market-guide-card__cta {
  margin-top: auto;
  padding-top: 18px;
}

.market-guide-card__cta .btn-secondary {
  width: 100%;
}

/* Fix Market Guide lead intro heading contrast */
.guide-lead-card--intro h1,
.guide-lead-card--intro h2,
.guide-lead-card--intro h3,
.guide-lead-card--intro .cta-band__title {
  color: #fff;
}

.guide-lead-card--intro p,
.guide-lead-card--intro .cta-band__lead,
.guide-lead-card--intro .cta-band__footer {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 640px) {
  .market-guide-card__title {
    display: block;
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .guide-lead-section {
    grid-template-columns: 1fr;
  }

  .guide-lead-section .cta-band {
    display: block !important;
  }

  .guide-lead-card {
    padding: 20px;
  }

  .guide-lead-card--form .btn-primary {
    align-self: stretch;
    width: 100%;
  }
}

/* =========================
   ABOUT PAGE
   ========================= */

.about-page {
  display: grid;
  gap: 30px;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.65fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 4px;
}

.about-hero__content,
.about-hero__aside,
.about-section,
.about-note-card,
.about-founder-card,
.about-value-card {
  border: 1px solid var(--rofo-border);
  border-radius: var(--rofo-radius);
  background: #fff;
  box-shadow: var(--rofo-shadow);
}

.about-hero__content {
  padding: 30px;
}

.about-hero__content h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.12;
  margin: 0 0 18px;
  max-width: 17ch;
}

.about-hero__content p {
  max-width: 68ch;
}

.about-kicker {
  color: var(--rofo-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.about-hero__aside {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 24px;
  background: #f8fbff;
}

.about-hero__aside > div {
  border-bottom: 1px solid #dbe4ef;
  padding-bottom: 15px;
}

.about-hero__aside > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.about-stat,
.about-stat-label {
  display: block;
}

.about-stat {
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
}

.about-stat-label {
  color: var(--rofo-muted);
  font-size: 0.92rem;
  margin-top: 4px;
}

.about-section {
  padding: 28px;
}

.about-section h2,
.about-section h3 {
  margin-top: 0;
}

.about-section__heading {
  max-width: 720px;
  margin-bottom: 18px;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-value-card {
  box-shadow: none;
  padding: 20px;
}

.about-value-card h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.about-value-card p {
  color: var(--rofo-muted);
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0;
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 22px;
  align-items: start;
}

.about-note-card {
  background: #f8fafc;
  box-shadow: none;
  padding: 22px;
}

.about-note-card ul {
  margin-bottom: 0;
}

.about-founder-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.about-signature {
  border-top: 1px solid #dbe4ef;
  color: #0f172a;
  font-weight: 800;
  margin: 24px 0 0;
  padding-top: 18px;
}

.about-signature span {
  color: var(--rofo-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.about-expectations {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-expectations div {
  border: 1px solid #cfe0f5;
  border-radius: var(--rofo-pill-radius);
  background: #eef6ff;
  color: #1d4f8f;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  padding: 10px 13px;
}

@media (max-width: 860px) {
  .about-hero,
  .about-split,
  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-hero__content,
  .about-section {
    padding: 24px;
  }
}

@media (max-width: 520px) {
  .about-page {
    gap: 22px;
  }

  .about-hero__content,
  .about-hero__aside,
  .about-section,
  .about-note-card,
  .about-value-card {
    padding: 20px;
  }
}

.guide-mini-card h3 {
  margin: 0 0 8px;
  color: var(--rofo-ink);
}

.guide-mini-card p {
  margin: 0;
}

.stat-direction {
  display: inline-block;
  margin-left: 4px;
  color: var(--rofo-muted);
  font-size: 0.95em;
  font-weight: 700;
  line-height: 1;
}

.stat-value--list {
  display: grid;
  gap: 3px;
}

.stat-value--list span {
  display: block;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

/* =========================
   GRID UTILITIES
   ========================= */

.two-col {
  display: grid;
  gap: var(--rofo-spacing-md);
}

.two-col-hero {
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.95fr);
}

@media (max-width: 980px) {
  .two-col,
  .two-col-hero,
  .building-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 680px) {
  .city-page .building-grid,
  .city-page .city-grid,
  .city-page .stats-grid {
    grid-template-columns: 1fr;
  }

  .building-card__overlay {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 16px 18px;
    border-radius: 18px;
  }

  .building-card__title {
    font-size: 1.05rem;
  }

  .building-card__meta {
    font-size: 0.94rem;
    margin-top: 8px;
  }

  .building-card-compact__overlay {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 16px 18px;
    border-radius: 18px;
  }

  .building-card-compact__title {
    font-size: 1.02rem;
  }

  .building-card-compact__meta {
    font-size: 0.92rem;
    margin-top: 8px;
  }

  .btn-row {
    align-items: stretch;
  }
}

/* =========================
   HERO FIXES (click + spacing)
   ========================= */

/* ensure hero content sits above image */
.city-page .city-card {
  position: relative;
  z-index: 2;
}

/* ensure image never blocks interactions */
.city-page .city-sidecard {
  position: relative;
  z-index: 1;
}

/* make pill nav clearly interactive */
.city-page .pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

/* clickable pills */
.city-page .pill-nav a.pill {
  cursor: pointer;
  transition: all 0.15s ease;
}

.city-page .pill-nav a.pill:hover {
  background: #dbeafe;
  color: #0f172a;
  border-color: #c7d7f5;
}

/* non-clickable county pill */
.city-page .pill--muted {
  cursor: default;
  opacity: 0.75;
}

/* tighten hero rhythm */
.city-page .city-hero-copy > * + * {
  margin-top: 12px;
}

/* slightly more breathing room before pills */
.city-page .hero-pill-wrap {
  margin-top: 14px;
}

/* better spacing between buttons and pills */
.city-page .hero-actions {
  margin-top: 16px;
}

/* =========================
   HELPFUL CONTENT CARDS
   ========================= */

.help-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  margin-bottom: 24px;
}

.help-card--city {
  padding: 28px;
}

.help-card--compact {
  padding: 22px;
}

.help-card__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 10px;
}

.help-card__title {
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.15;
  margin: 0 0 12px;
  color: #0f172a;
}

.help-card__intro {
  font-size: 1rem;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 20px;
  max-width: 72ch;
}

.help-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.help-card__grid--tight {
  gap: 14px;
}

.help-card__item {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  padding: 16px;
}

.help-card__item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #0f172a;
}

.help-card__item p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
  color: #475569;
}

/* Timeline */

.timeline-card {
  display: grid;
  gap: 12px;
}

.timeline-card__step {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  padding: 16px;
}

.timeline-card__step strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.98rem;
  color: #0f172a;
}

.timeline-card__step p {
  margin: 0;
  font-size: 0.95rem;
  color: #475569;
}

/* Mobile */

@media (max-width: 820px) {
  .help-card,
  .help-card--city,
  .help-card--compact {
    padding: 20px;
  }

  .help-card__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   SPACE-TYPE PAGE
   ========================= */

.market-page--space-type {
  padding: 8px 0 56px;
}

.market-page--space-type .city-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.market-page--space-type h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  margin: 0 0 14px;
  color: #0f172a;
}

.market-page--space-type .city-card h1 {
  max-width: 26ch;
}

.market-page--space-type h2 {
  font-size: 1.55rem;
  line-height: 1.2;
  margin: 0 0 14px;
  color: #0f172a;
}

.market-page--space-type h3 {
  font-size: 1.08rem;
  margin: 0 0 10px;
  color: #0f172a;
}

.market-page--space-type p {
  color: #334155;
  line-height: 1.65;
  margin: 0 0 14px;
}

.market-page--space-type .lead {
  font-size: 1.05rem;
  color: #475569;
  max-width: 62ch;
}

.market-page--space-type .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 6px;
}

.market-page--space-type .city-stat {
  padding: 18px;
}

.market-page--space-type .stat-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 8px;
}

.market-page--space-type .stat-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.2;
}

.market-page--space-type .stat-note {
  color: #64748b;
  font-size: 0.92rem;
  margin: 0;
}

.market-page--space-type .market-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.market-page--space-type .market-links a {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.93rem;
  white-space: nowrap;
  text-decoration: none;
}

.market-page--space-type .page-stack {
  display: grid;
  gap: 24px;
}

.market-page--space-type .mini-guide {
  display: grid;
  gap: 12px;
  margin-top: 6px;
}

.market-page--space-type .mini-guide__item h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.market-page--space-type .mini-guide__item p {
  margin: 0;
}

@media (max-width: 980px) {
  .market-page--space-type .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .market-page--space-type .stats-grid {
    grid-template-columns: 1fr;
  }

  .market-page--space-type .city-shell {
    padding: 0 16px;
  }
}

/* =========================
   SPACE-TYPE PAGE OVERRIDES
   ========================= */

section.market-page--space-type .stats-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-bottom: 6px !important;
}

section.market-page--space-type .city-stat {
  padding: 18px !important;
}

section.market-page--space-type .page-stack {
  display: grid !important;
  gap: 24px !important;
}

section.market-page--space-type .market-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px 12px !important;
}

section.market-page--space-type .market-links a {
  display: inline-flex !important;
  align-items: center !important;
  padding: 9px 12px !important;
  border-radius: 999px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  font-size: 0.93rem !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

@media (max-width: 980px) {
  section.market-page--space-type .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  section.market-page--space-type .stats-grid {
    grid-template-columns: 1fr !important;
  }
}

/* =========================
   HOMEPAGE CTA BAND
   ========================= */

.cta-band__lead {
  margin: 0 0 20px;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  max-width: 34rem;
}

.cta-band__prompts {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.cta-band__prompt {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.cta-band__prompt strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
  color: #ffffff;
}

.cta-band__prompt span {
  display: block;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.82);
}

.cta-band__footer {
  margin-top: 18px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

@media (max-width: 768px) {
  .cta-band {
    display: none;
  }
}

@media (max-width: 768px) {
  .split-band .cta-band {
    display: none !important;
  }
}

/* =========================
   CITY HERO PLACEHOLDERS
   ========================= */

.hero-image {
  position: relative;
  width: 100%;
  min-height: 260px;
  display: block;
  border-radius: 24px;
  overflow: hidden;
}

.hero-image--placeholder {
  position: relative;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.hero-image--placeholder::after {
  content: attr(data-location);
  position: absolute;
  right: 16px;
  bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #475569;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Theme 0 — coastal blue */
.hero-image--theme-0 {
  background:
    radial-gradient(1200px 400px at 85% 10%, rgba(59, 130, 246, 0.12), transparent 40%),
    radial-gradient(800px 300px at 10% 90%, rgba(15, 23, 42, 0.05), transparent 45%),
    linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
}

/* Theme 1 — desert sand */
.hero-image--theme-1 {
  background:
    radial-gradient(900px 320px at 85% 15%, rgba(245, 158, 11, 0.11), transparent 38%),
    radial-gradient(700px 260px at 20% 85%, rgba(120, 113, 108, 0.06), transparent 42%),
    linear-gradient(135deg, #fbf7f0 0%, #f5efe4 100%);
}

/* Theme 2 — forest sage */
.hero-image--theme-2 {
  background:
    radial-gradient(950px 320px at 82% 14%, rgba(16, 185, 129, 0.10), transparent 38%),
    radial-gradient(700px 280px at 18% 86%, rgba(51, 65, 85, 0.05), transparent 42%),
    linear-gradient(135deg, #f6fbf8 0%, #edf7f1 100%);
}

/* Theme 3 — rose/slate */
.hero-image--theme-3 {
  background:
    radial-gradient(900px 320px at 86% 16%, rgba(236, 72, 153, 0.09), transparent 38%),
    radial-gradient(700px 260px at 16% 84%, rgba(15, 23, 42, 0.05), transparent 42%),
    linear-gradient(135deg, #fcf8fb 0%, #f5eef5 100%);
}

/* Theme 4 — lake blue */
.hero-image--theme-4 {
  background:
    radial-gradient(950px 320px at 82% 12%, rgba(14, 165, 233, 0.11), transparent 38%),
    radial-gradient(700px 260px at 18% 88%, rgba(30, 41, 59, 0.05), transparent 42%),
    linear-gradient(135deg, #f4fbfe 0%, #ebf4f8 100%);
}

/* Theme 5 — sunrise peach */
.hero-image--theme-5 {
  background:
    radial-gradient(950px 320px at 84% 14%, rgba(244, 114, 182, 0.08), transparent 38%),
    radial-gradient(700px 260px at 20% 84%, rgba(124, 58, 237, 0.05), transparent 42%),
    linear-gradient(135deg, #fff9f7 0%, #f7f1ef 100%);
}

/* =========================
   BUILDING – PRESENTED BY
   ========================= */

.building-presented-by {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 4px;
  line-height: 1.2;
}

.building-presented-by a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =========================
   BUILDING CARD TIGHTENING
   ========================= */

.building-card-compact__overlay,
.building-card__overlay {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.building-card-compact__title,
.building-card__title {
  margin: 0;
  line-height: 1.12;
}

.building-card-compact__meta,
.building-card__meta {
  margin: 0;
  line-height: 1.2;
}

.building-card-compact .building-presented-by,
.building-card .building-presented-by {
  margin-top: 2px;
  line-height: 1.15;

}
/* =========================
   COMPANY PAGE
   ========================= */

.company-page {
  padding: 10px 0 56px;
}

.company-page .city-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.company-shell {
  max-width: 1040px;
  margin: 0 auto;
}

.company-breadcrumbs {
  margin-bottom: 18px;
}

.company-hero {
  padding: 34px 38px;
  margin-bottom: 28px;
}

.company-hero__content {
  max-width: 760px;
}

.company-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  margin: 0 0 12px;
  color: #0f172a;
}

.company-hero__subhead {
  font-size: 1.08rem;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 12px;
  max-width: 54ch;
}

.company-hero__body {
  font-size: 1rem;
  line-height: 1.68;
  color: #334155;
  margin: 0;
  max-width: 68ch;
}

.company-section {
  margin-bottom: 28px;
}

.company-section__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.company-section__head h2 {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.15;
  color: #0f172a;
}

.company-section__note {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.45;
  white-space: nowrap;
}

.company-building-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.company-empty-state {
  padding: 22px 24px;
}

.company-footer-card {
  padding: 24px 26px;
}

.company-footer-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: #0f172a;
}

.company-footer-card p {
  margin: 0 0 14px;
  color: #475569;
}

/* =========================
   COMPANY PAGE CARD TIGHTENING
   tighter overlays + slightly less zoomy cards
   ========================= */

.company-page .building-card-compact__image {
  aspect-ratio: 16 / 10;
}

.company-page .building-card-compact__overlay {
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 13px 15px;
  border-radius: 18px;
}

.company-page .building-card-compact__title {
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.1;
  margin: 0;
}

.company-page .building-card-compact__meta {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.24;
  color: #64748b;
}

.company-page .building-card-compact__overlay {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.company-page .building-card-compact .building-presented-by {
  margin-top: 1px;
  font-size: 0.76rem;
  line-height: 1.15;
  color: #64748b;
}

.company-page .building-card-compact .building-presented-by a {
  color: #475569;
}

/* Optional: slightly reduce hover zoom on company page */
.company-page .building-card-compact__link:hover .building-card-compact__image {
  transform: scale(1.015);
}

@media (max-width: 980px) {
  .company-section__head {
    align-items: start;
    flex-direction: column;
  }

  .company-section__note {
    white-space: normal;
  }

  .company-building-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .company-page .city-shell {
    padding: 0 16px;
  }

  .company-hero {
    padding: 24px 20px;
    margin-bottom: 22px;
  }

  .company-page .building-card-compact__overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .company-footer-card {
    padding: 20px;
  }
}

/* =========================
   FEATURED PORTFOLIO CARD
   ========================= */

.featured-portfolio-card {
  padding-bottom: 24px;
}

.featured-portfolio-card > *:last-child {
  margin-bottom: 0;
}

.featured-header--simple {
  display: block;
  margin-bottom: 0;
}

.featured-header--simple h2 {
  margin: 0 0 10px;
}

.featured-portfolio-card__intro {
  margin: 0;
  color: #475569;
  line-height: 1.5;
  max-width: 48ch;
}

.featured-portfolio-card__grid {
  margin-top: 18px;
  display: grid;
  gap: 18px;
  align-items: start;
}

.featured-portfolio-card__grid--1 {
  grid-template-columns: minmax(0, 640px);
  justify-content: start;
}

.featured-portfolio-card__grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.featured-portfolio-card__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* tighter card treatment inside featured portfolio */
.featured-portfolio-card .building-card-compact__image {
  aspect-ratio: 16 / 10;
}

.featured-portfolio-card .building-card-compact__overlay {
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.featured-portfolio-card .building-card-compact__title {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.1;
}

.featured-portfolio-card .building-card-compact__meta {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.22;
  color: #64748b;
}

.featured-portfolio-card .building-presented-by {
  margin-top: 1px;
  font-size: 0.79rem;
  line-height: 1.15;
  color: #64748b;
}

.featured-portfolio-card .building-presented-by a {
  color: #475569;
}

.featured-portfolio-card .building-card-compact__link:hover .building-card-compact__image {
  transform: scale(1.01);
}

.featured-portfolio-card .building-card-compact__link:hover .building-card-compact__media {
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

@media (max-width: 980px) {
  .featured-portfolio-card__grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .featured-portfolio-card__grid,
  .featured-portfolio-card__grid--1,
  .featured-portfolio-card__grid--2,
  .featured-portfolio-card__grid--3 {
    grid-template-columns: 1fr;
  }

  .featured-portfolio-card .building-card-compact__overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px 14px;
    border-radius: 16px;
  }
}

/* =========================
   BUILDINGS TO EXPLORE CARD
   ========================= */

.buildings-explore-card {
  padding-bottom: 24px;
}

.buildings-explore-card > *:last-child {
  margin-bottom: 0;
}

.buildings-explore-card__intro {
  margin: 0;
  color: #475569;
  line-height: 1.5;
  max-width: 72ch;
}

.buildings-explore-card__grid {
  margin-top: 18px;
}

.buildings-explore-card__footer-link {
  margin-top: 18px;
}

.buildings-explore-card__footer-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-decoration: none;
}

.buildings-explore-card__footer-link a:hover {
  text-decoration: underline;
}

/* =========================
   BUILDINGS TO EXPLORE CARD
   match featured portfolio card treatment
   ========================= */

.buildings-explore-card .building-card-compact__image {
  aspect-ratio: 16 / 10;
}

.buildings-explore-card .building-card-compact__overlay {
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.buildings-explore-card .building-card-compact__title {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.1;
}

.buildings-explore-card .building-card-compact__meta {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.22;
  color: #64748b;
}

.buildings-explore-card .building-presented-by {
  margin-top: 1px;
  font-size: 0.79rem;
  line-height: 1.15;
  color: #64748b;
}

.buildings-explore-card .building-presented-by a {
  color: #475569;
}

.buildings-explore-card .building-card-compact__link:hover .building-card-compact__image {
  transform: scale(1.01);
}

.buildings-explore-card .building-card-compact__link:hover .building-card-compact__media {
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

@media (max-width: 680px) {
  .buildings-explore-card .building-card-compact__overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px 14px;
    border-radius: 16px;
  }
}

/* =========================
   Partner Page
   ========================= */

.partner-page {
  padding: 32px 0 64px;
}

.partner-page .page-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.partner-hero {
  padding: 56px;
}

.partner-hero h1 {
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 3rem); /* smaller + tighter */
  line-height: 1.1;
  margin: 12px 0 14px;
  font-weight: 600; /* softer than default bold */
}

.partner-hero .hero-subhead {
  max-width: 720px;
  font-size: 1.18rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.partner-section {
  margin-top: 32px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 6px 0 0;
}

.partner-grid {
  display: grid;
  gap: 18px;
}

.partner-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.partner-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-page .city-card h3 {
  margin-top: 0;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: rgba(17, 24, 39, 0.08);
  margin-bottom: 14px;
}

.partner-list {
  margin: 14px 0 0;
  padding-left: 20px;
}

.partner-list li {
  margin-bottom: 8px;
}

.pricing-card {
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.65);
}

.pricing-card h3 {
  margin: 0 0 10px;
}

.pricing-card p {
  margin: 8px 0;
}

.pricing-note {
  margin: 22px 0 0;
  font-weight: 600;
}

.partner-form-card form {
  margin-top: 18px;
}

.partner-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

@media (max-width: 760px) {
  .partner-hero {
    padding: 32px 24px;
  }

  .partner-grid--2,
  .partner-grid--3,
  .partner-form-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   CITY PAGE STYLES
   ========================= */

.city-page {
  padding: 8px 0 56px;
}

.city-page .city-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.city-page .city-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.95fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.city-page .city-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(340px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.city-page .city-main-left,
.city-page .city-main-right {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.city-page .city-hero-copy > * + * {
  margin-top: 14px;
}

.city-page h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  line-height: 1.04;
  margin: 0;
  color: #0f172a;
  max-width: 16ch;
}

.city-page h2 {
  font-size: 1.55rem;
  line-height: 1.2;
  margin: 0 0 14px;
  color: #0f172a;
}

.city-page h3 {
  font-size: 1.08rem;
  margin: 0 0 10px;
  color: #0f172a;
}

.city-page p {
  color: #334155;
  line-height: 1.65;
  margin: 0 0 14px;
}

.city-page .lead {
  font-size: 1.05rem;
  color: #475569;
  max-width: 56ch;
  margin: 0;
}

.city-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.city-page .hero-pill-wrap {
  margin-top: 18px;
}

.city-page .pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.city-page .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.city-page .city-stat {
  padding: 18px;
}

.city-page .stat-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 8px;
}

.city-page .stat-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.2;
}

.city-page .stat-note {
  color: #64748b;
  font-size: 0.92rem;
  margin: 0;
}

.city-page .building-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.city-page .market-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.city-page .market-links a {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.93rem;
  white-space: nowrap;
}

.city-page .hero-media {
  position: relative;
  height: 100%;
  min-height: 320px;
  border-radius: 14px;
  overflow: hidden;
}

.city-page .hero-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.city-page .hero-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  backdrop-filter: blur(4px);
}

.city-page .hero-overlay-title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
}

.city-page .hero-overlay-meta {
  margin: 0;
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.3;
}

.city-page .featured-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 12px;
}

.city-page .city-grid {
  display: grid;
  gap: 24px;
}

.city-page .city-market-snapshot__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.city-page .city-market-snapshot__item {
  padding: 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.city-page .city-buildings-card .building-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.city-page .city-buildings-card .building-card-compact {
  min-height: 0;
}

/* TABLET */
@media (max-width: 980px) {
  .city-page .city-main,
  .city-page .city-hero {
    grid-template-columns: 1fr;
  }

  .city-page .city-main-right {
    order: 1;
  }

  .city-page .city-main-left {
    order: 2;
  }

  .city-page .city-form {
    order: 1;
  }

  .city-page .city-market-snapshot {
    order: 2;
  }

  .city-page .city-market-guide-card {
    order: 1;
  }

  .city-page .city-buildings-card {
    order: 2;
  }

  .city-page .city-leasing-guides-card {
    order: 3;
  }

  .city-page .city-popular-searches-card {
    order: 4;
  }

  .city-page .city-nearby-markets-card {
    order: 5;
  }

  .city-page .featured-portfolio-card {
    order: 6;
  }

  .city-page .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .city-page .building-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .city-page .city-shell {
    padding: 0 16px;
  }

  .city-page .featured-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .city-page h1 {
    max-width: 13ch;
  }
}

@media (max-width: 600px) {
  .city-page .city-buildings-card .building-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .city-page .city-buildings-card .building-card-compact__media {
    border-radius: 18px;
  }

  .city-page .city-buildings-card .building-card-compact__image {
    aspect-ratio: 16 / 10;
    min-height: 220px;
  }

  .city-page .city-buildings-card .building-card-compact__overlay {
    left: 12px;
    right: 12px;
    bottom: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
  }

  .city-page .city-buildings-card .building-card-compact__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.16;
  }

  .city-page .city-buildings-card .building-card-compact__meta,
  .city-page .city-buildings-card .building-presented-by {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.88rem;
    line-height: 1.2;
  }
}

/* MOBILE */
@media (max-width: 680px) {
  .city-page .stats-grid,
  .city-page .building-grid,
  .city-page .city-market-snapshot__grid,
  .city-page .city-grid {
    grid-template-columns: 1fr;
  }

  .city-page .hero-actions {
    align-items: stretch;
  }

  .city-page h1 {
    max-width: none;
  }
}

/* =========================
 BUILDINGS TO EXPLORE CARD
 ========================= */

.city-page .buildings-explore-card {
  padding-bottom: 24px;
}

.city-page .buildings-explore-card > *:last-child {
  margin-bottom: 0;
}

.city-page .buildings-explore-card .featured-header,
.city-page .buildings-explore-card .featured-header--simple {
  display: block;
  margin-bottom: 0;
}

.city-page .buildings-explore-card h2 {
  margin: 0 0 10px;
}

.city-page .buildings-explore-card__intro {
  margin: 0;
  color: #475569;
  line-height: 1.5;
  max-width: 72ch;
}

.city-page .buildings-explore-card__grid {
  margin-top: 18px;
}

.city-page .buildings-explore-card__footer-link {
  margin-top: 18px;
}

.city-page .buildings-explore-card__footer-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-decoration: none;
}

.city-page .buildings-explore-card__footer-link a:hover {
  text-decoration: underline;
}

/* =========================
   NEIGHBORHOOD PROTOTYPE
   ========================= */

.neighborhood-prototype,
.neighborhood-public {
  padding: 8px 0 64px;
  background:
    radial-gradient(circle at top left, rgba(19, 70, 216, 0.08), transparent 32rem),
    #f8fafc;
}

.neighborhood-prototype__notice {
  margin: 14px 0 18px;
  padding: 10px 14px;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: #fff;
  color: #64748b;
  font-size: 0.92rem;
}

.neighborhood-prototype .breadcrumbs,
.neighborhood-public .breadcrumbs {
  margin-top: 4px;
}

.neighborhood-map-hero__dot--green,
.neighborhood-map-hero__marker--green {
  background: #52b36b;
  fill: #52b36b;
}

.neighborhood-map-hero__dot--blue,
.neighborhood-map-hero__marker--blue {
  background: #2f6feb;
  fill: #2f6feb;
}

.neighborhood-map-hero__dot--purple,
.neighborhood-map-hero__marker--purple {
  background: #8056cc;
  fill: #8056cc;
}

.neighborhood-map-hero__dot--yellow,
.neighborhood-map-hero__marker--yellow {
  background: #f4c83f;
  fill: #f4c83f;
}

.neighborhood-map-card {
  display: grid;
  grid-template-rows: auto minmax(230px, 1fr);
  gap: 10px;
  min-height: 100%;
  overflow: hidden;
  padding: 18px;
}

.neighborhood-map-card__header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.neighborhood-map-card__header h2 {
  margin: 0;
  max-width: 12ch;
}

.neighborhood-map-card__header p {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  max-width: 13ch;
  text-align: right;
}

.neighborhood-map-card__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dbe4ef;
  border-radius: 18px;
  background: linear-gradient(180deg, #f7faf8, #eef6f8);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.72),
    inset 0 -36px 80px rgba(15, 23, 42, 0.035);
}

.neighborhood-map-card__figure svg {
  width: 100%;
  height: 100%;
  min-height: 248px;
  display: block;
}

.neighborhood-map-hero__map-title {
  fill: #1359d8;
  font-size: 23px;
  font-weight: 760;
  letter-spacing: 0.055em;
  text-anchor: middle;
}

.neighborhood-map-hero__district {
  fill: #334155;
  font-size: 14px;
  font-weight: 680;
  letter-spacing: 0.045em;
  opacity: 0.82;
  text-anchor: middle;
  text-transform: uppercase;
}

.neighborhood-map-hero__district--emphasis {
  fill: #21734c;
  font-size: 17px;
  font-weight: 760;
  opacity: 0.9;
}

.neighborhood-map-hero__route {
  fill: #475569;
  font-size: 11px;
  font-weight: 760;
  text-anchor: middle;
}

.neighborhood-map-hero__water {
  fill: #4c86ad;
  font-size: 13px;
  font-style: italic;
  font-weight: 680;
  letter-spacing: 0.095em;
  opacity: 0.72;
  text-transform: uppercase;
}

.city-page .city-hero--map-card {
  gap: 20px;
  margin-bottom: 20px;
}

.city-page .city-hero--map-card > .city-card {
  padding: 22px;
}

.city-page .city-hero--map-card .city-hero-copy > * + * {
  margin-top: 10px;
}

.city-page .city-hero--map-card .button-row {
  margin-top: 16px;
}

.city-page .city-hero--district-identity {
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 16px;
}

.city-page .city-hero--district-identity > .city-card {
  padding: 26px 28px;
}

.city-page .city-hero--district-identity .lead {
  max-width: 760px;
}

.neighborhood-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 24px;
  overflow: hidden;
}

.neighborhood-hero h1 {
  max-width: 16ch;
}

.neighborhood-hero__content {
  min-width: 0;
}

.neighborhood-hero__panel {
  align-self: stretch;
  padding: 22px;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fafc, #eef4ff);
}

.neighborhood-hero__panel .mini-list li {
  color: #334155;
  line-height: 1.45;
}

.neighborhood-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.neighborhood-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.neighborhood-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 700;
}

.neighborhood-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  grid-template-areas: "main sidebar";
  gap: 24px;
  align-items: start;
}

.neighborhood-image-block {
  margin: 0 0 24px;
}

.neighborhood-image-block img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #dbe3ee;
}

.neighborhood-main,
.neighborhood-sidebar {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.neighborhood-main {
  grid-area: main;
}

.neighborhood-sidebar {
  grid-area: sidebar;
}

.neighborhood-prototype .city-card,
.neighborhood-public .city-card {
  border-radius: 18px;
}

.neighborhood-prototype .city-card h2,
.neighborhood-public .city-card h2 {
  max-width: 22ch;
}

.neighborhood-prototype .city-card p,
.neighborhood-public .city-card p {
  max-width: 76ch;
}

.neighborhood-callout {
  margin-top: 18px;
  padding: 18px;
  border-left: 4px solid var(--rofo-blue);
  border-radius: 12px;
  background: #f1f5ff;
  color: #1e3a8a;
  font-weight: 700;
  line-height: 1.55;
}

.neighborhood-signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.neighborhood-fit-card h2 {
  max-width: 28ch;
}

.neighborhood-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.neighborhood-fit-group {
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}

.neighborhood-fit-group--wide {
  grid-column: 1 / -1;
  background: #f8fafc;
}

.neighborhood-fit-group h3 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
}

.neighborhood-fit-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.neighborhood-fit-chip-row span {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}

.neighborhood-fit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.neighborhood-fit-list li {
  padding: 10px 12px;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: #fff;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.35;
}

.neighborhood-fit-list strong {
  color: #0f172a;
}

.neighborhood-signal-card,
.neighborhood-mini-card,
.neighborhood-comparison-card,
.neighborhood-building-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  padding: 18px;
}

.neighborhood-signal-card {
  background: #f8fafc;
}

.neighborhood-signal-card h3,
.neighborhood-mini-card h3,
.neighborhood-comparison-card h3,
.neighborhood-building-card h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.25;
}

.neighborhood-signal-card p,
.neighborhood-mini-card p,
.neighborhood-comparison-card p,
.neighborhood-building-card p {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.55;
}

.neighborhood-card-grid,
.neighborhood-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.neighborhood-card-grid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.location-comparison-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.location-comparison-panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}

.location-comparison-panel--quiet {
  background: #f8fafc;
}

.location-comparison-panel--summary {
  background: #fbfdff;
}

.location-comparison-panel h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 1.05rem;
  line-height: 1.3;
}

.location-comparison-panel p {
  margin: 0;
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.6;
}

.location-comparison-panel p.location-comparison-panel__meta {
  margin-bottom: 10px;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.location-comparison-panel p.location-comparison-panel__prompt {
  margin-bottom: 0;
  color: #475569;
  font-weight: 700;
}

.location-comparison-panel__list {
  margin-top: 14px;
}

.location-comparison-panel__list li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 16px;
  color: #334155;
  font-size: 0.96rem;
  line-height: 1.55;
}

.location-comparison-panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #94a3b8;
}

.neighborhood-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.neighborhood-check-item {
  padding: 12px 14px;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.4;
}

.neighborhood-building-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.neighborhood-page-review .neighborhood-review-note h2 {
  max-width: none;
}

.neighborhood-page-review .neighborhood-chip-row {
  margin-top: 18px;
}

.neighborhood-page-review .neighborhood-building-grid {
  margin-top: 18px;
  gap: 18px;
}

.neighborhood-building-grid .building-card-compact--neighborhood {
  height: auto;
}

.neighborhood-building-grid .building-card-compact--neighborhood .building-card-compact__media {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.neighborhood-building-grid .building-card-compact--neighborhood .building-card-compact__image {
  aspect-ratio: 16 / 10;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
}

.neighborhood-building-grid .building-card-compact--neighborhood .building-card-compact__overlay {
  position: static;
  padding: 10px 2px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  gap: 4px;
}

.neighborhood-building-grid .building-card-compact--neighborhood .building-card-compact__title {
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 760;
  line-height: 1.22;
}

.neighborhood-building-grid .building-card-compact--neighborhood .building-card-compact__meta {
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.35;
}

.neighborhood-building-grid .building-card-compact--neighborhood .building-presented-by {
  display: none;
}

.neighborhood-building-grid .building-card-compact--neighborhood:hover .building-card-compact__image {
  transform: scale(1.012);
}

.neighborhood-building-grid .building-card-compact--neighborhood:hover .building-card-compact__title a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.neighborhood-page-review .neighborhood-context-fallback {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  background: #f8fafc;
}

.neighborhood-page-review .neighborhood-context-fallback h3 {
  margin: 0 0 8px;
}

.neighborhood-page-review .neighborhood-context-fallback p {
  margin: 0;
}

.neighborhood-intelligence {
  border-color: #dbeafe;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.neighborhood-intelligence__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.neighborhood-intelligence__confidence {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.neighborhood-intelligence__lead {
  margin-top: 12px;
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.6;
}

.neighborhood-intelligence__grid,
.neighborhood-intelligence__split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.neighborhood-intelligence__summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.neighborhood-intelligence__card,
.neighborhood-intelligence__summary > div,
.neighborhood-intelligence__block {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  padding: 16px;
}

.neighborhood-intelligence__summary > div {
  background: #fff;
}

.neighborhood-intelligence__card-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 8px;
}

.neighborhood-intelligence__card-heading h3,
.neighborhood-intelligence__summary h3,
.neighborhood-intelligence__block h3 {
  margin: 0;
  color: #0f172a;
  font-size: 0.95rem;
  line-height: 1.3;
}

.neighborhood-intelligence__card-heading span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.neighborhood-intelligence__card p {
  margin: 0;
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.55;
}

.neighborhood-intelligence__block {
  margin-top: 18px;
}

.neighborhood-intelligence__split .neighborhood-intelligence__block {
  margin-top: 0;
}

.neighborhood-intelligence__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.neighborhood-intelligence__chips span {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.2;
}

.neighborhood-intelligence__block ul {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.neighborhood-intelligence__block li {
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.45;
}

.neighborhood-intelligence__block strong {
  color: #0f172a;
}

.neighborhood-intelligence__note {
  margin: 16px 0 0;
  color: #64748b !important;
  font-size: 0.86rem !important;
  line-height: 1.45 !important;
}

.neighborhood-intelligence--editorial {
  border-color: #e2e8f0;
  background: #fff;
}

.neighborhood-intelligence--editorial h2 {
  max-width: 700px;
}

.neighborhood-intelligence__editorial-body {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  max-width: 760px;
}

.neighborhood-intelligence__editorial-body p,
.neighborhood-intelligence__nearby li {
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.6;
}

.neighborhood-intelligence__chips--quiet {
  margin-top: 16px;
}

.neighborhood-intelligence__chips--quiet span {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 700;
}

.neighborhood-intelligence__nearby {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
}

.neighborhood-intelligence__nearby h3 {
  margin: 0;
  color: #0f172a;
  font-size: 0.98rem;
}

.neighborhood-intelligence__nearby ul {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.neighborhood-intelligence__nearby strong {
  color: #0f172a;
}

.neighborhood-approved-signal {
  border-color: #d7e2ef;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

.neighborhood-approved-signal h2 {
  max-width: 680px;
}

.neighborhood-approved-signal p {
  max-width: 720px;
  color: #334155;
  font-size: 1rem;
  line-height: 1.62;
}

.neighborhood-commercial-districts h2 {
  max-width: 720px;
}

.neighborhood-commercial-districts > p {
  max-width: 760px;
}

.neighborhood-commercial-districts__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.neighborhood-commercial-districts__card {
  border-radius: 10px;
}

.neighborhood-commercial-districts__type {
  display: block;
  margin-bottom: 8px;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.neighborhood-curated-media h2 {
  max-width: 720px;
}

.neighborhood-curated-media > p {
  max-width: 760px;
}

.neighborhood-curated-media__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.85fr);
  gap: 16px;
  margin-top: 18px;
}

.neighborhood-curated-media figure {
  margin: 0;
}

.neighborhood-curated-media img {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  object-fit: cover;
  background: #f1f5f9;
}

.neighborhood-curated-media a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.neighborhood-curated-media__primary img {
  aspect-ratio: 16 / 10;
}

.neighborhood-curated-media__supporting {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.neighborhood-curated-media__thumb img {
  aspect-ratio: 4 / 3;
}

.neighborhood-curated-media figcaption {
  margin-top: 7px;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.35;
}

.neighborhood-locator-map {
  display: grid;
  grid-template-columns: minmax(240px, 0.48fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 24px;
  overflow: hidden;
}

.neighborhood-locator-map--identity {
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 0;
  margin-bottom: 24px;
  padding: 26px;
}

.neighborhood-locator-map > * {
  min-width: 0;
}

.neighborhood-locator-map__copy h2 {
  margin-bottom: 10px;
}

.neighborhood-locator-map__copy p {
  max-width: 390px;
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.6;
}

.neighborhood-locator-map--identity .neighborhood-locator-map__copy p {
  max-width: 430px;
  font-size: 1rem;
}

.neighborhood-locator-map__figure {
  margin: 0;
}

.neighborhood-locator-map svg {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 280px;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  background: #f8faf7;
}

.neighborhood-locator-map--identity svg {
  min-height: 340px;
  border-radius: 16px;
}

.neighborhood-locator-map__context path {
  fill: none;
  stroke: #cbd5df;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.52;
}

.neighborhood-locator-map__context .neighborhood-locator-map__transit {
  stroke: #9aa7b7;
  stroke-width: 3;
  stroke-dasharray: 8 10;
  opacity: 0.62;
}

.neighborhood-locator-map__waterfront path {
  fill: none;
  stroke: #9dcadd;
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.66;
}

.neighborhood-locator-map__waterfront .neighborhood-locator-map__bridge {
  stroke: #b8c2cf;
  stroke-width: 5;
  opacity: 0.58;
}

.neighborhood-locator-map__districts path {
  fill: #eef3ed;
  stroke: #d6dfd5;
  stroke-width: 1.5;
  opacity: 0.9;
}

.neighborhood-locator-map__districts .neighborhood-locator-map__soma {
  fill: url(#soma-locator-district);
  stroke: #2563eb;
  stroke-width: 2.5;
  opacity: 0.96;
}

.neighborhood-locator-map__districts .neighborhood-locator-map__financial-district {
  fill: url(#financial-district-locator-district);
  stroke: #1d4f91;
  stroke-width: 2.5;
  opacity: 0.96;
}

.neighborhood-locator-map__districts .neighborhood-locator-map__primary-district {
  fill: var(--district-locator-fill, url(#oakland-core-locator-district));
  stroke: #2f5d50;
  stroke-width: 2.5;
  opacity: 0.96;
}

.neighborhood-locator-map__label {
  fill: #334155;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: 0;
}

.neighborhood-locator-map__label--primary {
  fill: #0f3f9f;
  font-size: 33px;
  font-weight: 850;
}

.neighborhood-locator-map__street,
.neighborhood-locator-map__water-label,
.neighborhood-locator-map__note text {
  fill: #64748b;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
}

.neighborhood-locator-map__water-label {
  fill: #3f7890;
}

.neighborhood-locator-map__note text {
  fill: #7a8797;
  font-size: 14px;
  font-weight: 650;
}

.neighborhood-approved-signal__note {
  margin-top: 14px !important;
  color: #64748b !important;
  font-size: 0.86rem !important;
  line-height: 1.45 !important;
}

.neighborhood-page-review .neighborhood-link-card {
  color: inherit;
  display: block;
  text-decoration: none;
}

.neighborhood-page-review .neighborhood-link-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  text-decoration: none;
}

.neighborhood-page-review .neighborhood-link-card:hover h3,
.neighborhood-page-review .neighborhood-link-card:focus-visible h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.neighborhood-page-review .pill[href]:hover,
.neighborhood-page-review .pill[href]:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.city-neighborhood-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.city-neighborhood-link-list a {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  color: #1e3a8a;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 10px 13px;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.city-neighborhood-link-list a:hover {
  border-color: #bfdbfe;
  background: #eef6ff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.city-neighborhoods-all {
  margin-top: 14px;
}

.city-neighborhoods-all summary {
  color: #1e3a8a;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 800;
  list-style: none;
  text-decoration: none;
}

.city-neighborhoods-all summary::-webkit-details-marker {
  display: none;
}

.city-neighborhoods-all summary::after {
  content: "+";
  margin-left: 8px;
}

.city-neighborhoods-all[open] summary::after {
  content: "−";
}

.city-neighborhoods-all h3 {
  color: var(--rofo-ink);
  font-size: 0.9rem;
  margin: 16px 0 0;
}

.city-neighborhoods-all summary:hover,
.city-neighborhoods-all summary:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.city-neighborhood-link-list--all {
  margin-top: 12px;
}

.neighborhood-building-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.neighborhood-building-card__address {
  color: #64748b !important;
  font-size: 0.9rem !important;
}

.neighborhood-sidebar {
  position: sticky;
  top: 18px;
}

.neighborhood-prototype-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.neighborhood-prototype-form .field {
  min-height: auto;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
}

.neighborhood-prototype-form .field label {
  font-size: 12px;
}

.neighborhood-prototype-form .field input,
.neighborhood-prototype-form .field select,
.neighborhood-prototype-form .field textarea {
  padding: 9px 10px;
  border-radius: 9px;
}

.neighborhood-prototype-form .field textarea {
  min-height: 96px;
}

.neighborhood-prototype-form .btn-primary {
  width: 100%;
  margin-top: 2px;
}

.neighborhood-sticky-card .btn-primary {
  margin-top: 8px;
}

.neighborhood-lead-form h2 {
  max-width: 16ch;
}

.neighborhood-lead-form .btn-primary {
  width: 100%;
}

.neighborhood-briefing-card {
  padding: 0;
  overflow: hidden;
}

.neighborhood-briefing-card summary {
  display: grid;
  gap: 10px;
  padding: 22px;
  cursor: pointer;
  list-style: none;
}

.neighborhood-briefing-card summary::-webkit-details-marker {
  display: none;
}

.neighborhood-briefing-card__headline {
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  max-width: 16ch;
}

.neighborhood-briefing-card__body,
.neighborhood-briefing-card__reassurance {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.55;
}

.neighborhood-briefing-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  margin-top: 4px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--rofo-blue);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.neighborhood-briefing-card__reassurance {
  color: #64748b;
  font-size: 0.85rem;
}

.neighborhood-briefing-card[open] summary {
  border-bottom: 1px solid #e2e8f0;
}

.neighborhood-briefing-card[open] .neighborhood-briefing-card__button {
  display: none;
}

.neighborhood-briefing-card form {
  padding: 20px 22px 22px;
}

.neighborhood-lead-form .form-stack {
  margin-bottom: 10px;
}

.neighborhood-lead-form .field label {
  color: #334155;
  font-size: 12px;
}

.neighborhood-lead-form .field input,
.neighborhood-lead-form .field select,
.neighborhood-lead-form .field textarea {
  border-radius: 8px;
}

.neighborhood-lead-form .field textarea {
  min-height: 96px;
}

.neighborhood-lead-form .btn-row {
  gap: 10px;
}

.neighborhood-lead-form .btn-row label {
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.35;
}

@media (max-width: 1020px) {
  .neighborhood-map-card__figure svg {
    min-height: 300px;
  }

  .neighborhood-hero,
  .neighborhood-layout {
    grid-template-columns: 1fr;
  }

  .neighborhood-layout {
    grid-template-areas:
      "sidebar"
      "main";
  }

  .neighborhood-sidebar {
    position: static;
  }

  .neighborhood-signal-grid,
  .neighborhood-fit-grid,
  .neighborhood-intelligence__grid,
  .neighborhood-intelligence__summary,
  .neighborhood-intelligence__split,
  .neighborhood-locator-map,
  .neighborhood-curated-media__layout,
  .neighborhood-card-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .neighborhood-curated-media__primary {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .neighborhood-prototype,
  .neighborhood-public {
    padding-bottom: 48px;
  }

  .neighborhood-public .city-shell {
    box-sizing: border-box;
    max-width: 100%;
    width: calc(100vw - 32px);
    padding-left: 0;
    padding-right: 0;
  }

  .neighborhood-public .city-card,
  .neighborhood-public .city-sidecard {
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
  }

  .neighborhood-map-card {
    padding: 18px;
  }

  .neighborhood-map-card__header {
    display: block;
  }

  .neighborhood-map-card__header p {
    margin-top: 8px;
    max-width: none;
    text-align: left;
  }

  .neighborhood-map-card__figure svg {
    min-height: 250px;
  }

  .neighborhood-hero,
  .neighborhood-prototype .city-card,
  .neighborhood-public .city-card {
    padding: 20px;
  }

  .neighborhood-public .neighborhood-briefing-card {
    padding: 0;
  }

  .neighborhood-hero h1 {
    max-width: none;
  }

  .neighborhood-hero__actions,
  .neighborhood-hero__actions .btn-primary,
  .neighborhood-hero__actions .btn-secondary,
  .neighborhood-public .button-row .btn-primary,
  .neighborhood-public .button-row .btn-secondary,
  .neighborhood-sticky-card .btn-primary,
  .neighborhood-prototype-form .btn-primary,
  .neighborhood-briefing-card__button {
    width: 100%;
    box-sizing: border-box;
  }

  .neighborhood-briefing-card summary,
  .neighborhood-briefing-card form {
    padding-left: 18px;
    padding-right: 18px;
  }

  .neighborhood-signal-grid,
  .neighborhood-fit-grid,
  .neighborhood-fit-list,
  .neighborhood-intelligence__grid,
  .neighborhood-intelligence__summary,
  .neighborhood-intelligence__split,
  .neighborhood-locator-map,
  .neighborhood-curated-media__layout,
  .neighborhood-curated-media__supporting,
  .location-comparison-panel-grid,
  .neighborhood-card-grid,
  .neighborhood-card-grid--compact,
  .neighborhood-comparison-grid,
  .neighborhood-check-grid,
  .neighborhood-building-card {
    grid-template-columns: 1fr;
  }

  .neighborhood-intelligence__header {
    display: grid;
  }

  .neighborhood-intelligence__confidence {
    width: fit-content;
  }

  .neighborhood-locator-map svg {
    min-height: 230px;
  }

  .city-page .city-hero--district-identity > .city-card,
  .neighborhood-locator-map--identity {
    padding: 20px;
  }

  .neighborhood-locator-map--identity svg {
    min-height: 250px;
  }

  .neighborhood-locator-map__copy p {
    max-width: none;
  }

  .neighborhood-locator-map__label {
    font-size: 20px;
  }

  .neighborhood-locator-map__label--primary {
    font-size: 31px;
  }
}

/* =========================
   BUILDING PAGE STYLES
   ========================= */

  .building-page {
    padding: 8px 0 56px;
  }

/* =========================
   LEASING GUIDE PAGE
   ========================= */

.lease-guide-page {
  padding: 8px 0 64px;
  background: #f8fafc;
}

.lease-guide-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.lease-guide-page .breadcrumbs {
  padding-left: clamp(28px, 5vw, 54px);
  margin-bottom: 16px;
}

.lease-guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 22px;
}

.lease-guide-hero__content,
.lease-guide-hero__card,
.lease-guide-section,
.lease-guide-sidebar__card,
.lease-guide-contact,
.lease-guide-nav {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.lease-guide-hero__content {
  padding: clamp(28px, 5vw, 54px);
}

.lease-guide-hero__card {
  padding: 26px;
  align-self: stretch;
  background:
    radial-gradient(620px 260px at 90% 0%, rgba(19, 70, 216, 0.12), transparent 44%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.lease-guide-page h1 {
  margin: 0 0 16px;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1.02;
  color: #0f172a;
  max-width: 920px;
}

.lease-guide-page h2 {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.13;
  color: #0f172a;
}

.lease-guide-page h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.25;
  color: #0f172a;
}

.lease-guide-page p {
  margin: 0 0 15px;
  color: #334155;
  line-height: 1.68;
}

.lease-guide-page .lead {
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  color: #475569;
  max-width: 760px;
}

.lease-guide-page .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.lease-guide-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px;
  margin-bottom: 24px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.lease-guide-nav a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #1e3a8a;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.lease-guide-nav a:hover {
  background: #dbeafe;
}

.lease-guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.lease-guide-content {
  display: grid;
  gap: 22px;
}

.lease-guide-section {
  scroll-margin-top: 96px;
  padding: clamp(22px, 4vw, 34px);
}

.lease-guide-grid,
.lease-guide-split {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.lease-guide-grid--2,
.lease-guide-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lease-guide-mini-card {
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  color: #334155;
  line-height: 1.58;
}

.lease-guide-mini-card p:last-child,
.lease-guide-section p:last-child {
  margin-bottom: 0;
}

.lease-guide-page ul,
.lease-guide-page ol {
  color: #334155;
  line-height: 1.62;
}

.lease-guide-page li + li {
  margin-top: 8px;
}

.lease-guide-steps {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
  counter-reset: lease-step;
}

.lease-guide-steps li {
  counter-increment: lease-step;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
}

.lease-guide-steps li::before {
  content: counter(lease-step);
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #1346d8;
  color: #ffffff;
  font-size: 0.9rem;
  flex: 0 0 auto;
}

.lease-guide-checklist {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.lease-guide-checklist--columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lease-guide-checklist li {
  position: relative;
  padding-left: 28px;
}

.lease-guide-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #14532d;
  font-weight: 900;
}

.lease-guide-callout,
.lease-guide-note {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
  line-height: 1.6;
  font-weight: 700;
}

.lease-guide-note {
  border-color: #fde68a;
  background: #fffbeb;
  color: #7c2d12;
  font-weight: 600;
}

.lease-guide-faq {
  display: grid;
  gap: 12px;
}

.lease-guide-faq details {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  padding: 16px 18px;
}

.lease-guide-faq summary {
  cursor: pointer;
  color: #0f172a;
  font-weight: 800;
}

.lease-guide-faq p {
  margin: 12px 0 0;
}

.lease-guide-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 16px;
}

.lease-guide-sidebar__card {
  padding: 20px;
}

.lease-guide-sidebar__card a:not(.btn-primary) {
  display: block;
  padding: 11px 0;
  border-top: 1px solid #e2e8f0;
  color: #1346d8;
  font-weight: 700;
  text-decoration: none;
}

.lease-guide-sidebar__card a:not(.btn-primary):hover {
  text-decoration: underline;
}

.lease-guide-sidebar__card--strong {
  background: #0f2f6e;
}

.lease-guide-sidebar__card--strong h3,
.lease-guide-sidebar__card--strong p {
  color: #ffffff;
}

.lease-guide-contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 28px;
  padding: 22px;
}

.lease-guide-contact .cta-band,
.lease-guide-contact .form-card {
  height: 100%;
}

.lease-guide-contact .form-actions {
  align-items: start;
}

@media (max-width: 980px) {
  .lease-guide-hero,
  .lease-guide-layout,
  .lease-guide-contact {
    grid-template-columns: 1fr;
  }

  .lease-guide-sidebar {
    position: static;
  }

  .lease-guide-nav {
    position: static;
  }
}

@media (max-width: 720px) {
  .lease-guide-shell {
    width: min(100% - 32px, 1180px);
  }

  .lease-guide-page .breadcrumbs {
    padding-left: 0;
  }

  .lease-guide-grid,
  .lease-guide-grid--2,
  .lease-guide-split,
  .lease-guide-checklist--columns {
    grid-template-columns: 1fr;
  }

  .lease-guide-hero__content,
  .lease-guide-hero__card,
  .lease-guide-section,
  .lease-guide-contact {
    border-radius: 14px;
  }

  .lease-guide-contact {
    padding: 16px;
  }
}

  .building-page .building-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .building-page .building-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.9fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 24px;
  }

  .building-page .building-hero > * {
    min-width: 0;
  }

  .building-page .building-main {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.95fr);
    gap: 24px;
    align-items: start;
  }

  .building-page .stack {
    display: grid;
    gap: 24px;
  }

  .building-page h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
    margin: 0 0 14px;
    color: #0f172a;
  }

  .building-page h2 {
    font-size: 1.55rem;
    line-height: 1.2;
    margin: 0 0 14px;
    color: #0f172a;
  }

  .building-page h3 {
    font-size: 1.08rem;
    line-height: 1.25;
    margin: 0 0 10px;
    color: #0f172a;
  }

  .building-page p {
    color: #334155;
    line-height: 1.65;
    margin: 0 0 14px;
  }

  .building-page .lead {
    font-size: 1.05rem;
    color: #475569;
    max-width: 62ch;
  }

  .building-page .pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
  }

.building-page .eyebrow {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: max-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: #e9eefb;
  color: #1346d8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

  .building-page .pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 600;
  }

  .building-page .hero-media {
    position: relative;
    height: 100%;
    min-height: 320px;
    border-radius: 14px;
    overflow: hidden;
  }

  .building-page .hero-image {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
  }

  .building-page .hero-overlay {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.95);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .building-page .hero-overlay-title {
    margin: 0 0 4px;
    font-size: 1.25rem;
    line-height: 1.15;
    font-weight: 700;
    color: #0f172a;
  }

  .building-page .hero-overlay-meta {
    margin: 0;
    font-size: 0.95rem;
    color: #64748b;
  }

  .building-page .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
  }

  .building-page .building-stat {
    padding: 18px;
  }

  .building-page .stat-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 8px;
  }

  .building-page .stat-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 6px;
  }

  .building-page .stat-note {
    color: #64748b;
    font-size: 0.92rem;
    margin: 0;
  }

  .building-page .detail-list {
    display: grid;
    gap: 14px;
  }

  .building-page .detail-row {
    border-top: 1px solid #e2e8f0;
    padding-top: 14px;
  }

  .building-page .detail-row:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .building-page .detail-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 4px;
  }

  .building-page .detail-value {
    color: #0f172a;
    font-weight: 600;
  }

  .building-page .building-link,
  .building-page .back-link {
    color: #1346d8;
    text-decoration: none;
    font-weight: 600;
  }

  .building-page .building-link:hover,
  .building-page .back-link:hover {
    text-decoration: underline;
  }

  .building-page .related-building-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
  }

  .building-page .related-building-card {
    display: grid;
    gap: 5px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
  }

  .building-page .related-building-card:hover {
    border-color: #bfdbfe;
    background: #eff6ff;
    transform: translateY(-1px);
  }

  .building-page .related-building-card__title {
    color: #0f172a;
    font-weight: 800;
    line-height: 1.25;
  }

  .building-page .related-building-card__meta {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .building-page .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .building-page .field {
    margin: 0;
    padding: 14px 16px;
  }

  .building-page .building-form form {
    display: grid;
    gap: 18px;
  }

  .building-page .building-form .btn-row {
    margin-top: 2px;
  }

  .building-page .building-form .form-note {
    margin: -4px 0 0;
    font-size: 13px;
    line-height: 1.45;
  }

  .building-page .mini-list {
    margin: 0;
    padding-left: 18px;
    color: #334155;
  }

  .building-page .mini-list li + li {
    margin-top: 8px;
  }

  @media (max-width: 980px) {
    .building-page .building-hero,
    .building-page .building-main {
      grid-template-columns: 1fr;
    }

    .building-page .stats-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 680px) {
    .building-page .stats-grid,
    .building-page .form-grid {
      grid-template-columns: 1fr;
    }

    .building-page .building-shell {
      padding: 0 16px;
    }

    .building-page .breadcrumbs {
      margin: 0 0 16px;
    }
  }
