/* Vista website — brand: dark green #3d5c35 on cream (matches the owner portal).
   The IT hub (.is-it / .hero-it) swaps to a deep slate so IT owners see an IT specialist. */
:root {
  --green: #3d5c35; --green-dark: #2c4426; --green-soft: #c9d6c3;
  --cream: #f4f4f0; --paper: #ffffff; --ink: #1c1f1a; --muted: #5f655b; --line: #e3e3dc;
  --slate: #17212b; --slate-2: #22313f; --accent-it: #7fb069;
  --radius: 10px; --wrap: 1120px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.6 var(--sans); }
a { color: var(--green); }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 640px; }
.center { text-align: center; }
.muted { color: var(--muted); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(30px, 5vw, 48px); margin: 0 0 16px; }
h2 { font-size: clamp(24px, 3.2vw, 32px); margin: 48px 0 20px; }

/* Header */
.site-header { background: var(--green); color: #fff; position: sticky; top: 0; z-index: 10; }
.site-header.is-it { background: var(--slate); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; }
.brand small { display: block; font-weight: 400; font-size: 12px; color: var(--accent-it); letter-spacing: .04em; text-transform: uppercase; }
.main-nav { display: flex; gap: 18px; flex-wrap: wrap; flex: 1; }
.main-nav a { color: #eef2ec; text-decoration: none; font-size: 15px; }
.main-nav a:hover { color: #fff; text-decoration: underline; }

/* Buttons */
.btn { display: inline-block; background: var(--green); color: #fff; padding: 14px 24px; border-radius: 999px; text-decoration: none; font-weight: 600; border: 0; cursor: pointer; font-size: 17px; }
.btn:hover { background: var(--green-dark); }
.site-header .btn, .btn-light { background: #fff; color: var(--green); }
.is-it .btn-small { color: var(--slate); }
.btn-small { padding: 9px 16px; font-size: 14px; }
.cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 28px 0 8px; }
.cta-note { color: var(--muted); font-size: 15px; }

/* Hero */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: 64px 0 56px; }
.hero-it { background: linear-gradient(160deg, var(--slate) 0%, var(--slate-2) 100%); color: #f1f4f0; border: 0; }
.hero-it .eyebrow { color: var(--accent-it); }
.hero-it .lede, .hero-it .cta-note { color: #c7d0c4; }
.hero-it .btn { background: var(--accent-it); color: var(--slate); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--green); font-weight: 600; margin: 0 0 12px; }
.lede { font-size: 20px; color: var(--muted); max-width: 720px; }

/* Proof */
.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 40px; }
.quote { margin: 0 0 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.quote blockquote { margin: 0 0 14px; font-family: var(--serif); font-size: 18px; }
.quote figcaption { color: var(--muted); font-size: 15px; }

/* Bands */
.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 0 32px; margin-top: 48px; }
.band-dark { background: var(--green); color: #fff; border: 0; }
.split { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 24px 16px; }
.split h2 { margin-top: 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }   /* six steps = two even rows */
.steps li { background: var(--cream); border-radius: var(--radius); padding: 18px; counter-increment: s; }
.steps li::before { content: counter(s); display: inline-block; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; text-align: center; line-height: 28px; font-weight: 700; margin-bottom: 8px; }
.steps strong, .drivers strong { display: block; }
.steps span, .drivers span { color: var(--muted); font-size: 15px; }

/* Sectors */
.sector-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.sector-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.sector-card:hover { border-color: var(--green); }
.sector-card span { color: var(--muted); font-size: 15px; }
.sector-card em { font-style: normal; font-size: 12px; background: var(--green-soft); color: var(--green-dark); border-radius: 4px; padding: 1px 6px; margin-left: 6px; }
.drivers { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }   /* five IT drivers fit one row */
.drivers li { background: var(--paper); border-left: 4px solid var(--accent-it); padding: 16px; border-radius: 6px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.person { display: flex; flex-direction: column; gap: 4px; }
.person img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--line); }
.person span { color: var(--muted); font-size: 15px; }

/* Listings */
.listing-rows { display: flex; flex-direction: column; gap: 10px; margin: 24px 0; }
.listing-row { display: flex; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; flex-wrap: wrap; }
.listing-row span { color: var(--muted); }
.listing-row em { font-style: normal; font-size: 12px; background: var(--green); color: #fff; border-radius: 4px; padding: 2px 8px; margin-left: auto; }
.placeholder { opacity: .75; }

/* Form */
.form { display: flex; flex-direction: column; gap: 16px; margin: 24px 0 64px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form select { font: inherit; padding: 12px; border: 1px solid #c9c9c0; border-radius: 8px; background: var(--paper); font-weight: 400; }

/* Footer */
.site-footer { background: var(--ink); color: #cfd3cb; margin-top: 72px; padding: 40px 0; font-size: 15px; }
.site-footer a { color: #e6eae3; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }

@media (max-width: 640px) {
  .header-row { gap: 10px; }
  .main-nav { order: 3; flex-basis: 100%; gap: 14px; }
  .hero { padding: 40px 0; }
  .lede { font-size: 18px; }
}

/* Sold */
.sold-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 20px 0; }
.sold-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.sold-card p { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.sold-tag { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--green); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: var(--ink); font-size: 14px; }
.chip.on { background: var(--green); color: #fff; border-color: var(--green); }
.hero-stat { font-size: 18px; margin: 8px 0 0; }
.hero-stat strong { font-size: 34px; font-family: var(--serif); color: var(--accent-it); margin-right: 6px; }

/* Blog */
.post-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 24px; }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.post-card:hover { border-color: var(--green); }
.post-card span:last-child { color: var(--muted); font-size: 15px; }
.post { padding-top: 32px; }
.post-body { font-size: 18px; }
.post-body h2, .post-body h3 { margin-top: 32px; }
.post-body a { color: var(--green); }
.post-cta { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 48px 0; }
.post-body table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 15px; margin: 20px 0; }
.post-body th, .post-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.post-body th { background: var(--paper); }

/* Contact + legal */
.contact-doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 24px 0 8px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.form textarea { font: inherit; padding: 12px; border: 1px solid #c9c9c0; border-radius: 8px; background: var(--paper); font-weight: 400; resize: vertical; }
.draft-note { background: #fff4d6; border: 1px solid #e8d49a; border-radius: 6px; padding: 8px 12px; font-size: 15px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fdecea; border: 1px solid #f1b8b2; color: #8a1c12; border-radius: 6px; padding: 10px 12px; margin: 0; }
.sold-logo { max-height: 56px; max-width: 160px; object-fit: contain; margin: 0 0 8px; align-self: flex-start; }

/* Listings + buyer sign-in */
.listing-row .lr-main { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 200px; }
.listing-row em { margin-left: 0; }
.inline-form { margin: 0; }
.btn-ghost { background: transparent; color: var(--green); border: 1px solid var(--green); }
.btn-ghost:hover { background: var(--green-soft); }
.signed-in { font-size: 15px; color: var(--muted); margin: 0 0 12px; }
.form-ok { background: #ecfdf3; border: 1px solid #a7e3bf; color: #14532d; border-radius: 6px; padding: 10px 12px; }
.req-done { font-size: 14px; font-weight: 600; color: var(--green); white-space: nowrap; }
.lr-teaser { margin: 6px 0 0; font-size: 15px; color: var(--ink); max-width: 720px; }
.listing-row { align-items: flex-start; }

/* Bio pages + linked team cards (10-08) */
a.person { color: inherit; text-decoration: none; }
a.person:hover strong, a.person:focus-visible strong { text-decoration: underline; }
.bio-head { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.bio-head img { width: 160px; height: 160px; object-fit: cover; border-radius: var(--radius); background: var(--line); }
.bio-head h1 { margin-bottom: 4px; }

/* Home (Mark 10-08): live stats, two ways we help, why us */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 40px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.stat strong { display: block; font-family: var(--serif); font-size: 44px; line-height: 1.1; color: var(--green); }
.stat span { display: block; color: var(--ink); margin-top: 4px; }
.stat em { display: block; font-style: normal; color: var(--muted); font-size: 15px; margin-top: 6px; }
.two-up { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.two-up > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px 10px; }
.checks { list-style: none; padding: 0; display: grid; gap: 10px; max-width: 760px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }

/* Sell page journey (10-13): part two continues the numbering (7–12) and carries the week labels. */
.steps-cont { counter-reset: s 6; }
.steps .when { display: block; font-style: normal; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--green); margin-bottom: 4px; }
.table-scroll { overflow-x: auto; }
.offer-table { border-collapse: collapse; font-size: 15px; margin: 8px 0 16px; width: 100%; max-width: 620px; }
.offer-table th, .offer-table td { text-align: left; padding: 8px 10px; vertical-align: top; border-bottom: 1px solid var(--line); }
.offer-table thead th { color: var(--muted); font-weight: 600; }

/* Sold tombstones (10-13): the card is a link to the sale's page. */
a.sold-card { color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.sold-card:hover { border-color: var(--green); box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.tomb-verb { font-size: 14px; color: var(--muted); margin-top: 6px; }
.tomb-buyer { font-weight: 600; }
.tomb-foot { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--green); font-weight: 600; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 8px; }
.sold-one { grid-template-columns: minmax(0, 360px); }
h1, h2 { overflow-wrap: break-word; }
.sold-card strong { overflow-wrap: anywhere; }

/* Team (10-14): the role line on each card; About's strip of faces. */
.person-role { font-style: normal; font-size: 14px; color: var(--green); font-weight: 600; }
.team-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 10px; max-width: 760px; }
.team-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--line); display: block; }

/* Testimonials (10-14): what the owner sold, above their name. */
.quote-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--green); font-weight: 600; margin-bottom: 2px; }
/* Listing teaser (10-14): the full owner-approved teaser — paragraphs + bullets. */
.lr-teaser p { margin: 0 0 8px; }
.lr-teaser ul { margin: 0 0 8px; padding-left: 20px; }
.lr-teaser li { margin: 0 0 4px; }

/* Listings page (10-14 redesign) — cards in the teaser's style. */
.lp-hero { background: #2f4f2a; color: #fff; padding: 36px 0 30px; }
.lp-hero-it { background: var(--slate); }
.lp-hero .eyebrow { color: #d4b25a; letter-spacing: .18em; }
.lp-hero h1 { color: #fff; margin: 6px 0 8px; font-size: 38px; }
.lp-hero p { color: #dfe8db; max-width: 760px; margin: 0 0 16px; }
.lp-hero .lp-count { color: #d4b25a; font-weight: 600; }
.lp-hero .btn { background: #b8892b; color: #fff; }
.lp-hero a { color: #d4b25a; }
.lp-signed { font-size: 15px; }
.lp-crit { background: #fff; border: 1px solid #dcdcd2; border-left: 4px solid #8a6914; border-radius: 6px; padding: 10px 14px; margin: 22px 0 0; font-size: 15px; }
.lp-disc { font-size: 13px; }
.lc { background: #fff; border: 1px solid #dcdcd2; border-radius: 10px; overflow: hidden; margin: 22px 0; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.lc-band { background: #2f4f2a; color: #fff; display: flex; justify-content: space-between; gap: 16px; padding: 18px 22px; flex-wrap: nowrap; }
/* Long titles wrap inside their own column; the state + listing # box stays top-right (Mark 10-19, #704110). */
.lc-head { flex: 1 1 auto; min-width: 0; }
.lc-eyebrow { margin: 0 0 4px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: #d4b25a; font-weight: 600; }
.lc-new { letter-spacing: .05em; background: #d4b25a; color: #2f4f2a; border-radius: 4px; padding: 1px 6px; margin-left: 6px; font-size: 11px; }
.lc-title { margin: 0; font-family: var(--serif); font-size: 26px; color: #fff; line-height: 1.2; overflow-wrap: break-word; }
.lc-tags { margin: 6px 0 0; font-size: 14px; color: #dfe8db; }
.lc-tags span { margin: 0 8px; color: #8fa889; }
.lc-meta { text-align: right; min-width: 150px; flex: 0 0 auto; }
.lc-state { border: 1px solid #8fa889; border-radius: 4px; padding: 4px 12px; font-weight: 600; display: inline-block; }
.lc-num { margin-top: 8px; font-size: 22px; font-weight: 700; }
.lc-num small { display: block; font-size: 11px; letter-spacing: .2em; color: #d4b25a; font-weight: 600; text-transform: uppercase; }
.lc-body { padding: 18px 22px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.lc-tiles { display: flex; gap: 12px; flex-wrap: wrap; }
.lc-tile { background: #2f4f2a; color: #fff; border-radius: 6px; padding: 12px 22px; min-width: 190px; text-align: center; }
.lc-tile.gold { background: #8a6914; }
.lc-tile strong { display: block; font-size: 28px; line-height: 1.1; }
.lc-tile span { font-size: 12.5px; color: #eef2ec; }
.lc-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.lc-btn { display: inline-block; padding: 11px 18px; border-radius: 6px; background: #2f4f2a; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.lc-btn.gold { background: #8a6914; }
.lc-btn:hover { filter: brightness(1.12); }
.lc-done, .lc-soon { font-size: 15px; font-weight: 600; color: var(--muted); }
.lc-done { color: #2f4f2a; }
@media (max-width: 640px) { .lc-band { flex-wrap: wrap; } .lc-meta { text-align: left; } .lc-title { font-size: 22px; } .lc-tile { min-width: 0; flex: 1 1 140px; } .lp-hero h1 { font-size: 30px; } }
.form .opt { font-style: normal; font-weight: 400; font-size: 13px; color: var(--muted); margin-left: 4px; }
