/* San Francisco Business Brokers Edge. Look: "Fog" (wine, fog gray, ink; Fraunces + IBM Plex Sans). */
:root {
  --ink: #1b2228;
  --ink-2: #3c464f;
  --mute: #5f6a72;
  --wine: #7a2334;
  --wine-dk: #5e1a28;
  --wine-lt: #f3e7e9;
  --fog: #e9ecea;
  --fog-2: #f5f6f5;
  --line: #d3d8d5;
  --paper: #ffffff;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.7 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-underline-offset: 3px; }
a:hover { color: var(--wine-dk); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.18; letter-spacing: -0.01em; color: var(--ink); }
.shell { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* Top line and header */
.topline { background: var(--ink); color: #c9d0d4; font-size: 14px; }
.topline .shell { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topline a { color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.site-head .shell { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-size: 15px; line-height: 1.2; }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo span { max-width: 190px; }
.logo strong { display: block; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); border-bottom-color: var(--wine); }
.navbtn { display: none; background: none; border: 1px solid var(--line); width: 44px; height: 40px; cursor: pointer; position: relative; }
.navbtn span:first-child, .navbtn span:first-child::before, .navbtn span:first-child::after { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); content: ''; }
.navbtn span:first-child { top: 19px; }
.navbtn span:first-child::before { top: -6px; left: 0; }
.navbtn span:first-child::after { top: 6px; left: 0; }

/* Page top */
.top { background: var(--fog); padding: 40px 0 44px; border-bottom: 1px solid var(--line); }
/* Pages with the estimate form: heading and small photo on the left, the form on the right, all in view on load */
.top--ask { padding: 14px 0 36px; }
.top__grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; grid-template-areas: "text form" "pic form"; column-gap: 56px; align-items: start; }
.top__text { grid-area: text; }
.top__form { grid-area: form; }
.top__pic { grid-area: pic; margin-top: 10px; }
.top--ask h1 { font-size: clamp(30px, 3.6vw, 44px); margin: 8px 0 14px; }
.top--ask .intro { font-size: 18px; }
.top__call { font-size: 17px; margin: 4px 0 0; color: var(--ink-2); }
.top__call a { font-weight: 600; color: var(--wine); text-decoration: none; }
.top h1 { font-size: clamp(32px, 4.6vw, 52px); max-width: 820px; margin: 10px 0 18px; }
.intro { font-size: 19px; color: var(--ink-2); max-width: 720px; margin: 0 0 12px; }
.crumbs { font-size: 14px; color: var(--mute); }
.crumbs a { color: var(--mute); }
.byline { font-size: 14px; color: var(--mute); margin: -6px 0 14px; text-transform: uppercase; letter-spacing: .06em; }
.byline a { color: var(--mute); }
.shell--wide { margin-top: 28px; }
.lead-photo { margin: 0; max-width: 560px; }
.lead-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.top > .top__pic { margin-top: 24px; }

.prose { max-width: 700px; }
.prose--solo { padding: 44px 0 64px; }
.prose h2 { font-size: 29px; margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; margin: 28px 0 8px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 6px; }
.prose blockquote { margin: 26px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--wine); font-family: var(--serif); font-size: 21px; line-height: 1.45; color: var(--ink); }
.prose blockquote p { margin: 0; }

.facts { border-top: 3px solid var(--ink); background: var(--fog-2); padding: 18px 22px 8px; margin: 0 0 34px; }
.facts__head { font-weight: 600; text-transform: uppercase; letter-spacing: .07em; font-size: 13px; margin: 0 0 8px; color: var(--wine); }
.facts ul { padding-left: 18px; }
.facts--short { border-top-color: var(--wine); }
.contents { border: 1px solid var(--line); padding: 14px 20px; margin: 0 0 34px; font-size: 15px; }
.contents summary { font-weight: 600; cursor: pointer; }
.contents ol { margin: 10px 0 4px; }

.more { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 18px; }
.more__head { font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); margin: 0 0 8px; }
.more ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.more li { margin: 0; }
.more a { display: inline-block; border: 1px solid var(--line); padding: 5px 12px; text-decoration: none; color: var(--ink); font-size: 15px; }
.more a:hover { border-color: var(--wine); color: var(--wine); }

/* Index lists (hubs and the homepage sector list) */
.index { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.index li { margin: 0; border-bottom: 1px solid var(--line); }
.index a { display: grid; grid-template-columns: 230px 1fr; gap: 20px; padding: 18px 4px; text-decoration: none; color: var(--ink-2); }
.index a:hover { background: var(--fog-2); }
.index__name { font-family: var(--serif); font-size: 20px; color: var(--ink); font-weight: 600; }
.index__name::after { content: ' \2192'; color: var(--wine); }
.index__desc { font-size: 15px; }
.index--two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.index--two a { grid-template-columns: 1fr; gap: 4px; }

/* Homepage strips */
.strip { padding: 60px 0; }
.strip--fog { background: var(--fog); }
.strip__title { font-size: 32px; margin: 0 0 26px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 0; }
.steps dt { font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.steps dt span { display: block; font-family: var(--sans); font-size: 13px; color: var(--wine); font-weight: 600; letter-spacing: .08em; margin-bottom: 6px; }
.steps dt span::before { content: 'STEP '; }
.steps dd { margin: 0; color: var(--ink-2); font-size: 16px; }

/* The estimate card */
.ask { background: var(--ink); color: #e5e9eb; padding: 20px 22px 16px; }
.ask__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.ask__title { color: #fff; font-size: 20px; line-height: 1.25; margin: 0 0 8px; }
.ask__step { font-size: 14px; color: #b9c2c7; margin: 0 0 10px; border-bottom: 1px solid #39444c; padding-bottom: 8px; }
.ask label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: #e5e9eb; }
.ask label em { font-style: normal; color: #98a3a9; font-weight: 400; font-size: 13px; }
.ask input, .ask select { display: block; width: 100%; margin-top: 3px; padding: 7px 10px; font: 16px var(--sans); color: var(--ink); background: #fff; border: 1px solid #fff; border-radius: 0; }
.ask input:focus, .ask select:focus { outline: 3px solid #e3a3ae; outline-offset: 0; }
.ask__back { background: none; border: 0; color: #c9d0d4; text-decoration: underline; cursor: pointer; font: 14px var(--sans); margin-top: 10px; padding: 0; }
.ask__err { background: var(--wine-lt); color: var(--wine-dk); padding: 8px 10px; font-size: 14px; }
.ask__note { font-size: 12.5px; line-height: 1.45; color: #a9b3b8; margin: 10px 0 0; }
.ask__note a { color: #fff; }
.hp { position: absolute; left: -5000px; }
.btn { display: inline-block; background: var(--wine); color: #fff; border: 0; padding: 13px 22px; font: 600 16px var(--sans); cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--wine-dk); color: #fff; }
.btn--full { width: 100%; margin-top: 6px; }
.btn:disabled { opacity: .6; cursor: default; }

/* Footer */
.site-foot { background: var(--ink); color: #c9d0d4; padding: 48px 0 90px; font-size: 15px; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid #39444c; padding-bottom: 20px; }
.site-foot__name { font-family: var(--serif); font-size: 24px; color: #fff; margin: 0; }
.site-foot__tel { margin: 0; }
.site-foot__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 24px 0; }
.site-foot__grid ul { list-style: none; padding: 0; margin: 0; }
.site-foot__grid li { margin-bottom: 8px; }
.site-foot__legal { font-size: 13px; color: #98a3a9; margin: 0; max-width: 760px; }
.dock { display: none; }

@media (max-width: 960px) {
  .top__grid { grid-template-columns: 1fr; grid-template-areas: "text" "form" "pic"; }
  .top__form { margin: 6px -20px 0; }
  .top__pic { margin-top: 24px; }
  .ask { padding: 24px 20px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .index--two { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .topline span { display: none; }
  .topline .shell { justify-content: flex-end; }
  .navbtn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); padding: 6px 20px 14px; }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .top { padding: 28px 0 32px; }
  .lead-photo img { aspect-ratio: 4 / 3; }
  .shell--wide { padding: 0; }
  .intro { font-size: 17px; margin-bottom: 8px; }
  .top__call { display: none; }
  .index a { grid-template-columns: 1fr; gap: 4px; }
  .steps { grid-template-columns: 1fr; }
  .site-foot__grid { grid-template-columns: 1fr 1fr; }
  .dock { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--wine); color: #fff; text-align: center; font-weight: 600; padding: 14px; text-decoration: none; }
}
