/* mellonwerch.com: shared styles. Matches the newsletter: cabernet accent, stone panels, Georgia + Arial. */
:root {
  --cab: #5a1e38;
  --cab-soft: #f4ecef;
  --cab-tint: #e6c9d4;
  --ink: #1a1a1a;
  --ink-2: #444;
  --muted: #777;
  --stone: #f4f2ef;
  --line: #e9e6e1;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --max: 1100px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--serif); color: var(--ink); background: #fff; font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--cab); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* Header */
.name-bar { background: var(--cab); color: #fff; font-family: var(--sans); font-size: 14px; }
.name-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.name-bar a { color: #fff; text-decoration: none; }
.name-bar .who strong { font-size: 16px; letter-spacing: .3px; }
.name-bar .title { color: #f1e3e9; }
.name-bar .call { font-weight: bold; white-space: nowrap; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.logos { display: flex; align-items: center; gap: 22px; }
.logos .bhhs { width: 170px; }
.logos .comm { width: 150px; padding-left: 22px; border-left: 1px solid var(--line); }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; font-family: var(--sans); font-size: 13px; font-weight: bold; letter-spacing: 1.5px; text-transform: uppercase; }
nav a { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
nav a:hover, nav a[aria-current="page"] { color: var(--cab); border-bottom-color: var(--cab); }
.nav-toggle { display: none; }

/* Type helpers */
.eyebrow { font-family: var(--sans); font-size: 12px; font-weight: bold; letter-spacing: 2px; text-transform: uppercase; color: var(--cab); }
.section-title { border-top: 4px solid var(--cab); padding-top: 10px; margin-bottom: 22px; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
h2 { font-size: 32px; margin: 4px 0 14px; }
h3 { font-size: 22px; }
.lede { font-size: 19px; color: var(--ink-2); }
.small { font-family: var(--sans); font-size: 12px; color: var(--muted); line-height: 1.5; }

/* Buttons */
.btn { display: inline-block; font-family: var(--sans); font-size: 13px; font-weight: bold; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; padding: 13px 24px; background: var(--cab); color: #fff; border: 2px solid var(--cab); cursor: pointer; }
.btn:hover { background: #45162a; border-color: #45162a; }
.btn.ghost { background: transparent; color: #fff; border-color: #fff; }
.btn.ghost:hover { background: #fff; color: var(--cab); }
.btn.outline { background: transparent; color: var(--cab); }
.btn.outline:hover { background: var(--cab); color: #fff; }

/* Hero */
.hero { background: var(--cab); color: #fff; padding: 72px 0 76px; }
.hero .eyebrow { color: var(--cab-tint); }
.hero h1 { font-size: 52px; margin: 14px 0 18px; max-width: 820px; }
.hero h1 { margin-bottom: 4px; }
.hero-broker { font-size: 26px; line-height: 1.2; color: #f1e3e9; margin: 0 0 20px; }
.hero-tag { font-family: var(--sans); font-weight: bold; font-size: 22px; line-height: 1.3; max-width: 640px; margin: 0 0 14px; padding-left: 14px; border-left: 4px solid #fff; }
.hero p { font-size: 20px; color: #f1e3e9; max-width: 640px; margin: 0 0 30px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.page-hero { background: var(--cab); color: #fff; padding: 44px 0 46px; }
.page-hero .eyebrow { color: var(--cab-tint); }
.page-hero h1 { font-size: 42px; margin-top: 8px; }
.page-hero p { color: #f1e3e9; font-size: 18px; margin: 10px 0 0; max-width: 680px; }

/* Sections */
section { padding: 64px 0; }
section.stone { background: var(--stone); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Stat tiles */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 8px; }
.stat { background: var(--cab); color: #fff; padding: 22px 12px; text-align: center; font-family: var(--sans); }
.stat b { display: block; font-size: 32px; }
.stat span { display: block; font-size: 13px; color: #f1e3e9; margin-top: 4px; }
.stat i { display: block; font-style: normal; font-size: 11px; color: var(--cab-tint); margin-top: 6px; }
.stat.alt { background: var(--stone); color: var(--ink); }
.stat.alt b { color: var(--cab); }
.stat.alt span { color: var(--ink-2); }
.stat.alt i { color: var(--muted); }

/* Listing card */
.listing { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--stone); }
.listing .photo { position: relative; min-height: 320px; background-size: cover; background-position: center; }
.listing .tag { position: absolute; left: 0; top: 0; background: var(--cab); color: #fff; font-family: var(--sans); font-size: 11px; font-weight: bold; letter-spacing: 2px; padding: 8px 14px; }
.listing .body { padding: 30px 32px 32px; }
.listing .price { font-family: var(--sans); font-size: 15px; color: var(--ink-2); margin: 8px 0 14px; }
.listing .price strong { color: var(--cab); font-size: 20px; }
.facts { list-style: none; padding: 0; margin: 0 0 22px; font-family: var(--sans); font-size: 14px; }
.facts li { padding: 7px 0 7px 18px; border-bottom: 1px solid var(--line); position: relative; }
.facts li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 7px; height: 7px; background: var(--cab); }
.listing .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Signup */
.signup { background: var(--cab); color: #fff; padding: 40px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.signup .eyebrow { color: var(--cab-tint); }
.signup h2 { color: #fff; }
.signup p { color: #f1e3e9; margin: 0; }
.signup form { display: flex; flex-direction: column; gap: 10px; }
.signup input { font: 16px var(--sans); padding: 13px 14px; border: 0; }
.signup .btn { background: #fff; color: var(--cab); border-color: #fff; }
.signup .fine { font-family: var(--sans); font-size: 11px; color: var(--cab-tint); }

/* Issue list */
.issues { list-style: none; padding: 0; margin: 0; }
.issues li { display: flex; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.issues .no { font-family: var(--sans); font-weight: bold; color: #fff; background: var(--cab); padding: 4px 9px; font-size: 13px; min-width: 44px; text-align: center; }
.issues a { font-size: 20px; font-weight: bold; color: var(--ink); }
.issues .date { font-family: var(--sans); font-size: 13px; color: var(--muted); }

/* About */
.headshot { aspect-ratio: 4/5; background: var(--stone); border: 2px dashed #cfc8bf; display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--sans); font-size: 13px; color: var(--muted); padding: 20px; }
.quote { border-left: 5px solid var(--cab); background: var(--stone); padding: 20px 24px; font-size: 20px; font-style: italic; }
.todo { background: #fff6cc; padding: 0 4px; font-family: var(--sans); font-size: 0.85em; }

/* Contact */
.contact-card { background: var(--stone); padding: 28px 30px; font-family: var(--sans); font-size: 15px; }
.contact-card a { color: var(--ink); }
.contact-card dt { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--cab); font-weight: bold; margin-top: 16px; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 4px 0 0; }
form.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
form.contact label { font-family: var(--sans); font-size: 12px; font-weight: bold; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-2); display: flex; flex-direction: column; gap: 6px; }
form.contact .full { grid-column: 1 / -1; }
form.contact input, form.contact select, form.contact textarea { font: 16px var(--sans); padding: 12px; border: 1px solid #cfc8bf; background: #fff; }
form.contact textarea { min-height: 140px; resize: vertical; }

.signup-action { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.reach h2 { margin-top: 6px; }
.reach-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* Footer */
.site-footer { background: var(--ink); color: #bbb; font-family: var(--sans); font-size: 13px; padding: 44px 0 30px; }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 10px; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; line-height: 1.9; }
.site-footer .trec { margin-top: 30px; padding-top: 20px; border-top: 1px solid #333; font-size: 16px; }
.site-footer .legal { font-size: 11px; line-height: 1.6; color: #999; margin-top: 16px; }

/* Mobile */
@media (max-width: 860px) {
  .grid-2, .grid-3, .listing, .signup, .site-footer .cols { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 36px; }
  .hero-broker { font-size: 19px; }
  .hero-tag { font-size: 18px; }
  .name-bar .title { display: none; }
  .page-hero h1 { font-size: 32px; }
  .logos .bhhs { width: 130px; }
  .logos .comm { width: 110px; padding-left: 14px; }
  .nav-toggle { display: block; background: none; border: 2px solid var(--ink); font: bold 12px var(--sans); letter-spacing: 1px; padding: 8px 10px; cursor: pointer; }
  nav ul { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; gap: 0; border-bottom: 4px solid var(--cab); }
  nav ul.open { display: flex; }
  nav li a { display: block; padding: 14px 28px; border-bottom: 1px solid var(--line); }
  form.contact { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
}
