/* West Coast Mechanical — commercial plumbing & HVAC, Calgary.
   Industrial: charcoal and gunmetal plate, brand-blue accent (#5facd2, from the WCM logo), one steel
   tread stripe under the hero, sharp corners, riveted panels, spec-tag labels.
   Barlow Condensed for headings, Inter for body, IBM Plex Mono for tags. */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700&family=Tinos:wght@700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  --bg: #0e1012;
  --bg-2: #14171a;
  --plate: #1a1e22;
  --plate-2: #22272c;
  --edge: #2c3238;
  --edge-2: #3a4148;
  --text: #e4e7ea;
  --body: #cfd5db;
  --muted: #9aa3ad;
  --faint: #6f7882;
  --accent: #5facd2;
  --accent-hot: #86c3e2;
  --accent-deep: #3b88b0;
  --hazard: #3a4148;
  --radius: 3px;
  --shadow: 0 22px 48px -22px rgba(0, 0, 0, 0.85);
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px; line-height: 1.6; text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: rgba(95, 172, 210, 0.35); color: #fff; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* — spec-tag eyebrow — */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-weight: 600; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; flex: none; }

h1, h2, h3 { font-family: var(--cond); margin: 0; color: var(--text); text-transform: uppercase; line-height: 1.1; }
h2.section-title {
  font-weight: 800; font-size: clamp(34px, 4.6vw, 54px);
  line-height: 0.98; letter-spacing: 0.005em; margin-bottom: 14px;
}
.section-sub { color: var(--muted); font-size: 17px; max-width: 60ch; margin: 0; }
.section { padding: clamp(60px, 8vw, 104px) 0; }
.section.ground { background: var(--bg-2); border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.section-head { margin-bottom: clamp(30px, 4vw, 48px); }

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--cond); font-weight: 700; font-size: 18px;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 2px; padding: 13px 24px; text-decoration: none; cursor: pointer;
  border: 0; white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-copper {
  background: var(--accent); color: #111;
  box-shadow: inset 0 0 0 1px var(--accent-deep), 0 10px 24px -12px rgba(95, 172, 210, 0.6);
}
.btn-copper:hover { background: var(--accent-hot); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--edge-2); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* — nav — */
.nav {
  position: sticky; top: 0; z-index: 40; background: rgba(10, 12, 14, 0.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--edge);
}
.nav-inner { display: flex; align-items: center; gap: 28px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; color: var(--text); }
.brand-mark { width: 54px; height: 44px; flex: none; }
.brand-word {
  font-family: 'Tinos', 'Times New Roman', serif; font-weight: 700; font-size: 21px; color: var(--accent);
  line-height: 1; letter-spacing: 0.02em; text-transform: uppercase;
}
.brand-word small {
  display: block; font-family: var(--mono); font-weight: 500;
  font-size: 10.5px; letter-spacing: 0.16em; color: var(--muted); margin-top: 4px;
}
.nav-link {
  color: var(--muted); text-decoration: none; font-family: var(--cond);
  font-weight: 700; font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase;
}
.nav-link:hover { color: var(--accent); }
.nav .btn { padding: 9px 18px; font-size: 17px; }
@media (max-width: 720px) {
  .nav-link { display: none; } .nav .btn span { display: none; }
  .nav-inner { gap: 14px; } .brand { gap: 10px; }
  .brand-mark { width: 44px; height: 36px; }
  .brand-word { font-size: 15px; } .brand-word small { display: none; }
}

/* — hero: blueprint grid on near-black — */
.hero { background: #0a0c0e; color: var(--text); overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 380px at 88% 18%, rgba(95, 172, 210, 0.16), transparent 70%),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55));
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
  padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px);
}
.hero h1 {
  color: #fff; font-weight: 800; letter-spacing: 0.005em;
  font-size: clamp(44px, 6.6vw, 82px); line-height: 0.95; margin: 0 0 22px;
}
.hero h1 .accent { color: var(--accent); }
.hero .lede { font-size: 18px; line-height: 1.65; color: #b4bcc5; max-width: 54ch; margin: 0 0 30px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .trust {
  margin-top: 28px; display: flex; gap: 22px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}
.hero .trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero .trust svg { width: 15px; height: 15px; color: var(--accent); }

/* — the one tread stripe — */
.hazard {
  height: 12px;
  background: repeating-linear-gradient(-45deg, var(--hazard) 0 16px, #0a0c0e 16px 32px);
  border-top: 1px solid #000; border-bottom: 1px solid #000;
}

/* — riveted panels — */
.contact-card::after, .contact-block::after {
  content: ""; position: absolute; inset: 9px; pointer-events: none;
  --rivet: radial-gradient(circle, #6b737c 0 1.6px, #2b3036 2.2px, transparent 2.8px);
  background:
    var(--rivet) top left / 7px 7px no-repeat,
    var(--rivet) top right / 7px 7px no-repeat,
    var(--rivet) bottom left / 7px 7px no-repeat,
    var(--rivet) bottom right / 7px 7px no-repeat;
}

/* — hero side panel: the quick-contact plate — */
.contact-card {
  position: relative; color: var(--text);
  background: linear-gradient(180deg, var(--plate-2), var(--plate));
  border: 1px solid var(--edge-2); border-top: 3px solid var(--accent);
  border-radius: var(--radius); padding: 30px 28px 26px; box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 26px; font-weight: 800; letter-spacing: 0.02em; margin-bottom: 6px; }
.contact-card p { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.phone-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: var(--bg); border: 1px solid var(--edge); border-radius: 2px;
  text-decoration: none; color: var(--text); margin-bottom: 10px;
  transition: border-color 0.15s, background 0.15s;
}
.phone-row:hover { border-color: var(--accent); background: #121518; }
.phone-row .ico {
  width: 42px; height: 42px; border-radius: 2px; flex: none;
  background: rgba(95, 172, 210, 0.12); border: 1px solid rgba(95, 172, 210, 0.4);
  color: var(--accent); display: grid; place-items: center;
}
.phone-row .ico svg { width: 20px; height: 20px; }
.phone-row b {
  display: block; font-family: var(--cond); font-size: 26px; font-weight: 700;
  letter-spacing: 0.03em; color: var(--text); line-height: 1.05; font-variant-numeric: tabular-nums;
}
.phone-row small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.contact-card .hours {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--faint); margin: 16px 0 0;
}

/* — services: numbered spec plates — */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: svc; }
.service {
  position: relative; counter-increment: svc;
  background: linear-gradient(180deg, var(--plate-2), var(--plate));
  border: 1px solid var(--edge); border-top: 3px solid var(--edge-2);
  border-radius: var(--radius); padding: 28px 26px 24px;
  transition: border-color 0.15s, transform 0.15s;
}
.service:hover { border-top-color: var(--accent); transform: translateY(-2px); }
.service::before {
  content: "SVC-" counter(svc, decimal-leading-zero);
  position: absolute; top: 24px; right: 24px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--faint);
}
.service .ico {
  width: 48px; height: 48px; border-radius: 2px; margin-bottom: 18px;
  border: 1.5px solid var(--accent); background: rgba(95, 172, 210, 0.08);
  color: var(--accent); display: grid; place-items: center;
}
.service .ico svg { width: 24px; height: 24px; }
.service h3 { font-size: 24px; font-weight: 800; letter-spacing: 0.02em; margin-bottom: 8px; }
.service p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.service ul { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.service li { padding: 7px 0 7px 20px; position: relative; border-top: 1px solid var(--edge); color: var(--body); }
.service li::before { content: ""; position: absolute; left: 3px; top: 15px; width: 7px; height: 7px; background: var(--accent); }

/* — who we work with — */
.clients { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.client {
  background: var(--plate); border: 1px solid var(--edge); border-left: 3px solid var(--accent);
  border-radius: 2px; padding: 20px 22px; display: flex; align-items: center; gap: 12px;
  font-family: var(--cond); font-weight: 700; font-size: 19px; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--text);
}
.client svg { width: 22px; height: 22px; color: var(--accent); flex: none; }

/* — why us — */
.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.why-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.why-list li {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start;
  background: var(--plate); border: 1px solid var(--edge); border-radius: 2px; padding: 22px;
}
.why-list .num { font-family: var(--cond); font-weight: 800; font-size: 40px; line-height: 0.9; color: var(--accent); }
.why-list h3 { font-size: 22px; font-weight: 800; letter-spacing: 0.02em; margin-bottom: 4px; }
.why-list p { margin: 0; color: var(--muted); font-size: 15px; }

/* — service area: tread-plate band — */
.area-band {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0 2px, transparent 2px 9px),
    #101316;
  border-top: 3px solid var(--accent); border-bottom: 1px solid var(--edge);
}
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.area-chips span {
  background: var(--plate); border: 1px solid var(--edge-2); border-radius: 2px;
  padding: 8px 16px; font-family: var(--cond); font-weight: 700; font-size: 17px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text);
}
.area-chips span:first-child { border-color: var(--accent); color: var(--accent); }

/* — contact — */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-block {
  position: relative; background: linear-gradient(180deg, var(--plate-2), var(--plate));
  border: 1px solid var(--edge); border-radius: var(--radius); padding: 30px 28px;
}
.contact-block .label {
  font-family: var(--mono); font-weight: 600; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.contact-block a.big {
  font-family: var(--cond); font-weight: 800; font-size: 34px; letter-spacing: 0.02em;
  color: var(--text); text-decoration: none; display: block; line-height: 1.05;
}
.contact-block a.big:hover { color: var(--accent); }
.contact-block p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.contact-block address { font-style: normal; font-size: 16px; line-height: 1.6; color: var(--body); }

/* — footer — */
.footer {
  background: #08090b; border-top: 1px solid var(--edge); padding: 28px 0;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--faint);
}
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--accent); }

/* — responsive — */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; }
  .services-grid { grid-template-columns: 1fr; }
  .clients { grid-template-columns: 1fr; }
}
