/* ============================================================
   Awbrey + Duerst | Compass
   Black and white luxury system. Compass brand typography.
   ============================================================ */

@font-face { font-family: 'Compass Serif'; src: url('fonts/CompassSerif-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Compass Serif'; src: url('fonts/CompassSerif-Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Compass Serif'; src: url('fonts/CompassSerif-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Compass Display'; src: url('fonts/CompassDisplay-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Compass Sans'; src: url('fonts/CompassSans-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Compass Sans'; src: url('fonts/CompassSans-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Compass Sans'; src: url('fonts/CompassSans-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Compass Sans'; src: url('fonts/CompassSans-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'GT Pressura Mono'; src: url('fonts/GT-Pressura-Mono-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --ink: #101010;
  --black: #0b0b0b;
  --paper: #ffffff;
  --smoke: #f5f4f1;
  --line: #e4e2dd;
  --line-dark: #2c2c2c;
  --gray: #6d6d6d;
  --gray-light: #a8a8a8;
  --serif: 'Compass Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Compass Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'GT Pressura Mono', 'Courier New', monospace;
  --max: 1200px;
  --pad: clamp(20px, 5vw, 56px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gray);
  display: block;
  margin-bottom: 22px;
}
.on-dark .eyebrow, .eyebrow.light { color: var(--gray-light); }

/* ---------- Headings ---------- */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 24px; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin-bottom: 14px; }
p + p { margin-top: 1.2em; }

/* ---------- Header ---------- */
header.site {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}

/* Transparent header floating over the homepage hero */
header.site.overlay {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
header.site.overlay:not(.scrolled) img.logo,
header.site.overlay:not(.scrolled) img.team-logo { filter: invert(1) brightness(1.9); }
header.site.overlay:not(.scrolled) .logo-divider { background: rgba(255,255,255,0.35); }
header.site.overlay:not(.scrolled) nav.primary a { color: #fff; }
header.site.overlay:not(.scrolled) nav.primary a:hover,
header.site.overlay:not(.scrolled) nav.primary a.active { border-bottom-color: #fff; }
header.site.overlay:not(.scrolled) nav.primary a.cta {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 999px;
}
header.site.overlay:not(.scrolled) nav.primary a.cta:hover { background: #fff; color: var(--ink); }
header.site.overlay:not(.scrolled) .nav-toggle span { background: #fff; }
header.site.overlay.scrolled {
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 30px rgba(0,0,0,0.06);
}
body.has-overlay .hero.full { min-height: 100vh; min-height: 100svh; padding-top: 84px; }
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand { text-decoration: none; line-height: 1.2; display: flex; align-items: center; gap: 14px; }
.brand img.logo { height: 30.6px; width: auto; display: block; }
.brand img.team-logo { height: 40px; width: auto; display: block; }
.logo-divider { width: 1px; height: 26px; background: var(--line); flex-shrink: 0; }
@media (max-width: 560px) {
  .brand img.logo { height: 23.4px; }
  .brand img.team-logo { height: 30px; }
  .logo-divider { height: 20px; }
}
nav.primary { display: flex; gap: 34px; align-items: center; }
nav.primary a {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
nav.primary a:hover, nav.primary a.active { border-bottom-color: var(--ink); }
nav.primary a.cta {
  border: 1px solid var(--ink);
  padding: 12px 26px;
}
nav.primary a.cta:hover { background: var(--ink); color: #fff; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 1px; background: var(--ink); margin: 7px 0; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  nav.primary {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 12px 0 24px;
  }
  nav.primary.open { display: flex; }
  nav.primary a { padding: 14px 0; }
  nav.primary a.cta { margin-top: 10px; }
}

/* ---------- Hero (carousel) ---------- */
.hero {
  background: var(--black);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero .slides { position: absolute; inset: 0; }
.hero .slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 2.2s ease, transform 9s linear;
}
.hero .slide.on { opacity: 1; transform: scale(1); }
.hero .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(5,5,5,0.82) 0%, rgba(5,5,5,0.55) 45%, rgba(5,5,5,0.25) 100%);
}
.hero .dots { position: absolute; bottom: 34px; left: 0; right: 0; display: flex; gap: 10px; justify-content: center; z-index: 3; }
.hero .dots button {
  width: 34px; height: 3px; border: none; cursor: pointer;
  background: rgba(255,255,255,0.35); border-radius: 2px; padding: 0;
}
.hero .dots button.on { background: #fff; }
.hero.full {
  min-height: calc(100vh - 84px);
  min-height: calc(100svh - 84px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 7vh, 90px) var(--pad) clamp(64px, 9vh, 110px);
}
.hero h1 { max-width: 21ch; font-size: clamp(1.9rem, 3.3vw, 3.1rem); }
.hero .lede { max-width: 560px; margin-top: 22px; color: #d6d6d6; font-size: clamp(15.5px, 1.2vw, 17.5px); }
.hero .actions { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 8px 30px rgba(0,0,0,0.18);
  transition: background .25s, color .25s, border-color .25s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn.solid-light, .btn.ghost-light { color: #fff; }
.btn.solid-light { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.65); }
.btn.solid-light:hover { background: #fff; color: var(--ink); }
.btn.ghost-light:hover { background: rgba(255,255,255,0.3); }
.btn.solid-dark, .btn.ghost-dark {
  color: var(--ink);
  border-color: rgba(16,16,16,0.3);
  background: rgba(16,16,16,0.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 8px 24px rgba(0,0,0,0.08);
}
.btn.solid-dark { background: rgba(16,16,16,0.85); color: #fff; border-color: rgba(16,16,16,0.85); }
.btn.solid-dark:hover { background: var(--ink); }
.btn.ghost-dark:hover { background: rgba(16,16,16,0.1); }

/* ---------- Stats strip ---------- */
.stats { border-bottom: 1px solid var(--line); }
.stats-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat { padding: 40px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat .num { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); }
.stat .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gray); margin-top: 8px; }
@media (max-width: 760px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat, .stat:first-child { border-left: none; padding: 26px 0; border-top: 1px solid var(--line); }
  .stats-inner .stat:nth-child(-n+2) { border-top: none; }
}

/* ---------- Sections ---------- */
section.block { padding: clamp(70px, 10vw, 120px) 0; }
section.block.tint { background: var(--smoke); }
section.block.dark { background: var(--black); color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 70px); }

/* ---------- Community panels ---------- */
.communities { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); }
@media (max-width: 860px) { .communities { grid-template-columns: 1fr; } }
.community {
  background: var(--paper);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(20,18,14,0.05), 0 24px 60px rgba(20,18,14,0.10);
  transition: transform .3s ease, box-shadow .3s ease;
}
.community:hover { transform: translateY(-6px); box-shadow: 0 4px 10px rgba(20,18,14,0.06), 0 34px 80px rgba(20,18,14,0.16); }
.community .photo { aspect-ratio: 16 / 10; overflow: hidden; }
.community .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.community:hover .photo img { transform: scale(1.05); }
.community .body { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; flex: 1; }
.community .locale { font-family: var(--mono); font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gray); }
.community h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 14px 0 12px; }
.community .agent-tag {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--ink);
  background: var(--smoke);
}
.community p { color: var(--gray); font-size: 15.5px; }
.community .more { margin-top: auto; padding-top: 26px; font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.community .more::after { content: '  \2192'; }

/* ---------- Feature list ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { border-top: 1px solid var(--line-dark); padding-top: 26px; }
.block:not(.dark) .feature { border-top-color: var(--ink); }
.feature .idx { font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; color: var(--gray-light); }
.feature h3 { margin-top: 14px; }
.feature p { font-size: 15.5px; color: var(--gray); }
.dark .feature p { color: #b9b9b9; }

/* ---------- Quote band (rotating) ---------- */
.quoteband { text-align: center; }
.quoteband .qwrap { position: relative; }
.quoteband .qslide {
  opacity: 0;
  transition: opacity 1.1s ease;
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  pointer-events: none;
}
.quoteband .qslide.on { opacity: 1; position: relative; pointer-events: auto; }
.quoteband blockquote { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.35; max-width: 850px; margin: 0 auto; }
.quoteband figcaption, .quoteband cite { display: block; margin-top: 28px; font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gray-light); }

/* ---------- Testimonials ---------- */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 32px); }
@media (max-width: 980px) { .t-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 660px) { .t-grid { grid-template-columns: 1fr; } }
.t-card {
  background: var(--paper);
  padding: 38px 32px;
  display: flex; flex-direction: column;
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(20,18,14,0.05), 0 18px 46px rgba(20,18,14,0.08);
}
.t-card .stars { font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; color: var(--ink); }
.t-card p { font-size: 15.5px; margin: 18px 0 22px; color: #3a3a3a; }
.t-card .who { margin-top: auto; font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.t-card .rating { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--gray); margin-top: 4px; }

/* ---------- Agent cards ---------- */
.agents { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); }
@media (max-width: 860px) { .agents { grid-template-columns: 1fr; } }
.agent .portrait {
  aspect-ratio: 4 / 5;
  background: var(--black);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  margin-bottom: 28px;
  border-radius: 18px;
  box-shadow: 0 2px 6px rgba(20,18,14,0.06), 0 24px 60px rgba(20,18,14,0.12);
}
.agent .portrait img { width: 100%; height: 100%; object-fit: cover; }
.agent .portrait .initials { font-family: var(--serif); font-size: clamp(4rem, 9vw, 7rem); letter-spacing: 0.06em; }
.agent .specialty {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.agent h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.agent .role { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gray); margin: 10px 0 18px; }
.agent p { font-size: 16px; color: #3a3a3a; }
.agent .meta { margin-top: 20px; font-size: 14.5px; line-height: 2; }
.agent .meta a { text-decoration: none; border-bottom: 1px solid var(--line); }
.agent .meta a:hover { border-bottom-color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 90px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; }
.contact-list li { border-top: 1px solid var(--line); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: baseline; }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gray); }
.contact-list .v { font-size: 17px; }
.contact-list .v a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-list .v a:hover { border-bottom-color: var(--ink); }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 32px); }
@media (max-width: 980px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 660px) { .post-grid { grid-template-columns: 1fr; } }
.post-card {
  background: var(--paper);
  text-decoration: none;
  display: flex; flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(20,18,14,0.05), 0 18px 46px rgba(20,18,14,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: 0 4px 10px rgba(20,18,14,0.06), 0 28px 64px rgba(20,18,14,0.14); }
.post-card .photo { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.post-card:hover .photo img { transform: scale(1.05); }
.post-card .body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.post-card .tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gray); }
.post-card h3 { margin: 14px 0 12px; font-size: 1.25rem; }
.post-card p { font-size: 14.5px; color: var(--gray); }
.post-card .read { margin-top: auto; padding-top: 22px; font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.post-card .read::after { content: '  \2192'; }

/* ---------- Article ---------- */
article.post { padding: clamp(60px, 9vw, 110px) 0; }
article.post .kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gray); margin-bottom: 24px; display: block; }
article.post h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin-bottom: 26px; }
article.post .byline { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gray); border-bottom: 1px solid var(--line); padding-bottom: 30px; margin-bottom: 44px; }
article.post .answer {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.5;
  border-left: 2px solid var(--ink);
  padding-left: 26px;
  margin-bottom: 40px;
}
article.post h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 54px 0 18px; }
article.post h3 { font-size: 1.2rem; margin: 36px 0 12px; }
article.post ul, article.post ol { margin: 18px 0 18px 22px; }
article.post li { margin-bottom: 10px; font-size: 16.5px; }
article.post p { font-size: 16.5px; }
.faq { border-top: 1px solid var(--ink); margin-top: 60px; padding-top: 12px; }
.faq h2 { margin-top: 30px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.15rem;
  padding: 22px 40px 22px 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 20px; font-family: var(--mono); font-size: 18px; color: var(--gray); }
.faq details[open] summary::after { content: '\2013'; }
.faq details p { padding: 0 0 24px; color: #3a3a3a; font-size: 16px; }
.post-cta { background: var(--smoke); padding: 36px; margin-top: 60px; border-radius: 16px; box-shadow: 0 14px 40px rgba(20,18,14,0.07); }
.post-cta h3 { margin-bottom: 10px; }
.post-cta p { font-size: 15.5px; color: var(--gray); margin-bottom: 22px; }

/* ---------- Sold portfolio ---------- */
.sold-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 32px); }
@media (max-width: 980px) { .sold-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .sold-grid { grid-template-columns: 1fr; } }
.sold-card {
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(20,18,14,0.05), 0 18px 46px rgba(20,18,14,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.sold-card:hover { transform: translateY(-5px); box-shadow: 0 4px 10px rgba(20,18,14,0.06), 0 28px 64px rgba(20,18,14,0.14); }
.sold-card .photo { aspect-ratio: 3 / 2; overflow: hidden; position: relative; }
.sold-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.sold-card:hover .photo img { transform: scale(1.05); }
.sold-flag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  background: rgba(10,10,10,0.82); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 7px 14px 7px 16px; border-radius: 999px;
}
.sold-card .body { padding: 22px 24px 24px; }
.sold-card .price { font-family: var(--serif); font-size: 1.5rem; }
.sold-card .meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray); margin: 8px 0 12px; }
.sold-card .addr { font-size: 15px; line-height: 1.5; }
.sold-card .addr span { color: var(--gray); font-size: 13.5px; }
.sold-card .date { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--gray); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.sold-card .rep { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); }
.src-note { margin-top: 44px; font-size: 12.5px; color: var(--gray); line-height: 1.8; max-width: 760px; }

/* ---------- Legal ---------- */
.legal h2 { font-size: 1.45rem; margin: 44px 0 14px; }
.legal p, .legal li { font-size: 15.5px; color: #333; }
.legal ul { margin: 14px 0 14px 22px; }
.legal .updated { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gray); margin-bottom: 40px; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--black); color: #fff; position: relative; overflow: hidden; }
.page-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero .scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(5,5,5,0.84) 0%, rgba(5,5,5,0.6) 50%, rgba(5,5,5,0.3) 100%); }
.page-hero .hero-inner { position: relative; z-index: 2; padding: clamp(70px, 11vw, 130px) var(--pad); }
.page-hero p.sub { color: #dedede; max-width: 620px; margin-top: 22px; font-size: 17px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--black); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band .bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: saturate(0.7); }
.cta-band .scrim { position: absolute; inset: 0; background: rgba(8,8,8,0.82); }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 700px; margin: 0 auto 18px; }
.cta-band p { color: #c9c9c9; max-width: 560px; margin: 0 auto 38px; }

/* ---------- Footer ---------- */
footer.site { background: var(--black); color: #b9b9b9; font-size: 14px; }
.foot-inner { max-width: var(--max); margin: 0 auto; padding: clamp(60px, 8vw, 90px) var(--pad) 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 54px; border-bottom: 1px solid var(--line-dark); }
@media (max-width: 920px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand .names { font-family: var(--serif); color: #fff; font-size: 22px; }
.foot-brand .sub { font-family: var(--mono); font-size: 9px; letter-spacing: 0.4em; text-transform: uppercase; color: #7c7c7c; margin-top: 6px; }
.foot-brand p { margin-top: 20px; font-size: 13.5px; line-height: 1.8; color: #9a9a9a; max-width: 300px; }
.foot-head { font-family: var(--mono); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: #7c7c7c; margin-bottom: 20px; }
.foot-links { list-style: none; }
.foot-links li { margin-bottom: 12px; }
.foot-links a { color: #cfcfcf; text-decoration: none; font-size: 14px; }
.foot-links a:hover { color: #fff; }
.foot-contact { font-size: 14px; line-height: 2.1; color: #cfcfcf; }
.foot-contact a { color: #cfcfcf; text-decoration: none; }
.foot-contact a:hover { color: #fff; }
.socials { display: flex; gap: 16px; margin-top: 24px; }
.socials a {
  width: 42px; height: 42px;
  border: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, background .2s;
}
.socials a:hover { border-color: #fff; }
.socials img { width: 16px; height: 16px; filter: invert(1); }
.foot-logos { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 40px 0 8px; }
.foot-logos img.team-logo { height: 34px; width: auto; filter: invert(1) brightness(1.6); }
.foot-logos .logo-divider { background: var(--line-dark); }
.foot-logos img.compass { height: 26px; width: auto; filter: invert(1) brightness(1.6); }
.foot-logos img.eho { height: 34px; width: auto; margin-left: 10px; }
.foot-legal { padding-top: 26px; font-size: 12px; line-height: 1.9; color: #8a8a8a; }
.foot-legal a { color: #b0b0b0; }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--line-dark);
  margin-top: 34px; padding-top: 24px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: #7c7c7c;
}
.foot-bottom a { color: #7c7c7c; text-decoration: none; }
.foot-bottom a:hover { color: #fff; }
.foot-bottom .links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Cookie banner (slim bar) ---------- */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 12px 44px rgba(0,0,0,.22);
  max-width: 980px;
  margin: 0 auto;
  padding: 12px 14px 12px 28px;
  display: none;
}
.cookie-banner.visible { display: flex; align-items: center; gap: 22px; }
.cookie-banner p { font-size: 13px; color: var(--gray); line-height: 1.5; flex: 1; min-width: 0; }
.cookie-banner p a { color: var(--ink); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: nowrap; }
@media (max-width: 720px) {
  .cookie-banner { border-radius: 20px; padding: 16px 20px; }
  .cookie-banner.visible { flex-direction: column; align-items: flex-start; gap: 14px; }
}
.cookie-actions button {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 22px;
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  white-space: nowrap;
}
.cookie-actions button.secondary { background: transparent; color: var(--ink); }
.cookie-actions button:hover { opacity: .82; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-lg { margin-top: 44px; }
hr.rule { border: none; border-top: 1px solid var(--line); margin: clamp(50px, 7vw, 80px) 0; }

/* ---------- Polish: selection, focus, image toning ---------- */
::selection { background: var(--ink); color: #fff; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark a:focus-visible, .dark a:focus-visible, footer.site a:focus-visible { outline-color: #fff; }
.photo img { filter: saturate(0.82) contrast(1.04); }
.page-hero .bg, .hero .slide { filter: saturate(0.85); }
.community .more::after, .post-card .read::after { display: inline-block; transition: transform .25s ease; }
.community:hover .more::after, .post-card:hover .read::after { transform: translateX(5px); }

/* ---------- Scroll reveal ---------- */
.rev { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.rev.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rev { opacity: 1; transform: none; transition: none; }
  .hero .slide { transition: opacity .4s ease; transform: none; }
  .quoteband .qslide { transition: none; }
}

/* ---------- Reading progress (blog posts) ---------- */
.read-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--ink); z-index: 300; }
