/* Moore Contracting, WordPress theme stylesheet
   One shared stylesheet. Base guards first (do not soften), brand layer after. */

/* ================= BASE GUARDS (from base.css, v3.3) ================= */

/* 1. No-JS-safe scroll reveals (never put .reveal on the hero) */
.js .reveal { opacity: 0; transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* 2. Icon-size guard */
svg:where(:not([width]):not([height])) { width: 1.25rem; height: 1.25rem; }
.icon, .icon svg { width: 1.5rem; height: 1.5rem; flex: 0 0 auto; }

/* 3. Mobile-nav discipline; visibility guards stay !important on purpose */
.mobile-only { display: none !important; }
@media (max-width: 860px) {
  .desktop-nav { display: none !important; }
  .hamburger { display: inline-flex !important; }
  .mobile-only { display: block !important; }
  .header-cta { display: none !important; }
}
.hamburger { flex-direction: column; justify-content: center; gap: 4px; }
.site-header { gap: 1rem; flex-wrap: nowrap; }
.site-header .brand { flex: 0 1 auto; min-width: 0; }

/* 4. Dark-section contrast */
.section--dark { color: #f3f4f6; }
.section--dark .btn-primary { background: var(--accent, #E00000); color: #fff; }
.section--dark .btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.6); background: transparent; }
.section--dark a { color: #fff; text-decoration: underline; }
.section--dark .btn-primary, .section--dark .btn-ghost { text-decoration: none; }
.section--dark .stat, .section--dark .muted { color: #d1d5db; }

/* 5. Gradient headlines without clipped descenders */
.hl-gradient { background: linear-gradient(90deg, var(--brand-1, #E00000), var(--brand-2, #A6A6A6));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  line-height: 1.15; padding-bottom: .08em; }

/* 6. Capture mode */
html.capture-mode .hl-gradient {
  background: none; -webkit-text-fill-color: currentColor;
  color: var(--brand-1, #E00000); }
html.capture-mode * { animation: none !important; transition: none !important; }
html.capture-mode .reveal { opacity: 1 !important; transform: none !important; }

/* 7. Accessibility */
:focus-visible { outline: 3px solid var(--accent, #E00000); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 8. Motion hygiene */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* 9. Dev banner */
#dev-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 99999;
  background: #b91c1c; color: #fff; font: 13px/1.5 system-ui, sans-serif;
  padding: 8px 14px; }

/* ================= BRAND LAYER ================= */

@font-face { font-family: 'Anton'; src: url('../fonts/anton-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Oswald'; src: url('../fonts/oswald-var.woff2') format('woff2');
  font-weight: 200 700; font-style: normal; font-display: swap; }

:root {
  --red: #BE2A20;
  --red-deep: #7E1512;
  --black: #0A0A0A;
  --coal: #121315;
  --coal-2: #17181B;
  --gray: #3A3A3A;
  --steel: #A6A6A6;
  --bone: #F2F1EE;
  --ink: #E8E7E4;
  --muted: #9CA3AF;
  --accent: var(--red);
  --brand-1: var(--red);
  --brand-2: var(--steel);
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Oswald', 'Segoe UI', sans-serif;
  --cut: 14px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--black); color: var(--ink);
  font-family: var(--font-body); font-weight: 300; font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
::selection { background: var(--red); color: #fff; }
.red { color: var(--red); }

h1, h2, h3, .display { font-family: var(--font-display); font-weight: 400;
  text-transform: uppercase; letter-spacing: .015em; line-height: 1.04; margin: 0 0 .4em; color: #fff; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); letter-spacing: .03em; }
p { margin: 0 0 1em; }
.lead { font-size: 1.16rem; font-weight: 300; color: var(--ink); }
.muted { color: var(--muted); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
section { position: relative; }

/* Section openers: vary them. Chip for a few, plain kicker for others, ghost words behind. */
.eyebrow { display: inline-block; font-family: var(--font-body); font-weight: 600;
  font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: #fff;
  background: var(--red); padding: .3em .9em .28em;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); margin-bottom: 1.1rem; }
.eyebrow--ghost { background: transparent; color: var(--steel);
  border: 1px solid rgba(166,166,166,.4); clip-path: none; }
.kicker { display: flex; align-items: center; gap: .8em; font-weight: 600; font-size: .8rem;
  letter-spacing: .26em; text-transform: uppercase; color: var(--steel); margin-bottom: 1.1rem; }
.kicker::before { content: ''; width: 30px; height: 8px; background: var(--red);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 8px 100%); }
.section-head.center .kicker { justify-content: center; }

/* Ghost display words: oversized outlined type behind sections */
.ghost { position: absolute; top: .5rem; right: -.02em; z-index: 0; pointer-events: none;
  user-select: none; font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(4.6rem, 15vw, 12rem); line-height: .85; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(166,166,166,.14); }
.section > .wrap { position: relative; z-index: 1; }
.section { overflow: hidden; }

/* Tire-tread zigzag accent (brand guideline motif) */
.tread { height: 12px; width: 140px; margin-bottom: 1.6rem; background:
  linear-gradient(135deg, var(--red) 25%, transparent 25%) -6px 0 / 12px 12px repeat-x,
  linear-gradient(225deg, var(--red) 25%, transparent 25%) -6px 0 / 12px 12px repeat-x; }
.tread--center { margin-left: auto; margin-right: auto; }

/* Buttons: cut-corner, brand signature */
.btn { display: inline-flex; align-items: center; gap: .6em; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; letter-spacing: .09em;
  text-transform: uppercase; text-decoration: none; line-height: 1;
  padding: 1.05em 1.7em .95em; border: 0;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  filter: drop-shadow(4px 6px 0 rgba(0,0,0,.45));
  transition: transform .15s ease, filter .15s ease, background .15s ease, color .15s ease;
  position: relative; overflow: hidden; }
.btn:hover { transform: translate(-1px,-2px); filter: drop-shadow(6px 9px 0 rgba(0,0,0,.5)); }
.btn:active { transform: translate(1px,1px); filter: drop-shadow(2px 3px 0 rgba(0,0,0,.5)); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #D6362B; }
.btn-primary::before { content: ''; position: absolute; top: 0; bottom: 0; left: -80%;
  width: 40%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-20deg); transition: left .45s ease; }
.btn-primary:hover::before { left: 130%; }
.btn-ghost { background: rgba(10,10,10,.35); color: #fff;
  box-shadow: inset 0 0 0 2px var(--steel); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px #fff; }
.btn-lg { font-size: 1.08rem; padding: 1.15em 2em 1.05em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; display: flex; align-items: center;
  padding: 0 22px; height: 76px; background: rgba(10,10,10,.85);
  backdrop-filter: blur(8px); border-bottom: 1px solid rgba(166,166,166,.15); }
.site-header.is-scrolled { background: rgba(10,10,10,.97); }
.site-header .brand img { height: 60px; width: auto; }
.site-header nav { margin-left: auto; }
.desktop-nav { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.desktop-nav a { position: relative; color: var(--ink); text-decoration: none; font-weight: 500;
  font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; padding: .4em 0; }
.desktop-nav a::before { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--red); transition: width .2s ease; }
.desktop-nav a:hover::before, .desktop-nav a[aria-current="page"]::before { width: 100%; }
.desktop-nav a[aria-current="page"] { color: #fff; }
.header-phone { margin-left: 1.6rem; color: #fff; text-decoration: none; font-weight: 600;
  letter-spacing: .05em; white-space: nowrap; }
.header-phone:hover { color: var(--red); }
.header-cta { margin-left: 1.1rem; font-size: .85rem; padding: .9em 1.3em .8em; filter: drop-shadow(3px 4px 0 rgba(0,0,0,.45)); }

.hamburger { margin-left: auto; display: none; background: none; border: 1px solid rgba(166,166,166,.35);
  padding: 12px 10px; cursor: pointer; min-width: 44px; min-height: 44px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav { position: fixed; top: 76px; left: 0; right: 0; bottom: 0; z-index: 999;
  background: rgba(10,10,10,.98); padding: 1.5rem 22px 6rem; overflow-y: auto;
  transform: translateX(100%); transition: transform .25s ease; }
.mobile-nav.is-open { transform: none; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a { display: block; padding: 1rem 0; color: #fff; text-decoration: none;
  font-family: var(--font-display); font-size: 1.7rem; text-transform: uppercase;
  border-bottom: 1px solid rgba(166,166,166,.15); }
.mobile-nav a:hover { color: var(--red); }
.mobile-nav .mobile-cta { margin-top: 1.4rem; }

/* Sticky mobile call bar */
.callbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 998; display: none;
  grid-template-columns: 1fr 1fr; }
.callbar a { display: flex; align-items: center; justify-content: center; gap: .5em;
  padding: 1rem .5rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; font-size: .95rem; min-height: 54px; }
.callbar .cb-call { background: var(--coal-2); color: #fff; border-top: 2px solid var(--red); }
.callbar .cb-est { background: var(--red); color: #fff; }
@media (max-width: 860px) {
  .callbar { display: grid; }
  body { padding-bottom: 54px; }
}

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--red); z-index: 1001; }

/* Hero */
.hero { position: relative; min-height: min(94vh, 880px); display: flex; align-items: center;
  isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
  filter: contrast(1.06) saturate(.9); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to top, rgba(10,10,10,.92) 0%, rgba(10,10,10,0) 34%),
  radial-gradient(58% 85% at 6% 88%, rgba(190,42,32,.17), transparent 62%),
  linear-gradient(100deg, rgba(10,10,10,.96) 0%, rgba(10,10,10,.82) 36%, rgba(10,10,10,.28) 72%, rgba(10,10,10,.6) 100%); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: url('../images/grain.png'); pointer-events: none; }
.hero-inner { padding: 7rem 0 5.5rem; max-width: 820px; }
.hero-loc { display: flex; align-items: center; gap: .7em; color: var(--steel);
  font-weight: 500; letter-spacing: .18em; text-transform: uppercase; font-size: .85rem; margin-bottom: 1.4rem; }
.hero-loc::before { content: ''; width: 34px; height: 8px; background: var(--red);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 8px 100%); }
.hero h1 { margin-bottom: .4em; text-shadow: 0 4px 30px rgba(0,0,0,.6); display: grid; }
.hero h1 .ht { display: block; font-size: clamp(3rem, 8vw, 5.6rem); line-height: .95; }
.hero h1 .ht-stroke { color: transparent; -webkit-text-stroke: 2px #fff;
  text-shadow: none; font-size: clamp(2.4rem, 6.4vw, 4.4rem); margin-top: .12em; }
.hero h1 .ht-stroke .red { -webkit-text-stroke: 0; text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.hero .lead { max-width: 32em; margin-bottom: 1.8em; text-shadow: 0 2px 14px rgba(0,0,0,.7); }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 2.6rem;
  padding-top: 1.4rem; border-top: 1px solid rgba(166,166,166,.25); color: var(--steel);
  font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.hero-proof span { display: inline-flex; align-items: center; gap: .5em; }
.hero-proof .tick { color: var(--red); font-weight: 700; }

/* Fold 1 -> 2 transition: the dark second fold rises on a diagonal into the hero,
   met by a thin red seam. Replaces the old red services banner. */
.fold-slice { position: relative; height: 0; z-index: 6; pointer-events: none; }
.fold-slice::before { content: ''; position: absolute; left: -5%; right: -5%; top: -3px; height: 104px;
  background: var(--black); transform: rotate(-1.6deg); transform-origin: center;
  border-top: 3px solid var(--red); box-shadow: 0 -22px 46px rgba(0,0,0,.6); }
/* the hero's clipped edge picks up a faint red glow just above the seam */
.fold-slice::after { content: ''; position: absolute; left: 0; right: 0; top: -40px; height: 40px;
  background: radial-gradient(120% 100% at 20% 100%, rgba(190,42,32,.16), transparent 60%); }

/* Sections */
.section { padding: 6rem 0; }
.section--coal { background: var(--coal); }
.section--textured { background: var(--black); }
.section--textured::before { content: ''; position: absolute; inset: 0;
  background-image: url('../images/grain.png'); pointer-events: none; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Services index: editorial numbered rows */
.svc-rows { display: grid; gap: 0; border-top: 1px solid rgba(166,166,166,.18); position: relative; z-index: 1; }
.svc-row { display: grid; grid-template-columns: 90px 1fr 340px 52px; align-items: center;
  gap: 1.6rem; padding: 1.35rem 0; border-bottom: 1px solid rgba(166,166,166,.18);
  text-decoration: none; color: var(--ink); position: relative; transition: background .2s ease; }
.svc-row:hover { background: rgba(190,42,32,.05); }
.svc-num { font-family: var(--font-display); font-size: 2rem; color: var(--gray);
  transition: color .2s ease; line-height: 1; }
.svc-row:hover .svc-num { color: var(--red); }
.svc-name { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.3rem);
  text-transform: uppercase; color: #fff; line-height: 1.05; transition: transform .2s ease; }
.svc-row:hover .svc-name { transform: translateX(8px); }
.svc-blurb { color: var(--muted); font-size: .98rem; line-height: 1.5; }
.svc-arrow { font-family: var(--font-display); font-size: 1.5rem; color: var(--steel);
  transition: transform .2s ease, color .2s ease; text-align: right; }
.svc-row:hover .svc-arrow { transform: translateX(6px); color: var(--red); }
.svc-thumb { position: fixed; z-index: 50; width: 300px; height: 200px; pointer-events: none;
  opacity: 0; transform: scale(.95); transition: opacity .18s ease, transform .18s ease;
  box-shadow: 0 20px 50px rgba(0,0,0,.6); display: none; }
.svc-thumb.is-on { opacity: 1; transform: none; }
.svc-thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) { .svc-thumb { display: block; } }
@media (max-width: 860px) {
  .svc-row { grid-template-columns: 52px 1fr 32px; }
  .svc-blurb { display: none; }
  .svc-num { font-size: 1.4rem; }
}

/* Feature split (photo one side, plate content other) */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; }
.split.flip > .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; height: auto; box-shadow: 12px 12px 0 rgba(190,42,32,.7);
  filter: contrast(1.05) saturate(.94); }
.split-media::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; }
.split.flip .split-media img { box-shadow: -14px 14px 0 rgba(58,58,58,.9); }
.plate { background: var(--coal-2); padding: 2rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), inset 0 0 40px rgba(0,0,0,.5); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2.2rem; } .split.flip > .split-media { order: 0; } }

/* Checklist: steel plates */
.checks { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .55rem; }
.checks li { display: flex; gap: .8em; align-items: baseline; background: rgba(58,58,58,.25);
  padding: .75em 1em .7em; border-left: 3px solid var(--red); font-weight: 400; }
.checks li::before { content: '\2713'; color: var(--red); font-weight: 700; }

/* Stats: open editorial strip, hairlines instead of boxes, only real scoped stats */
.stat-plate { display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(166,166,166,.25); border-bottom: 1px solid rgba(166,166,166,.25); }
.stat-cell { padding: 1.9rem 1.4rem 1.7rem; position: relative; }
.stat-cell + .stat-cell { border-left: 1px solid rgba(166,166,166,.18); }
.stat-cell .stat { display: block; font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.6vw, 3.6rem); color: var(--red); line-height: 1;
  text-shadow: 3px 3px 0 rgba(0,0,0,.55); }
.stat-cell .stat-label { display: block; margin-top: .55rem; font-size: .8rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--steel); }
@media (max-width: 640px) { .stat-plate { grid-template-columns: 1fr; }
  .stat-cell + .stat-cell { border-left: 0; border-top: 1px solid rgba(166,166,166,.18); } }

/* Video band */
.video-band { position: relative; }
.video-frame { position: relative; box-shadow: 0 30px 70px rgba(0,0,0,.55); }
.video-frame video { width: 100%; height: auto; max-height: 620px; object-fit: cover; display: block; }
.video-frame::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); z-index: 2; }
.video-tag { position: absolute; top: -14px; left: 18px; z-index: 3; }

/* Before/after slider */
.ba { position: relative; overflow: hidden; user-select: none; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.ba img { width: 100%; height: auto; display: block; pointer-events: none; }
.ba .ba-top { position: absolute; inset: 0; overflow: hidden; }
.ba .ba-top img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; }
.ba-handle { position: absolute; top: 0; bottom: 0; width: 3px; background: var(--red); pointer-events: none; }
.ba-handle::after { content: '\2194'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); background: var(--red); color: #fff; width: 44px; height: 44px;
  display: grid; place-items: center; font-size: 1.2rem; border-radius: 0;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-label { position: absolute; top: 12px; z-index: 3; background: rgba(10,10,10,.82); color: #fff;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: .35em .8em; }
.ba-label.before { left: 12px; }
.ba-label.after { right: 12px; }

/* Before/after reel: one feature slider + a grid of supporting pairs */
.ba--feature { margin-bottom: 1.1rem; }
.ba-cap { margin: 0 0 2.4rem; color: var(--muted); font-size: .92rem; letter-spacing: .03em; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }
.ba-card { margin: 0; }
.ba-card .ba-tag { display: inline-block; font-family: var(--font-body); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; font-size: .72rem; color: var(--red); margin: .9rem 0 .2rem; }
.ba-card figcaption p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
@media (max-width: 760px) { .ba-grid { grid-template-columns: 1fr; gap: 2.2rem; } }

/* Section head as editorial row: heading left, action right */
.head-row { display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem; }
.head-row .section-head { margin-bottom: 0; }

/* Project gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--coal-2); }
.gallery img { width: 100%; height: 260px; object-fit: cover; transition: transform .4s ease;
  filter: contrast(1.05) saturate(.94); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem .9rem .7rem;
  background: linear-gradient(transparent, rgba(10,10,10,.92)); font-size: .88rem; font-weight: 500;
  letter-spacing: .04em; color: #fff; }
.gallery .tall { grid-row: span 2; }
.gallery .tall img { height: 100%; min-height: 540px; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery .tall img { min-height: 400px; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } .gallery .tall { grid-row: auto; } .gallery .tall img { min-height: 0; height: 260px; } }

/* Process: staggered numbered timeline with a connecting grade line */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step;
  position: relative; padding-top: 1.6rem; }
.steps::before { content: ''; position: absolute; top: 0; left: 4%; right: 4%; height: 2px;
  background: linear-gradient(90deg, var(--red), rgba(166,166,166,.25)); }
.step { position: relative; background: var(--coal-2); padding: 2.6rem 1.6rem 1.8rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.step:nth-child(2) { transform: translateY(1.4rem); }
.step:nth-child(3) { transform: translateY(2.8rem); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: -1.4rem; left: 1.2rem; font-family: var(--font-display);
  font-size: 3.2rem; color: var(--red); text-shadow: 4px 4px 0 rgba(0,0,0,.6); line-height: 1; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; padding-top: 0; }
  .steps::before { display: none; }
  .step:nth-child(2), .step:nth-child(3) { transform: none; } }

/* Reviews: editorial pull-quote layout, one feature + two stacked, giant quote mark */
.quotes-ed { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.6rem; align-items: stretch; }
.quote-stack { display: grid; gap: 1.6rem; }
.quote { margin: 0; background: var(--coal-2); padding: 2.1rem 1.9rem 1.8rem;
  border-top: 3px solid var(--red); display: flex; flex-direction: column; gap: 1rem;
  position: relative; box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 16px 40px rgba(0,0,0,.35); }
.quote::before { content: '\201C'; position: absolute; top: -.12em; right: .35rem;
  font-family: var(--font-display); font-size: 6rem; line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(190,42,32,.5); pointer-events: none; }
.quote p { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--ink); }
.quote--feature { justify-content: center; padding: 2.6rem 2.4rem 2.2rem; }
.quote--feature p { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.6; font-weight: 300; }
.quote footer { margin-top: auto; display: grid; gap: .15rem; padding-top: 1rem; position: relative; }
.quote footer::before { content: ''; position: absolute; top: 0; left: 0; width: 44px; height: 2px; background: var(--red); }
.quote footer strong { font-family: var(--font-display); font-weight: 400; letter-spacing: .04em;
  text-transform: uppercase; color: #fff; font-size: 1.05rem; }
.quote footer span { color: var(--muted); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 900px) { .quotes-ed { grid-template-columns: 1fr; } }

/* Map */
.map-frame { position: relative; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.map-frame iframe { display: block; width: 100%; height: 440px; border: 0; filter: grayscale(.35) contrast(1.05); }
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.2rem; }
.area-card { background: var(--coal-2); padding: 1.5rem 1.3rem; border-top: 3px solid var(--red);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.area-card h3, .area-card h4 { font-size: 1.2rem; margin-bottom: .3em; }
.area-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.area-county-head { font-size: 1rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--steel); margin-top: 2.4rem; }
.area-county-head:first-of-type { margin-top: 1.6rem; }
@media (max-width: 900px) { .area-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .area-grid { grid-template-columns: 1fr; } }
.city-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.city-chips span, .city-chips a { background: rgba(58,58,58,.35); color: var(--ink); padding: .45em 1em .4em;
  font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
/* Linked chips sit next to plain-text chips, so they carry an underline as
   well as colour (WCAG 1.4.1) to show which towns have their own page. */
.city-chips a { text-decoration: underline; text-decoration-color: var(--red);
  text-underline-offset: 3px; text-decoration-thickness: 2px;
  transition: background .15s ease, color .15s ease; }
.city-chips a::before { display: none; }
.city-chips a:hover, .city-chips a:focus-visible { background: var(--red); color: #fff; }

/* CTA band with brand texture */
.cta-band { position: relative; isolation: isolate; padding: 7.5rem 0; text-align: center; overflow: hidden; }
.cta-band .cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(10,10,10,.55), rgba(10,10,10,.82)); }
.cta-band h2 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: .95; }
.cta-band .lead { max-width: 32em; margin: 0 auto 2em; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Footer location line, sits above the editorial mark */
.footer-loc { display: flex; align-items: center; gap: .7em; margin: 0 0 1rem;
  color: var(--steel); font-family: var(--font-body); font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase; font-size: .82rem; }
.footer-loc::before { content: ''; width: 34px; height: 8px; background: var(--red);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 8px 100%); }

/* County coverage map (inline SVG, replaces the generic pin map) */
.cov-map { position: relative; background: var(--coal-2); padding: 1.5rem 1.5rem 1.2rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.5); border-top: 3px solid var(--red); }
/* Leaflet draws its own SVGs (overlay + a tiny attribution flag); never force-size them. */
.cov-map .leaflet-attribution-flag { width: 12px !important; height: 8px !important; display: inline-block; }
.cov-map .cm-county { fill: rgba(190,42,32,.15); stroke: var(--red); stroke-width: 2.4;
  stroke-linejoin: round; }
.cov-map .cm-name { fill: #fff; font-family: var(--font-display); text-transform: uppercase; }
.cov-map .cm-seat { fill: var(--steel); font-family: var(--font-body); font-weight: 600; letter-spacing: .1em; }
.cov-map .cm-note { fill: var(--steel); font-family: var(--font-body); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; }
.cov-map .cm-star { fill: var(--red); }
.cov-map .cm-dot { fill: var(--steel); }
.cov-map figcaption { margin-top: 1rem; color: var(--muted); font-size: .82rem;
  letter-spacing: .04em; }
/* Real interactive map (Leaflet) */
.cov-leaflet { height: 440px; width: 100%; background: var(--coal); }
@media (max-width: 900px) { .cov-leaflet { height: 360px; } }
.cov-map .leaflet-container { font-family: var(--font-body); background: var(--coal); }
.leaflet-tooltip.cov-tip { background: transparent; border: 0; box-shadow: none; padding: 0;
  color: #fff; font-family: var(--font-display); text-transform: uppercase; font-size: .95rem;
  letter-spacing: .04em; text-shadow: 0 1px 5px rgba(0,0,0,.95), 0 0 2px rgba(0,0,0,.9); }
.leaflet-tooltip.cov-tip::before { display: none; }
.leaflet-tooltip.cov-tip-home { font-family: var(--font-body); font-weight: 700;
  text-transform: none; font-size: .82rem; letter-spacing: .02em; }

/* Footer editorial mark */
.footer-mark { font-family: var(--font-display); text-transform: uppercase; line-height: .95;
  font-size: clamp(2.6rem, 7.5vw, 5.6rem); margin: 0 0 2.6rem; color: transparent;
  -webkit-text-stroke: 1px rgba(166,166,166,.35); }
.footer-mark .red { color: var(--red); -webkit-text-stroke: 0; }

/* Page headers (interior) */
.page-head { position: relative; isolation: isolate; padding: 8.5rem 0 5rem; overflow: hidden; }
.page-head .ph-bg { position: absolute; inset: 0; z-index: -2; }
.page-head .ph-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%;
  filter: contrast(1.05) saturate(.9); }
.page-head::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to top, rgba(10,10,10,.85), transparent 45%),
  linear-gradient(100deg, rgba(10,10,10,.95) 5%, rgba(10,10,10,.72) 50%, rgba(10,10,10,.4)); }
.page-head::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: url('../images/grain.png'); }
.page-head .ghost { top: auto; bottom: -.06em; right: -.02em;
  -webkit-text-stroke-color: rgba(255,255,255,.12); }
.page-head .wrap { position: relative; z-index: 1; }
.crumbs { margin-top: 1.2rem; font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.crumbs a { color: var(--steel); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { color: var(--red); margin: 0 .5em; }

/* Contact form */
.form-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.2rem; align-items: start; }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }
form.contact { display: grid; gap: 1.1rem; background: var(--coal-2); padding: 2rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 24px 60px rgba(0,0,0,.4); }
.field { display: grid; gap: .35rem; }
.field label { font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.field input, .field select, .field textarea { width: 100%; background: var(--black); border: 1px solid rgba(166,166,166,.3);
  color: #fff; font-family: var(--font-body); font-size: 1rem; padding: .85em 1em; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); outline: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.info-tiles { display: grid; gap: 1rem; }
.info-tile { display: flex; gap: 1rem; align-items: baseline; background: var(--coal-2);
  padding: 1.1rem 1.3rem; border-left: 3px solid var(--red); }
.info-tile .it-label { min-width: 108px; font-size: .8rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--steel); }
.info-tile a { color: #fff; text-decoration: none; font-weight: 500; }
.info-tile a:hover { color: var(--red); }
.info-tile span.val { color: #fff; font-weight: 500; }

/* FAQ */
.faq { display: grid; gap: .8rem; max-width: 800px; }
.faq details { background: var(--coal-2); padding: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem;
  align-items: center; padding: 1.1rem 1.3rem; font-weight: 500; font-size: 1.05rem; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-display); color: var(--red); font-size: 1.5rem; }
.faq details[open] summary::after { content: '\2212'; }
.faq .faq-a { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* Values ribbon */
.values-ribbon { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.8rem;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em;
  color: var(--steel); font-size: 1.05rem; }
.values-ribbon .dot { color: var(--red); }

/* Footer */
.site-footer { background: var(--coal); border-top: 3px solid var(--red); padding: 4rem 0 2rem;
  font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.site-footer img.f-logo { width: 210px; margin-bottom: 1rem; }
.site-footer h3 { font-family: var(--font-body); font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; font-size: .85rem; color: var(--steel); margin: 0 0 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--red); }
.footer-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(166,166,166,.15);
  color: var(--muted); font-size: .82rem; }
.footer-legal .fineprint { max-width: 70em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: .6rem; }
.footer-links a { color: var(--muted); }

/* Legal pages */
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.5rem; margin-top: 2em; }

/* Thanks / 404 */
.center-page { min-height: 55vh; display: grid; place-items: center; text-align: center; padding: 6rem 22px; }

/* Utility */
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* Small screens */
@media (max-width: 560px) {
  .section { padding: 4.2rem 0; }
  .hero-inner { padding: 5.5rem 0 4.5rem; }
  .site-header .brand img { height: 48px; }
  .svc-band .wrap { gap: .3rem 1.1rem; font-size: .9rem; }
  .ghost { font-size: clamp(3.6rem, 19vw, 5.4rem); -webkit-text-stroke-color: rgba(166,166,166,.1); }
  .quote--feature { padding: 2.1rem 1.9rem 1.8rem; }
}

/* ================= WORDPRESS LAYER ================= */

/* Admin bar offset for the sticky header */
body.admin-bar .site-header { top: 32px; }
body.admin-bar .scroll-progress { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header, body.admin-bar .scroll-progress { top: 46px; }
}

/* WP core helper (skip link uses .sr-only from the base guards) */
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* AJAX quote form feedback */
.form-feedback { display: none; padding: .9em 1.1em; font-weight: 500; letter-spacing: .03em; }
.form-feedback.success { display: block; background: rgba(34,110,52,.25); border-left: 3px solid #3fae5a; color: #d8f5e0; }
.form-feedback.error { display: block; background: rgba(190,42,32,.18); border-left: 3px solid var(--red); color: #ffd9d5; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }

/* Page content fallback (client-created pages) */
.page-content a { color: var(--red); }
.page-content img { max-width: 100%; height: auto; }

/* ================= WCAG 2.1 AA AUDIT FIXES ================= */

/* Skip link becomes visible on keyboard focus (2.4.1) */
a.sr-only:focus, a.sr-only:focus-visible { position: fixed; top: 8px; left: 8px; z-index: 10000;
  width: auto; height: auto; margin: 0; padding: .8em 1.2em; clip: auto; white-space: normal;
  overflow: visible; background: var(--red); color: #fff; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }

/* Service index numbers: #3A3A3A on black failed 3:1 for large text (1.4.3) */
.svc-num { color: #757575; }

/* ================= NAV DROPDOWNS (Services + Service Area) ================= */
.desktop-nav .has-drop { position: relative; }
.desktop-nav .drop-caret { font-size: .75em; color: var(--steel); }
.desktop-nav .drop { position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 250px; padding: .5rem 0; background: var(--coal-2);
  border-top: 3px solid var(--red); box-shadow: 0 20px 50px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transition: opacity .15s ease, visibility .15s ease; }
.desktop-nav .has-drop:hover .drop,
.desktop-nav .has-drop:focus-within .drop { opacity: 1; visibility: visible; }
.desktop-nav .drop a { display: block; padding: .6em 1.2em; color: var(--ink);
  text-decoration: none; font-weight: 500; font-size: .88rem; letter-spacing: .06em;
  text-transform: uppercase; white-space: nowrap; }
.desktop-nav .drop a:hover, .desktop-nav .drop a:focus-visible { background: rgba(190,42,32,.12); color: #fff; }
.desktop-nav .drop a::before { display: none; }
/* keep the underline effect off dropdown links */
.desktop-nav .has-drop > a { display: inline-flex; align-items: center; gap: .35em; }

/* Service Area drop carries 13 cities: two columns so it never runs off screen */
.desktop-nav .drop--wide { min-width: 460px; }
.desktop-nav .drop--wide .drop-cols { display: grid; grid-template-columns: 1fr 1fr; }
.desktop-nav .drop--wide .drop-lead { border-bottom: 1px solid rgba(255,255,255,.08); }
/* Desktop nav lives above 860px; anchor the wide drop right so it cannot
   overflow the viewport on the narrow end of that range. */
@media (max-width: 1180px) {
  .desktop-nav .drop--wide { left: auto; right: 0; transform: none; }
}

/* Mobile nav sub-links (services + cities) */
.mobile-nav .mnav-sub a { font-family: var(--font-body); font-size: 1rem; font-weight: 500;
  letter-spacing: .06em; padding: .65rem 0 .65rem 1.4rem; color: var(--ink); text-transform: uppercase; }

/* Service Area page: city cards link to the city pages */
.area-card h3 a, .area-card h4 a { color: #fff; text-decoration: none; }
.area-card h3 a:hover, .area-card h3 a:focus-visible,
.area-card h4 a:hover, .area-card h4 a:focus-visible { color: var(--red); }
