/* ==========================================================================
   Maverick Remodeling — shared design system
   Used by the static HTML pages AND the WordPress theme in /resources/.
   ========================================================================== */

:root {
  --harbor: #16394a;        /* primary: deep bay blue-green */
  --harbor-deep: #0e2733;
  --harbor-soft: #e6edf0;
  --ink: #1e272b;
  --slate: #56666d;
  --sand: #ede8de;          /* warm surface for alternating bands */
  --sand-light: #f7f4ee;
  --line: #d8d1c5;
  --brass: #b8862b;
  --brass-dark: #8f6719;
  --brass-soft: #f3e9d3;
  --white: #ffffff;

  --font-display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --max: 1240px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 4px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--harbor); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brass-dark); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--brass); color: var(--ink); padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type scale (major third-ish, tightened for display face) */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--harbor-deep);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; max-width: 68ch; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong { font-weight: 600; }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--slate); max-width: 60ch; }
.muted { color: var(--slate); }

/* Section rhythm */
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(3.2rem, 7vw, 6rem); }
.section--sand { background: var(--sand-light); }
.section--harbor { background: var(--harbor); color: #dfe8ec; }
.section--harbor h2, .section--harbor h3 { color: var(--white); }
.section--harbor p { color: #dfe8ec; }
.section--harbor a:not(.btn) { color: var(--white); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }

/* Section header: a short brass rule followed by a small kicker, then the heading */
.section-head { max-width: 62ch; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.kicker {
  display: flex; align-items: center; gap: .7rem;
  font-size: .95rem; color: var(--slate); margin: 0 0 .8rem;
}
.kicker::before { content: ""; width: 2rem; height: 3px; background: var(--brass); flex: none; }
.section-head--center .kicker { justify-content: center; }
.section--harbor .kicker { color: #b9c9d1; }
.section-head p { margin-bottom: 0; }

/* Buttons */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; min-height: 48px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: .005em;
  border-radius: var(--radius); border: 2px solid transparent; cursor: pointer;
  text-decoration: none; transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--brass); border-color: var(--brass); color: var(--harbor-deep); }
.btn--primary:hover { background: var(--brass-dark); border-color: var(--brass-dark); color: var(--white); }
.btn--outline { background: transparent; border-color: var(--harbor); color: var(--harbor); }
.btn--outline:hover { background: var(--harbor); color: var(--white); }
.btn--light { background: transparent; border-color: rgba(255,255,255,.7); color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--harbor-deep); border-color: var(--white); }
.btn--sm { padding: .55rem 1rem; min-height: 40px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.text-link { font-weight: 600; color: var(--harbor); text-decoration: none; border-bottom: 2px solid var(--brass); padding-bottom: 1px; }
.text-link:hover { color: var(--brass-dark); }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar { background: var(--harbor-deep); color: #c9d6dc; font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 1rem; }
.topbar a { color: #e6eef2; text-decoration: none; }
.topbar a:hover { color: var(--brass); }
.topbar__left { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar__social { display: flex; gap: .9rem; }
.topbar svg { width: 16px; height: 16px; vertical-align: -3px; fill: currentColor; }
@media (max-width: 700px) { .topbar__left span.addr { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { box-shadow: 0 6px 24px -12px rgba(14,39,51,.35); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.logo img { height: 58px; width: auto; }
@media (max-width: 480px) { .logo img { height: 46px; } }

.nav { display: none; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: .1rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .65rem .55rem; font-family: var(--font-display); font-weight: 600; font-size: .98rem; white-space: nowrap;
  color: var(--harbor-deep); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: var(--radius);
}
.nav__link:hover, .nav__item.is-open > .nav__link, .nav__item.is-current > .nav__link { color: var(--brass-dark); }
.nav__link svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.nav__panel {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--brass);
  box-shadow: 0 18px 40px -18px rgba(14,39,51,.45); padding: .5rem 0; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav__item:hover > .nav__panel, .nav__item.is-open > .nav__panel, .nav__item:focus-within > .nav__panel { opacity: 1; visibility: visible; transform: none; }
.nav__panel a { display: block; padding: .5rem 1.1rem; color: var(--ink); text-decoration: none; font-size: .98rem; }
.nav__panel a:hover { background: var(--sand-light); color: var(--brass-dark); }
.nav__panel a.is-sub { padding-left: 2.1rem; color: var(--slate); font-size: .93rem; }
.nav__panel a.is-sub::before { content: "–"; margin-right: .5rem; color: var(--brass); }
.header__actions { display: none; align-items: center; gap: .9rem; }
.header__cta { padding: .75rem 1.1rem; font-size: .95rem; }
@media (min-width: 1024px) and (max-width: 1180px) { .header__phone { display: none; } }
.header__phone { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--harbor-deep); text-decoration: none; white-space: nowrap; }
.header__phone:hover { color: var(--brass-dark); }
.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem; background: none; border: 2px solid var(--harbor); border-radius: var(--radius);
  padding: .5rem .8rem; font-family: var(--font-display); font-weight: 600; color: var(--harbor-deep); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.2; fill: none; }
@media (min-width: 1024px) {
  .nav { display: block; }
  .header__actions { display: flex; }
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 150; display: none; }
.drawer.is-open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(14,39,51,.55); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 92vw);
  background: var(--white); overflow-y: auto; padding: 1rem 1.2rem 2rem; display: flex; flex-direction: column;
}
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.drawer__close { background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: .4rem; color: var(--harbor-deep); }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li { margin: 0; border-bottom: 1px solid var(--line); }
.drawer__group { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: 0; padding: .9rem 0; font: 600 1.05rem var(--font-display); color: var(--harbor-deep); cursor: pointer; text-align: left; }
.drawer__group svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; transition: transform .2s; }
.drawer__group[aria-expanded="true"] svg { transform: rotate(180deg); }
.drawer__sub { display: none; padding: 0 0 .6rem; }
.drawer__group[aria-expanded="true"] + .drawer__sub { display: block; }
.drawer__sub a { display: block; padding: .45rem 0 .45rem .9rem; color: var(--ink); text-decoration: none; }
.drawer__sub a.is-sub { padding-left: 1.9rem; color: var(--slate); }
.drawer > .drawer__panel > .btn { margin-top: 1.2rem; }
.drawer__contact { margin-top: 1.4rem; font-size: .95rem; color: var(--slate); }
.drawer__contact a { display: block; color: var(--harbor); }
body.drawer-open { overflow: hidden; }

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero {
  position: relative; color: var(--white); background: var(--harbor-deep);
  min-height: min(88vh, 760px); display: grid; align-items: end; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(14,39,51,.94) 0%, rgba(14,39,51,.78) 38%, rgba(14,39,51,.25) 75%, rgba(14,39,51,.05) 100%),
              linear-gradient(0deg, rgba(14,39,51,.85) 0%, rgba(14,39,51,0) 45%);
}
.hero .wrap { padding-block: clamp(3rem, 9vw, 6.5rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero__place { display: inline-flex; align-items: center; gap: .6rem; color: var(--brass); font-weight: 600; margin-bottom: 1.2rem; }
.hero__place::before { content: ""; width: 2rem; height: 3px; background: var(--brass); }
.hero h1 { color: var(--white); max-width: 16ch; font-size: clamp(2.5rem, 5.6vw, 4.4rem); margin-bottom: .5rem; }
.hero__tagline { font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.7rem); color: #d3dee4; max-width: 24ch; margin-bottom: 1.2rem; line-height: 1.25; font-weight: 500; }
.hero__lede { max-width: 58ch; color: #dfe8ec; font-size: 1.1rem; margin-bottom: 1.8rem; }
.hero .btn-row { margin-bottom: 0; }

.trust-strip { background: var(--harbor); color: #d9e3e8; border-top: 1px solid rgba(255,255,255,.12); }
.trust-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.trust-strip li { flex: 1 1 200px; display: flex; gap: .7rem; align-items: center; padding: 1.05rem 1.2rem 1.05rem 0; margin: 0; font-size: .97rem; }
.trust-strip li + li { border-left: 1px solid rgba(255,255,255,.12); padding-left: 1.2rem; }
.trust-strip svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--brass); stroke-width: 2; }
@media (max-width: 700px) { .trust-strip li + li { border-left: 0; padding-left: 0; } .trust-strip li { flex-basis: 100%; padding-block: .55rem; } }

/* ==========================================================================
   Video (click-to-load YouTube facade)
   ========================================================================== */
.video-split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .video-split { grid-template-columns: 5fr 6fr; } }
.yt-facade {
  position: relative; aspect-ratio: 16 / 9; background: var(--harbor-deep) center/cover no-repeat;
  border: 0; padding: 0; width: 100%; cursor: pointer; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(14,39,51,.6);
}
.yt-facade img { width: 100%; height: 100%; object-fit: cover; }
.yt-facade__play {
  position: absolute; inset: 0; display: grid; place-items: center; color: var(--white);
}
.yt-facade__play span {
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: var(--brass); color: var(--harbor-deep); transition: transform .15s;
}
.yt-facade:hover .yt-facade__play span { transform: scale(1.06); }
.yt-facade__play svg { width: 34px; height: 34px; fill: currentColor; margin-left: 5px; }
.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ==========================================================================
   Service cards
   ========================================================================== */
.card-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .45rem; }
.card__body p { font-size: .98rem; color: var(--slate); margin-bottom: 1rem; }
.card__more { margin-top: auto; font-weight: 600; color: var(--harbor); border-bottom: 2px solid var(--brass); align-self: flex-start; }
.card:hover .card__more { color: var(--brass-dark); }
.card--dark { background: var(--harbor); border-color: var(--harbor); color: var(--white); }
.card--dark h3, .card--dark .card__more { color: var(--white); }
.card--dark p { color: #c9d6dc; }
.card--sub { border-left: 4px solid var(--brass); }

/* Split feature (image + text) */
.split { display: grid; gap: clamp(1.6rem, 4vw, 4rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--rev > :first-child { order: 2; } }
.split__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split__stack { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.split__stack img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); width: 100%; }
.split__stack img:first-child { grid-column: 1 / -1; aspect-ratio: 16/10; }
.split__caption { font-size: .9rem; color: var(--slate); margin-top: .6rem; }

/* Why-choose: definition list with brass keel */
.reasons { display: grid; gap: 1.4rem 2.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.reason { border-left: 3px solid var(--brass); padding-left: 1.1rem; }
.reason h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.reason p { font-size: .98rem; color: var(--slate); margin: 0; }

/* Process steps (a genuine sequence, so it is numbered) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.5rem; position: relative; }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block;
  font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--brass); margin-bottom: .7rem;
}
.steps h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.steps p { font-size: .98rem; color: var(--slate); margin: 0; }
.steps--rail { grid-template-columns: 1fr; }
.steps--rail li { border: 0; border-left: 3px solid var(--line); border-radius: 0; padding: 0 0 1.8rem 1.8rem; background: none; }
.steps--rail li::before { position: absolute; left: -1.1rem; top: 0; background: var(--white); padding-bottom: .2rem; font-size: 1.5rem; }

/* Dealer / credential tiles */
.tiles { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.tile { display: grid; place-items: center; min-height: 92px; padding: .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; color: var(--harbor-deep); font-family: var(--font-display); font-weight: 600; text-align: center; font-size: 1.05rem; }
.tile:hover { border-color: var(--brass); color: var(--brass-dark); }
.tile img { max-height: 56px; width: auto; }

/* Gallery grid */
.gallery-grid { display: grid; gap: .9rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery-grid--6 { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid a { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-grid a:hover img { transform: scale(1.04); }
.gallery-grid figcaption, .gallery-grid .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem .9rem .8rem; color: var(--white); font-weight: 600; font-family: var(--font-display);
  background: linear-gradient(0deg, rgba(14,39,51,.85), rgba(14,39,51,0));
}
.gallery-grid figure { margin: 0; position: relative; }
.gallery-grid figcaption { pointer-events: none; }
.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.gallery-strip img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: var(--radius); }
@media (max-width: 600px) { .gallery-strip { grid-template-columns: repeat(2, 1fr); } }

/* Testimonials */
.quotes { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.4rem; position: relative; margin: 0; }
.quote::before { content: "\201C"; font-family: var(--font-display); font-size: 4rem; line-height: .5; color: var(--brass); position: absolute; top: 1.4rem; left: 1.3rem; }
.quote blockquote { margin: 0; padding-left: 2.2rem; font-size: 1rem; }
.quote blockquote p { margin-bottom: 1rem; }
.quote figcaption { padding-left: 2.2rem; font-weight: 600; color: var(--harbor-deep); }
.quote figcaption span { display: block; font-weight: 400; color: var(--slate); font-size: .92rem; }
.quote--full blockquote { font-size: 1.05rem; }

/* Service-area list */
.area-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.area-list a { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; color: var(--harbor-deep); background: var(--white); }
.area-list a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); flex: none; }
.area-list a:hover { border-color: var(--brass); color: var(--brass-dark); }
.area-list a.is-home { border-color: var(--harbor); }
.area-list a.is-home::after { content: "Home base"; margin-left: auto; font-size: .78rem; font-weight: 500; color: var(--slate); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 0; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--harbor-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--brass); flex: none; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p, .faq details > div { padding: 0 0 1.1rem; margin: 0; color: var(--ink); max-width: 72ch; }

/* CTA band */
.cta-band { background: var(--harbor-deep); color: var(--white); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url("/assets/img/gallery/custom-home-05-960.webp") center/cover; opacity: .12; }
.cta-band .wrap { position: relative; display: grid; gap: 1.6rem; align-items: center; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1.4fr 1fr; } }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #d3dee4; }
.cta-band .btn-row { justify-content: flex-start; }
@media (min-width: 900px) { .cta-band .btn-row { justify-content: flex-end; } }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { position: relative; color: var(--white); background: var(--harbor-deep); isolation: isolate; }
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,39,51,.94) 0%, rgba(14,39,51,.82) 45%, rgba(14,39,51,.35) 100%); }
.page-hero .wrap { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero p { color: #dfe8ec; max-width: 62ch; }
.page-hero .btn-row { margin-top: 1.4rem; }
.page-hero--plain { background: var(--sand-light); color: var(--ink); border-bottom: 1px solid var(--line); }
.page-hero--plain h1 { color: var(--harbor-deep); }
.page-hero--plain p { color: var(--slate); }

.breadcrumbs { font-size: .9rem; color: #b9c9d1; margin-bottom: 1.2rem; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin: 0 .5rem 0 .2rem; opacity: .6; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: var(--brass); }
.page-hero--plain .breadcrumbs { color: var(--slate); }

.layout { display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.article > h2 { margin-top: 2.2rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.article > h2:first-child { margin-top: 0; }
.article p, .article li { max-width: 70ch; }
.article ul { margin-bottom: 1.2rem; }
.aside { display: grid; gap: 1.4rem; align-content: start; }
@media (min-width: 1000px) { .aside { position: sticky; top: calc(var(--header-h) + 1.2rem); } }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.4rem; background: var(--white); }
.panel--harbor { background: var(--harbor); border-color: var(--harbor); color: #dfe8ec; }
.panel--harbor h3 { color: var(--white); }
.panel--harbor a:not(.btn) { color: var(--white); }
.panel h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.panel p { font-size: .96rem; margin-bottom: .9rem; }
.panel ul { list-style: none; padding: 0; margin: 0; }
.panel li { margin: 0; border-top: 1px solid var(--line); }
.panel li:first-child { border-top: 0; }
.panel li a { display: block; padding: .5rem 0; text-decoration: none; font-weight: 600; color: var(--harbor-deep); }
.panel li a:hover { color: var(--brass-dark); }
.panel li a.is-current { color: var(--brass-dark); }
.panel .phone { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; display: block; margin-bottom: .6rem; text-decoration: none; }
.related-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.related-row a { display: block; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-left: 4px solid var(--brass); border-radius: var(--radius); text-decoration: none; color: var(--harbor-deep); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; background: var(--white); }
.related-row a:hover { color: var(--brass-dark); border-color: var(--brass); }
.related-row a small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--slate); font-size: .9rem; margin-top: .25rem; }
.proof-note { background: var(--sand-light); border-left: 4px solid var(--brass); padding: 1rem 1.2rem; border-radius: var(--radius); }
.proof-note p { margin: 0; font-size: .98rem; }

/* Contact / forms */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .95rem; color: var(--harbor-deep); }
.field label .req { color: var(--brass-dark); }
.field input, .field select, .field textarea {
  font: inherit; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--harbor); outline: 3px solid rgba(184,134,43,.35); outline-offset: 0; }
.field textarea { min-height: 150px; resize: vertical; }
.field--hp { position: absolute; left: -9999px; }
.field .hint { font-size: .86rem; color: var(--slate); }
.form__consent { font-size: .9rem; color: var(--slate); max-width: 72ch; }
.form__consent input { margin-right: .5rem; }
.form__status { padding: .9rem 1rem; border-radius: var(--radius); display: none; }
.form__status.is-error { display: block; background: #fdecec; color: #8a1f1f; }
.form__status.is-success { display: block; background: #e9f5ec; color: #1f5a2c; }
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .9rem; }
.contact-list li { margin: 0; display: grid; gap: .1rem; }
.contact-list b { font-family: var(--font-display); color: var(--harbor-deep); }
.contact-list a { text-decoration: none; font-weight: 600; }
.map { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Prose pages (legal, sitemap) */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 2rem; font-size: 1.5rem; }
.sitemap-cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.sitemap-cols h2 { font-size: 1.2rem; margin-bottom: .6rem; }
.sitemap-cols ul { list-style: none; padding: 0; margin: 0; }
.sitemap-cols a { text-decoration: none; }
.sitemap-cols a:hover { text-decoration: underline; }

/* City page: service matrix */
.city-services { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.city-services > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; background: var(--white); }
.city-services h3 { font-size: 1.2rem; }
.city-services p { font-size: .97rem; }
.city-services .links { display: flex; flex-wrap: wrap; gap: .4rem .9rem; }
.city-services .links a { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--brass); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--harbor-deep); color: #b9c9d1; font-size: .95rem; }
.site-footer a { color: #e2eaee; text-decoration: none; }
.site-footer a:hover { color: var(--brass); }
.footer-cta { background: var(--harbor); color: var(--white); }
.footer-cta .wrap { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; padding-block: 1.8rem; }
.footer-cta h2 { color: var(--white); font-size: 1.5rem; margin: 0; }
.footer-cta p { margin: .2rem 0 0; color: #d3dee4; }
.footer-grid { display: grid; gap: 2.2rem 2rem; padding-block: clamp(2.6rem, 5vw, 4rem); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand img { height: 52px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 38ch; margin-bottom: 1rem; }
.footer-brand address { font-style: normal; line-height: 1.7; }
.footer-brand .phone { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--white); }
.site-footer h3 { color: var(--white); font-size: 1.05rem; margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 .45rem; }
.footer-social { display: flex; gap: .8rem; margin-top: 1rem; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.footer-social a:hover { border-color: var(--brass); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.2rem; font-size: .88rem; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; justify-content: space-between; align-items: center; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom li { margin: 0; }

/* Mobile sticky call bar */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; background: var(--harbor-deep); border-top: 1px solid rgba(255,255,255,.15); }
.callbar a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem; color: var(--white); text-decoration: none; font-family: var(--font-display); font-weight: 600; }
.callbar a + a { background: var(--brass); color: var(--harbor-deep); }
.callbar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }
@media (min-width: 1024px) { .callbar { display: none; } }
@media (max-width: 1023px) { body { padding-bottom: 58px; } }

/* WordPress content compatibility (theme uses these) */
.wp-content img { border-radius: var(--radius); }
.wp-content .alignleft { float: left; margin: .4rem 1.4rem 1rem 0; }
.wp-content .alignright { float: right; margin: .4rem 0 1rem 1.4rem; }
.wp-content .aligncenter { margin: 1rem auto; }
.post-list { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); display: flex; flex-direction: column; }
.post-card__media { aspect-ratio: 16/10; background: var(--sand); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 1.2rem 1.3rem 1.4rem; }
.post-card__body h2, .post-card__body h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.post-card__body h2 a, .post-card__body h3 a { text-decoration: none; color: var(--harbor-deep); }
.post-card__meta { font-size: .88rem; color: var(--slate); margin-bottom: .6rem; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.filter-bar a, .filter-bar button { padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); text-decoration: none; color: var(--harbor-deep); font: 600 .92rem var(--font-body); cursor: pointer; }
.filter-bar a:hover, .filter-bar .is-active { background: var(--harbor); color: var(--white); border-color: var(--harbor); }
.pagination { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 2rem; }
.pagination a, .pagination span { padding: .5rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.pagination .current { background: var(--harbor); color: var(--white); border-color: var(--harbor); }
.video-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.video-grid h3 { font-size: 1.1rem; margin: .8rem 0 .3rem; }

/* Utilities */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.grid-2 { display: grid; gap: 1.5rem; } @media (min-width: 800px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* Stats row under the hero (Modern Fence pattern) */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .stats ul { grid-template-columns: repeat(4, 1fr); } }
.stats li { margin: 0; padding: 1.4rem 1.2rem; border-right: 1px solid var(--line); }
.stats li:last-child { border-right: 0; }
.stats b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--harbor-deep); line-height: 1; margin-bottom: .3rem; }
.stats span { color: var(--slate); font-size: .95rem; }
/* Checklist used inside split sections */
.checks { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .5rem 1.4rem; }
.checks li { margin: 0; padding-left: 1.6rem; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .9rem; height: .5rem; border-left: 3px solid var(--brass); border-bottom: 3px solid var(--brass); transform: rotate(-45deg); }
/* Numbered "why" list */
.why-list { list-style: none; margin: 0; padding: 0; counter-reset: why; display: grid; gap: 1.2rem 2.2rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.why-list li { counter-increment: why; margin: 0; display: grid; grid-template-columns: 2.6rem 1fr; gap: .6rem; }
.why-list li::before { content: counter(why, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; color: var(--brass); font-size: 1.15rem; padding-top: .2rem; }
.why-list h3 { font-size: 1.12rem; margin-bottom: .3rem; color: var(--white); }
.why-list p { font-size: .97rem; color: #c9d6dc; margin: 0; }
/* Process: photo + rail */
.process-split { display: grid; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 960px) { .process-split { grid-template-columns: 5fr 7fr; } }
.process-split figure { margin: 0; position: sticky; top: calc(var(--header-h) + 1.2rem); }
.process-split figure img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.process-split figcaption { font-size: .9rem; color: var(--slate); margin-top: .6rem; }
/* Credential tiles with description */
.marks { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.mark { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; background: var(--white); text-decoration: none; color: inherit; }
.mark .mark__logo { display: grid; place-items: center; height: 64px; margin-bottom: .8rem; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--harbor-deep); background: var(--sand-light); border-radius: var(--radius); }
.mark b { display: block; font-family: var(--font-display); color: var(--harbor-deep); }
.mark span { font-size: .9rem; color: var(--slate); }
/* Final CTA with "tell us this" list */
.cta-band .tell { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.cta-band .tell h3 { color: var(--white); font-size: 1.15rem; margin-bottom: .6rem; }
.cta-band .tell ul { margin: 0; padding-left: 1.2rem; color: #d3dee4; font-size: .97rem; }
.footer-license { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1rem; font-size: .85rem; }
.footer-license ul { display: flex; flex-wrap: wrap; gap: .5rem 1.8rem; }
