/* KEYSTONE — real-estate starter. Deep forest-charcoal ink on warm linen,
   muted brick brand with brass accent. DM Serif Display / Figtree.
   Tokens feed the CMS block library. */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Figtree:wght@400;500;600;700&display=swap');

:root {
  --t-bg: #faf7f1;
  --t-bg-alt: #f1ebdf;
  --t-fg: #1f2823;
  --t-muted: #5c655d;
  --t-brand: #9e4a32;
  --t-brand-fg: #fdf8f2;
  --t-accent: #b58a3e;
  --t-dark-bg: #18211c;
  --t-dark-fg: #f3efe6;
  --t-border: #e2d9c8;
  --t-radius: 8px;
  --t-font-display: "DM Serif Display", Georgia, serif;
  --t-font-body: "Figtree", system-ui, sans-serif;
  --t-maxw: 1120px;
  --t-shadow: 0 4px 22px rgba(31, 40, 35, .08);
  --t-display-weight: 400;
  --t-display-tracking: 0;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--t-font-body); color: var(--t-fg); background: var(--t-bg); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(250, 247, 241, .93);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--t-border);
}
.site-header .bar {
  max-width: var(--t-maxw); margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; gap: 28px;
}
.logo {
  font-family: var(--t-font-display); font-size: 24px; color: var(--t-fg);
  text-decoration: none; letter-spacing: .01em;
}
.logo .mark { color: var(--t-brand); }
.site-nav { display: flex; gap: 24px; margin-left: auto; }
.site-nav a { color: var(--t-muted); text-decoration: none; font-weight: 500; font-size: 15px; letter-spacing: .01em; }
.site-nav a:hover { color: var(--t-brand); }
.header-cta {
  background: var(--t-brand); color: var(--t-brand-fg); font-weight: 600; font-size: 15px;
  padding: 11px 22px; border-radius: var(--t-radius); text-decoration: none;
  border: 1px solid var(--t-brand); box-shadow: 0 6px 18px -10px var(--t-brand);
}
.header-cta:hover { background: #8a4029; border-color: #8a4029; }
/* phones: two-row header instead of hiding the nav (was display:none with no menu; 2026-10-20) */
@media (max-width: 760px) {
  .site-header .bar { flex-wrap: wrap; column-gap: 12px; row-gap: 8px; padding: 12px 16px 10px; }
  .site-nav { display: flex; order: 3; width: 100%; margin-left: 0; gap: 6px 18px; flex-wrap: wrap; }
  .header-cta { margin-left: auto; padding: 9px 14px; font-size: 14px; max-width: 100%; text-align: center; }
  .blk-logomark { white-space: normal; max-width: 100%; text-align: center; } /* long trust badges no longer push the page sideways */
}

/* footer */
.site-footer { background: var(--t-dark-bg); color: var(--t-dark-fg); border-top: 3px solid var(--t-accent); }
.site-footer .inner {
  max-width: var(--t-maxw); margin: 0 auto; padding: 48px 24px;
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
}
.site-footer p { margin: 0; color: #a8b0a6; font-size: 14px; }
.site-footer .foot-logo { font-family: var(--t-font-display); font-size: 20px; color: var(--t-dark-fg); }
.site-footer .foot-logo .mark { color: var(--t-accent); }

/* r2 hero on phones (2026-11-03, Ace voice note on the brand kit: demo heroes looked like the same plain site).
   Photo-over-text heroes (v-overlay) lost their side padding (.v-overlay sets padding:0), so the text touched or ran past
   the screen edge; split heroes showed only text on a plain background above the fold. Desktop (>1180 px) unchanged. */
@media (max-width: 1180px) {
  .blk-hero-split.v-overlay .hero-copy { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 760px) {
  .blk-hero-split.v-overlay .hero-copy { padding: 112px 22px 72px; max-width: 100%; }
  .blk-hero-split.v-overlay .hero-media::after { background: linear-gradient(180deg, rgba(8,10,14,.55) 0%, rgba(8,10,14,.78) 55%, rgba(8,10,14,.9) 100%); }
  .blk-hero-split:not(.v-overlay) { padding-top: 0; }
  .blk-hero-split:not(.v-overlay) .hero-split-grid { gap: 26px; }
  .blk-hero-split:not(.v-overlay) .hero-media { order: -1; margin: 0 -20px; }
  .blk-hero-split:not(.v-overlay) .hero-media img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 0; }
  .blk-hero-split:not(.v-overlay) .hero-media::after { display: none; }
  .blk-hero-split .blk-display { overflow-wrap: break-word; }
}
/* r2: ghost button on a photo hero was dark-on-dark on light themes (Vega "Meet our team" was invisible) */
.blk-hero-split.v-overlay:not(.bg-dark) .blk-btn.ghost { color: #fff; border-color: rgba(255,255,255,.7); }
/* r2: a photo hero fills the phone screen, text sits low over the photo */
@media (max-width: 760px) {
  .blk-hero-split.v-overlay .hero-copy { min-height: 86svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 72px; }
}
