/* Steve's Handyman Services — lewistonhandyman.com
   Palette: blueprint navy, barn-door red, warm paper, pine wood. */
:root {
  --accent: #c8322b;
  --navy: #1b2a3d;
  --navy-2: #22364f;
  --navy-3: #0f1d2e;
  --ink: #18212e;
  --muted: #5b6776;
  --paper: #f6f2ea;
  --paper-2: #efe8dc;
  --card: #ffffff;
  --line: #e2d9cb;
  --wood: #b9844c;
  --bp: #8fd3ff;
  --bp-bg: #10263d;
  --ok: #1f7a4a;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(20, 30, 45, 0.06), 0 8px 24px rgba(20, 30, 45, 0.08);
  --shadow-lg: 0 18px 50px rgba(15, 25, 40, 0.18);
  --display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: 16px;
}
@media (min-width: 700px) {
  :root { --gutter: 28px; }
}

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: #9e241e; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0 0 0.4em; letter-spacing: 0.005em; color: var(--navy); }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.muted { color: var(--muted); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 70%, #fff); outline-offset: 2px; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.ico.sm { width: 0.95em; height: 0.95em; }
.ico.xl { width: 44px; height: 44px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--display); font-weight: 600; font-size: 1.1rem; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 0.62em 1.2em; border-radius: var(--radius-sm); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.1; transition: transform 0.15s, background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 86%, #000); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: var(--paper-2); color: var(--navy); }
.btn-ghost:hover { background: var(--line); color: var(--navy); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-lg { font-size: 1.22rem; padding: 0.72em 1.4em; }
.btn-sm { font-size: 0.95rem; padding: 0.45em 0.9em; }
.btn-block { display: flex; width: 100%; margin-top: 10px; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* ---------- top bars & header ---------- */
.announce { background: var(--accent); color: #fff; text-align: center; font-weight: 600; font-size: 0.95rem; padding: 7px var(--gutter); }
.announce a { color: #fff; text-decoration: none; }
.topbar { background: var(--navy-3); color: #c9d6e6; font-size: 0.88rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-right { display: flex; gap: 18px; align-items: center; }
.emerg { color: #ffd2a6; }
.topbar-phone { font-weight: 700; }
@media (max-width: 760px) {
  .topbar-in > span:first-child { display: none; }
  .topbar-in { justify-content: center; }
}

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex: none; }
.brand:hover { color: var(--navy); }
.logo-mark { width: 44px; height: 44px; color: var(--navy); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--display); font-size: 1.42rem; font-weight: 700; letter-spacing: 0.01em; }
.brand-text small { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 600; }
.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: block; padding: 10px 12px; font-family: var(--display); font-size: 1.12rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--navy); text-decoration: none; border-radius: 6px; }
.main-nav > ul > li > a:hover, .main-nav > ul > li:focus-within > a { background: var(--paper); color: var(--accent); }
.menu { position: absolute; top: 100%; left: -10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 12px; min-width: 520px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: 0.16s; z-index: 50; }
.menu-narrow { min-width: 220px; display: grid; }
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.menu a { display: block; padding: 8px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.97rem; }
.menu a:hover { background: var(--paper); color: var(--accent); }
.menu-all { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 10px !important; color: var(--accent) !important; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--navy); font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1; }
.header-phone .ico { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--paper-2); color: var(--accent); }
.header-phone small { display: block; font-family: var(--body); font-size: 0.72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 3px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; }
.nav-toggle .ico { width: 30px; height: 30px; }
.nav-cta-mobile { display: none; }
@media (max-width: 1180px) {
  .header-phone span { display: none; }
}
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  /* Closed = out of layout entirely: an off-screen drawer would widen the
     page and make phones zoom out. */
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff; box-shadow: var(--shadow-lg); padding: 84px 18px 24px; overflow-y: auto; z-index: 60; margin: 0; display: none; }
  .main-nav.open { display: block; animation: navIn 0.25s ease; }
  @keyframes navIn { from { transform: translateX(100%); } to { transform: none; } }
  .main-nav > ul { flex-direction: column; }
  .main-nav > ul > li > a { font-size: 1.3rem; padding: 12px 8px; border-bottom: 1px solid var(--paper-2); border-radius: 0; }
  .menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; padding: 0 0 8px 12px; display: none; }
  .has-menu.open .menu { display: block; }
  .menu-grid { grid-template-columns: 1fr; }
  .nav-cta-mobile { display: block; margin-top: 18px; }
  .nav-toggle[aria-expanded='true'] { position: relative; z-index: 70; }
  body.nav-open::after { content: ''; position: fixed; inset: 0; background: rgba(10, 20, 35, 0.45); z-index: 55; }
}

.crumbs { padding-top: 12px; padding-bottom: 0; font-size: 0.88rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* ---------- blueprint panels ---------- */
.blueprint {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background:
    linear-gradient(rgba(143, 211, 255, 0.07) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(143, 211, 255, 0.07) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(rgba(143, 211, 255, 0.12) 1px, transparent 1px) 0 0 / 110px 110px,
    linear-gradient(90deg, rgba(143, 211, 255, 0.12) 1px, transparent 1px) 0 0 / 110px 110px,
    radial-gradient(120% 90% at 30% 20%, #17365a 0%, var(--bp-bg) 55%, #0b1b2c 100%);
  box-shadow: inset 0 0 0 1px rgba(143, 211, 255, 0.18), var(--shadow);
  aspect-ratio: 4 / 3;
}
.blueprint::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(143, 211, 255, 0.22); border-radius: 4px; pointer-events: none; }
.blueprint canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.titleblock { position: absolute; right: 10px; bottom: 10px; display: flex; font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: #cfe8ff; border: 1px solid rgba(143, 211, 255, 0.35); background: rgba(10, 26, 44, 0.75); pointer-events: none; max-width: calc(100% - 20px); }
.titleblock span { padding: 4px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.titleblock span + span { border-left: 1px solid rgba(143, 211, 255, 0.35); color: var(--bp); flex: none; }
.blueprint.mini { aspect-ratio: 16 / 10; border-radius: var(--radius) var(--radius) 0 0; box-shadow: none; }
.blueprint.mini::before { inset: 6px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 42px 0 54px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background:
  linear-gradient(rgba(27, 42, 61, 0.045) 1px, transparent 1px) 0 0 / 28px 28px,
  linear-gradient(90deg, rgba(27, 42, 61, 0.045) 1px, transparent 1px) 0 0 / 28px 28px; mask-image: linear-gradient(180deg, #000 30%, transparent); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; color: var(--accent); font-size: 1rem; margin-bottom: 10px; }
.eyebrow a { color: inherit; text-decoration: none; }
.lede { font-size: 1.18rem; color: #364253; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero-actions.center { justify-content: center; }
.trust { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 600; color: var(--navy); font-size: 0.98rem; }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust .ico { color: var(--ok); }
.hero-art { position: relative; }
.hero-blueprint { aspect-ratio: 5 / 4; }
.hero-blueprint .titleblock { top: 10px; bottom: auto; }
.hero-photo { position: absolute; left: -34px; bottom: -30px; width: 42%; border: 6px solid #fff; border-radius: 8px; box-shadow: var(--shadow-lg); background: #fff; transform: rotate(-3deg); }
.hero-photo img { border-radius: 3px; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-photo span { display: block; font-size: 0.72rem; color: var(--muted); padding: 5px 2px 0; line-height: 1.25; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-photo { left: auto; right: 8px; bottom: -26px; width: 34%; border-width: 4px; }
  .hero-photo span { display: none; }
  .hero { padding-top: 26px; }
}

.page-hero { padding: 36px 0 44px; background: linear-gradient(180deg, #fff, var(--paper)); border-bottom: 1px solid var(--line); }
.page-hero.compact { padding: 30px 0 30px; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.page-hero-grid .blueprint { aspect-ratio: 16 / 11; }
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- sections ---------- */
.section { padding: 70px 0; }
.section.tight { padding: 34px 0 60px; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--navy); color: #e7eef7; }
.section-dark h2 { color: #fff; }
.section-blueprint { background: var(--bp-bg) linear-gradient(rgba(143, 211, 255, 0.06) 1px, transparent 1px) 0 0 / 24px 24px; color: #d9e9f8; position: relative; }
.section-blueprint::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(143, 211, 255, 0.06) 1px, transparent 1px) 0 0 / 24px 24px; pointer-events: none; }
.section-blueprint h2, .section-blueprint h3 { color: #fff; }
.section-blueprint .section-intro { color: #b8cee4; }
.section-head { max-width: 780px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: flex; align-items: center; gap: 10px; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.18em; font-weight: 600; color: var(--accent); margin-bottom: 8px; font-size: 0.98rem; }
.section-head.center .kicker { justify-content: center; }
.kicker-line { width: 34px; height: 2px; background: currentColor; display: inline-block; }
.kicker.light { color: #ffb4a8; }
.section-intro { font-size: 1.12rem; color: var(--muted); }
.center-cta { text-align: center; margin: 34px 0 0; }
.sub-h { margin-top: 36px; }

/* ---------- service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.service-card { position: relative; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service-card.cta-card { background: var(--navy); color: #dce7f3; justify-content: center; padding: 26px 22px; }
.service-card.cta-card h3 { color: #fff; font-size: 1.6rem; }
.service-card.cta-card p { color: #c2d2e3; flex: 0; }
.service-card.cta-card .more { color: #ffb4a8; }
.service-card-link { position: absolute; inset: 0; z-index: 2; border-radius: var(--radius); }
.service-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin-bottom: 6px; }
.service-card p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); font-size: 1rem; }
.service-card:hover .more .ico { transform: translateX(3px); }
.more .ico { transition: transform 0.2s; }

/* ---------- projects ---------- */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.project-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.project-card-link { color: inherit; text-decoration: none; display: block; height: 100%; }
.project-card-link:hover { color: inherit; }
.project-card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.project-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.project-card:hover .project-card-img img { transform: scale(1.04); }
.badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { background: rgba(15, 29, 46, 0.82); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; display: inline-flex; align-items: center; gap: 5px; letter-spacing: 0.02em; }
.badge-accent { background: var(--accent); }
.project-card-body { padding: 16px 18px 20px; }
.project-card-body h3 { font-size: 1.3rem; margin: 6px 0; }
.project-card-body p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.tag { display: inline-block; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--wood); }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.photo-tile { margin: 0; position: relative; }
.photo-tile a { display: block; position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-2); aspect-ratio: 3 / 4; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.photo-tile a:hover img { transform: scale(1.04); }
.photo-tile figcaption { font-size: 0.88rem; color: var(--muted); padding: 6px 2px 0; line-height: 1.35; }
.stage { position: absolute; left: 8px; top: 8px; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; font-size: 0.82rem; padding: 3px 10px; border-radius: 4px; background: #fff; color: var(--navy); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }
.stage-before { background: #3f4b5a; color: #fff; }
.stage-during { background: #e7a73c; color: #1b1406; }
.stage-after { background: var(--ok); color: #fff; }

.filters { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--navy); text-decoration: none; font-weight: 600; font-size: 0.93rem; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.view-toggle a { padding: 6px 14px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: 0.93rem; }
.view-toggle a.on { background: var(--navy); color: #fff; }
.project-layout { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: start; }
.project-layout .photo-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (max-width: 900px) {
  .project-layout { grid-template-columns: 1fr; }
}

/* ---------- before / after compare ---------- */
.ba-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 44px; align-items: center; }
.ba-copy p { color: #c9d6e6; font-size: 1.08rem; }
.ba-compare { position: relative; aspect-ratio: 3 / 4; max-height: 640px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); --pos: 50%; justify-self: center; width: min(100%, 480px); user-select: none; }
.ba-compare figure { margin: 0; position: absolute; inset: 0; }
.ba-compare img { width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before .stage { left: 10px; }
.ba-after .stage { left: auto; right: 10px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, 0.4); pointer-events: none; z-index: 2; }
.ba-handle::after { content: '⟷'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; font-size: 22px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }
@media (max-width: 900px) {
  .ba-grid { grid-template-columns: 1fr; }
}

/* ---------- how it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: s; }
.steps::before { content: ''; position: absolute; top: 44px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, rgba(143, 211, 255, 0.55) 0 10px, transparent 10px 18px); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-art { width: 88px; height: 88px; margin: 0 auto 12px; display: block; padding: 12px; border-radius: 50%; background: var(--bp-bg); border: 1px solid rgba(143, 211, 255, 0.4); stroke: var(--bp); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; position: relative; }
.step-art .acc { stroke: #ff8a7a; }
.step-art path, .step-art rect, .step-art circle { stroke-dasharray: 200; stroke-dashoffset: 200; }
.step.in .step-art path, .step.in .step-art rect, .step.in .step-art circle { animation: draw 1.6s ease forwards; animation-delay: calc(var(--i) * 0.25s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.step-n { font-family: var(--display); font-weight: 700; color: var(--bp); letter-spacing: 0.14em; font-size: 0.95rem; }
.step h3 { margin: 4px 0 6px; font-size: 1.4rem; }
.step p { color: #b8cee4; font-size: 0.98rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 50px; align-items: start; }
.pull-quote { font-family: var(--display); font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.15; color: var(--navy); margin: 8px 0 26px; padding-left: 20px; border-left: 4px solid var(--accent); font-weight: 600; }
.pull-quote cite { display: block; font-family: var(--body); font-size: 0.95rem; color: var(--muted); font-style: normal; margin-top: 10px; font-weight: 600; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-item { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border-top: 3px solid var(--navy); }
.why-n { font-family: var(--display); font-weight: 700; color: var(--accent); letter-spacing: 0.1em; }
.why-item h3 { margin: 4px 0 6px; }
.why-item p { color: var(--muted); margin: 0; font-size: 0.98rem; }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 560px) {
  .why-list { grid-template-columns: 1fr; }
}

/* ---------- areas ---------- */
.area-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
.area-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.area-links a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; background: #fff; border-radius: var(--radius-sm); padding: 12px 16px; text-decoration: none; color: var(--navy); box-shadow: var(--shadow); border-left: 4px solid var(--accent); transition: transform 0.15s; }
.area-links a:hover { transform: translateX(4px); }
.area-links strong { font-family: var(--display); font-size: 1.3rem; }
.area-links span { grid-column: 1; color: var(--muted); font-size: 0.9rem; }
.area-links .ico { grid-row: 1 / 3; grid-column: 2; color: var(--accent); }
.area-map { margin: 0; background: var(--bp-bg); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); }
.area-map svg { width: 100%; height: auto; display: block; }
.area-map figcaption { color: #9fbbd6; font-size: 0.82rem; padding: 6px 6px 2px; }
.area-map .grid { fill: none; stroke: rgba(143, 211, 255, 0.08); stroke-width: 1; }
.area-map .ring { fill: none; stroke: rgba(143, 211, 255, 0.35); stroke-dasharray: 3 5; }
.area-map .ring-label, .area-map .dist { fill: #7fa9cf; font: 600 12px var(--display); letter-spacing: 0.08em; }
.area-map .route { stroke: #ff8a7a; stroke-width: 2; stroke-dasharray: 6 5; stroke-dashoffset: 400; animation: route 2.4s ease forwards; animation-delay: var(--d); }
@keyframes route { to { stroke-dashoffset: 0; } }
.area-map .node { cursor: pointer; }
.area-map .dot { fill: var(--bp-bg); stroke: var(--bp); stroke-width: 2.5; transition: 0.2s; }
.area-map .home .dot { fill: #ff8a7a; stroke: #fff; }
.area-map .node.on .dot, .area-map .node:hover .dot { fill: var(--bp); stroke: #fff; }
.area-map .pulse { fill: none; stroke: #ff8a7a; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.area-map .town { fill: #fff; font: 700 17px var(--display); letter-spacing: 0.04em; }
.area-map .county { fill: #7fa9cf; font: 500 11px var(--body); }
.area-map .north path { fill: rgba(143, 211, 255, 0.6); }
.area-map .north text, .area-map .scale text { fill: #9fbbd6; font: 700 12px var(--display); letter-spacing: 0.1em; }
.area-map .scale line { stroke: #9fbbd6; stroke-width: 1.5; }
.area-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.area-card a { display: block; height: 100%; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; color: inherit; text-decoration: none; position: relative; border-top: 4px solid var(--navy); transition: transform 0.2s; }
.area-card a:hover { transform: translateY(-3px); color: inherit; }
.area-card h2 { font-size: 1.6rem; margin: 0; }
.area-zip { position: absolute; right: 18px; top: 16px; font-family: var(--display); color: var(--line); font-size: 2rem; font-weight: 700; }
@media (max-width: 900px) {
  .area-grid { grid-template-columns: 1fr; }
}

/* ---------- content pages ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 44px; align-items: start; }
@media (max-width: 960px) {
  .content-grid { grid-template-columns: 1fr; }
}
.prose { font-size: 1.07rem; }
.prose h2 { margin-top: 1.5em; font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.prose h2:first-child, .prose figure + h2 { margin-top: 0.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.3em; }
.prose.small { font-size: 0.98rem; }
.prose.narrow { max-width: 760px; }
.prose-figure { margin: 0 0 24px; }
.prose-figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; max-height: 520px; object-fit: cover; }
.prose-figure figcaption { font-size: 0.88rem; color: var(--muted); padding-top: 6px; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.card.sticky { position: sticky; top: 96px; }
.card-title { font-size: 1.5rem; margin-bottom: 12px; }
.card-sub { font-size: 1.1rem; margin: 20px 0 8px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; font-size: 0.98rem; }
.checklist .ico { color: var(--ok); margin-top: 3px; }
.mini-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mini-links a { display: inline-block; padding: 4px 10px; border-radius: 99px; background: var(--paper); color: var(--navy); text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.mini-links a:hover { background: var(--navy); color: #fff; }
.chip-links { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-links a { padding: 9px 16px; border-radius: 8px; background: #fff; box-shadow: var(--shadow); color: var(--navy); text-decoration: none; font-weight: 600; }
.chip-links a:hover { background: var(--navy); color: #fff; }
.big-phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 2.1rem; color: #fff; text-decoration: none; line-height: 1; }
.big-phone.dark { color: var(--navy); font-size: 1.8rem; }
.big-phone:hover { color: #ffd2c9; }
.big-phone.dark:hover { color: var(--accent); }
.hours-list { list-style: none; padding: 0; margin: 12px 0; font-size: 0.95rem; }
.hours-list li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours-list li span:first-child { font-weight: 600; }
.emerg-note { font-size: 0.95rem; color: #ffd2a6; }
.emerg-note.dark { color: #9a4a12; background: #fff4e8; padding: 8px 10px; border-radius: 6px; }
.next-steps { padding-left: 1.2em; margin: 0; font-size: 0.95rem; color: var(--muted); }
.next-steps li { margin-bottom: 6px; }
.empty { color: var(--muted); padding: 30px 0; }

/* ---------- faq ---------- */
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 10px; }
.faq { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 18px; font-weight: 700; font-size: 1.07rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { width: 22px; height: 22px; flex: none; position: relative; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; background: var(--accent); transition: transform 0.2s; }
.faq-icon::after { transform: rotate(90deg); }
.faq[open] .faq-icon::after { transform: rotate(0); }
.faq-a { padding: 0 18px 14px; color: #3a4655; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.quote-card { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin: 0; }
.quote-card blockquote { margin: 10px 0; font-size: 1.05rem; }
.stars { display: flex; gap: 2px; }
.star { color: var(--line); }
.star.on { color: #e7a73c; fill: #e7a73c; }

/* ---------- CTA band + forms ---------- */
.cta-band { background: var(--navy) radial-gradient(90% 120% at 0% 0%, #2a4466 0%, transparent 60%); color: #e7eef7; padding: 64px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(143, 211, 255, 0.05) 1px, transparent 1px) 0 0 / 26px 26px, linear-gradient(90deg, rgba(143, 211, 255, 0.05) 1px, transparent 1px) 0 0 / 26px 26px; pointer-events: none; }
.cta-grid { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
.cta-copy h2 { color: #fff; }
.cta-copy p { color: #c9d6e6; }
.cta-phone { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 14px 0; }
.cta-form { color: var(--ink); }
@media (max-width: 900px) {
  .cta-grid { grid-template-columns: 1fr; }
}
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-weight: 700; font-size: 0.9rem; color: var(--navy); margin-bottom: 5px; letter-spacing: 0.01em; }
.field em { font-weight: 400; color: var(--muted); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 11px 12px; border: 1.5px solid #d6ccbd; border-radius: 7px; background: #fff; color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27, 42, 61, 0.12); }
.field .invalid, .field input.invalid, .field textarea.invalid { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.qf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field-wide { grid-column: 1 / -1; }
.qf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.qf-actions .muted { font-size: 0.9rem; }
@media (max-width: 560px) {
  .qf-grid { grid-template-columns: 1fr; }
}
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fdecea; color: #8c1d16; border-radius: 6px; padding: 10px 12px; font-weight: 600; }
.fine { font-size: 0.88rem; color: var(--muted); }
.form-success { text-align: center; padding: 20px 10px; }
.form-success .ico { color: var(--ok); width: 48px; height: 48px; }

/* estimate wizard */
.estimate-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 30px; align-items: start; }
@media (max-width: 960px) {
  .estimate-layout { grid-template-columns: 1fr; }
}
.estimate-form { padding: 26px; }
.estimate-form fieldset { border: 0; padding: 0; margin: 0 0 10px; min-width: 0; }
.estimate-form legend { font-family: var(--display); font-size: 1.7rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; padding: 0; }
.wizard-steps { display: none; }
.js .wizard-steps { display: flex; list-style: none; padding: 0; margin: 0 0 22px; gap: 8px; counter-reset: w; }
.wizard-steps li { flex: 1; font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-size: 0.95rem; border-top: 4px solid var(--paper-2); padding-top: 8px; counter-increment: w; }
.wizard-steps li::before { content: counter(w) '. '; }
.wizard-steps li.on { color: var(--navy); border-color: var(--accent); }
.wizard-steps li.done { color: var(--ok); border-color: var(--ok); }
.js [data-wizard] .wstep { display: none; }
.js [data-wizard] .wstep.on { display: block; animation: fadeUp 0.3s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wizard-nav { display: flex; gap: 10px; justify-content: space-between; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.js [data-wizard] [data-submit] { display: none; }
.js [data-wizard].last-step [data-submit] { display: inline-flex; }
.js [data-wizard].last-step [data-next] { display: none; }
[data-wizard] [data-next] { display: none; }
.js [data-wizard] [data-next] { display: inline-flex; margin-left: auto; }
.svc-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 18px; }
.svc-opt { position: relative; cursor: pointer; }
.svc-opt input { position: absolute; opacity: 0; pointer-events: none; }
.svc-opt > span { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 8px 8px 10px; border: 2px solid var(--line); border-radius: 9px; background: #fff; transition: 0.15s; height: 100%; }
.svc-opt strong { font-size: 0.93rem; line-height: 1.2; color: var(--navy); }
.svc-opt canvas.wf-icon { width: 100%; aspect-ratio: 16 / 10; border-radius: 6px; background: var(--bp-bg); display: block; }
.svc-q { width: 100%; aspect-ratio: 16 / 10; border-radius: 6px; background: var(--bp-bg); color: var(--bp); display: grid; place-items: center; font-family: var(--display); font-size: 2.4rem; font-weight: 700; }
.svc-opt:hover > span { border-color: #bdb2a1; }
.svc-opt input:checked + span { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.svc-opt input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) {
  .two { grid-template-columns: 1fr; }
}
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 99px; font-weight: 600; font-size: 0.95rem; }
.seg input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.dropzone { display: block; position: relative; border: 2px dashed #cbbfae; border-radius: 10px; padding: 22px; text-align: center; background: var(--paper); cursor: pointer; transition: 0.15s; }
.dropzone:hover, .dropzone.over { border-color: var(--navy); background: #fff; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dz-text { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--navy); pointer-events: none; }
.dz-text .ico { width: 30px; height: 30px; color: var(--accent); }
.dz-text small { color: var(--muted); }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumb { position: relative; width: 84px; height: 84px; border-radius: 6px; overflow: hidden; background: var(--paper-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; right: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.65); color: #fff; cursor: pointer; font-size: 14px; line-height: 22px; padding: 0; }
.thanks-mark { width: 84px; height: 84px; border-radius: 50%; background: #e3f2e9; color: var(--ok); display: grid; place-items: center; margin: 0 auto 14px; }
.page-hero.center, .page-hero.center .lede { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-3); color: #b9c7d8; padding: 56px 0 90px; font-size: 0.95rem; }
@media (min-width: 900px) {
  .site-footer { padding-bottom: 26px; }
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.8fr; gap: 34px; }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light .logo-mark { color: #fff; }
.brand-light .brand-text small { color: #8aa0b8; }
.footer-brand p { margin: 14px 0 0; }
.footer-contact { display: grid; gap: 6px; }
.footer-contact a, .footer-contact span { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.footer-contact a:hover { color: #ffb4a8; }
.footer-social { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-social a { color: #ffb4a8; }
.footer-h { color: #fff; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 12px; }
.footer-h + .footer-list + .footer-h, .footer-list + .footer-h { margin-top: 22px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-list a { color: #b9c7d8; text-decoration: none; }
.footer-list a:hover { color: #fff; }
.footer-list.hours li { display: flex; justify-content: space-between; gap: 10px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 40px; padding-top: 18px; font-size: 0.86rem; color: #8aa0b8; }
.powered { color: #8aa0b8; text-decoration: none; display: inline-flex; gap: 5px; align-items: center; }
.powered strong { color: #ff9a5c; }
.powered:hover { color: #fff; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- mobile action bar ---------- */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15, 25, 40, 0.12); padding-bottom: env(safe-area-inset-bottom); }
.action-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.action-bar a .ico { width: 22px; height: 22px; }
.action-bar a.primary { background: var(--accent); color: #fff; }
@media (max-width: 900px) {
  .action-bar { display: flex; }
}

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 14, 24, 0.94); display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; max-height: 100vh; padding: 20px 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 4px; }
.lightbox figcaption { color: #dfe7f1; padding-top: 10px; text-align: center; max-width: 80ch; }
.lightbox button { background: rgba(255, 255, 255, 0.1); border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; justify-self: center; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.22); }
.lb-close { position: absolute; right: 14px; top: 14px; }
.lb-prev .ico { transform: rotate(180deg); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
