/* RentReady — deep navy + amber editorial design system */

:root {
  --navy-900: #0b1d35;
  --navy-800: #0f2747;
  --navy-700: #16345e;
  --navy-200: #d6dde8;
  --navy-100: #eaf0f8;
  --amber-600: #b97818;
  --amber-500: #d4943a;
  --amber-400: #e6b46a;
  --amber-100: #fbeed1;
  --cream: #faf6ef;
  --cream-2: #f3ecde;
  --ink: #1a2332;
  --ink-soft: #4a5568;
  --ink-muted: #6b7280;
  --hairline: #e3dccd;
  --hairline-strong: #cfc6b3;
  --sage: #6b7e6b;
  --danger: #b54328;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(11,29,53,.06), 0 1px 1px rgba(11,29,53,.04);
  --shadow-md: 0 6px 18px -8px rgba(11,29,53,.18), 0 2px 4px rgba(11,29,53,.06);
  --shadow-lg: 0 18px 40px -16px rgba(11,29,53,.22), 0 4px 10px rgba(11,29,53,.06);
  --radius: 10px;
  --radius-lg: 16px;
  --maxw: 1200px;
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Source+Serif+4:wght@600;700&display=swap');

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--navy-700); text-decoration: underline; text-decoration-color: rgba(22,52,94,.25); text-underline-offset: 2px; }
a:hover { color: var(--amber-600); text-decoration-color: var(--amber-500); }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy-900); letter-spacing: -0.01em; line-height: 1.18; margin: 0 0 .55em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -.022em; line-height: 1.08; }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-top: 2.2rem; }
h3 { font-size: 1.18rem; margin-top: 1.6rem; font-weight: 700; }
h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); font-family: var(--sans); font-weight: 700; }

p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.4rem; }
li { margin-bottom: .35rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 18px; } }

.muted { color: var(--ink-muted); }

/* ───── Header ───── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(6px);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  padding: 14px 24px;
  max-width: var(--maxw); margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); flex-shrink: 0; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: var(--amber-400); font-weight: 800; font-size: .82rem; letter-spacing: .04em;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.18), 0 1px 2px rgba(11,29,53,.2);
}
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.18rem; letter-spacing: -.01em; color: var(--navy-900); }
.site-nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.site-nav a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .94rem;
  padding: 6px 0; position: relative;
}
.site-nav a:hover { color: var(--navy-800); }
.site-nav a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--amber-500); border-radius: 2px;
}

@media (max-width: 880px) {
  .header-inner { flex-wrap: wrap; gap: 12px; padding: 12px 18px; }
  .site-nav { width: 100%; gap: 14px; margin-left: 0; font-size: .88rem; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .site-nav a { white-space: nowrap; }
}

/* ───── Hero ───── */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(212,148,58,.18), transparent 60%),
    radial-gradient(900px 400px at 0% 110%, rgba(15,39,71,.06), transparent 60%),
    linear-gradient(180deg, var(--cream-2), var(--cream));
  border-bottom: 1px solid var(--hairline);
  padding: 64px 0 56px;
}
.hero--narrow { padding: 48px 0 36px; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .9fr; gap: 56px; align-items: center;
}
.hero h1 { color: var(--navy-900); }
.hero .lede { font-size: 1.13rem; color: var(--ink-soft); max-width: 56ch; margin-bottom: 1.5rem; }

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
  outline: 1px solid var(--hairline);
}
.hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.hero-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11,29,53,.08));
  pointer-events: none;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 44px 0 36px; }
  .hero-image { max-width: 560px; margin: 0 auto; }
}

/* ───── Search bar ───── */
.search {
  margin-top: 26px;
  background: var(--white);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow-md), inset 0 0 0 1px var(--hairline);
  display: flex; align-items: stretch;
  max-width: 560px;
}
.search input[type="search"] {
  flex: 1; min-width: 0;
  border: 0; outline: 0;
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px;
  background: transparent;
}
.search input[type="search"]::placeholder { color: var(--ink-muted); }
.search button {
  border: 0;
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: var(--white);
  font: inherit; font-weight: 600; font-size: .96rem;
  padding: 0 22px; border-radius: 10px;
  cursor: pointer; letter-spacing: .01em;
  display: inline-flex; align-items: center; gap: 8px;
}
.search button:hover { background: linear-gradient(180deg, var(--navy-700), var(--navy-800)); }
.search-hint { color: var(--ink-muted); font-size: .85rem; margin-top: 8px; }
.search-hint a { color: var(--ink-soft); }

/* ───── Buttons ───── */
.button {
  display: inline-block;
  background: var(--navy-800); color: var(--white) !important;
  text-decoration: none !important;
  padding: 11px 22px; border-radius: 8px;
  font-weight: 600; font-size: .96rem;
  border: 1px solid var(--navy-800);
  transition: background .12s, transform .05s;
  margin-right: 8px;
}
.button:hover { background: var(--navy-700); border-color: var(--navy-700); color: var(--white) !important; }
.button:active { transform: translateY(1px); }
.button--ghost {
  background: transparent; color: var(--navy-800) !important;
  border: 1px solid var(--hairline-strong);
}
.button--ghost:hover { background: var(--white); border-color: var(--navy-700); color: var(--navy-800) !important; }
.button--amber {
  background: var(--amber-500); border-color: var(--amber-500); color: var(--navy-900) !important;
}
.button--amber:hover { background: var(--amber-400); border-color: var(--amber-400); color: var(--navy-900) !important; }

/* ───── Stat bar ───── */
.stats {
  margin-top: 28px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  max-width: 720px;
}
.stat {
  background: var(--white);
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.stat::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px;
  background: var(--amber-500); border-radius: 0 3px 3px 0;
}
.stat-number {
  font-family: var(--serif); font-weight: 700; font-size: 1.55rem;
  color: var(--navy-900); line-height: 1.05; padding-left: 8px;
}
.stat-label {
  margin-top: 4px; font-size: .78rem; color: var(--ink-muted);
  text-transform: uppercase; letter-spacing: .08em; padding-left: 8px; font-weight: 600;
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

.statbar {
  background: var(--navy-900);
  color: var(--cream);
  padding: 28px 0;
  border-bottom: 4px solid var(--amber-500);
}
.statbar-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: left;
}
.statbar .num {
  font-family: var(--serif); font-size: 2.2rem; font-weight: 700;
  color: var(--amber-400); line-height: 1;
}
.statbar .lab {
  margin-top: 6px; color: rgba(250,246,239,.75);
  text-transform: uppercase; font-size: .76rem; letter-spacing: .12em; font-weight: 600;
}
@media (max-width: 720px) {
  .statbar-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .statbar .num { font-size: 1.7rem; }
}

/* ───── Sections ───── */
.section { padding: 56px 0; }
.section + .section { padding-top: 0; }
.section--alt { background: var(--white); border-block: 1px solid var(--hairline); }
.section-header {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 26px; gap: 20px; flex-wrap: wrap;
}
.section-header h2 { margin: 0; }
.section-header .more { font-weight: 600; color: var(--navy-700); white-space: nowrap; }
.eyebrow {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--amber-600); margin-bottom: 10px;
}

/* ───── Tile / Card grids ───── */
.tile-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.tile {
  display: block; padding: 18px 18px 16px;
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--radius); text-decoration: none; color: inherit;
  transition: transform .1s ease, box-shadow .15s ease, border-color .15s;
  position: relative; overflow: hidden;
}
.tile::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--amber-500); transform: scaleY(0); transform-origin: top;
  transition: transform .18s ease;
}
.tile:hover {
  border-color: var(--navy-200); box-shadow: var(--shadow-md); transform: translateY(-1px);
}
.tile:hover::before { transform: scaleY(1); }
.tile-name { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; color: var(--navy-900); margin-bottom: 4px; }
.tile-meta { font-size: .85rem; color: var(--ink-muted); }

/* ───── Two-column layout ───── */
.with-sidebar {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start;
}
@media (max-width: 980px) {
  .with-sidebar { grid-template-columns: 1fr; gap: 36px; }
}

.article {
  background: transparent; max-width: 70ch;
}
.article p, .article li { color: var(--ink-soft); font-size: 1.02rem; }
.article h2, .article h3 { color: var(--navy-900); }
.article h2 { border-bottom: 1px solid var(--hairline); padding-bottom: 8px; }

/* ───── Sidebar cards ───── */
.sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 84px; }
@media (max-width: 980px) { .sidebar { position: static; } }
.card {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow-sm);
}
.card h3 {
  margin: 0 0 10px; font-size: .82rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft); font-family: var(--sans); font-weight: 700;
  padding-bottom: 8px; border-bottom: 1px solid var(--hairline);
}
.card ul { list-style: none; padding: 0; margin: 0; }
.card li { margin: 0; padding: 7px 0; border-bottom: 1px dashed var(--hairline); }
.card li:last-child { border-bottom: 0; }
.card a { text-decoration: none; color: var(--navy-800); font-size: .94rem; font-weight: 500; }
.card a:hover { color: var(--amber-600); }

/* Recommended (PBN) editorial block */
.reco {
  background: linear-gradient(180deg, var(--white), var(--cream));
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--amber-500);
  border-radius: var(--radius);
  padding: 18px 18px 14px;
  box-shadow: var(--shadow-sm);
}
.reco-title {
  font-family: var(--sans); font-weight: 700; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--amber-600);
  margin-bottom: 10px;
}
.reco-sub { color: var(--ink-muted); font-size: .85rem; margin: -4px 0 12px; }
.reco-list { list-style: none; padding: 0; margin: 0; }
.reco-list li {
  padding: 9px 0; border-bottom: 1px solid var(--hairline); margin: 0;
}
.reco-list li:last-child { border-bottom: 0; }
.reco-list a, .reco-list li > span {
  color: var(--navy-800); text-decoration: none; font-weight: 600; font-size: .94rem;
  display: block;
}
.reco-list a:hover { color: var(--amber-600); }
.reco-list .blurb { display: block; color: var(--ink-muted); font-weight: 400; font-size: .82rem; margin-top: 2px; }

/* In-content recommendation strip */
.reco--inline {
  margin: 28px 0;
  background: var(--cream-2);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--amber-500);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center;
}
.reco--inline .reco-title { margin: 0 0 4px; }
.reco--inline a { font-weight: 600; }
@media (max-width: 640px) {
  .reco--inline { grid-template-columns: 1fr; }
}

/* ───── Listings ───── */
.listing {
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
}
.listing:last-child { border-bottom: 0; }
.listing-row { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: start; }
.listing h3 { margin: 0 0 4px; font-size: 1.08rem; }
.listing h3 a { color: var(--navy-900); text-decoration: none; }
.listing h3 a:hover { color: var(--amber-600); }
.listing-addr { color: var(--ink-soft); font-size: .92rem; margin-bottom: 8px; }
.listing-units {
  background: var(--navy-100); color: var(--navy-800);
  padding: 6px 12px; border-radius: 6px; font-weight: 600; font-size: .88rem;
  white-space: nowrap;
}

.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.badge {
  display: inline-block; background: var(--cream-2); color: var(--ink-soft);
  border: 1px solid var(--hairline);
  font-size: .76rem; padding: 3px 9px; border-radius: 999px; font-weight: 600;
  letter-spacing: .01em;
}
.badge--hud { background: var(--navy-100); color: var(--navy-800); border-color: transparent; }
.badge--gold { background: var(--amber-100); color: var(--amber-600); border-color: transparent; }

/* ───── Property header ───── */
.prop-header {
  background:
    radial-gradient(900px 400px at 95% -20%, rgba(212,148,58,.18), transparent 60%),
    linear-gradient(180deg, var(--cream-2), var(--cream));
  padding: 44px 0 36px;
  border-bottom: 1px solid var(--hairline);
}
.prop-header h1 { color: var(--navy-900); margin-bottom: 8px; }
.prop-header .lede { color: var(--ink-soft); font-size: 1.04rem; margin-bottom: 14px; }
.prop-meta-grid {
  margin: 22px 0 18px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 760px;
}
@media (max-width: 720px) { .prop-meta-grid { grid-template-columns: repeat(2, 1fr); } }

/* ───── Pagination ───── */
.pagination {
  display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0;
}
.pagination a, .pagination .current {
  display: inline-block; padding: 7px 12px;
  border: 1px solid var(--hairline); border-radius: 6px;
  text-decoration: none; color: var(--navy-700); font-weight: 600; font-size: .9rem;
  background: var(--white); min-width: 38px; text-align: center;
}
.pagination a:hover { background: var(--cream-2); color: var(--navy-900); border-color: var(--hairline-strong); }
.pagination .current {
  background: var(--navy-800); color: var(--white); border-color: var(--navy-800);
}

/* ───── Tables / KV ───── */
.table-wrap { overflow-x: auto; margin: 8px 0 18px; }
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td { padding: 10px 12px; border-bottom: 1px solid var(--hairline); text-align: left; }
table.data th { background: var(--cream-2); font-weight: 600; color: var(--navy-900); font-size: .88rem; }

.kv { display: grid; grid-template-columns: 1fr 1.5fr; gap: 6px 14px; margin: 0; font-size: .92rem; }
.kv dt { color: var(--ink-muted); font-weight: 500; }
.kv dd { margin: 0; color: var(--ink); font-weight: 500; }

/* ───── Breadcrumbs ───── */
.breadcrumbs {
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
  font-size: .85rem; padding: 10px 0; color: var(--ink-muted);
}
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--amber-600); }
.breadcrumbs .sep { margin: 0 8px; color: var(--hairline-strong); }
.breadcrumbs [aria-current="page"] { color: var(--navy-900); font-weight: 500; }

/* ───── AdSlot ───── */
.adslot {
  background: var(--cream-2); border: 1px dashed var(--hairline-strong);
  color: var(--ink-muted); font-size: .75rem; text-align: center;
  padding: 18px; border-radius: var(--radius); text-transform: uppercase; letter-spacing: .12em;
}

/* ───── Footer ───── */
.site-footer {
  margin-top: 56px;
  background: var(--navy-900); color: rgba(250,246,239,.85);
  padding: 48px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 36px;
}
.footer-grid h4 {
  color: var(--amber-400); font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 14px; font-weight: 700;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 7px 0; }
.footer-grid a { color: rgba(250,246,239,.78); text-decoration: none; font-size: .92rem; }
.footer-grid a:hover { color: var(--amber-400); }
.footer-grid .brand-name { color: var(--cream); }
.footer-grid .muted { color: rgba(250,246,239,.55); font-size: .88rem; }

.footer-reco {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-left: 3px solid var(--amber-500);
  padding: 14px 16px; border-radius: var(--radius);
}
.footer-reco h4 { margin-top: 0; }
.footer-reco a, .footer-reco > span { display: block; padding: 4px 0; color: rgba(250,246,239,.85); font-weight: 500; font-size: .9rem; }
.footer-reco a:hover { color: var(--amber-400); }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.subfooter {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 36px; padding: 18px 24px;
  font-size: .82rem; color: rgba(250,246,239,.55);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  max-width: var(--maxw); margin-inline: auto;
}
.subfooter a { color: rgba(250,246,239,.7); }

/* ───── Search results ───── */
.results-list { list-style: none; padding: 0; margin: 24px 0; }
.results-list li {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.results-list a { font-weight: 600; color: var(--navy-800); text-decoration: none; }
.results-list a:hover { color: var(--amber-600); }
.results-list .meta { color: var(--ink-muted); font-size: .86rem; }
.results-empty { background: var(--white); border: 1px dashed var(--hairline-strong); border-radius: var(--radius); padding: 32px; text-align: center; color: var(--ink-soft); }

/* Misc utility */
.muted { color: var(--ink-muted); }
.divider { height: 1px; background: var(--hairline); margin: 24px 0; }

/* Print niceties */
@media print {
  .site-header, .site-footer, .adslot, .reco { display: none; }
}
