/* Northgate Plumbing Co. handwritten static CSS. Solid colours only, no gradients. */

:root {
  --brand: #17506B;
  --bg: #F7F7F5;
  --surface: #FFFFFF;
  --text: #14161A;
  --muted: #5A6268;
  --line: #E2E3DF;
  --radius: 12px;
  --maxw: 1200px;

  --brand-ink: #103A4E;
  --brand-tint: #EDF2F5;
  --shadow-sm: 0 1px 2px rgba(20, 22, 26, .04), 0 8px 24px rgba(20, 22, 26, .05);
  --shadow-md: 0 2px 4px rgba(20, 22, 26, .05), 0 18px 48px rgba(20, 22, 26, .09);
  --display: "Fraunces", Georgia, serif;
  --body: "IBM Plex Sans", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--brand); color: #fff; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 20px;
}

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); }
.section-head p { margin-top: 20px; color: var(--muted); font-weight: 300; font-size: 19px; }

/* ---------- skip link ---------- */
.skip {
  position: absolute;
  left: 16px; top: -80px;
  z-index: 100;
  background: var(--text);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  text-decoration: none;
  transition: top .2s ease;
}
.skip:focus { top: 16px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 247, 245, .92);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 76px;
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-height: 44px;
  flex: 0 0 auto;
}
.brandmark .mark {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0;
}
.brandmark .name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.brandmark .name span { display: block; font-family: var(--body); font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 32px; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  text-decoration: none;
  color: var(--text);
  transition: color .2s ease;
}
.site-nav a:hover { color: var(--brand); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--radius);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn svg { flex: 0 0 auto; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* ---------- hero ---------- */
.hero { padding: 88px 0 96px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 72px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(44px, 6.6vw, 82px);
  letter-spacing: -0.035em;
}
.hero h1 em {
  font-style: normal;
  font-weight: 600;
  color: var(--brand);
}
.hero-lead {
  margin-top: 28px;
  font-size: 20px;
  font-weight: 300;
  color: var(--muted);
  max-width: 46ch;
}
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--muted); }

.assurances {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.assurances li { font-size: 14px; line-height: 1.45; color: var(--text); }
.assurances .ico { display: block; color: var(--brand); margin-bottom: 12px; }

.hero-media { position: relative; }
.frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .frame { aspect-ratio: 4 / 5; }
.badge {
  position: absolute;
  left: -24px;
  bottom: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 24px;
  box-shadow: var(--shadow-md);
  max-width: 232px;
}
.badge strong { display: block; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.badge span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ---------- band ---------- */
.band { background: var(--brand); color: #fff; }
.band .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
  padding-top: 28px;
  padding-bottom: 28px;
  align-items: center;
}
.band p { font-size: 15px; color: #fff; display: inline-flex; align-items: center; gap: 12px; }
.band p svg { opacity: .8; }

/* ---------- services ---------- */
.services { background: var(--surface); }
.service {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  transition: transform .25s ease;
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service:hover { transform: translateX(6px); }
.service .num {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  padding-top: 6px;
}
.service h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 300; }
.service .ico { color: var(--brand); margin-bottom: 20px; display: block; }
.service p { color: var(--muted); font-weight: 300; }
.service ul { margin-top: 24px; display: grid; gap: 10px; }
.service ul li {
  font-size: 15px;
  padding-left: 22px;
  position: relative;
  color: var(--text);
}
.service ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--brand);
}

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.about-grid .frame { aspect-ratio: 3 / 4; }
.about-copy h2 { font-size: clamp(32px, 4.4vw, 52px); }
.about-copy p { margin-top: 24px; color: var(--muted); font-weight: 300; font-size: 19px; }
.about-copy p.lead { color: var(--text); font-size: 21px; }
.about-facts {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.about-facts dt { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.about-facts dd { margin: 8px 0 0; font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- testimonials ---------- */
.reviews { background: var(--surface); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.review {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.review .quote-mark { color: var(--brand); }
.review blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.review figcaption { margin-top: auto; font-size: 14px; color: var(--muted); }
.review figcaption strong { display: block; color: var(--text); font-weight: 600; }
.note {
  margin-top: 32px;
  font-size: 14px;
  color: var(--muted);
  border-left: 2px solid var(--line);
  padding-left: 16px;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 72px;
  align-items: start;
}
.steps { margin-top: 40px; display: grid; gap: 24px; counter-reset: step; }
.steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--surface);
}
.steps strong { display: block; font-size: 16px; }
.steps span { font-size: 15px; color: var(--muted); }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.panel h3 { font-size: 26px; font-weight: 600; }
.panel p { margin-top: 16px; color: var(--muted); font-size: 16px; }
.contact-methods {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 8px;
  background: var(--brand-tint);
  color: var(--text);
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}
.contact-method:hover { background: #E4EBEF; transform: translateY(-1px); }
.contact-method svg { flex: 0 0 auto; color: var(--brand); margin-top: 2px; }
.contact-method span { display: block; }
.contact-method strong { display: block; font-size: 16px; font-weight: 600; }
.contact-method em { display: block; margin-top: 2px; font-style: normal; font-size: 13px; color: var(--muted); }
.panel .areas { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.panel .areas h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; font-family: var(--body); }
.panel .areas ul { display: flex; flex-wrap: wrap; gap: 8px; }
.panel .areas li {
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--text);
}

/* ---------- footer ---------- */
.site-footer { background: var(--text); color: #fff; padding: 72px 0 40px; }
.site-footer .brandmark .name { color: #fff; }
.site-footer .brandmark .name span { color: rgba(255, 255, 255, .6); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
}
.footer-grid p { margin-top: 24px; color: rgba(255, 255, 255, .7); font-size: 15px; font-weight: 300; max-width: 34ch; }
.footer-grid h4 { margin: 0 0 16px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); font-weight: 600; }
.footer-grid li a, .footer-grid li { color: rgba(255, 255, 255, .82); font-size: 15px; text-decoration: none; }
.footer-grid li { margin-bottom: 4px; }
.footer-grid li a { display: inline-flex; align-items: center; min-height: 32px; transition: color .2s ease; }
.footer-grid li a:hover { color: #fff; }
.footer-base {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-grid .media { order: 2; }
  .hero-media .frame { aspect-ratio: 3 / 2; }
  .about-grid .frame { aspect-ratio: 3 / 2; }
  .badge { left: 16px; bottom: 16px; }
  .service { grid-template-columns: 48px minmax(0, 1fr); gap: 16px 24px; }
  .service .body { grid-column: 2; }
  .service .detail { grid-column: 2; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .wrap { padding: 0 20px; }
  .header-inner {
    min-height: 0;
    flex-wrap: wrap;
    gap: 0 16px;
    padding: 12px 0 0;
  }
  .site-nav { margin-left: 0; order: 3; width: 100%; border-top: 1px solid var(--line); margin-top: 8px; }
  .site-nav ul { justify-content: space-between; gap: 8px; }
  .site-nav a { font-size: 14px; min-height: 44px; }
  .header-cta { margin-left: auto; }
  .assurances { grid-template-columns: 1fr; gap: 20px; }
  .about-facts, .footer-grid { grid-template-columns: 1fr; }
  .panel { padding: 28px; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
