/* ==========================================================================
   AFGH Handyman
   Palette extracted from the real logo (tools/build_images.py + 03_BRAND_AND_COLORS.md):
     navy  #18262F  the wordmark
     blue  #0888DD  the accent bars
   Every text/background pair below was checked against WCAG AA. The logo blue is
   bright (3.77:1 on white) so it is used for graphics, and a slightly deeper blue
   drives buttons and links where text contrast has to pass.
   ========================================================================== */

:root {
  --navy:        #18262f;
  --navy-800:    #1f313d;
  --navy-900:    #0f1a21;
  --brand-blue:  #0888dd;  /* logo-true; graphics, rules, icon accents */
  --cta:         #0a72bd;  /* 5.05:1 with white text */
  --cta-hover:   #0b66a8;  /* 6.03:1 */
  --link:        #0a6cb4;  /* 5.50:1 on white */
  --blue-on-dark:#38a7ea;  /* 5.81:1 on navy */

  --ink:         #2b3a45;  /* headings, 11.7:1 */
  --ink-soft:    #55636e;  /* body, 6.18:1 */
  --on-navy:     #ffffff;
  --on-navy-soft:#aab8c2;  /* 7.62:1 on navy */

  --paper:       #ffffff;
  --paper-alt:   #f4f6f8;
  --paper-warm:  #eef2f5;
  --line:        #dde4ea;
  --star:        #f6a429;

  --shadow-sm: 0 1px 2px rgba(24, 38, 47, .06), 0 2px 6px rgba(24, 38, 47, .06);
  --shadow-md: 0 2px 6px rgba(24, 38, 47, .07), 0 10px 24px rgba(24, 38, 47, .09);
  --shadow-lg: 0 4px 12px rgba(24, 38, 47, .09), 0 24px 48px rgba(24, 38, 47, .14);

  --radius:    10px;
  --radius-lg: 16px;

  --font-head: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --gut: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 7vw, 6rem);

  --header-h: 76px;
}

/* --- reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.015em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.35rem + 2.9vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.02rem + .6vw, 1.4rem); }
h4 { font-size: 1.0625rem; }
p  { text-wrap: pretty; }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--cta-hover); }

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

/* --- layout primitives ------------------------------------------------- */
.wrap { width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--paper-alt); }
.section--navy { background: var(--navy); color: var(--on-navy-soft); }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: .85rem; font-size: 1.09rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--link);
  margin-bottom: .75rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 3px; border-radius: 2px;
  background: var(--brand-blue);
}
.section-head--center .eyebrow::before { display: none; }
.section--navy .eyebrow { color: var(--blue-on-dark); }

.skip-link {
  position: absolute; left: .5rem; top: -100%; z-index: 200;
  background: var(--cta); color: #fff; padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius) var(--radius); font-weight: 600;
}
.skip-link:focus { top: 0; color: #fff; }

/* --- buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .8rem 1.5rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  letter-spacing: .005em;
  border: 2px solid transparent; border-radius: var(--radius);
  text-decoration: none; text-align: center;
  transition: background-color .18s ease, border-color .18s ease,
              color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--cta { background: var(--cta); color: #fff; box-shadow: var(--shadow-sm); }
.btn--cta:hover { background: var(--cta-hover); color: #fff; box-shadow: var(--shadow-md); }

.btn--phone {
  background: #fff; color: var(--navy); border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--phone:hover { color: var(--navy); border-color: var(--brand-blue); }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

.btn--outline { background: transparent; color: var(--link); border-color: var(--line); }
.btn--outline:hover { border-color: var(--cta); background: var(--paper-alt); color: var(--cta-hover); }

.btn--lg { min-height: 56px; padding: .95rem 1.85rem; font-size: 1.075rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* --- top bar ----------------------------------------------------------- */
.topbar {
  background: var(--navy-900); color: var(--on-navy-soft);
  font-size: .875rem; line-height: 1.4;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 40px; padding-block: .45rem;
}
.topbar__list { display: flex; flex-wrap: wrap; gap: 1.35rem; list-style: none; padding: 0; }
.topbar li { display: inline-flex; align-items: center; gap: .45rem; }
.topbar svg { width: 15px; height: 15px; color: var(--blue-on-dark); flex: none; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--blue-on-dark); text-decoration: underline; }
@media (max-width: 860px) { .topbar { display: none; } }

/* --- header ------------------------------------------------------------ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header--scrolled { box-shadow: var(--shadow-md); }
.header__inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex: none; margin-right: auto; }
/* The logo is a stacked lockup (wrench over wordmark), so it is sized by height
   rather than width -- sizing by width made the sticky header 130px tall. */
.brand img { height: 58px; width: auto; }
@media (max-width: 480px) { .brand img { height: 48px; } }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav__list { display: flex; align-items: center; gap: .1rem; list-style: none; padding: 0; margin: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .6rem .78rem; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 600; font-size: .96rem;
  color: var(--navy); text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.nav__link:hover { background: var(--paper-alt); color: var(--cta); }
.nav__link[aria-current="page"] { color: var(--cta); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; /* placeholder for underline variant */
}
.nav__item { position: relative; }
.nav__item--current > .nav__link {
  background: var(--paper-alt); color: var(--cta);
}
.nav__caret { width: 11px; height: 11px; transition: transform .18s ease; }
.nav__item--has-menu:hover .nav__caret,
.nav__item--open .nav__caret { transform: rotate(180deg); }

.nav__menu {
  position: absolute; top: calc(100% + .35rem); left: 0; z-index: 20;
  min-width: 310px; padding: .5rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}
.nav__item--has-menu:hover .nav__menu,
.nav__item--has-menu:focus-within .nav__menu {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear 0s;
}
.nav__menu a {
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem .7rem; border-radius: 8px;
  color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.nav__menu a:hover { background: var(--paper-alt); color: var(--cta); }
.nav__menu .ico { color: var(--brand-blue); flex: none; }

.header__cta { display: flex; align-items: center; gap: .6rem; flex: none; }
.header__phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  color: var(--navy); text-decoration: none; white-space: nowrap;
  padding: .45rem .3rem;
}
.header__phone:hover { color: var(--cta); }
.header__phone svg { width: 18px; height: 18px; color: var(--brand-blue); }

.burger {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; flex: none;
  background: var(--paper-alt); border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--navy);
}
.burger svg { width: 22px; height: 22px; }
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }

@media (max-width: 1040px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header__cta .btn--cta { display: none; }
}
@media (max-width: 620px) { .header__phone span { display: none; } }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(15, 26, 33, .55);
  opacity: 0; visibility: hidden;
  /* visibility flips instantly on open and is only delayed on close, so the
     menu never depends on an animation frame actually running to become
     focusable -- it just fades out gracefully. */
  transition: opacity .22s ease, visibility 0s linear .22s;
}
.drawer[data-open="true"] {
  opacity: 1; visibility: visible;
  transition: opacity .22s ease, visibility 0s linear 0s;
}
.drawer__panel {
  position: absolute; inset-block: 0; right: 0;
  width: min(400px, 88vw); overflow-y: auto;
  background: #fff; padding: 1.15rem var(--gut) 2rem;
  transform: translateX(100%); transition: transform .26s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; gap: 1rem;
}
.drawer[data-open="true"] .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__list { list-style: none; padding: 0; margin: 0; }
.drawer__list a {
  display: block; padding: .8rem .25rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem;
  color: var(--navy); text-decoration: none;
}
.drawer__list a:hover, .drawer__list a[aria-current="page"] { color: var(--cta); }
.drawer__sub { list-style: none; padding: 0 0 .5rem .9rem; margin: 0; }
.drawer__sub a { font-size: .98rem; font-weight: 500; padding: .58rem .25rem; border-bottom: 0; color: var(--ink-soft); }
.drawer__foot { margin-top: auto; display: grid; gap: .6rem; }

/* --- hero -------------------------------------------------------------- */
.hero { position: relative; background: var(--navy); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15,26,33,.72) 0%, rgba(15,26,33,.80) 55%, rgba(15,26,33,.92) 100%),
    linear-gradient(100deg, rgba(15,26,33,.85) 0%, rgba(15,26,33,.35) 70%);
}
.hero__inner {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  max-width: 46rem;
}
.hero h1 { color: #fff; }
.hero__lede {
  margin-top: 1.15rem; font-size: clamp(1.05rem, .98rem + .45vw, 1.25rem);
  color: #dbe3e9; max-width: 38rem;
}
.hero .btn-row { margin-top: 2rem; }
.hero__chips {
  display: flex; flex-wrap: wrap; gap: .5rem .65rem;
  margin-top: 2rem; padding: 0; list-style: none;
}
.hero__chips li {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .42rem .8rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: .875rem; font-weight: 600; color: #fff;
}
.hero__chips svg { width: 15px; height: 15px; color: var(--blue-on-dark); }

/* page hero (interior pages) */
.pagehero { position: relative; background: var(--navy); color: #fff; isolation: isolate; }
.pagehero--photo .pagehero__media { position: absolute; inset: 0; z-index: -2; }
.pagehero--photo .pagehero__media img { width: 100%; height: 100%; object-fit: cover; }
.pagehero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(15,26,33,.94) 0%, rgba(15,26,33,.72) 100%);
}
.pagehero:not(.pagehero--photo)::after {
  background: linear-gradient(105deg, var(--navy) 0%, var(--navy-800) 100%);
}
.pagehero__inner { padding-block: clamp(2.5rem, 5vw, 4.25rem); max-width: 48rem; }
.pagehero h1 { color: #fff; }
.pagehero__lede { margin-top: 1rem; font-size: 1.13rem; color: #d5dee5; max-width: 40rem; }
.pagehero .btn-row { margin-top: 1.75rem; }

.crumbs { font-size: .87rem; color: #9fb0bd; margin-bottom: .9rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.crumbs li::after { content: "/"; margin-left: .4rem; opacity: .5; }
.crumbs li:last-child::after { display: none; }
.crumbs a { color: #cfdae2; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* --- trust bar --------------------------------------------------------- */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar__list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px; list-style: none; padding: 0; margin: 0;
  background: var(--line);
}
.trustbar__item {
  display: flex; align-items: center; gap: .8rem;
  padding: 1.15rem 1.15rem; background: #fff;
}
.trustbar__mark { flex: none; color: var(--brand-blue); }
.trustbar__mark svg { width: 26px; height: 26px; }
.trustbar__score {
  font-family: var(--font-head); font-weight: 800; font-size: 1.18rem;
  color: var(--ink); line-height: 1.2;
}
.trustbar__label { font-size: .855rem; color: var(--ink-soft); line-height: 1.35; }

.stars { display: inline-flex; gap: 1px; color: var(--star); }
.stars svg { width: 15px; height: 15px; }
.stars--lg svg { width: 19px; height: 19px; }

/* --- services grid ----------------------------------------------------- */
.svc-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}
.svc-card {
  display: flex; flex-direction: column; gap: .7rem;
  padding: 1.6rem 1.5rem 1.75rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc-card:hover {
  transform: translateY(-4px); border-color: #c3d3e0;
  box-shadow: var(--shadow-md); color: inherit;
}
.svc-card__icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(140deg, #e8f3fc, #d6eafa);
  color: var(--cta); flex: none;
}
.svc-card__icon svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 1.16rem; }
.svc-card p { font-size: .96rem; margin: 0; }
.svc-card__more {
  margin-top: auto; padding-top: .55rem;
  font-family: var(--font-head); font-weight: 700; font-size: .93rem; color: var(--cta);
  display: inline-flex; align-items: center; gap: .35rem;
}
.svc-card__more svg { width: 15px; height: 15px; transition: transform .2s ease; }
.svc-card:hover .svc-card__more svg { transform: translateX(3px); }

/* --- service photo tiles ----------------------------------------------
   Merges what used to be two homepage sections (an 8-card services grid and a
   separate photo gallery preview) into one: a real project photo per service,
   captioned with that service's name and blurb, linking to its page. Halves the
   homepage height on phones while keeping all 8 internal service links. */
.svc-photo-grid {
  display: grid;
  gap: .7rem;
  grid-template-columns: repeat(2, 1fr);   /* 2-up on phones */
}
@media (min-width: 660px) { .svc-photo-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1000px) { .svc-photo-grid { grid-template-columns: repeat(4, 1fr); gap: 1.1rem; } }

/* The whole card is the link -- photo on top, text in the card body beneath. */
.svc-photo {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
@media (min-width: 660px) { .svc-photo { border-radius: var(--radius-lg); } }
.svc-photo:hover {
  transform: translateY(-4px);
  border-color: #c3d3e0;
  box-shadow: var(--shadow-md);
  color: inherit;
}

.svc-photo__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-warm); }
.svc-photo__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .6, .2, 1);
}
.svc-photo:hover .svc-photo__media img { transform: scale(1.05); }

.svc-photo__body {
  display: flex; flex-direction: column; gap: .22rem;
  padding: .7rem .75rem .85rem;
  flex: 1;
}
@media (min-width: 660px) { .svc-photo__body { padding: 1rem 1.05rem 1.15rem; gap: .32rem; } }

.svc-photo__title {
  font-family: var(--font-head); font-weight: 700; color: var(--ink);
  font-size: clamp(.92rem, .84rem + .35vw, 1.14rem);
  line-height: 1.2; letter-spacing: -.01em;
}
.svc-photo:hover .svc-photo__title { color: var(--cta); }
.svc-photo__blurb {
  margin: 0; color: var(--ink-soft);
  font-size: clamp(.735rem, .69rem + .18vw, .885rem);
  line-height: 1.35;
}
/* Hidden on phones -- the card is obviously tappable, and the row saves height
   in the section that was making the homepage long. */
.svc-photo__more {
  display: none; align-items: center; gap: .3rem;
  margin-top: auto; padding-top: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: .86rem;
  color: var(--cta);
}
.svc-photo__more svg { width: 14px; height: 14px; transition: transform .2s ease; }
.svc-photo:hover .svc-photo__more svg { transform: translateX(3px); }
@media (min-width: 660px) { .svc-photo__more { display: inline-flex; } }

/* --- split (owner intro) ---------------------------------------------- */
.split {
  display: grid; gap: clamp(2rem, 5vw, 3.75rem);
  grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr .95fr; }
  .split--reverse .split__media { order: -1; }
}
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split__body > * + * { margin-top: 1.1rem; }

/* Portrait placeholder -- stands in until a real photo of Ed is supplied.
   A brand-coloured block rather than stock photography, per the design rule
   that fabricated "authenticity" undercuts the trust this site is built on. */
.portrait-ph {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .9rem;
  aspect-ratio: 3 / 4; width: 100%;
  padding: 2rem 1.5rem; text-align: center;
  background:
    radial-gradient(circle at 50% 34%, rgba(8, 136, 221, .22), transparent 58%),
    linear-gradient(155deg, var(--navy) 0%, var(--navy-800) 55%, #22394a 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  color: var(--on-navy-soft);
}
.portrait-ph__mark {
  display: grid; place-items: center;
  width: clamp(76px, 18%, 108px); aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 2px solid rgba(255, 255, 255, .22);
  color: var(--blue-on-dark);
}
.portrait-ph__mark svg { width: 52%; height: 52%; }
.portrait-ph__title {
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: #fff;
}
.portrait-ph__note { font-size: .89rem; max-width: 24ch; margin: 0; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist svg {
  width: 21px; height: 21px; flex: none; margin-top: .18rem; color: var(--cta);
}
.section--navy .checklist svg { color: var(--blue-on-dark); }

/* --- stat strip -------------------------------------------------------- */
.stats { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.9rem, 1.4rem + 1.7vw, 2.6rem);
  color: #fff; line-height: 1.05;
}
.stat__label { margin-top: .35rem; font-size: .93rem; color: var(--on-navy-soft); }

/* --- gallery ----------------------------------------------------------- */
.gal-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.gal-item {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--navy); box-shadow: var(--shadow-sm);
}
.gal-item--wide { grid-column: span 2; }
@media (max-width: 720px) { .gal-item--wide { grid-column: span 1; } }
.gal-item img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10;
  transition: transform .5s cubic-bezier(.2,.6,.2,1);
}
.gal-item:hover img { transform: scale(1.045); }
.gal-item__cap {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 2.75rem 1.15rem 1.05rem;
  background: linear-gradient(180deg, transparent, rgba(15,26,33,.9));
  color: #fff;
}
.gal-item__cap strong { display: block; font-family: var(--font-head); font-size: 1.03rem; }
.gal-item__cap span { display: block; font-size: .875rem; color: #cfdae2; margin-top: .15rem; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.filter {
  padding: .55rem 1.05rem; min-height: 44px;
  display: inline-flex; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .93rem; color: var(--navy);
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.filter:hover { border-color: var(--brand-blue); color: var(--cta); }
.filter[aria-pressed="true"] { background: var(--cta); border-color: var(--cta); color: #fff; }

/* --- reviews ----------------------------------------------------------- */
.rev-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.rev-card {
  display: flex; flex-direction: column; gap: .85rem;
  padding: 1.55rem 1.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.section--alt .rev-card { background: #fff; }
.rev-card__top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.rev-card__text { font-size: .985rem; color: var(--ink-soft); margin: 0; }
.rev-card__text::before { content: "\201C"; }
.rev-card__text::after  { content: "\201D"; }
.rev-card__who {
  display: flex; align-items: center; gap: .7rem;
  margin-top: auto; padding-top: .35rem;
}
.rev-card__avatar {
  display: grid; place-items: center; flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(140deg, var(--navy), var(--navy-800));
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .95rem;
}
.rev-card__name { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .98rem; }
.rev-card__src { font-size: .82rem; color: var(--ink-soft); }

.badge-src {
  display: inline-flex; align-items: center; gap: .38rem;
  padding: .25rem .6rem; border-radius: 999px;
  font-size: .765rem; font-weight: 700; letter-spacing: .01em;
  border: 1px solid var(--line); background: var(--paper-alt); color: var(--ink);
  white-space: nowrap;
}
.badge-src svg { width: 13px; height: 13px; flex: none; }
.badge-src--google { border-color: #d7e3f4; background: #f1f6fe; }
.badge-src--homeadvisor { border-color: #cfe6d3; background: #f0f8f1; }

.rev-summary {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin-bottom: 2.25rem;
}
.rev-summary__card {
  padding: 1.35rem 1.4rem; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.rev-summary__score {
  font-family: var(--font-head); font-weight: 800;
  font-size: 2.15rem; color: var(--ink); line-height: 1;
}
.rev-summary__meta { margin-top: .5rem; font-size: .9rem; }
.rev-summary__card .stars { margin-top: .55rem; }

/* --- FAQ / accordion --------------------------------------------------- */
.faq-list { display: grid; gap: .7rem; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.faq-item > summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 700; font-size: 1.045rem; color: var(--ink);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-top: .32rem;
  border-right: 2.5px solid var(--cta); border-bottom: 2.5px solid var(--cta);
  transform: rotate(45deg); transition: transform .22s ease;
}
.faq-item[open] > summary::after { transform: rotate(-135deg); }
.faq-item[open] > summary { color: var(--cta); }
.faq-item__body { padding: 0 1.25rem 1.25rem; }
.faq-item__body p { margin: 0; }

/* --- service page ------------------------------------------------------ */
.svc-layout { display: grid; gap: clamp(2rem, 5vw, 3.25rem); }
@media (min-width: 980px) { .svc-layout { grid-template-columns: minmax(0,1fr) 340px; align-items: start; } }

.prose > * + * { margin-top: 1.15rem; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.9rem; }
.prose ul { padding-left: 0; list-style: none; }
.prose :first-child { margin-top: 0; }
.lead { font-size: 1.12rem; color: var(--ink); }

.sidebar { display: grid; gap: 1.1rem; position: sticky; top: calc(var(--header-h) + 1.1rem); }
@media (max-width: 979px) { .sidebar { position: static; } }
.side-card {
  padding: 1.5rem 1.4rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.side-card--navy { background: var(--navy); border-color: var(--navy); color: var(--on-navy-soft); }
.side-card--navy h3 { color: #fff; }
.side-card h3 { font-size: 1.12rem; margin-bottom: .6rem; }
.side-card p { font-size: .95rem; }
.side-card .btn { margin-top: 1rem; }
.side-list { list-style: none; padding: 0; margin: .35rem 0 0; display: grid; gap: .12rem; }
.side-list a {
  display: flex; align-items: center; gap: .55rem;
  padding: .55rem .5rem; border-radius: 8px;
  font-weight: 600; font-size: .95rem; color: var(--navy); text-decoration: none;
}
.side-list a:hover { background: var(--paper-alt); color: var(--cta); }
.side-list .ico { color: var(--brand-blue); flex: none; }
.side-list li[aria-current="true"] a { background: var(--paper-alt); color: var(--cta); }

.photo-figure { margin: 0; }
.photo-figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.photo-figure figcaption { margin-top: .7rem; font-size: .9rem; color: var(--ink-soft); }
.photo-pair { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.quote-card {
  display: grid; gap: .85rem;
  padding: 1.5rem 1.5rem; border-left: 4px solid var(--brand-blue);
  background: var(--paper-alt); border-radius: 0 var(--radius) var(--radius) 0;
}
.quote-card blockquote { margin: 0; font-size: 1.02rem; color: var(--ink); }
.quote-card__who { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; font-size: .9rem; }
.quote-card__who strong { font-family: var(--font-head); color: var(--ink); }

/* --- areas ------------------------------------------------------------- */
.area-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.area-card {
  padding: 1.35rem 1.4rem; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.area-card h3 { font-size: 1.08rem; display: flex; align-items: center; gap: .5rem; }
.area-card h3 svg { width: 17px; height: 17px; color: var(--brand-blue); flex: none; }
.area-card p { margin-top: .5rem; font-size: .94rem; }

.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.pill-list li {
  padding: .42rem .9rem; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  font-size: .9rem; font-weight: 600; color: #fff;
}

/* --- CTA band ---------------------------------------------------------- */
.ctaband {
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-800) 60%, #22394a 100%);
  color: var(--on-navy-soft);
  position: relative; overflow: hidden;
}
.ctaband::before {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(8,136,221,.28), transparent 68%);
}
.ctaband__inner {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.75rem; padding-block: clamp(2.5rem, 5vw, 3.75rem);
}
.ctaband h2 { color: #fff; max-width: 28ch; }
.ctaband p { margin-top: .7rem; max-width: 46ch; }

/* --- forms ------------------------------------------------------------- */
.form-grid { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); }
.field .req { color: #b23b3b; }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem .95rem;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  font-size: 1rem; color: var(--ink);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--cta);
  box-shadow: 0 0 0 3px rgba(10,114,189,.16);
}
.field textarea { min-height: 150px; resize: vertical; }
.field__hint { font-size: .86rem; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-layout { display: grid; gap: clamp(2rem, 5vw, 3.25rem); }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1.15fr .85fr; align-items: start; } }

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: .85rem; }
.info-list .ico {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 10px;
  background: #e8f3fc; color: var(--cta);
}
.info-list .ico svg { width: 19px; height: 19px; }
.info-list strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .97rem; }
.info-list a { font-weight: 600; }

.hours-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.hours-table th, .hours-table td { padding: .55rem 0; text-align: left; border-bottom: 1px solid var(--line); }
.hours-table th { font-weight: 600; color: var(--ink); }
.hours-table td { text-align: right; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table .is-closed { color: #8a959e; }

/* --- footer ------------------------------------------------------------ */
.footer { background: var(--navy); color: var(--on-navy-soft); font-size: .95rem; }
.footer a { color: var(--on-navy-soft); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid {
  display: grid; gap: 2.25rem;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  padding-block: clamp(2.75rem, 5vw, 4rem);
}
.footer__brand img { width: 165px; margin-bottom: 1rem; }
.footer h3 {
  font-size: .87rem; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; margin-bottom: 1rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem; padding-block: 1.35rem;
  border-top: 1px solid rgba(255,255,255,.13);
  font-size: .875rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.15rem; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.footer__social a {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 10px; background: rgba(255,255,255,.09);
}
.footer__social a:hover { background: var(--cta); }
.footer__social svg { width: 19px; height: 19px; }
.footer__nap { font-style: normal; display: grid; gap: .5rem; }

/* --- sticky mobile call bar -------------------------------------------- */
.callbar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 120;
  display: none; gap: .55rem; padding: .6rem .7rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.98);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(24,38,47,.12);
}
.callbar .btn { flex: 1; min-height: 52px; font-size: 1rem; }
@media (max-width: 860px) {
  .callbar { display: flex; }
  body { padding-bottom: 74px; }
}

/* --- misc -------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.note {
  padding: 1rem 1.15rem; border-left: 3px solid var(--brand-blue);
  background: var(--paper-alt); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .94rem;
}
.error-page { text-align: center; padding-block: clamp(4rem, 10vw, 7rem); }
.error-page__code {
  font-family: var(--font-head); font-weight: 800; line-height: 1;
  font-size: clamp(4.5rem, 12vw, 8rem); color: var(--brand-blue);
}
