/* Damp Proofing Lincoln - heritage masonry register
   Palette: oxblood + limestone cream. Headings: Lora. Body: system serif stack. */

:root {
  --cream: #f6f0e3;
  --cream-2: #ece3cf;
  --cream-3: #e3d8bf;
  --line: #d5c9ad;
  --ink: #2e2621;
  --ink-soft: #5c5247;
  --ox: #5c1f23;
  --ox-deep: #401518;
  --brass: #8a5a26;
  --serif: "Lora", "Palatino", "Book Antiqua", Georgia, serif;
  --body: Georgia, "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

img, svg { max-width: 100%; }

/* ---------- type ---------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.18;
  color: var(--ink);
}

h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.45rem, 2.8vw, 1.95rem); }
h3 { font-size: 1.15rem; }

p + p { margin-top: 1em; }

a { color: var(--ox); }
a:hover { color: var(--ox-deep); }

.kicker {
  display: block;
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brass);
  margin-bottom: 0.75rem;
}

.kicker::after {
  content: "";
  display: block;
  width: 2.5rem;
  border-top: 1px solid var(--brass);
  margin-top: 0.55rem;
}

.lede { font-size: 1.14rem; color: var(--ink-soft); }

/* ---------- layout ---------- */

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }

section { padding: 3.75rem 0; }

.band { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.prose { max-width: 44rem; }
.prose h2 { margin: 2.2rem 0 0.8rem; }
.prose h3 { margin: 1.8rem 0 0.6rem; }
.prose ul, .prose ol { margin: 1em 0 1em 1.4rem; }
.prose li + li { margin-top: 0.45em; }

/* ---------- top strip + header ---------- */

.top-strip {
  background: var(--ox-deep);
  color: #f2e9d8;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.45rem 1rem;
}

.top-strip a { color: #ffffff; text-decoration: none; font-weight: bold; }
.top-strip a:hover { text-decoration: underline; color: #ffffff; }

.site-head {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}

.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
}

.wordmark .mark-town {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brass);
  margin-top: 0.15rem;
}

.site-nav { display: flex; align-items: center; gap: 1.35rem; flex-wrap: wrap; }

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.site-nav a:hover { border-bottom-color: var(--ox); color: var(--ox-deep); }

.site-nav a.nav-cta,
.site-nav a.nav-cta:hover {
  background: var(--ox);
  color: #ffffff;
  border: 1px solid var(--ox-deep);
  border-bottom-color: var(--ox-deep);
  padding: 0.55rem 1rem;
  font-weight: bold;
}

.site-nav a[aria-current="page"] { border-bottom-color: var(--brass); }

/* ---------- buttons ---------- */

.btn,
a.btn,
button.btn {
  display: inline-block;
  background: var(--ox);
  color: #ffffff;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid var(--ox-deep);
  padding: 0.8rem 1.5rem;
  cursor: pointer;
}

.btn:hover,
a.btn:hover,
button.btn:hover { background: var(--ox-deep); color: #ffffff; }

.btn-ghost,
a.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--ox);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid var(--ox);
  padding: 0.8rem 1.5rem;
}

.btn-ghost:hover, a.btn-ghost:hover { background: var(--ox); color: #ffffff; }

/* ---------- hero ---------- */

.hero {
  border-bottom: 1px solid var(--line);
  background-color: var(--cream);
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 54px, rgba(92, 31, 35, 0.055) 54px, rgba(92, 31, 35, 0.055) 55px),
    repeating-linear-gradient(90deg, transparent 0, transparent 96px, rgba(92, 31, 35, 0.04) 96px, rgba(92, 31, 35, 0.04) 97px);
  padding: 3.5rem 0 3.75rem;
}

.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: start; }

.hero h1 { margin-bottom: 1rem; }

.hero .lede { margin-bottom: 1.5rem; }

.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }

.hero-note { font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- quote form card ---------- */

.quote-card {
  background: #fdfaf2;
  border: 1px solid var(--line);
  border-top: 4px solid var(--ox);
  padding: 1.6rem 1.5rem 1.5rem;
}

.quote-card h2, .quote-card h3 { margin-bottom: 0.35rem; }

.quote-card .form-hint { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 1.1rem; }

.quote-card label {
  display: block;
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.9rem 0 0.3rem;
}

.quote-card input,
.quote-card textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 0.6rem 0.7rem;
}

.quote-card input:focus,
.quote-card textarea:focus { outline: 2px solid var(--ox); outline-offset: 1px; }

.quote-card button { margin-top: 1.2rem; width: 100%; }

.quote-card .tel-fallback { margin-top: 0.9rem; font-size: 0.9rem; text-align: center; }

/* ---------- cards ---------- */

.card {
  background: #fdfaf2;
  border: 1px solid var(--line);
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
}

.card h3 { margin-bottom: 0.55rem; }
.card p { font-size: 0.96rem; color: var(--ink-soft); flex-grow: 1; }

.card .card-link {
  margin-top: 1rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--ox);
}

.card .card-link::after { content: " \2192"; }
.card .card-link:hover { text-decoration: underline; }

/* ---------- steps ---------- */

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.step { border-top: 3px solid var(--ox); padding-top: 1rem; }

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--brass);
  margin-bottom: 0.4rem;
}

.step h3 { margin-bottom: 0.4rem; }
.step p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- two-tone locality panel ---------- */

.split-panel { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }

.split-panel > div { padding: 1.8rem 1.6rem; }

.split-panel > div + div { border-left: 1px solid var(--line); }

.split-panel .panel-title {
  font-family: var(--serif);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brass);
  margin-bottom: 0.7rem;
}

.split-panel p { font-size: 0.97rem; }

.split-panel .uphill { background: #fdfaf2; }
.split-panel .downhill { background: var(--cream-2); }

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
  padding: 2.75rem 0;
}

.page-hero h1 { margin-bottom: 0.7rem; max-width: 46rem; }
.page-hero .lede { max-width: 44rem; }

.crumbs { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.crumbs a { color: var(--ink-soft); }

/* ---------- service layout ---------- */

.service-layout { display: grid; grid-template-columns: 1fr 20rem; gap: 3rem; align-items: start; }

.aside-box { border: 1px solid var(--line); background: #fdfaf2; padding: 1.4rem 1.3rem; }
.aside-box + .aside-box { margin-top: 1.5rem; }
.aside-box h3 { margin-bottom: 0.7rem; }
.aside-box ul { list-style: none; }
.aside-box li { border-top: 1px solid var(--line); }
.aside-box li:first-child { border-top: 0; }
.aside-box li a { display: block; padding: 0.55rem 0; text-decoration: none; font-size: 0.95rem; }
.aside-box li a:hover { text-decoration: underline; }
.aside-box .aside-tel { font-family: var(--serif); font-weight: 600; }

/* ---------- FAQ ---------- */

.faq-item { border: 1px solid var(--line); background: #fdfaf2; margin-bottom: 1rem; }
.faq-item summary {
  cursor: pointer;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1rem 1.2rem;
  list-style-position: outside;
}
.faq-item summary:hover { color: var(--ox); }
.faq-item .faq-body { padding: 0 1.2rem 1.1rem; color: var(--ink-soft); }
.faq-item .faq-body p + p { margin-top: 0.8em; }

/* ---------- callout ---------- */

.callout {
  border: 1px solid var(--line);
  border-left: 4px solid var(--brass);
  background: #fdfaf2;
  padding: 1.3rem 1.5rem;
  margin: 1.8rem 0;
}
.callout p { font-size: 0.97rem; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--ox); border-top: 1px solid var(--ox-deep); }
.cta-band h2, .cta-band p { color: #f7efdd; }
.cta-band h2 { margin-bottom: 0.6rem; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band .cta-copy { max-width: 34rem; }

.cta-band a.btn,
.cta-band a.btn:hover {
  background: var(--cream);
  color: var(--ox-deep);
  border-color: var(--cream-3);
}

.cta-band a.btn-ghost { color: #f7efdd; border-color: #f7efdd; }
.cta-band a.btn-ghost:hover { background: #f7efdd; color: var(--ox-deep); }

/* ---------- footer ---------- */

.site-foot {
  background: var(--ox-deep);
  color: #e9ddc6;
  padding: 3rem 0 2.2rem;
  font-size: 0.92rem;
}

.site-foot a { color: #f7efdd; }
.site-foot a:hover { color: #ffffff; }

.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.2rem; }

.site-foot h3 {
  color: #f7efdd;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.9rem;
}

.site-foot ul { list-style: none; }
.site-foot li { margin-bottom: 0.45rem; }

.foot-legal {
  border-top: 1px solid rgba(233, 221, 198, 0.25);
  padding-top: 1.4rem;
  font-size: 0.86rem;
  color: #d9cbae;
}
.foot-legal p + p { margin-top: 0.5em; }

/* ---------- tables ---------- */

.plain-table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: 0.96rem; }
.plain-table th, .plain-table td { border: 1px solid var(--line); padding: 0.65rem 0.8rem; text-align: left; vertical-align: top; }
.plain-table th { font-family: var(--serif); background: var(--cream-2); }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  section { padding: 2.75rem 0; }
  .hero { padding: 2.5rem 0 3rem; }
  .hero .wrap { grid-template-columns: 1fr; gap: 2.25rem; }
  .grid-2, .grid-3, .steps, .foot-grid { grid-template-columns: 1fr; }
  .foot-grid { gap: 1.8rem; }
  .split-panel { grid-template-columns: 1fr; }
  .split-panel > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .service-layout { grid-template-columns: 1fr; }
  .site-head .wrap { justify-content: center; text-align: center; }
  .site-nav { justify-content: center; }
  .cta-band .wrap { display: block; }
  .cta-band a.btn { margin-top: 1.2rem; }
}
