/* Fredericksburg Gutter Guards: aubergine, linen and river mint */
:root {
  --plum: #3d2d45;
  --plum-deep: #2a1e31;
  --plum-night: #1c1421;
  --mint: #8fd3b6;
  --mint-hover: #a7e0c7;
  --mint-ink: #0e2a1f;
  --linen: #f4efe6;
  --paper: #ffffff;
  --ink: #241d28;
  --muted: #625868;
  --line: #e1d9e2;
  --field: #a99cae;
  --link: #6a3b78;
  --river: #6f8fa6;
  --focus: #1f6fbf;
  --head: "Spectral", Georgia, serif;
  --body: "Nunito Sans", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--linen); color: var(--ink); font-family: var(--body); font-size: 1.06rem; line-height: 1.66; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.14; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
h2 { font-size: clamp(1.45rem, 2.7vw, 1.95rem); margin-top: 1.7em; color: var(--plum); }
h3 { font-size: 1.18rem; margin-top: 1.3em; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .35em; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--plum-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.prose { max-width: 68ch; }
.flush { margin-top: 0; }

.site-header { background: var(--plum-deep); color: #fff; position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 0 var(--mint); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; color: #fff; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 1.22rem; line-height: 1.1; }
.logo:hover { color: var(--mint); }
.logo svg { flex: none; }
.nav { display: flex; gap: 6px; }
.nav a { color: #e6dcea; text-decoration: none; font-weight: 700; font-size: .95rem; padding: 8px 12px; border-radius: 3px; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(143,211,182,.16); color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border-radius: 3px; font: 800 1.02rem/1.2 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; letter-spacing: .01em; }
.btn-call { background: var(--mint); color: var(--mint-ink); }
.btn-call:hover { background: var(--mint-hover); color: var(--mint-ink); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.header-call { white-space: nowrap; }

/* Home hero: art on the left, copy on the right */
.hero { background: var(--plum); color: #fff; padding: 54px 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1::after { content: ""; display: block; width: 72px; height: 5px; background: var(--mint); margin-top: 16px; }
.hero .lede { font-size: 1.14rem; color: #ddd0e2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-note { font-size: .9rem; color: #c8b9cf; margin-top: 16px; }
.hero-art svg { display: block; width: 100%; height: auto; border-radius: 4px; border: 1px solid rgba(255,255,255,.15); }

.page-hero { background: var(--plum); color: #fff; padding: 42px 0 36px; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 12px, transparent 12px 24px); }
.page-hero h1 { color: #fff; }
.page-hero p { color: #ddd0e2; max-width: 64ch; font-size: 1.12rem; margin: 0; }
.crumbs { font-size: .9rem; margin-bottom: 12px; color: #c8b9cf; }
.crumbs a { color: var(--mint); }
a.light { color: var(--mint); }

main section { padding: 50px 0; }
.band { background: var(--paper); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 50px; align-items: start; }

/* Tiles on home */
.tiles { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tiles li { margin: 0; }
.tiles a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; background: var(--linen); border-top: 4px solid var(--mint); text-decoration: none; color: var(--ink); border-radius: 2px; }
.tiles a:hover { background: #ece4f0; border-top-color: var(--plum); }
.tiles strong { font-family: var(--head); font-size: 1.15rem; color: var(--plum); line-height: 1.2; }
.tiles span { color: var(--muted); font-size: .95rem; }

.service-list { list-style: none; padding: 0; margin: 20px 0 0; border: 1px solid var(--line); background: var(--paper); }
.service-list li { margin: 0; border-bottom: 1px solid var(--line); }
.service-list li:last-child { border-bottom: 0; }
.service-list a { display: grid; grid-template-columns: 220px 1fr; gap: 18px; padding: 14px 18px; text-decoration: none; color: var(--ink); }
.service-list a:hover { background: #f6f1f8; }
.service-list strong { color: var(--plum); font-family: var(--head); font-size: 1.1rem; }
.service-list span { color: var(--muted); }

/* Steps as a connected timeline */
.steps { list-style: none; padding: 0; margin: 22px 0 0; counter-reset: st; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 17px; left: 18px; right: 18px; height: 2px; background: var(--mint); }
.steps li { counter-increment: st; margin: 0; position: relative; }
.steps li::before { content: counter(st); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--plum); color: var(--mint); font-weight: 800; position: relative; margin-bottom: 10px; border: 2px solid var(--mint); }
.steps h3 { margin-top: 0; }
.steps.stack { grid-template-columns: 1fr; }
.steps.stack::before { top: 18px; bottom: 18px; left: 17px; right: auto; width: 2px; height: auto; }
.steps.stack li { padding-left: 54px; }
.steps.stack li::before { position: absolute; left: 0; top: 0; }

.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 14px 0 0; }
.areas li { margin: 0; }
.areas a { display: inline-block; padding: 7px 14px; border: 2px solid var(--plum); color: var(--plum); text-decoration: none; font-weight: 700; border-radius: 3px; }
.areas a:hover { background: var(--plum); color: #fff; }
.after-list { margin-top: 1.2em; }

.signs { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.signs li { padding-left: 26px; position: relative; margin: 0; }
.signs li::before { content: "\2713"; position: absolute; left: 0; color: var(--plum); font-weight: 800; }

.faq { margin-top: 2em; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 800; list-style: none; padding-right: 28px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 1.4rem; color: var(--plum); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 8px 0 0; }

.note { background: #e7f4ee; border-left: 5px solid var(--plum); padding: 14px 18px; margin: 1.4em 0; }
.note p:last-child { margin-bottom: 0; }

table.facts { border-collapse: collapse; width: 100%; margin: 1em 0 1.4em; font-size: .95rem; }
table.facts th, table.facts td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.facts th { background: var(--plum); color: #fff; }
table.facts tr:nth-child(even) td { background: rgba(255,255,255,.6); }
.sources { font-size: .93rem; }
.updated { color: var(--muted); }

.quote-card { background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--plum); padding: 24px; position: sticky; top: 90px; }
.quote-card h2 { margin-top: 0; font-size: 1.45rem; }
.quote-card .btn { width: 100%; }
.quote-card .or { text-align: center; color: var(--muted); margin: 12px 0; font-size: .92rem; }
form.quote label { display: block; font-weight: 700; margin: 12px 0 4px; font-size: .94rem; }
form.quote input, form.quote select, form.quote textarea { width: 100%; padding: 11px 12px; border: 1.5px solid var(--field); border-radius: 3px; font: inherit; background: #fff; color: var(--ink); }
form.quote textarea { min-height: 92px; resize: vertical; }
form.quote .btn { margin-top: 16px; }
form.quote .fine { font-size: .84rem; color: var(--muted); margin-top: 10px; }
.form-status { margin-top: 12px; font-weight: 700; }
.form-status[data-state="error"] { color: #a12d1c; }
.form-status[data-state="ok"] { color: #1f6b4a; }
.hp { position: absolute; left: -9999px; }

.cta-band { background: var(--river); color: #fff; padding: 38px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { margin: 0; color: #fff; }
.cta-band p { margin: 6px 0 0; color: #eaf1f5; }
.cta-band .btn-call { background: var(--plum-deep); color: #fff; }
.cta-band .btn-call:hover { background: var(--plum-night); color: #fff; }

.site-footer { background: var(--plum-night); color: #cbbfd0; padding: 44px 0 100px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer h3 { color: var(--mint); margin-top: 0; font-size: 1.08rem; }
.site-footer ul { list-style: none; padding: 0; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.disclosure { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); max-width: 92ch; }

.call-bar { position: fixed; inset: auto 0 0 0; display: none; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--plum-deep); z-index: 30; }
.call-bar .btn { width: 100%; }

@media (max-width: 920px) {
  .hero-grid, .split, .foot-grid { grid-template-columns: 1fr; }
  .hero-art { order: 2; }
  .hero { padding: 36px 0 44px; }
  .quote-card { position: static; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { top: 18px; bottom: 18px; left: 17px; right: auto; width: 2px; height: auto; }
  .steps li { padding-left: 54px; }
  .steps li::before { position: absolute; left: 0; top: 0; }
  .nav { display: none; }
  .signs { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .service-list a { grid-template-columns: 1fr; gap: 2px; }
  .call-bar { display: block; }
  .site-header .wrap { min-height: 58px; gap: 10px; }
  .logo { font-size: 1rem; gap: 8px; }
  .logo svg { width: 26px; height: 26px; }
  .header-call { padding: 8px 10px; font-size: .9rem; }
  .header-call .call-word { display: none; }
}
@media (max-width: 380px) { .logo span { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
