/* Sean Haley, Certified Residential Appraiser
   River blue carries the brand; survey-stake orange is only for actions (call, send).
   Type: Zilla Slab (headings) + Public Sans (text). */
:root {
  --bg: oklch(0.985 0.004 245);
  --tint: oklch(0.955 0.012 240);
  --ink: oklch(0.24 0.025 245);
  --ink-2: oklch(0.42 0.02 245);
  --line: oklch(0.86 0.014 245);
  --brand: oklch(0.37 0.085 248);
  --brand-deep: oklch(0.27 0.07 250);
  --on-brand: oklch(0.98 0.006 245);
  --on-brand-2: oklch(0.87 0.03 245);
  --accent: oklch(0.72 0.16 52);
  --accent-hover: oklch(0.67 0.17 48);
  --map-land: oklch(0.93 0.01 245);
  --map-edge: oklch(0.985 0.004 245);
  --radius: 6px;
  --wrap: 72rem;
  --z-callbar: 20;
  --font-head: 'Zilla Slab', Rockwell, 'Roboto Slab', Georgia, serif;
  --font-body: 'Public Sans', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--font-body); }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.25rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 46rem; }
.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--ink); color: var(--bg); padding: 0.5rem 1rem; z-index: 99; }
.skip:focus { left: 0.5rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4em; min-height: 2.9rem; padding: 0.6rem 1.25rem; border-radius: var(--radius); border: 2px solid transparent; font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-hover); color: var(--ink); }
.btn--ghost { border-color: var(--on-brand-2); color: var(--on-brand); }
.btn--ghost:hover { background: var(--on-brand); color: var(--brand-deep); }
.btn--ghost-dark { border-color: var(--line); color: var(--ink); }
.btn--light { background: var(--bg); color: var(--brand-deep); border-color: var(--line); }
.btn--block { width: 100%; }

/* header */
.site-header { background: var(--brand-deep); color: var(--on-brand); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; padding-block: 0.5rem; }
.brand { color: var(--on-brand); text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; }
.brand:hover { color: var(--on-brand); }
.brand-name { font: 700 1.45rem/1.1 var(--font-head); }
.brand-sub { font-size: 0.82rem; color: var(--on-brand-2); }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-call { white-space: nowrap; }
.nav > a:not(.btn) { color: var(--on-brand); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav > a:not(.btn):hover, .nav > a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }

/* hero */
.hero { background: var(--brand); color: var(--on-brand); padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.hero a:not(.btn) { color: var(--on-brand); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.hero-kicker { font-weight: 600; color: var(--on-brand-2); margin-bottom: 0.75rem; }
.hero-lede { font-size: 1.15rem; color: var(--on-brand-2); max-width: 36em; }
.hero--plain { padding-block: clamp(2rem, 4vw, 3rem); }
.hero--plain .hero-lede { margin-bottom: 0; }
.hero--plain .btn { margin: 1rem 0.5rem 0 0; }
.facts { list-style: none; padding: 0; margin: 1.75rem 0; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; align-items: center; color: var(--on-brand-2); }
.facts strong { color: var(--on-brand); font: 700 1.35rem/1 var(--font-head); margin-right: 0.15em; }
.hero-call { font-size: 1.1rem; margin: 0; }
.hero-phone { font: 700 1.6rem/1.2 var(--font-head); white-space: nowrap; margin-left: 0.25em; }
.crumbs { font-size: 0.9rem; color: var(--on-brand-2); margin-bottom: 1rem; }

/* license (pending = visibly blocked off until the number is added) */
.license { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; white-space: nowrap; }
.license--pending .license-blank { display: inline-block; min-width: 7.5em; padding: 0.05em 0.5em; border: 1.5px dashed currentColor; border-radius: 3px; font-size: 0.82em; font-weight: 400; opacity: 0.85; text-align: center; }

/* form */
.lead { background: var(--bg); color: var(--ink); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 1px 2px oklch(0.2 0.03 245 / 0.12), 0 12px 32px oklch(0.2 0.03 245 / 0.18); }
.section--tint .lead { box-shadow: none; border: 1px solid var(--line); }
.lead a, .hero .lead a { color: var(--brand); }
.lead-title { font-size: 1.5rem; margin-bottom: 0.25rem; }
.lead-note { color: var(--ink-2); font-size: 0.95rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.3rem; }
.field input { width: 100%; min-height: 2.9rem; padding: 0.55rem 0.75rem; border: 1.5px solid oklch(0.62 0.02 245); border-radius: var(--radius); background: #fff; color: var(--ink); font: inherit; }
.field input::placeholder { color: oklch(0.5 0.015 245); }
.field input:focus { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--ink); }
.field input[aria-invalid='true'] { border-color: oklch(0.52 0.19 28); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile:not(:empty) { margin-bottom: 1rem; }
.lead-status { min-height: 1.5em; margin: 0.75rem 0 0; font-weight: 600; }
.lead-status.is-error { color: oklch(0.48 0.18 28); }
.lead-status.is-ok { color: var(--brand); }
.lead-alt { margin: 0.25rem 0 0; font-size: 0.95rem; color: var(--ink-2); }
.lead.is-sent .field, .lead.is-sent button, .lead.is-sent .cf-turnstile, .lead.is-sent .lead-note { display: none; }
.lead.is-sent .lead-status { font-size: 1.1rem; }

/* sections */
.section { padding-block: clamp(3rem, 6vw, 5rem); }
.section--tint { background: var(--tint); }
.section-lede { color: var(--ink-2); max-width: 40em; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.two-col--map { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }

.types { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0 2rem; }
.types > div { padding: 0.9rem 0; border-top: 1px solid var(--line); }
.types dt { font-weight: 600; }
.types dd { margin: 0.1rem 0 0; color: var(--ink-2); font-size: 0.97rem; }

.purposes { margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.75rem 2.5rem; }
.purposes dt { font: 600 1.2rem/1.25 var(--font-head); margin-bottom: 0.3rem; }
.purposes dd { margin: 0; color: var(--ink-2); }

/* service area */
.areas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-top: 2rem; }
.areas-map { max-width: 30rem; margin-inline: auto; width: 100%; }
.areas-map--small { max-width: 22rem; }
.areas-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.areas-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background-color 0.2s var(--ease), padding 0.2s var(--ease); }
.areas-list a:hover, .areas-list a[aria-current] { background: var(--tint); padding-inline: 0.75rem; }
.areas-county { font: 600 1.15rem/1.2 var(--font-head); }
.areas-towns { color: var(--ink-2); font-size: 0.9rem; text-align: right; }

.region + .region { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.region-name { font-size: 1.45rem; margin: 2rem 0 0.25rem; }
.region + .region .region-name { margin-top: 0; }
.region-blurb { color: var(--ink-2); margin: 0; }
.map { width: 100%; height: auto; }
.map-context path { fill: var(--map-land); stroke: var(--map-edge); stroke-width: 1; }
.map-served path { fill: oklch(0.48 0.085 246); stroke: var(--map-edge); stroke-width: 1.5; transition: fill 0.2s var(--ease); }
.map-served a:hover path, .map-served a:focus-visible path { fill: var(--brand-deep); }
.map-served a.is-active path { fill: var(--accent); }
.map-served text { fill: #fff; font: 600 13px/1 var(--font-body); text-anchor: middle; dominant-baseline: middle; pointer-events: none; paint-order: stroke; stroke: oklch(0.3 0.05 152 / 0.35); stroke-width: 2px; }
.map-served a.is-active text { fill: var(--ink); stroke: none; }
.map-ocean { fill: var(--ink-2); font: italic 400 13px/1 var(--font-head); letter-spacing: 0.08em; text-anchor: middle; }

/* steps: a real sequence, so numbered */
.steps { list-style: none; counter-reset: step; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2rem; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--brand); color: var(--on-brand); font: 700 1.1rem/1 var(--font-head); margin-bottom: 0.9rem; }
.steps p { color: var(--ink-2); margin: 0; }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 0.85rem 0 0.85rem 2rem; border-top: 1px solid var(--line); }
.ticks li::before { content: ''; position: absolute; left: 0.2rem; top: 1.2rem; width: 0.9rem; height: 0.5rem; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }

.places { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.places li { padding: 0.3rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: 0.95rem; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 0.5rem; top: 1.45rem; width: 0.6rem; height: 0.6rem; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.7rem; }
.faq details p { color: var(--ink-2); padding-right: 2rem; }

/* about */
.prose { max-width: 40em; }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.card-facts { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: var(--bg); }
.card-facts dl { margin: 0; }
.card-facts div { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.card-facts div:last-child { border-bottom: 0; }
.card-facts dt { font-size: 0.85rem; color: var(--ink-2); }
.card-facts dd { margin: 0.15rem 0 0; font-weight: 600; overflow-wrap: anywhere; }

/* closing call to action */
.cta { background: var(--brand-deep); color: var(--on-brand); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.cta-text { font: 700 clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem)/1.2 var(--font-head); margin: 0; max-width: 24em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* footer */
.site-footer { background: var(--ink); color: oklch(0.85 0.012 245); padding-block: 3rem 1.5rem; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2rem; }
.footer-name { font: 700 1.3rem/1.2 var(--font-head); color: #fff; margin-bottom: 0.4rem; }
.footer-head { font-weight: 600; color: #fff; margin-bottom: 0.4rem; }
.footer-list { list-style: none; padding: 0; margin: 0; columns: 2; }
.footer-list li { margin-bottom: 0.3rem; }
.footer-list--one { columns: 1; }
.prose--sections h2:first-child { margin-top: 0; }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 0 3rem; }
.service-list li { border-top: 1px solid var(--line); }
.service-list a { display: block; padding: 1.5rem 0 1.75rem; color: var(--ink); text-decoration: none; }
.service-list h2 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.service-list p { color: var(--ink-2); margin-bottom: 0.6rem; }
.service-more { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 0.18em; }
.service-list a:hover h2 { color: var(--brand); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; border-top: 1px solid oklch(0.4 0.02 245); margin-top: 2rem; padding-top: 1.25rem; font-size: 0.875rem; }
.footer-legal p { margin: 0; display: flex; gap: 1.25rem; }

.callbar { display: none; }

@media (max-width: 860px) {
  .hero-grid, .two-col, .two-col--map, .areas { grid-template-columns: minmax(0, 1fr); }
  .nav > a:not(.btn) { display: none; }
  .nav-call-label { display: none; }
  .areas-map { max-width: 22rem; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; position: fixed; inset: auto 0 0 0; z-index: var(--z-callbar); padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px oklch(0.2 0.03 245 / 0.1); }
  body { padding-bottom: 4.5rem; }
}
@media (max-width: 420px) {
  .nav-call { padding-inline: 0.8rem; font-size: 0.95rem; }
  .brand-name { font-size: 1.25rem; }
  .areas-towns { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
@media print {
  .site-header nav, .callbar, .lead, .cta { display: none; }
}
