/* Lenders Appraisal Services — site styles
   Brand navy and blues from the Lenders logo, set on a county plat map:
   parcel lines, a pale blue tint, and the highlighter yellow used to mark
   the subject property. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("fonts/archivo.woff2") format("woff2-variations"), url("fonts/archivo.woff2") format("woff2");
}

:root {
  --ink: #12265c;
  --paper: #fbfcfd;
  --white: #ffffff;
  --line: #ccd6e1;
  --line-strong: #8ea2ba;
  --tint: #eaf1f8;
  --water: #d3eaf7;
  --mark: #f5c842;
  --mark-hover: #ffd95e;
  --footer: #0e1f4c;
  --park: #e4efe3;
  --comp: #0873b0;
  --muted: #4a5a72;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --measure: 68ch;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }
strong { font-weight: 680; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--mark); padding: 10px 14px; font-weight: 700; border: 2px solid var(--ink);
}
.skip:focus { top: 12px; }

.wrap { max-width: 1180px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
h1 {
  font-stretch: 112%;
  font-weight: 760;
  font-size: clamp(2.1rem, 3.6vw, 3.15rem);
  line-height: 1.04;
  letter-spacing: -0.018em;
  margin-bottom: 0.45em;
}
.page-head h1 { font-size: clamp(2rem, 3.6vw, 3rem); max-width: 22ch; }
h2 {
  font-stretch: 108%;
  font-weight: 720;
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 0.6em;
}
h3 {
  font-stretch: 104%;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.25;
  margin-bottom: 0.35em;
}
.lead { font-size: clamp(1.12rem, 1.35vw, 1.28rem); line-height: 1.5; max-width: 38em; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.8em 1.2em;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  text-decoration: none; color: var(--ink);
  background: transparent; cursor: pointer;
  transition: background-color 120ms ease;
}
.btn:hover { text-decoration: none; }
.btn-mark { background: var(--mark); }
.btn-mark:hover { background: var(--mark-hover); }
.btn-line:hover { background: var(--tint); }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 53px; height: 44px; flex-shrink: 0; }
.brand-name { display: block; font-stretch: 82%; font-weight: 720; font-size: 1.16rem; line-height: 1.05; letter-spacing: 0.005em; }
.brand-sub { display: block; font-size: 0.8rem; color: var(--muted); font-weight: 500; line-height: 1.3; margin-top: 2px; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.primary-nav a { text-decoration: none; font-weight: 560; font-size: 0.98rem; padding: 6px 0; }
.primary-nav a:hover { box-shadow: inset 0 -2px 0 var(--ink); }
.primary-nav a[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--mark); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { font-weight: 680; text-decoration: none; white-space: nowrap; font-stretch: 96%; }
.header-cta .btn { padding: 0.6em 1em; font-size: 0.95rem; white-space: nowrap; }
.menu-toggle {
  display: none; margin-left: auto;
  font: inherit; font-weight: 650; font-size: 0.95rem;
  background: none; border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 0.45em 0.8em; color: var(--ink); cursor: pointer;
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 76px) clamp(44px, 6vw, 80px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.hero .lead { max-width: 33em; }
.name-note {
  margin: 30px 0 0; padding-left: 14px; max-width: 50ch;
  border-left: 4px solid var(--mark);
  color: var(--muted); font-size: 0.98rem;
}
.platmap { margin: 0; }
.platmap svg { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
.platmap figcaption { margin-top: 10px; font-size: 0.9rem; color: var(--muted); font-stretch: 92%; max-width: 46ch; }

.platmap .lotline { stroke: #d2dbe5; stroke-width: 0.9; fill: none; }
.platmap .block { fill: var(--white); stroke: #9fb1c5; stroke-width: 1.3; }
.platmap .river { fill: var(--water); stroke: #8ec4e4; stroke-width: 1.2; }
.platmap .park { fill: var(--park); stroke: #9fb1c5; stroke-width: 1.3; }
.platmap .road-edge { stroke: #9fb1c5; stroke-width: 20; fill: none; stroke-linecap: square; }
.platmap .road { stroke: var(--white); stroke-width: 17; fill: none; stroke-linecap: square; }
.platmap .subject { fill: var(--mark); stroke: var(--ink); stroke-width: 2.2; }
.platmap .ring { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 3 6; opacity: 0.55; }
.platmap .comp circle { fill: var(--comp); stroke: var(--white); stroke-width: 2.5; }
.platmap .comp .num { fill: var(--white); font: 700 12px var(--font); text-anchor: middle; dominant-baseline: central; }
.platmap .label { fill: var(--ink); font: 620 13px var(--font); font-stretch: 80%; }
.platmap .label-bg { fill: var(--white); stroke: var(--line); stroke-width: 1; }
.platmap .label-subject { font-weight: 760; font-size: 14px; }
.platmap .maptext { fill: var(--muted); font: 560 11px var(--font); font-stretch: 78%; }
.platmap .rivertext { fill: #2b6d98; font: 600 12px var(--font); font-stretch: 85%; letter-spacing: 0.08em; }
.platmap .scale { stroke: var(--ink); stroke-width: 1.4; fill: none; }
.platmap .north { fill: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
  .platmap .subject { animation: mark-in 500ms ease-out 150ms both; }
  .platmap .ring { transform-box: fill-box; transform-origin: center; animation: ring-in 900ms cubic-bezier(.2,.7,.2,1) 450ms both; }
  .platmap .comp { transform-box: fill-box; transform-origin: center; animation: pop-in 420ms cubic-bezier(.2,.9,.3,1.25) both; }
  .platmap .comp-1 { animation-delay: 1050ms; }
  .platmap .comp-2 { animation-delay: 1250ms; }
  .platmap .comp-3 { animation-delay: 1450ms; }
  @keyframes mark-in { from { fill: var(--white); } to { fill: var(--mark); } }
  @keyframes ring-in { from { opacity: 0; transform: scale(0.35); } to { opacity: 0.55; transform: scale(1); } }
  @keyframes pop-in { from { opacity: 0; transform: scale(0.2); } to { opacity: 1; transform: scale(1); } }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(52px, 7vw, 92px); border-top: 1px solid var(--line); }
.section-intro { max-width: 46em; margin-bottom: clamp(26px, 3.5vw, 40px); }
.section-intro p { color: var(--muted); margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }

/* Service legend */
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.legend h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.legend h3 .key { width: 18px; height: 13px; border: 2px solid var(--ink); flex-shrink: 0; }
.legend .key-commercial { background: var(--ink); }
.legend .key-residential { background: var(--white); }
.legend ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.legend li { border-bottom: 1px solid var(--line); }
.legend a { display: block; padding: 16px 0 17px; text-decoration: none; }
.legend a strong { display: block; font-stretch: 104%; font-size: 1.14rem; font-weight: 690; line-height: 1.3; }
.legend a span { display: block; color: var(--muted); font-size: 0.98rem; margin-top: 3px; max-width: 46ch; }
.legend a:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.legend .more { display: inline-block; margin-top: 16px; font-weight: 650; }

/* Credentials */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; }
.facts div { padding: 14px 0 16px; border-top: 1px solid var(--line); }
.facts dt { font-weight: 690; line-height: 1.35; }
.facts dd { margin: 3px 0 0; color: var(--muted); }
.clients { margin-top: 28px; padding-top: 18px; border-top: 2px solid var(--ink); max-width: 60ch; }

/* Steps (a real sequence; numbered markers echo the comparable-sale markers on the map) */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); margin: 0; padding: 0; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--comp); color: var(--white);
  font-weight: 700; font-size: 0.9rem; margin-bottom: 14px;
}
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* FAQ */
.faqs { max-width: 50em; border-bottom: 1px solid var(--line); }
details.faq { border-top: 1px solid var(--line); }
details.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 17px 44px 17px 0; font-weight: 660; font-size: 1.06rem; line-height: 1.4;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg);
  transition: transform 160ms ease;
}
details.faq[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
details.faq .answer { padding: 0 0 20px; max-width: var(--measure); }
details.faq .answer p:last-child { margin-bottom: 0; }
.faq-group { margin-top: clamp(36px, 5vw, 56px); }
.faq-group:first-child { margin-top: 0; }

/* CTA band */
.cta-band { background: var(--tint); border-top: 1px solid var(--line); padding-block: clamp(44px, 6vw, 72px); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-band h2 { margin-bottom: 0.25em; }
.cta-band p { margin: 0; max-width: 46ch; }
.cta-band .actions { margin-top: 0; }

/* ---------- Interior pages ---------- */
.page-head { background: var(--tint); border-bottom: 1px solid var(--line); padding-block: clamp(28px, 4vw, 44px) clamp(36px, 5vw, 56px); }
.page-head .lead { margin-bottom: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 22px; padding: 0; font-size: 0.9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); }

.page-body { padding-block: clamp(40px, 6vw, 72px); }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.prose { max-width: var(--measure); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin: 0.4em 0; padding-left: 0.2em; }
.prose li::marker { color: var(--line-strong); }
.prose .faqs { margin-top: 0.6em; }
.callout { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--mark); padding: 16px 18px; margin: 0 0 1.2em; }
.callout p:last-child { margin-bottom: 0; }

.quote-box { position: sticky; top: 100px; border: 2px solid var(--ink); border-radius: 8px; background: var(--white); padding: 22px 22px 20px; }
.quote-box h2 { font-size: 1.25rem; font-stretch: 104%; margin-bottom: 0.4em; }
.quote-box p { font-size: 0.97rem; color: var(--muted); }
.quote-box .phone-line { margin: 14px 0 0; color: var(--ink); font-size: 0.97rem; }
.quote-box .phone-line a { font-weight: 700; }
.quote-box .hours { margin: 4px 0 0; font-size: 0.88rem; }

.related { margin-top: 2.4em; padding-top: 18px; border-top: 2px solid var(--ink); }
.related h2 { font-size: 1.15rem; margin-bottom: 0.6em; }
.related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.related a { font-weight: 620; }

/* Service area */
.county-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 40px; }
.county-grid section { border-top: 1px solid var(--line); padding: 16px 0 10px; }
.county-grid h2 { font-size: 1.15rem; margin-bottom: 0.3em; }
.county-grid p { color: var(--muted); font-size: 0.98rem; }

/* About */
.portrait { margin: 0 0 1.5em; max-width: 300px; }
.portrait svg { border-radius: 6px; border: 1px solid var(--line); }
.portrait figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 8px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; max-width: 760px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-weight: 640; margin-bottom: 6px; font-size: 0.98rem; }
.field .opt { font-weight: 450; color: var(--muted); }
.field .hint { display: block; font-size: 0.86rem; color: var(--muted); margin-top: 5px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 0.68em 0.8em; background: var(--white);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius);
}
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select { min-height: 50px; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--mark); outline-offset: 0; border-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Estate intake form */
.intake-form { max-width: 760px; }
.form-section {
  margin: 0 0 8px;
  padding: 24px 0 8px;
  border: 0;
  border-top: 2px solid var(--ink);
}
.form-section > legend {
  padding: 0 0.4em 0 0;
  font-size: 1.25rem;
  font-stretch: 104%;
  font-weight: 700;
}
.form-section .form-grid { max-width: none; }
.check-list { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  margin: 0;
}
.check input[type="checkbox"],
.check input[type="radio"] {
  width: auto;
  min-height: 0;
  margin: 0.35em 0 0;
  flex: none;
  accent-color: var(--ink);
}
.req { font-weight: 700; }
.consent { margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 600px) {
  .form-section .form-grid { grid-template-columns: 1fr; }
}
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.form-actions p { margin: 0; font-size: 0.9rem; color: var(--muted); max-width: 44ch; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-left: 4px solid var(--mark); background: var(--white); border: 1px solid var(--line); }
.form-status[hidden] { display: none; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5em; }
.contact-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.map-frame { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #e3e9f3; padding-block: 56px 32px; font-size: 0.97rem; }
.site-footer a { color: #ffffff; text-decoration-color: rgba(255,255,255,0.4); }
.site-footer a:hover { text-decoration-color: var(--mark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px 40px; }
.site-footer h2 { color: #ffffff; font-size: 1rem; font-stretch: 100%; font-weight: 700; margin-bottom: 0.8em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 0.5em; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-logo { width: 300px; max-width: 100%; height: auto; margin-bottom: 18px; }
.footer-name { font-weight: 650; color: #fff; }
.footer-tagline { margin: -6px 0 18px; color: #c9d5e8; font-size: 0.95rem; }
.footer-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; font-size: 0.86rem; color: #b5c2d8; }
.footer-base p { margin: 0; }

/* Mobile call bar */
.callbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .header-phone { display: none; }
}
@media (max-width: 1060px) and (min-width: 901px) {
  .brand-sub { display: none; }
  .primary-nav ul { gap: 16px; }
  .site-header .wrap { gap: 22px; }
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-block; }
  .site-header .wrap { flex-wrap: wrap; gap: 14px; min-height: 68px; padding-block: 10px; }
  .primary-nav, .header-cta { display: none; width: 100%; }
  .site-header.open .primary-nav, .site-header.open .header-cta { display: block; }
  .primary-nav { margin-left: 0; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav li { border-top: 1px solid var(--line); }
  .primary-nav a { display: block; padding: 12px 0; }
  .site-header.open .header-cta { display: flex; padding-bottom: 12px; }
  .site-header.open .header-phone { display: inline; }
  .hero .wrap, .split, .legend, .with-aside { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .county-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quote-box { position: static; }
}
@media (max-width: 760px) {
  body { padding-bottom: 74px; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: var(--paper); border-top: 1px solid var(--line);
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  }
  .callbar .btn { padding: 0.7em 0.5em; font-size: 0.95rem; }
}
@media (max-width: 600px) {
  .facts, .steps, .county-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .brand { gap: 9px; }
  .brand img { width: 41px; height: 34px; }
  .brand-name { font-size: 1.02rem; }
  .menu-toggle { padding: 0.4em 0.7em; }
}
@media print {
  .site-header, .callbar, .cta-band, .quote-box, .site-footer { display: none; }
}
.nowrap { white-space: nowrap; }
