:root {
  --primary: #1A2B5E;
  --secondary: #2E3D7A;
  --accent: #B8972C;
  --surface: #F8F9FB;
  --foreground: #0D1426;
  --muted: #7A8AAE;
  --danger: #B71C1C;
  --success: #1B5E20;
  --heading-font: &#34;Merriweather&#34;, Georgia, serif;
  --body-font: &#34;Inter&#34;, system-ui, sans-serif;
  --mono-font: &#34;JetBrains Mono&#34;, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--body-font);
  color: var(--foreground);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--heading-font); color: var(--foreground); margin: 0 0 0.5em; line-height: 1.25; }

/* ─── Layout ─────────────────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

/* ─── Header ─────────────────────────────────────────────────── */
.cu-header {
  background: var(--primary);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.cu-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cu-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--surface);
  text-decoration: none;
}
.cu-brand:hover { text-decoration: none; opacity: 0.9; }
.cu-brand img { height: 34px; width: auto; border-radius: 4px; }
.cu-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.cu-nav a {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.94rem;
}
.cu-nav a:hover { color: var(--surface); text-decoration: none; }
.cu-nav .cu-nav__cta {
  background: var(--accent);
  color: var(--foreground);
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-weight: 700;
}

/* ─── Hero ───────────────────────────────────────────────────── */
.cu-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--surface);
  padding: 5rem 0 4rem;
}
.cu-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--surface);
  margin-bottom: 0.6rem;
}
.cu-hero__tagline {
  font-size: 1.1rem;
  max-width: 600px;
  opacity: 0.9;
  margin-bottom: 2rem;
}
.cu-hero__cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ─── Buttons ────────────────────────────────────────────────── */
.cu-btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, transform 0.1s;
  text-decoration: none;
}
.cu-btn:hover { opacity: 0.88; transform: translateY(-1px); text-decoration: none; }
.cu-btn--primary { background: var(--accent); color: var(--foreground); }
.cu-btn--outline {
  background: transparent;
  color: var(--surface);
  border: 2px solid rgba(255,255,255,0.7);
}
.cu-btn--outline:hover { border-color: var(--surface); }
.cu-btn--dark { background: var(--primary); color: var(--surface); }

/* ─── Sections ───────────────────────────────────────────────── */
.cu-section { padding: 3.5rem 0; }
.cu-section--alt { background: rgba(0,0,0,0.025); }
.cu-section__title {
  font-size: 1.65rem;
  margin-bottom: 0.4rem;
}
.cu-section__subtitle {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* ─── Listing grid ───────────────────────────────────────────── */
.cu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* ─── Listing card ───────────────────────────────────────────── */
.cu-listing-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  background: var(--surface);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s, transform 0.15s;
}
.cu-listing-card:hover {
  box-shadow: 0 8px 22px rgba(0,0,0,0.09);
  transform: translateY(-2px);
  text-decoration: none;
}
.cu-listing-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--muted);
  opacity: 0.15;
}
.cu-listing-card__img--empty {
  background: linear-gradient(135deg, var(--muted) 0%, rgba(0,0,0,0.05) 100%);
  aspect-ratio: 16 / 9;
}
.cu-listing-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cu-listing-card__body { padding: 1rem; flex: 1; }
.cu-listing-card__title {
  font-size: 1rem;
  font-family: var(--heading-font);
  color: var(--foreground);
  margin-bottom: 0.4rem;
}
.cu-listing-card__meta { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.4rem; }

/* ─── Pills ──────────────────────────────────────────────────── */
.cu-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(0,0,0,0.06);
  color: var(--foreground);
}
.cu-pill--sm { font-size: 0.7rem; padding: 0.15rem 0.4rem; }
.cu-pill--strong { background: var(--accent); color: var(--foreground); }
.cu-pill--accent { background: var(--accent); }
.cu-pill--status { text-transform: uppercase; letter-spacing: 0.04em; }
.cu-pill--status-active { background: #D1FAE5; color: #065F46; }
.cu-pill--status-leased { background: #FEE2E2; color: #991B1B; }
.cu-pill--status-draft  { background: #FEF3C7; color: #92400E; }

/* ─── Contact form ───────────────────────────────────────────── */
.cu-contact-section {
  background: var(--surface);
  padding: 3.5rem 0;
}
.cu-form { display: flex; flex-direction: column; gap: 1rem; max-width: 480px; }
.cu-label { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.15rem; display: block; }
.cu-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid rgba(0,0,0,0.15);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--body-font);
  background: var(--surface);
  color: var(--foreground);
  transition: border-color 0.15s;
}
.cu-input:focus { outline: none; border-color: var(--primary); }
textarea.cu-input { resize: vertical; }
.cu-form__feedback { font-size: 0.88rem; color: var(--success); min-height: 1.2em; }
.cu-form__feedback--error { color: var(--danger); }

/* ─── Listing detail ─────────────────────────────────────────── */
.cu-detail { padding: 2.5rem 0 4rem; }
.cu-detail__back { margin-bottom: 1.5rem; }
.cu-detail__back a { color: var(--muted); font-size: 0.9rem; }
.cu-detail__back a:hover { color: var(--primary); }
.cu-gallery { margin-bottom: 2rem; border-radius: 12px; overflow: hidden; background: rgba(0,0,0,0.04); }
.cu-gallery__main { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cu-gallery__thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
  overflow-x: auto;
}
.cu-gallery__thumb {
  flex-shrink: 0;
  width: 72px;
  height: 54px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: none;
}
.cu-gallery__thumb:hover { border-color: var(--accent); }
.cu-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cu-gallery--empty {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.cu-detail__title { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.4rem; }
.cu-detail__pills { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 0.6rem 0 1.2rem; }
.cu-detail__desc {
  color: var(--foreground);
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 1.5rem;
  white-space: pre-line;
}
.cu-detail__avail { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.cu-detail__inquiry { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(0,0,0,0.08); }
.cu-detail__inquiry h2 { font-size: 1.3rem; margin-bottom: 1.25rem; }
.cu-breadcrumb { margin-bottom: 0.4rem; font-size: 0.88rem; color: var(--muted); display: flex; gap: 0.4rem; align-items: center; }
.cu-breadcrumb a { color: var(--muted); }

/* ─── Empty / error states ───────────────────────────────────── */
.cu-empty {
  text-align: center;
  padding: 2.5rem;
  color: var(--muted);
  border: 1.5px dashed rgba(0,0,0,0.1);
  border-radius: 10px;
}
.cu-empty--error { color: var(--danger); border-color: rgba(198,40,40,0.2); }

/* ─── Footer ─────────────────────────────────────────────────── */
.cu-footer {
  background: var(--secondary);
  color: var(--surface);
  padding: 2.5rem 0;
  margin-top: 3rem;
  font-size: 0.9rem;
}
.cu-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}
.cu-footer h4 { color: var(--surface); margin-bottom: 0.5rem; font-size: 0.95rem; }
.cu-footer a { color: var(--accent); }
.cu-footer p { color: rgba(255,255,255,0.75); line-height: 1.5; }

/* ─── Build tag (locked 2026-05-03) ─────────────────────────── */
.tc-build-tag {
  position: fixed;
  bottom: 8px;
  left: 12px;
  font-size: 10px;
  color: #9ca3af;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  user-select: none;
  pointer-events: none;
  z-index: 5;
  opacity: 0.7;
  letter-spacing: 0.02em;
}
@media print { .tc-build-tag { display: none; } }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  .cu-header__inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .cu-nav { gap: 0.75rem; }
  .cu-hero { padding: 3rem 0 2.5rem; }
  .cu-hero__title { font-size: 1.7rem; }
  .tc-build-tag { font-size: 9px; bottom: 4px; left: 6px; opacity: 0.5; }
}
