﻿:root {
  --red: #c8161d;
  --red-dark: #9e0f15;
  --ink: #141414;
  --ink-2: #2a2a2a;
  --muted: #6b6b6b;
  --line: #e6e3df;
  --bg: #faf8f5;
  --white: #ffffff;
  --radius: 14px;
  --max: 1160px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--red);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand-mark {
  font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1;
  letter-spacing: -2px; color: var(--white);
  border-right: 3px solid var(--red); padding-right: 12px;
}
.brand-mark span { color: var(--red); }
.brand-name {
  font-family: var(--display); font-weight: 700; font-size: 17px;
  letter-spacing: 1.5px; text-transform: uppercase; line-height: 1.05;
}

.nav-links { display: flex; gap: 6px; list-style: none; }
.nav-links a {
  color: #d9d9d9; font-weight: 500; font-size: 15px;
  padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav-links a.active { color: var(--white); background: var(--red); }

.nav-toggle {
  display: none; background: none; border: 0; color: var(--white);
  width: 44px; height: 44px; cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: 999px;
  transition: transform .15s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border: 2px solid rgba(255,255,255,.6); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 78vh; display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("images/cover.jpg") center 60% / cover no-repeat;
  transform: scale(1.03);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.15) 0%, rgba(10,10,10,.55) 55%, rgba(10,10,10,.9) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 72px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--white);
  background: var(--red); padding: 6px 12px; border-radius: 4px; margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(48px, 8vw, 96px); line-height: .95; letter-spacing: -.5px;
  max-width: 14ch;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero p { font-size: clamp(17px, 2vw, 20px); color: #e9e9e9; max-width: 54ch; margin: 22px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-label {
  font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--red); margin-bottom: 12px;
}
h2 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(36px, 5vw, 56px); line-height: 1; letter-spacing: -.3px;
}

/* About */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about-text p { color: var(--ink-2); font-size: 17px; margin-top: 18px; }
.about-photo { position: relative; }
.about-photo img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about-photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 3px solid var(--red); border-radius: var(--radius); z-index: -1;
}
.stats { display: flex; gap: 40px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--display); font-size: 40px; font-weight: 800; line-height: 1; }
.stat span { font-size: 14px; color: var(--muted); }

/* Services */
.services { background: var(--ink); color: var(--white); }
.services-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.services-head p { color: #bdbdbd; max-width: 44ch; }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.service {
  background: var(--ink-2); border-radius: var(--radius); padding: 28px 22px;
  border-top: 3px solid var(--red); transition: transform .2s, background .2s;
}
.service:hover { transform: translateY(-4px); background: #333; }
.service svg { width: 34px; height: 34px; color: var(--red); margin-bottom: 18px; }
.service h3 { font-family: var(--display); font-size: 23px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.service p { font-size: 14px; color: #bdbdbd; margin-top: 6px; }

/* CTA band */
.cta-band { background: var(--red); color: var(--white); padding: 64px 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(30px, 4vw, 44px); }
.cta-band .btn { background: var(--white); color: var(--red); }
.cta-band .btn:hover { background: var(--ink); color: var(--white); }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--ink); color: var(--white); padding: 80px 0 64px; position: relative; overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px;
  border: 40px solid var(--red); border-radius: 50%; opacity: .9;
}
.page-head p { color: #c7c7c7; max-width: 56ch; margin-top: 14px; font-size: 17px; position: relative; z-index: 1; }
.page-head h2 { position: relative; z-index: 1; font-size: clamp(44px, 7vw, 76px); }

/* ---------- Jobs gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip {
  font: inherit; font-weight: 600; font-size: 14px; cursor: pointer;
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--white); color: var(--ink-2); transition: all .2s;
}
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.active { background: var(--red); border-color: var(--red); color: var(--white); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  aspect-ratio: 4 / 3; background: #ddd; border: 0; padding: 0;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.06); }
.tile .tag {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(20,20,20,.82); color: var(--white);
  font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 10px; border-radius: 4px; border-left: 3px solid var(--red);
}
.tile.hide { display: none; }

.fb-note { margin-top: 40px; text-align: center; color: var(--muted); }
.fb-note a { color: var(--red); font-weight: 600; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(8,8,8,.94);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-btn {
  position: absolute; background: rgba(255,255,255,.1); color: var(--white); border: 0;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 26px; line-height: 1;
  display: grid; place-items: center; transition: background .2s;
}
.lb-btn:hover { background: var(--red); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
a.contact-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,.08); border-color: var(--red); }
.contact-card .icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--red); color: var(--white);
  display: grid; place-items: center; margin-bottom: 22px;
}
.contact-card .icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.contact-card .value { font-family: var(--display); font-size: 28px; font-weight: 700; margin-top: 4px; line-height: 1.15; word-break: break-word; }
.contact-card .sub { color: var(--muted); font-size: 15px; margin-top: 6px; }

.area { margin-top: 56px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: var(--white); }
.area-text { padding: 44px 40px; }
.area-text h2 { font-size: clamp(30px, 4vw, 42px); }
.area-text p { color: #c7c7c7; margin-top: 14px; }
.area-text ul { list-style: none; margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.area-text li { font-size: 14px; background: var(--ink-2); padding: 6px 12px; border-radius: 999px; }
.area iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(.3); }

/* ---------- Footer ---------- */
.site-footer { background: #0d0d0d; color: #a8a8a8; padding: 48px 0 32px; font-size: 14px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid #262626; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service:last-child { grid-column: 1 / -1; }
  .about { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { max-width: 520px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .area { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute; top: 75px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--ink); padding: 8px 16px 16px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; border-radius: 8px; padding: 12px 14px; }
  .brand-name { font-size: 15px; }
  .hero { min-height: 82vh; }
  .stats { gap: 24px; }
  .service-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile .tag { display: none; }
  .area-text { padding: 32px 24px; }
  .lb-prev, .lb-next { top: auto; bottom: 24px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

.area-photo { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }

@media (max-width: 720px) {
  .page-head { padding: 56px 0 48px; }
  .page-head::after { width: 150px; height: 150px; border-width: 22px; right: -70px; top: -70px; }
}


/* ---------- Service area map ---------- */
.area-map {
  position: relative; background: radial-gradient(120% 90% at 30% 25%, #2b1112 0%, #161616 55%, #111 100%);
  padding: 24px 24px 20px; display: flex; flex-direction: column; justify-content: center;
}
.area-map svg { width: 100%; height: auto; display: block; overflow: visible; }
.map-state { fill: #262626; stroke: #3d3d3d; stroke-width: 1.5; stroke-linejoin: round; }
.map-county { fill: url(#countyFill); stroke: #ff6b70; stroke-width: 1.5; stroke-linejoin: round; }
.map-county-label {
  font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: 2px;
  text-transform: uppercase; fill: #fff; text-anchor: middle; opacity: .92;
}
.map-neighbor text {
  font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; fill: #5c5c5c; text-anchor: middle;
}
.map-neighbor .sound { font-style: italic; letter-spacing: 1px; text-transform: none; font-size: 13px; fill: #4f6a7a; }
.map-ref circle { fill: #6b6b6b; }
.map-ref text { font-family: var(--body); font-size: 12px; fill: #8a8a8a; }
.map-town { font-family: var(--body); font-size: 13px; font-weight: 600; fill: #fff; }
.map-hq { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: 1.5px; fill: var(--red); text-anchor: middle; }
.map-pulse circle {
  fill: none; stroke: #ff4a50; stroke-width: 2; transform-origin: 185.7px 128px; transform-box: view-box;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(5.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .map-pulse circle { animation: none; opacity: 0; } }

@media (max-width: 720px) { .area-map { padding: 16px 8px 18px; } }

/* Developer credit */
.footer-right { display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.credit {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; letter-spacing: .3px; color: #6e6e6e !important;
  padding-left: 18px; border-left: 1px solid #2c2c2c; transition: color .2s;
}
.credit span { color: #9a9a9a; font-weight: 600; transition: color .2s; }
.credit svg { width: 11px; height: 11px; opacity: 0; transform: translate(-3px, 3px); transition: opacity .2s, transform .2s; }
.credit:hover, .credit:hover span { color: var(--red) !important; }
.credit:hover svg { opacity: 1; transform: none; }
@media (max-width: 720px) { .credit { padding-left: 0; border-left: 0; } }

/* ---------- Hero headline: two fixed lines ---------- */
.hero h1 { max-width: none; font-size: clamp(34px, 9.6vw, 108px); }
.h1-line { display: block; white-space: nowrap; }

/* Fully insured note (footer) */
.insured-note { display: inline-flex; align-items: center; gap: 6px; color: #bdbdbd; }
.insured-note svg { width: 14px; height: 14px; color: var(--red); flex-shrink: 0; }
/* =========================================================
   Mobile polish (phones)
   ========================================================= */
@media (max-width: 720px) {
  body { font-size: 15.5px; }

  /* Nav dropdown */
  .nav { height: 64px; }
  .nav-links { top: 67px; padding: 10px 16px 18px; border-bottom: 3px solid var(--red); box-shadow: 0 18px 30px rgba(0,0,0,.35); }
  .nav-links a { font-size: 17px; padding: 13px 14px; }
  .brand-mark { font-size: 30px; padding-right: 10px; }

  /* Hero */
  .hero { min-height: 0; }
  .hero .wrap { padding-top: 150px; padding-bottom: 44px; }
  .eyebrow { font-size: 11px; letter-spacing: 1.6px; padding: 5px 10px; margin-bottom: 16px; }
  .hero p { font-size: 16px; margin: 14px 0 24px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-actions .btn { justify-content: center; padding: 14px 10px; font-size: 15px; }

  /* Section headings */
  h2 { font-size: 36px; }
  .section-label { font-size: 12px; margin-bottom: 8px; }

  /* About */
  .about { gap: 36px; }
  .about-text p { font-size: 15.5px; margin-top: 14px; }
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; padding-top: 22px; }
  .stat strong { font-size: 32px; }
  .stat span { font-size: 13px; }
  .about-photo { margin-right: 8px; }
  .about-photo img { aspect-ratio: 4 / 3; }
  .about-photo::before { inset: 10px -8px -10px 10px; border-width: 2px; }

  /* Services: compact rows */
  .services-head { margin-bottom: 26px; }
  .service-grid { gap: 10px; }
  .service {
    display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; align-items: center;
    padding: 16px 18px; border-top: 0; border-left: 3px solid var(--red);
  }
  .service:hover { transform: none; }
  .service svg { grid-row: 1 / 3; width: 28px; height: 28px; margin: 0; }
  .service h3 { font-size: 20px; line-height: 1.1; }
  .service p { margin-top: 2px; font-size: 13.5px; }

  /* CTA band */
  .cta-band { padding: 44px 0; }
  .cta-band .wrap { flex-direction: column; align-items: stretch; gap: 20px; }
  .cta-band h2 { font-size: 30px; }
  .cta-band .btn { justify-content: center; }

  /* Footer: stacked and centered */
  .site-footer { padding: 40px 0 28px; text-align: center; }
  .footer-top { flex-direction: column; gap: 20px; padding-bottom: 22px; }
  .footer-links { justify-content: center; gap: 8px 20px; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 14px; padding-top: 20px; }
  .footer-bottom > span:first-child { display: block; line-height: 1.7; }
  .footer-bottom .insured-note { display: flex; justify-content: center; margin-top: 6px; }
  .footer-bottom .sep { display: none; }
  .footer-right { flex-direction: column; gap: 10px; }
  .credit { padding-left: 0; border-left: 0; }

  /* Inner page headers */
  .page-head h2 { font-size: 40px; }
  .page-head p { font-size: 15.5px; }

  /* Jobs: one swipeable row of filters */
  .filters {
    flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 22px; padding: 2px 16px 6px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; padding: 8px 16px; }
  .gallery { gap: 8px; }
  .tile { border-radius: 10px; }
  .fb-note { margin-top: 28px; font-size: 14.5px; }

  /* Contact: compact horizontal cards */
  .contact-grid { gap: 12px; }
  .contact-card { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: center; padding: 18px; }
  .contact-card .icon { grid-row: 1 / 4; width: 48px; height: 48px; margin: 0; }
  .contact-card .value { font-size: 22px; }
  .contact-card .sub { font-size: 13.5px; margin-top: 2px; }
  .area { margin-top: 36px; }
  .area-text { padding: 28px 20px 8px; }
  .area-text h2 { font-size: 30px; }
}

/* Balanced heading line breaks (no orphan words) */
h1, h2, h3 { text-wrap: balance; }
@media (max-width: 720px) { .footer-bottom { font-size: 12.5px; } }
