/* ==========================================================================
   Lake Mary Rescreening — lakemaryrescreening.com
   Direction: quiet premium editorial. Restraint signals confidence.
   navy #101F3C · soft sand #E8E2D6 · single ink accent #C2553F
   Modern serif headings, generous leading, small-caps labels.

   No webfonts. No external requests of any kind. Every typeface below is a
   stack of faces already installed on the reader's machine — the buyer here
   is comparing three quotes on a phone in a driveway, and a blocking font
   request is the slowest thing on the page.
   ========================================================================== */

:root {
  --navy:      #101F3C;
  --navy-2:    #1C3057;
  --navy-3:    #2E4570;
  --sand:      #E8E2D6;
  --sand-lt:   #F2EEE5;
  --paper:     #FCFAF6;
  --ink:       #C2553F;
  --ink-dk:    #A34531;
  --rule:      #D8D0C0;
  --rule-soft: #E7E0D3;
  --body:      #3C4457;
  --muted:     #6B7386;

  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua",
           "Times New Roman", serif;
  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
           Arial, sans-serif;
  --mono:  ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1140px;
  --gut: 28px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 400;
  letter-spacing: -0.012em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.05rem, 1.35rem + 2.7vw, 3.4rem);
  line-height: 1.13;
  letter-spacing: -0.022em;
}
h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.15vw, 2.1rem);
  line-height: 1.22;
}
h3 { font-size: 1.2rem; line-height: 1.32; }
h4 { font-size: 1.02rem; line-height: 1.35; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-color: var(--rule); text-underline-offset: 3px; }
a:hover { color: var(--ink-dk); text-decoration-color: currentColor; }

strong { color: var(--navy); font-weight: 650; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.lede {
  font-size: clamp(1.06rem, 1rem + 0.4vw, 1.28rem);
  line-height: 1.62;
  color: var(--navy-2);
}

/* Small-caps label. The direction's signature typographic device: it names
   the section without competing with the serif heading above it. */
.label {
  display: block;
  font-family: var(--sans);
  font-size: 0.685rem;
  font-weight: 640;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.85em;
}
.label--muted { color: var(--muted); }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.1em; }
.prose h3 { margin-top: 1.7em; }
.prose ul, .prose ol { padding-left: 1.15em; margin: 0 0 1.15em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--ink); }

.small { font-size: 0.9rem; line-height: 1.62; }
.tiny  { font-size: 0.81rem; line-height: 1.6; color: var(--muted); }

/* A flag for anything not yet verified. Deliberately visible — an unfilled
   placeholder should be impossible to ship by accident. */
.need {
  font-family: var(--mono);
  font-size: 0.84em;
  background: #FBEDE9;
  color: var(--ink-dk);
  border-bottom: 1px solid #E9C6BC;
  padding: 0.1em 0.35em;
  border-radius: 2px;
  white-space: normal;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap--tight { max-width: 860px; }

section { padding: clamp(48px, 6vw, 88px) 0; }
section + section { border-top: 1px solid var(--rule-soft); }

.band-sand  { background: var(--sand-lt); }
.band-sand2 { background: var(--sand); }
.band-navy  { background: var(--navy); color: #C9CFDC; }
.band-navy h2, .band-navy h3, .band-navy strong { color: #FFFDF8; }
.band-navy a { color: #FFFDF8; }
.band-navy .label { color: #E3A392; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; z-index: 99;
}
.skip:focus { left: 8px; top: 8px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--navy);
  color: #B9C2D4;
  font-size: 0.79rem;
  letter-spacing: 0.055em;
  padding: 7px 0;
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: 6px 22px;
  align-items: center; justify-content: space-between;
}
.topbar a { color: #FFFDF8; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar span { display: inline-flex; align-items: center; gap: 7px; }

.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 40;
}
.masthead .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 10px 26px;
  padding-top: 15px; padding-bottom: 15px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { height: 44px; width: auto; flex: none; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.brand .sub {
  display: block; font-family: var(--sans); font-size: 0.63rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  margin-top: 3px;
}

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
.nav a {
  font-size: 0.875rem; color: var(--navy-2); text-decoration: none;
  padding: 4px 0; border-bottom: 1.5px solid transparent;
}
.nav a:hover { border-bottom-color: var(--ink); color: var(--navy); }
.nav a[aria-current="page"] { border-bottom-color: var(--navy); color: var(--navy); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.02em;
  padding: 13px 24px; border-radius: 2px; text-decoration: none;
  border: 1px solid var(--navy); background: var(--navy); color: #FFFDF8;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.btn svg { width: 17px; height: 17px; }

.btn--ink { background: var(--ink); border-color: var(--ink); }
.btn--ink:hover { background: var(--ink-dk); border-color: var(--ink-dk); }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--rule); }
.btn--ghost:hover { background: var(--sand-lt); border-color: var(--navy); color: var(--navy); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { padding: clamp(46px, 5.5vw, 84px) 0 clamp(34px, 4vw, 56px); }
.hero-grid {
  display: grid; gap: clamp(30px, 4vw, 58px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

.hero h1 { margin-bottom: 0.42em; }
.hero .lede { max-width: 40ch; }

.hero-facts {
  border-top: 1px solid var(--rule);
  margin-top: 30px; padding-top: 18px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px 26px;
}
.hero-facts div { min-width: 0; }
.hero-facts dt {
  font-size: 0.66rem; letter-spacing: 0.17em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 5px;
}
.hero-facts dd {
  margin: 0; font-family: var(--serif); font-size: 1.02rem; color: var(--navy);
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   The spec table — this direction's signature move. It sits high on the home
   page on purpose: the Lake Mary buyer is reading three quotes side by side,
   and the site that hands them the comparison grid wins the comparison.
   -------------------------------------------------------------------------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--rule);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

table.spec {
  width: 100%; border-collapse: collapse;
  font-size: 0.9rem; line-height: 1.55;
  min-width: 560px;
}
table.spec caption {
  caption-side: top; text-align: left;
  padding: 16px 20px 0;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
table.spec th, table.spec td {
  padding: 13px 20px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--rule-soft);
}
table.spec thead th {
  font-family: var(--sans); font-size: 0.67rem; font-weight: 680;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy); background: var(--sand);
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}
table.spec tbody th {
  font-family: var(--serif); font-weight: 400; font-size: 1rem;
  color: var(--navy); width: 26%;
}
table.spec tbody tr:last-child th,
table.spec tbody tr:last-child td { border-bottom: 0; }
table.spec tbody tr:hover { background: #FBF9F4; }
table.spec td em { color: var(--navy-2); font-style: normal; font-weight: 600; }

.table-note { margin-top: 12px; }

/* --------------------------------------------------------------------------
   Cards / grids
   -------------------------------------------------------------------------- */

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--rule-soft);
  padding: 26px 24px; border-radius: 2px;
}
.card h3 { margin-bottom: 0.42em; }
.card p:last-child { margin-bottom: 0; }
.card .icon { color: var(--ink); width: 22px; height: 22px; display: block; margin-bottom: 14px; }
.card--link { text-decoration: none; display: block; transition: border-color .16s ease; }
.card--link:hover { border-color: var(--navy); }
.card .more {
  display: inline-block; margin-top: 14px; font-size: 0.83rem; font-weight: 600;
  color: var(--ink-dk); letter-spacing: 0.03em;
}

/* Numbered editorial list — used for "how the job runs". */
ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
ol.steps li {
  counter-increment: s; position: relative;
  padding: 0 0 22px 54px; border-left: 1px solid var(--rule);
  margin-left: 13px;
}
ol.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
ol.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: -14px; top: -2px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--rule);
  font-family: var(--serif); font-size: 0.76rem; color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
ol.steps h3 { font-size: 1.06rem; margin-bottom: 0.3em; }

/* Pull-quote style callout for the jurisdiction argument. */
.callout {
  border-left: 3px solid var(--ink);
  padding: 4px 0 4px 22px;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  line-height: 1.5; color: var(--navy);
}

.note {
  background: var(--sand-lt); border: 1px solid var(--rule-soft);
  padding: 18px 20px; border-radius: 2px;
}
.note--ink { background: #FBF1EE; border-color: #EDD3CB; }

/* --------------------------------------------------------------------------
   FAQ — details/summary so the answers exist in the HTML with no JS.
   -------------------------------------------------------------------------- */

.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule-soft); }
.faq summary {
  cursor: pointer; list-style: none; padding: 19px 40px 19px 0;
  position: relative; font-family: var(--serif); font-size: 1.08rem;
  color: var(--navy); line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 29px;
  width: 9px; height: 9px; border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink); transform: rotate(45deg);
  transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 33px; }
.faq summary:hover { color: var(--ink-dk); }
.faq .answer { padding: 0 0 22px; max-width: 72ch; }
.faq .answer p:first-child { margin-top: 0; }

/* --------------------------------------------------------------------------
   Neighborhood / area list
   -------------------------------------------------------------------------- */

.areas { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.area {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  gap: 8px 26px; padding: 20px 0; border-bottom: 1px solid var(--rule-soft);
  align-items: start;
}
@media (max-width: 780px) { .area { grid-template-columns: minmax(0, 1fr); } }
.area h3 { font-size: 1.1rem; margin: 0; }
.area p { margin: 0; }
.area .juris {
  font-size: 0.78rem; letter-spacing: 0.04em; color: var(--navy-2);
}
.area .juris b { display: block; font-size: 0.64rem; letter-spacing: 0.17em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px; font-weight: 640; }

/* --------------------------------------------------------------------------
   Contact / forms
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid; gap: clamp(28px, 4vw, 54px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

.nap { list-style: none; padding: 0; margin: 0; }
.nap li {
  display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 6px 16px;
  padding: 14px 0; border-bottom: 1px solid var(--rule-soft);
}
.nap li b {
  font-size: 0.66rem; letter-spacing: 0.17em; text-transform: uppercase;
  color: var(--muted); font-weight: 640; padding-top: 4px;
}
@media (max-width: 520px) { .nap li { grid-template-columns: minmax(0, 1fr); } }

.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 640;
}
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.95rem; color: var(--navy);
  padding: 11px 13px; border: 1px solid var(--rule); border-radius: 2px;
  background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); }

/* --------------------------------------------------------------------------
   Photo slots. Real job photography is the one thing this build cannot
   generate; until a file is dropped into assets/img/photos the slot renders
   as a labelled placeholder rather than a broken image.
   -------------------------------------------------------------------------- */

figure.shot { margin: 0; }
figure.shot img { width: 100%; height: auto; display: block; border: 1px solid var(--rule-soft); }
figure.shot figcaption { margin-top: 9px; }

.photo-ph {
  border: 1px dashed var(--rule); background: var(--sand-lt);
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 24px; color: var(--muted);
  font-size: 0.78rem; letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer { background: var(--navy); color: #A9B3C7; padding: 56px 0 30px; font-size: 0.9rem; }
.footer h4 {
  color: #FFFDF8; font-family: var(--sans); font-size: 0.67rem; font-weight: 680;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 14px;
}
.footer a { color: #DDE3EE; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid; gap: 34px;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer .fbrand {
  font-family: var(--serif); font-size: 1.24rem; color: #FFFDF8; margin-bottom: 10px;
  display: flex; align-items: center; gap: 11px;
}
.footer-logo {
  height: 38px; width: auto; background: #fff; padding: 6px 12px;
  border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.13); margin-top: 42px; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: space-between;
  font-size: 0.79rem; color: #8E99B0;
}
.footer .need { background: rgba(226,138,116,.16); color: #F0BFB2; border-bottom-color: rgba(240,191,178,.4); }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.crumbs { font-size: 0.78rem; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink-dk); text-decoration: underline; }
.crumbs span { margin: 0 7px; opacity: .55; }

.rule { border: 0; border-top: 1px solid var(--rule); margin: 34px 0; }
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; }
.stack > * + * { margin-top: 20px; }
.center { text-align: center; }
.sources { font-size: 0.78rem; color: var(--muted); line-height: 1.65; }
.sources a { color: var(--muted); }
.sources li { margin-bottom: 6px; word-break: break-word; }

@media print {
  .masthead, .topbar, .footer, .btn-row { display: none; }
  body { background: #fff; font-size: 12pt; }
  a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
}
