/* Self-hosted fonts (latin subset). Jost is a variable font: one file covers 400-600. */
@font-face{font-family:"Jost";font-style:normal;font-weight:400 600;font-display:swap;src:url("../fonts/jost-latin.woff2?v=2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Jost";font-style:italic;font-weight:400;font-display:swap;src:url("../fonts/jost-italic-latin.woff2?v=2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Marcellus";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/marcellus-latin.woff2?v=2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Litchfield Park Slab Leak Co. Olive Coral garden theme. */
/* Tokens */
:root {
  --bg: #F4F3EC;
  --surface: #FFFFFF;
  --ink: #22231B;
  --primary: #5C6B3A;
  --primary-deep: #48562E;
  --accent: #F07167;
  --line: #E3E1D0;
  --callbox-bg: #FBFAF2;
  --soft: 0 2px 12px rgba(34, 35, 27, 0.08);
  --raised: 0 8px 28px rgba(34, 35, 27, 0.14);
  --r: 20px;
  --font-h: "Marcellus", Georgia, "Times New Roman", serif;
  --font-b: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.5 8 5 14 12 22 19 14 17.5 8 12 2Z' fill='%235C6B3A'/%3E%3Cpath d='M12 6v13' stroke='%23F4F3EC' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-b);
  font-size: clamp(1.0625rem, 0.55vw + 0.95rem, 1.1875rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-h); font-weight: 400; line-height: 1.15; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.5rem, 4.5vw + 1.25rem, 3.75rem); }
h2 { font-size: clamp(1.75rem, 2.2vw + 1.2rem, 2.375rem); }
h3 { font-size: clamp(1.3125rem, 1vw + 1.05rem, 1.5625rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin-bottom: 0.35em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-deep); }
a:hover { color: var(--primary); }
:focus-visible { outline: 3px solid var(--primary-deep); outline-offset: 2px; border-radius: 4px; }
section[id], h2[id], h3[id] { scroll-margin-top: 110px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; }

/* Buttons: coral background, dark ink text */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 30px;
  background: var(--accent); color: var(--ink);
  font-family: var(--font-b); font-weight: 600; font-size: 1.0625rem; line-height: 1.4;
  text-decoration: none; border: 2px solid transparent; border-radius: 999px;
  box-shadow: var(--soft); cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.btn:hover { color: var(--ink); box-shadow: var(--raised); transform: translateY(-1px); }
.btn svg { flex: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--soft);
}
.header-inner { display: flex; align-items: center; gap: 20px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo-mark { flex: none; }
.wordmark { font-family: var(--font-h); font-size: 1.28rem; line-height: 1.2; }
.nav-toggle {
  display: none; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 16px;
  background: none; border: 2px solid var(--primary); border-radius: 999px;
  font-family: var(--font-b); font-weight: 600; font-size: 1rem; color: var(--ink); cursor: pointer;
}
.mainnav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mainnav a, .mainnav .drop-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.02rem;
  background: none; border: 0; border-radius: 999px; cursor: pointer; font-family: var(--font-b);
}
.mainnav a:hover, .mainnav .drop-btn:hover { background: var(--bg); color: var(--primary-deep); }
.has-drop { position: relative; }
.drop-btn::after {
  content: ""; width: 8px; height: 8px; margin-left: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.drop {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px;
  background: var(--surface); border-radius: var(--r); box-shadow: var(--raised);
  padding: 10px; list-style: none; margin: 0; z-index: 120;
}
.mainnav .has-drop:hover > .drop, .mainnav .has-drop:focus-within > .drop, .mainnav .has-drop.open > .drop { display: block; }
.mainnav .has-drop.suppress > .drop { display: none; }
.drop li { margin: 0; }
.drop a { display: flex; width: 100%; border-radius: 12px; font-size: 1rem; }
.drop a:hover { background: var(--bg); }
.head-call { min-height: 44px; padding: 10px 22px; font-size: 1rem; white-space: nowrap; }

/* Hero */
.hero { padding: clamp(44px, 6vw, 84px) 0; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero-kicker {
  margin: 0 0 10px; color: var(--primary); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.95rem;
}
.hero-copy .promise { font-size: clamp(1.15rem, 1vw + 1rem, 1.35rem); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 16px; }
.hero-zip { display: flex; align-items: center; gap: 8px; color: var(--primary-deep); font-weight: 600; margin: 0; }
.hero-zip svg { flex: none; }

/* Arched photo frame */
.arch {
  border-radius: 50% 50% 24px 24px / 38% 38% 24px 24px;
  overflow: hidden; box-shadow: var(--raised);
  aspect-ratio: 3 / 2; background: #E7E5D4;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* Breadcrumbs */
.crumbs { padding: 18px 0 0; font-size: 0.95rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--primary); }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* Body content */
.page-body > section { padding: clamp(40px, 5vw, 64px) 0; }
.page-body > section + section { border-top: 1px solid var(--line); }
.page-body p, .page-body li { max-width: 68ch; }
.page-body h2::before {
  content: ""; display: inline-block; width: 0.85em; height: 0.85em;
  background: var(--leaf) no-repeat center / contain;
  margin-right: 0.45em; vertical-align: -0.06em;
}
.page-body h2::after {
  content: ""; display: block; width: 72px; height: 2px;
  background: var(--primary); margin-top: 12px;
}
.page-body img {
  border-radius: 50% 50% 24px 24px / 38% 38% 24px 24px;
  box-shadow: var(--soft); margin: 32px auto;
}
.page-body ul { list-style: none; padding-left: 0; }
.page-body ul li { position: relative; padding-left: 1.7em; }
.page-body ul li::before {
  content: ""; position: absolute; left: 0; top: 0.42em;
  width: 0.8em; height: 0.8em;
  background: var(--leaf) no-repeat center / contain;
}
.page-body ol { padding-left: 1.4em; }
.page-body ol li::before { content: none; }

/* Quote style call boxes (call or tip boxes only, never testimonials) */
.callbox {
  position: relative; background: var(--callbox-bg);
  border: 2px solid var(--primary); border-radius: var(--r);
  padding: 28px 28px 20px 84px; margin: 40px 0; box-shadow: var(--soft);
  max-width: 68ch;
}
.callbox::before {
  content: ""; position: absolute; left: 28px; top: 30px;
  width: 34px; height: 34px;
  background: var(--leaf) no-repeat center / contain;
}
.callbox h2, .callbox h3 { font-size: 1.35rem; }
.callbox h2::before, .callbox h2::after { content: none; }
.callbox .btn { margin-top: 8px; }

/* Service layout with sticky TOC */
.svc-layout { display: grid; gap: 32px; }
@media (min-width: 1000px) {
  .svc-layout { grid-template-columns: minmax(0, 1fr) 280px; align-items: start; }
  .toc-wrap { position: sticky; top: 104px; }
}
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--soft); }
.toc-title { font-family: var(--font-h); font-size: 1.2rem; margin: 0 0 10px; }
.toc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin: 0; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(45deg); transition: transform 0.25s ease; }
.toc details[open] summary::after { transform: rotate(-135deg); }
.toc details[open] summary { margin-bottom: 6px; }
@media (min-width: 1000px) { .toc summary { cursor: default; pointer-events: none; } .toc summary::after { display: none; } }
@media (max-width: 999px) { .toc-wrap { order: -1; } .toc { padding: 10px 18px; } }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: 7px 4px; min-height: 44px; text-decoration: none; font-size: 0.98rem; border-bottom: 1px solid var(--line); }
.toc li:last-child a { border-bottom: 0; }
.toc a:hover { color: var(--primary); }

/* FAQ accordion */
.faqs { padding: clamp(40px, 5vw, 64px) 0; }
h2.sec-h { text-align: left; }
h2.sec-h::before {
  content: ""; display: inline-block; width: 0.85em; height: 0.85em;
  background: var(--leaf) no-repeat center / contain;
  margin-right: 0.45em; vertical-align: -0.06em;
}
h2.sec-h::after { content: ""; display: block; width: 72px; height: 2px; background: var(--primary); margin-top: 12px; }
.faq-list { max-width: 68ch; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 22px; min-height: 44px; background: none; border: 0;
  font-family: var(--font-b); font-weight: 600; font-size: 1.08rem; line-height: 1.4;
  text-align: left; color: var(--ink); cursor: pointer;
}
.faq-q .chev { flex: none; transition: transform 0.25s ease; color: var(--primary); }
.faq-q[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq-a { padding: 0 22px 20px; }
.faq-a p { margin: 0 0 0.8em; max-width: 68ch; }
.faq-a p:last-child { margin-bottom: 0; }

/* Closing CTA band */
.cta-band { background: var(--primary); color: #F7F6ED; padding: clamp(52px, 7vw, 84px) 0; text-align: center; }
.band-h { font-size: clamp(1.75rem, 2.2vw + 1.2rem, 2.375rem); margin: 0 0 12px; }
.cta-band p { max-width: 60ch; margin: 0 auto 1.2em; }
.cta-band .fine { font-size: 0.95rem; opacity: 0.9; margin: 16px 0 0; }

/* Footer */
.site-footer { background: #22231B; color: #EDECE0; padding: 56px 0 0; }
.foot-grid { display: grid; gap: 40px; grid-template-columns: 1.5fr 1fr 1fr 1fr; padding-bottom: 40px; }
.foot-brand .wordmark { color: #fff; }
.foot-brand .logo-mark { background: rgba(255, 255, 255, 0.92); border-radius: 12px; padding: 4px; }
.foot-h { font-family: var(--font-h); font-size: 1.15rem; color: #fff; margin: 0 0 12px; }
.foot-h::before {
  content: ""; display: inline-block; width: 0.8em; height: 0.8em;
  background: var(--leaf) no-repeat center / contain; margin-right: 0.4em;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0; }
.site-footer a { color: #EDECE0; text-decoration: none; display: inline-block; padding: 6px 0; min-height: 44px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-fine { font-size: 0.93rem; opacity: 0.85; max-width: 60ch; }
.foot-zip { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; margin: 16px 0 0; }
.foot-zip svg { flex: none; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, 0.16); padding: 20px 0; font-size: 0.93rem; opacity: 0.85; }
.foot-bottom p { margin: 0; }

/* Mobile bottom call bar */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; background: var(--surface);
  border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(34, 35, 27, 0.1);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(0); transition: transform 0.3s ease;
}
.callbar.hide { transform: translateY(110%); }
.callbar .btn { width: 100%; }
@media (max-width: 720px) {
  .callbar { display: block; }
  body { padding-bottom: 84px; }
}

/* Floating call button */
.float-call {
  position: fixed; right: 20px; bottom: 24px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--raised); text-decoration: none;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.float-call.show { opacity: 1; pointer-events: auto; transform: none; }
@media (max-width: 720px) { .float-call { display: none; } .foot-bottom { padding-bottom: 110px; } }

/* Reveal animations */
.reveal { transform: translateY(16px); transition: transform 0.4s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-clip { clip-path: inset(0 0 100% 0); transition: clip-path 0.4s ease; }
.reveal-clip.in { clip-path: inset(0 0 0 0); }

/* Responsive */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-inner { flex-wrap: wrap; }
  .mainnav { display: none; width: 100%; order: 4; }
  .site-header.nav-open .mainnav { display: block; }
  .mainnav > ul { flex-direction: column; align-items: stretch; padding: 8px 0 16px; }
  .mainnav > ul > li { border-top: 1px solid var(--line); }
  .mainnav a, .mainnav .drop-btn { width: 100%; justify-content: flex-start; border-radius: 8px; }
  .drop { position: static; box-shadow: none; border-radius: 12px; background: var(--bg); min-width: 0; margin: 0 0 8px; }
  .mainnav .has-drop:hover > .drop, .mainnav .has-drop:focus-within > .drop { display: none; }
  .mainnav .has-drop.open > .drop { display: block; }
  .head-call { margin-left: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wordmark { font-size: 1.02rem; }
  .logo-mark { width: 36px; height: 36px; }
  .foot-grid { grid-template-columns: 1fr; }
  .callbox { padding: 24px 20px 16px 64px; }
  .callbox::before { width: 28px; height: 28px; left: 20px; top: 26px; }
}
@media (max-width: 720px) {
  .head-call { display: none; }
  .header-inner { gap: 12px; padding: 8px 0; min-height: 64px; }
  .site-header:not(.nav-open) .header-inner { flex-wrap: nowrap; }
  .brand { min-width: 0; gap: 10px; }
  .wordmark { font-size: 1rem; line-height: 1.15; }
  .logo-mark { width: 36px; height: 36px; }
  .nav-toggle { flex: none; }
  section[id], h2[id], h3[id] { scroll-margin-top: 80px; }
}
@media (max-width: 360px) { .wordmark { font-size: 0.92rem; } }
@media (min-width: 721px) { body { padding-bottom: 0; } }

/* Print: show everything, drop fixed UI */
@media print {
  .reveal, .reveal-clip { transform: none !important; clip-path: none !important; }
  .site-header { position: static; box-shadow: none; }
  .callbar, .float-call, .nav-toggle, .mainnav, .head-call, .skip { display: none !important; }
  .faq-a[hidden] { display: block !important; }
  .toc-wrap { display: none; }
}

/* Reduced motion: everything off */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { transform: none !important; }
  .reveal-clip { clip-path: none !important; }
}
