/* Brevard Sites — calm, minimal, one accent. */
:root {
  --ink: #1a2428;
  --muted: #4a585e;
  --paper: #f6f3ee;
  --white: #fffcf8;
  --accent: #0c5854;
  --accent-deep: #08423f;
  --line: rgba(26, 36, 40, 0.12);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo-mark { width: 32px; height: 32px; flex: none; }
.logo-word span { color: var(--accent); }

#nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font: 650 0.85rem var(--sans);
  color: var(--ink);
}
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.nav a:hover { color: var(--accent); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 650 0.95rem var(--sans);
  text-decoration: none;
  cursor: pointer;
  color: inherit;
  background: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--white); }

/* Hero */
.hero { padding: 5.5rem 0 5rem; }
.hero h1 {
  margin: 0 0 1.25rem;
  max-width: 16ch;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.lede {
  margin: 0 0 2rem;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.25rem; }
.towns-line {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* Shared section typography */
section { padding: 5.5rem 0; }
.section-kicker {
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
h2 {
  margin: 0 0 2.5rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* What we do */
.do-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 40rem;
  border-top: 1px solid var(--line);
}
.do-list li {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}
.do-list strong { font-size: 1rem; }
.do-list span { color: var(--muted); }

.for-line {
  margin: 2.75rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Pricing */
.pricing { background: var(--white); }
.price-block { margin-bottom: 3.25rem; }
.price-block:last-child { margin-bottom: 0; }
.block-h {
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.price-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.price-card.featured {
  background: var(--white);
  border-color: var(--accent);
}
.badge {
  display: inline-block;
  margin: 0 0 0.7rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.price-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.amount {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.amount span {
  font-size: 1rem;
  font-family: var(--sans);
  font-weight: 650;
  letter-spacing: 0;
}
.price-card > p.blurb {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.price-card ul {
  margin: 0 0 1.5rem;
  flex: 1;
  padding: 0;
  list-style: none;
}
.price-card li {
  position: relative;
  padding: 0.25rem 0 0.25rem 1.1rem;
  color: var(--ink);
  font-size: 0.95rem;
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}

/* How */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  counter-reset: step;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.step h3 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted); }

/* Contact */
.contact-cols {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}
.placeholder {
  display: block;
  margin: 0.25rem 0 1.4rem;
  color: var(--muted);
  font-style: italic;
}
.contact-aside a {
  display: block;
  margin: 0.25rem 0 1.4rem;
  color: var(--accent);
  text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent);
  text-underline-offset: 0.18em;
}
.contact-aside a:hover { color: var(--accent-deep); }
.contact-aside p:last-child { margin-bottom: 0; color: var(--muted); }
label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
}
input, select, textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.8rem 0.9rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 1rem var(--sans);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
textarea { min-height: 7rem; resize: vertical; }
.form-note { margin: 0.9rem 0 0; color: var(--muted); font-size: 0.9rem; }

/* Footer */
.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
.site-footer strong { color: var(--ink); }
.legal { margin: 0.4rem 0 0; }

@media (max-width: 900px) {
  .hero { padding-top: 3.25rem; }
  .do-list li, .price-row, .steps, .contact-cols { grid-template-columns: 1fr; }
  .do-list li { gap: 0.25rem; }
  .steps { gap: 2rem; }
  .menu-btn { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav a, .nav .btn { min-height: 48px; }
  #nav-toggle:checked ~ .nav { display: flex; }
}
@media (max-width: 560px) {
  .hero-cta .btn { width: 100%; }
  section { padding: 4rem 0; }
}

/* ---- v2: multi-page components ---- */
.nav a[aria-current="page"]:not(.btn) { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.5em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.h3, h3 { font-size: 1.15rem; line-height: 1.3; }
.tint { background: var(--white); }
.narrow { max-width: 46rem; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
.mt { margin-top: 4rem; }
.note { margin: 2rem 0 0; color: var(--muted); }
.prose p, .prose-p { margin: 0 0 1.1rem; max-width: 40rem; }
.prose h2 { margin: 2.25rem 0 0.75rem; font-size: 1.4rem; }
.prose h2:first-child { margin-top: 0; }

.page-hero { padding: 4.5rem 0 3.5rem; border-bottom: 1px solid var(--line); }
.page-hero h1 {
  margin: 0 0 1rem;
  max-width: 20ch;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.page-hero .lede { margin-bottom: 1.75rem; }
.page-hero .hero-cta { margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; font-size: 0.88rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

.two-col { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3rem; align-items: start; }
.two-col h2 { margin-bottom: 1rem; }

.check-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.check-list li { padding: 1rem 0 1rem 1.6rem; border-bottom: 1px solid var(--line); position: relative; color: var(--muted); }
.check-list li strong { color: var(--ink); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--accent); }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }
.tile {
  display: flex; flex-direction: column; gap: 0.3rem;
  padding: 1.35rem 1.25rem; border: 1px solid var(--line); border-radius: 14px;
  background: var(--white); color: var(--ink); text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
.tint .tile { background: var(--paper); }
.tile span { color: var(--muted); font-size: 0.93rem; }
.tile:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-2px); }
.tile strong::after { content: " →"; color: var(--accent); }
.do-list a { color: var(--ink); }

.card-btn { width: 100%; }
.btn-sm { min-height: 44px; padding: 0.5rem 1rem; font-size: 0.88rem; white-space: nowrap; }
.btn-light { background: #fff; color: var(--accent-deep); }
.btn-light:hover { background: var(--paper); color: var(--accent-deep); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

.cta-band { background: var(--accent); color: #fff; padding: 4rem 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 0.5rem; color: #fff; }
.cta-band p { margin: 0; max-width: 34rem; color: rgba(255,255,255,.9); }
.cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.pill-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.pill-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.tint .pill-list a { background: var(--paper); }
.pill-list a:hover { border-color: var(--accent); color: var(--accent); }
.areas h2 { margin-bottom: 1.5rem; }

.faq { border-top: 1px solid var(--line); max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .q { margin: 0; font-family: var(--sans); font-size: 1.05rem; font-weight: 650; letter-spacing: 0; }
.faq details p { margin: 0 0 1.25rem; color: var(--muted); max-width: 40rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.95rem; }
.compare caption { text-align: left; padding: 1rem 1.25rem 0; color: var(--muted); font-size: 0.85rem; }
.compare th, .compare td { padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--line); text-align: center; }
.compare tbody th { text-align: left; font-weight: 600; }
.compare thead th { vertical-align: bottom; }
.compare thead a { display: block; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.compare thead span { display: block; color: var(--accent); font-weight: 650; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare td:nth-child(3), .compare th:nth-child(3) { background: color-mix(in srgb, var(--accent) 5%, transparent); }

.combo { margin: 0; padding: 0; list-style: none; display: grid; gap: 1rem; }
.combo li { padding: 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); display: flex; flex-direction: column; gap: 0.25rem; }
.combo span { color: var(--muted); }

.demo-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.demo-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.demo-card h2 { margin: 0 0 0.5rem; font-family: var(--sans); letter-spacing: 0; }
.demo-card p { margin: 0 0 1rem; color: var(--muted); }
.demo-frame { height: 9rem; margin-bottom: 1.25rem; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); padding: 1rem; display: grid; gap: 0.6rem; align-content: start; }
.demo-frame span { display: block; height: 0.7rem; border-radius: 4px; background: var(--line); }
.demo-frame span:first-child { width: 55%; height: 1.1rem; background: color-mix(in srgb, var(--accent) 35%, transparent); }
.demo-frame span:nth-child(2) { width: 80%; }
.demo-frame span:nth-child(3) { width: 40%; }
.muted-badge { color: var(--muted); }

.area-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.area-list li { padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-weight: 600; }
.mini-prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.mini-prices a { display: flex; flex-direction: column; padding: 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); text-decoration: none; color: var(--ink); }
.mini-prices span { color: var(--accent); font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.mini-prices a:hover { border-color: var(--accent); }
.two-col .steps { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 1.5rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.req { color: var(--muted); font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0 0 1.25rem; padding: 0.9rem 1rem; border-radius: 10px; background: #fbeaea; color: #8a1c1c; font-weight: 600; }
.lead-form { position: relative; }
.contact-aside h2 { margin: 0 0 0.25rem; font-family: var(--sans); letter-spacing: 0; }
.contact-aside p { margin: 0 0 1.5rem; color: var(--muted); }
.contact-aside p a { display: inline; margin: 0; }

.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.foot-brand p { margin: 0.75rem 0 0; max-width: 18rem; }
.foot-h { margin: 0 0 0.75rem; font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li a { display: inline-block; padding: 0.3rem 0; color: var(--muted); text-decoration: none; min-height: 32px; }
.site-footer li a:hover { color: var(--accent); }
.also { margin: 0; }

@media (max-width: 900px) {
  .two-col, .demo-list { grid-template-columns: 1fr; gap: 1.5rem; }
  .tiles, .mini-prices { grid-template-columns: 1fr 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .page-hero { padding-top: 3rem; }
}
@media (max-width: 560px) {
  .tiles, .mini-prices, .area-list, .form-row, .foot-cols { grid-template-columns: 1fr; }
  .page-hero .hero-cta .btn, .cta-actions .btn { width: 100%; }
  .cta-actions { width: 100%; }
}

/* Skip layout work for below-the-fold sections until they're near the viewport. */
main > section:nth-child(n+3), .site-footer { content-visibility: auto; contain-intrinsic-size: auto 640px; }
