/* Nonestopp Welders — one typeface (Inter), flat industrial system.
   Colour roles: navy = headings/panels, orange = action only, steel = links/
   secondary text, silver = borders/decoration, ink = nav/footer/dark panels,
   paper = alternate sections. No gradients, no shadows. */

:root {
  --navy: #132A57;
  --orange: #E4842E;
  --orange-dark: #B96A1D;
  --ember: #9A3D00;          /* shade of orange — used only for form errors */
  --silver: #AFB2BC;
  --ink: #0C0B1B;
  --steel: #3B5686;
  --paper: #EAE6E1;
  --white: #FFFFFF;
  --body: #333333;
  --wrap: 72rem;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* radii — softened but not rounded; larger on bigger screens */
  --r-card: 6px;
  --r-btn: 5px;
  --r-chip: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6;
  color: var(--body); background: var(--white);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
[hidden] { display: none !important; }
a { color: var(--steel); }
a, button { -webkit-tap-highlight-color: rgba(0,0,0,0); }
p { max-width: 68ch; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--orange); color: var(--ink); padding: .75rem 1.25rem;
  font-weight: 600;
}
.skip:focus { left: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
.wrap-narrow { max-width: 44rem; }

/* ------------------------------- type ------------------------------- */
h1, h2, h3, .h1, .h2, .h3 {
  font-weight: 800; color: var(--navy); line-height: 1.15;
  letter-spacing: .01em; margin: 0 0 .75em; text-transform: uppercase;
  text-wrap: balance;
}
.h1 { font-size: clamp(1.9rem, 6vw, 3.4rem); }
.h2 { font-size: clamp(1.4rem, 4vw, 2.1rem); }
.h3 { font-size: 1.05rem; letter-spacing: .04em; margin-top: 2rem; }
.h2-light { color: var(--white); }
.lede, .lead-p { font-size: 1.125rem; color: var(--navy); }
.kicker {
  display: flex; align-items: center; gap: .5rem; margin: 0 0 .75rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--silver);
}
.kicker .ic { color: var(--orange); flex: none; }
.kicker-dark { color: var(--steel); }
.section-cta { margin-top: 2rem; }
.crumbs { font-size: .85rem; color: var(--steel); margin-bottom: .75rem; text-transform: uppercase; letter-spacing: .06em; }

/* ------------------------------- icons ------------------------------ */
.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; }
.ic-14 { width: 14px; height: 14px; } .ic-16 { width: 16px; height: 16px; }
.ic-18 { width: 18px; height: 18px; } .ic-20 { width: 20px; height: 20px; }
.ic-24 { width: 24px; height: 24px; } .ic-28 { width: 28px; height: 28px; }
.ic-32 { width: 32px; height: 32px; }

/* ------------------------------ buttons ----------------------------- */
.btn {
  border-radius: var(--r-btn);
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; min-height: 44px; padding: .7rem 1.4rem;
  font: 600 1rem/1 var(--font); text-decoration: none; text-transform: uppercase;
  letter-spacing: .05em; border: 2px solid transparent; cursor: pointer;
}
.btn-solid { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.btn-solid:hover, .btn-solid:focus-visible { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); }
.btn-ghost { border-color: var(--silver); color: var(--white); }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--white); background: var(--white); color: var(--ink); }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover, .btn-line:focus-visible { background: var(--navy); color: var(--white); }
.btn-ghost-dark { border-color: var(--steel); color: var(--navy); }
.btn-ghost-dark:hover, .btn-ghost-dark:focus-visible { background: var(--steel); color: var(--white); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; margin-top: .5rem; }

/* ------------------------------ header ------------------------------ */
.site-head { background: var(--white); border-bottom: 2px solid var(--paper); position: sticky; top: 0; z-index: 20; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand-logo {
  display: block; height: 52px; width: auto; max-width: 62vw; object-fit: contain;
  /* the supplied logo has a white background — it blends into the white header */
}
.brand-logo-footer { height: 64px; max-width: 70vw; background: var(--white); padding: 4px 10px; border-radius: var(--r-chip); }
.nav-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: none; border: 2px solid var(--navy);
  color: var(--navy); cursor: pointer;
}
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: inline-block; }
.nav-only-mobile { display: none; }
.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
@media (max-width: 55.9375rem) {
  .site-nav.is-open {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-top: 2px solid var(--paper); border-bottom: 2px solid var(--paper);
    padding: 1rem; max-height: calc(100dvh - 4.25rem); overflow-y: auto;
  }
  .site-nav.is-open li a {
    display: flex; align-items: center; gap: .5rem; padding: .9rem .5rem; color: var(--navy);
    text-decoration: none; font-weight: 600; font-size: 1.05rem;
    border-bottom: 1px solid var(--paper); min-height: 44px;
  }
  .site-nav.is-open li a[aria-current] { color: var(--ember); }
  .site-nav.is-open .head-cta { margin-top: 1rem; width: 100%; }
  .nav-only-mobile { display: block; }
  .nav-only-mobile a .ic { color: var(--orange); }
}

/* ------------------------------- hero ------------------------------- */
.hero {
  position: relative; background: var(--ink) center / cover no-repeat;
  color: var(--white); padding: 3rem 0 3.5rem; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(12, 11, 27, .76); /* flat overlay, no gradient */
}
.hero-grid { position: relative; display: grid; gap: 2rem; }
.hero-copy { max-width: 46rem; }
.hero h1 {
  color: var(--white); font-size: clamp(2.1rem, 9vw, 4.2rem);
  line-height: 1.02; margin: 0 0 1rem;
}
.hero-sub { font-size: 1.15rem; color: var(--paper); margin: 0 0 1.5rem; }
.hero-actions { display: flex; gap: .5rem; }
.hero-actions .btn { flex: 1; min-width: 0; min-height: 46px; white-space: nowrap; font-size: .85rem; letter-spacing: .03em; padding: .75rem .5rem; }
.hero-note { margin-top: 1rem; font-size: .95rem; color: var(--silver); }

/* image slots — swap = drop a file at the JSON-listed path */
.ph {
  display: block; width: 100%; aspect-ratio: var(--ar, 16/10);
  object-fit: cover; background: var(--paper); border: 0;
}

/* ------------------------------ trust ------------------------------- */
.trust { background: var(--white); border-bottom: 2px solid var(--paper); }
.trust-row { display: grid; grid-template-columns: 1fr 1fr; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.trust-item { padding: .5rem 1rem; }
.trust-item strong { display: block; color: var(--navy); font-size: .95rem; line-height: 1.3; }
.trust-item strong::before {
  content: ""; display: inline-block; width: 7px; height: 7px;
  background: var(--orange); transform: rotate(45deg);
  margin-right: .55rem; vertical-align: .12em;
}
.trust-item span { font-size: .8rem; color: var(--steel); }

/* ----------------------------- sections ----------------------------- */
.section { padding: 3rem 0; }
.section-paper { background: var(--paper); }
.section-flat { background: var(--paper); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink .h2 { color: var(--white); }

/* weld-seam divider — the signature element */
.seam { position: relative; height: 24px; margin: 0 auto; max-width: var(--wrap); }
.seam-flip .seam-svg { transform: scaleX(-1); }
.seam-svg { display: block; width: 100%; height: 24px; }
.seam-line { stroke: var(--silver); stroke-width: 5; stroke-dasharray: 8 7; stroke-linecap: round; }
.seam-spark { position: absolute; right: .75rem; top: 0; width: 24px; height: 24px; color: var(--orange); }
.seam-flip .seam-spark { right: auto; left: .75rem; }

/* ------------------------------- steps ------------------------------ */
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0; }
.step { position: relative; border: 2px solid var(--silver); border-top: 0; padding: 1.25rem 1.25rem 1.25rem 4.75rem; }
.step:first-child { border-top: 2px solid var(--silver); }
.step + .step { margin-top: -2px; }
.step-ic {
  position: absolute; left: 1rem; top: 1.15rem; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--navy); color: var(--orange); background: var(--navy);
}
.step h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.step p { margin: 0; font-size: .95rem; }

/* ----------------------------- services ----------------------------- */
.svc-layout { display: grid; gap: 1.5rem; margin-top: 2rem; }
.svc-lead { display: block; border: 2px solid var(--navy); text-decoration: none; color: var(--body); }
.svc-lead-body { display: block; padding: 1.25rem; }
.svc-lead-icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; background: var(--navy); color: var(--orange); margin-bottom: .75rem; }
.svc-lead-body strong { display: block; font-size: 1.35rem; font-weight: 800; color: var(--navy); text-transform: uppercase; }
.svc-lead-body span:not(.svc-lead-icon) { color: var(--steel); }
.svc-lead:hover strong { color: var(--ember); }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; align-content: start; }
.svc-list a {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem;
  border: 2px solid var(--silver); border-top: 0; text-decoration: none;
  color: var(--body);
}
.svc-list li:first-child a { border-top: 2px solid var(--silver); }
.svc-list a > .ic { color: var(--navy); flex: none; }
.svc-list a span { flex: 1; }
.svc-list a strong { display: block; color: var(--navy); font-size: 1.05rem; text-transform: uppercase; }
.svc-list a:hover { background: var(--paper); }
.svc-list a:hover strong { color: var(--ember); }
.svc-arrow { color: var(--silver); }

/* services index rows */
.svc-row { display: grid; gap: 1.5rem; margin: 0 0 3rem; }
.svc-row-body h2 { display: flex; align-items: center; gap: .6rem; }
.svc-promise { font-weight: 600; color: var(--navy); }
.svc-links { display: flex; gap: .5rem; }
.svc-row-body .btn { flex: 1; min-width: 0; min-height: 46px; white-space: nowrap; font-size: .85rem; letter-spacing: .03em; padding: .75rem .5rem; }

/* ----------------------------- media strip -------------------------- */
.media-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: var(--ink); }
.media-strip img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* --------------------------- before / after ------------------------- */
.ba { position: relative; border: 2px solid var(--navy); --pos: 50%; }
.ba-img { display: block; width: 100%; aspect-ratio: var(--ar); object-fit: cover; }
.ba-before-wrap {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 4px; margin-left: -2px; background: var(--orange); pointer-events: none;
}
.ba-tag {
  position: absolute; top: .7rem; z-index: 1; padding: .3rem .6rem;
  font: 700 .72rem var(--font); text-transform: uppercase; letter-spacing: .08em;
  pointer-events: none;
}
.ba-tag-before { left: .7rem; background: var(--navy); color: var(--white); }
.ba-tag-after { right: .7rem; background: var(--orange); color: var(--ink); }
.ba-handle {
  position: absolute; top: 50%; left: var(--pos); z-index: 1;
  width: 44px; height: 44px; transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  background: var(--orange); color: var(--ink); border-radius: 50%;
  pointer-events: none;
}
.ba input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2;
  appearance: none; -webkit-appearance: none; background: transparent; margin: 0;
  cursor: ew-resize; touch-action: pan-y;
}
.ba input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 34px; height: 100%;
  background: transparent; border: 0;
}
.ba input[type="range"]::-moz-range-thumb {
  width: 34px; height: 100%; background: transparent; border: 0; border-radius: 0;
}
.ba input[type="range"]::-moz-range-track { background: transparent; }
.ba input[type="range"]:focus-visible { outline-offset: -3px; }
.ba-note { font-size: .9rem; color: var(--steel); margin-top: .75rem; }

/* ------------------------------ projects ---------------------------- */
.proj-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
.proj { display: block; border: 2px solid var(--steel); text-decoration: none; color: var(--paper); scroll-margin-top: 5rem; }
.proj-static { color: var(--body); border-color: var(--silver); }
.proj-body { display: block; padding: 1rem 1.1rem; }
.proj-body strong { display: block; color: var(--white); font-size: 1.05rem; font-weight: 700; }
.proj-static .proj-body strong { color: var(--navy); }
.proj-body em { display: block; font-style: normal; font-size: .85rem; color: var(--silver); margin-top: .15rem; text-transform: uppercase; letter-spacing: .05em; }
.proj-static .proj-body em { color: var(--steel); }
.proj-body p { font-size: .9rem; margin: .6rem 0 0; }
.proj:hover .proj-body strong { color: var(--orange); }
.proj-static:hover .proj-body strong { color: var(--ember); }

/* --------------------------- designer teaser ------------------------ */
.designer-teaser { display: grid; gap: 2rem; align-items: center; }
.dt-art { background: var(--navy); padding: 2rem; }
.dt-gate { display: block; width: 100%; color: var(--silver); }

/* ------------------------------ coverage ---------------------------- */
.coverage { display: grid; gap: 2rem; align-items: center; }
.area-chips { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.area-chips a {
  display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.2rem;
  border: 2px solid var(--navy); color: var(--navy); font-weight: 700;
  text-decoration: none; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem;
}
.area-chips a:hover { background: var(--navy); color: var(--white); }
.route-map { width: 100%; background: var(--ink); }
.rm-dot { fill: var(--orange); }
.rm-dot-far { fill: var(--silver); }
.rm-route { fill: none; stroke: var(--silver); stroke-width: 3; stroke-dasharray: 7 6; }
.rm-label { fill: var(--white); font: 600 13px var(--font); text-transform: uppercase; letter-spacing: .06em; }

/* ------------------------------ cta band ---------------------------- */
.cta-band { background: var(--ink); color: var(--paper); padding: 3rem 0; }
.cta-band h2 { color: var(--white); }
.cta-actions { display: flex; gap: .5rem; margin-top: 1.5rem; }
.cta-actions .btn { flex: 1; min-width: 0; min-height: 46px; white-space: nowrap; font-size: .85rem; letter-spacing: .03em; padding: .75rem .5rem; }

/* ------------------------------ page head --------------------------- */
.page-head { background: var(--paper); padding: 2.5rem 0; border-bottom: 2px solid var(--silver); }
.page-head .h1 { margin-bottom: .5rem; }
.page-head .lede { margin-bottom: 0; }
.page-head-photo {
  position: relative; background: var(--ink) center / cover no-repeat;
  color: var(--paper); padding: 3rem 0;
}
.page-head-photo::before {
  content: ""; position: absolute; inset: 0; background: rgba(12, 11, 27, .78);
}
.page-head-photo .wrap { position: relative; }
.page-head-photo .h1 { color: var(--white); }
.page-head-photo .lede { color: var(--paper); }
.page-head-photo .kicker-dark { color: var(--silver); }
.page-head-photo .crumbs { color: var(--silver); }
.page-head-photo p, .page-head-photo li { color: var(--paper); }
.page-head-photo a { color: var(--white); text-decoration-color: var(--orange); }
.page-head-photo .link-list-big li { border-bottom-color: var(--steel); }
.pref-note { margin: .75rem 0 0; font-size: .95rem; }

/* ----------------------------- detail page -------------------------- */
.svc-detail { display: grid; gap: 2rem; }
.tick-list { list-style: none; margin: 1rem 0; padding: 0; }
.tick-list li { display: flex; gap: .65rem; align-items: flex-start; padding: .45rem 0; }
.tick-list .ic { color: var(--orange); flex: none; margin-top: .2em; }
.side-box { border: 2px solid var(--navy); padding: 1.25rem; margin-bottom: 1.5rem; }
.side-box h2 { font-size: 1rem; margin-bottom: .6rem; }
.side-flat { border-color: var(--silver); background: var(--paper); }
.side-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.side-ink h2 { color: var(--orange); }
.side-ink a { color: var(--white); }
.fact-list { margin: 0; }
.fact-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px solid var(--navy); }
.fact-list dt { color: var(--silver); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.fact-list dd { margin: 0; text-align: right; font-weight: 600; }
.signoff { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin: 0; }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { padding: .3rem 0; }
.link-list-big li { padding: .6rem 0; border-bottom: 1px solid var(--silver); }
.link-list-big a { font-size: 1.1rem; font-weight: 600; }

.about-grid { display: grid; gap: 2rem; }

/* ------------------------------- forms ------------------------------ */
.form { background: var(--white); border: 2px solid var(--navy); padding: 1.5rem; }
.form-title { font-size: 1.15rem; margin-top: 0; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: .35rem; }
.field .opt { font-weight: 400; color: var(--steel); font-size: .9rem; }
.field input[type="text"], .field input[type="tel"], .field input[type="number"],
.field input[type="email"], .field input[type="password"], .field input[type="search"],
.field input[type="url"], .field input[type="file"], .field select, .field textarea {
  width: 100%; min-height: 44px; padding: .65rem .8rem; font: 400 16px/1.4 var(--font);
  color: var(--body); background: var(--white); border: 2px solid var(--silver);
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23132A57' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .7rem center; background-size: 18px;
}
.field input[type="file"] {
  border-style: dashed; background: var(--paper); cursor: pointer;
}
.field input[type="file"]::file-selector-button {
  font: 600 .85rem var(--font); text-transform: uppercase; letter-spacing: .05em;
  min-height: 40px; padding: .4rem 1rem; margin-right: .9rem;
  background: var(--navy); color: var(--white); border: 0; border-radius: var(--r-btn);
  cursor: pointer;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--orange); outline-offset: 0; border-color: var(--navy);
}
.field input[aria-invalid], .field select[aria-invalid] { border-color: var(--ember); }
.field-err { color: var(--ember); font-size: .9rem; font-weight: 600; margin: .35rem 0 0; }
.field-row { display: grid; gap: 0 1rem; }
.field-check { display: flex; gap: .7rem; align-items: flex-start; }
.field-check input { width: 22px; height: 22px; flex: none; margin-top: .2em; accent-color: var(--navy); }
.field-check label { font-weight: 400; }
.form-note { font-size: .9rem; color: var(--steel); margin: 1rem 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border: 2px solid var(--navy); padding: 1.25rem; margin-bottom: 1.25rem; }
.notice-err { border-color: var(--ember); color: var(--ember); font-weight: 600; }
.notice-ok { background: var(--paper); }
.notice-ok h2 { margin-top: 0; }

/* quote steps */
.q-steps { list-style: none; display: flex; gap: 0; margin: 0 0 1.5rem; padding: 0; }
.q-steps li {
  flex: 1; padding: .6rem .5rem; text-align: center; font-size: .78rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--steel); border-bottom: 4px solid var(--silver);
}
.q-steps li.is-on { color: var(--navy); border-color: var(--orange); }
.q-step { border: 0; margin: 0; padding: 0; }
.q-step legend { font-size: 1.05rem; font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 1rem; padding: 0; }
.quote-form.q-steped .q-step { display: none; }
.quote-form.q-steped .q-step.is-cur { display: block; }
.q-nav { display: flex; gap: .75rem; margin-top: 1.25rem; }
.q-nav .btn { flex: 1; }

/* ------------------------------ contact ----------------------------- */
.contact-grid { display: grid; gap: 2rem; }
.contact-cards { display: grid; gap: 0; align-content: start; }
.contact-card {
  display: flex; flex-direction: column; gap: .15rem; padding: 1.1rem 1.25rem;
  border: 2px solid var(--silver); border-top: 0; text-decoration: none; color: var(--body);
}
.contact-card:first-child { border-top: 2px solid var(--silver); }
a.contact-card:hover { background: var(--paper); }
.contact-card .ic { color: var(--orange); margin-bottom: .35rem; }
.contact-card strong { color: var(--navy); font-size: 1.05rem; text-transform: uppercase; }
.contact-card span { font-size: .92rem; }

/* ------------------------------ gallery ----------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  min-height: 44px; padding: .5rem 1.1rem; font: 600 .9rem var(--font);
  text-transform: uppercase; letter-spacing: .05em; cursor: pointer;
  border: 2px solid var(--navy); background: var(--white); color: var(--navy);
}
.chip.is-on { background: var(--navy); color: var(--white); }
.empty-state {
  border: 2px dashed var(--silver); padding: 2rem; text-align: center;
  color: var(--steel); margin-top: 2rem;
}

/* ------------------------------- faq -------------------------------- */
.faq { border: 2px solid var(--silver); border-top: 0; }
.faq:first-of-type { border-top: 2px solid var(--silver); }
.faq summary {
  cursor: pointer; padding: 1rem 1.25rem; font-weight: 700; color: var(--navy);
  list-style: none; display: flex; justify-content: space-between; gap: 1rem;
  min-height: 44px; align-items: center;
}
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.4rem; font-weight: 800; flex: none; }
.faq[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { padding: 0 1.25rem 1.1rem; margin: 0; }

/* ----------------------------- measure ------------------------------ */
.measure-grid { display: grid; gap: 1.5rem; }
.measure-card { border: 2px solid var(--silver); padding: 1.25rem; }
.measure-card h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.05rem; }
.measure-card h2 .ic { color: var(--orange); }
.measure-diagram { display: block; width: 100%; background: var(--paper); margin-bottom: .75rem; }
.md-solid { fill: var(--navy); }
.md-frame { fill: none; stroke: var(--navy); stroke-width: 4; }
.md-inner { stroke: var(--steel); stroke-width: 3; }
.md-measure { stroke: var(--orange); stroke-width: 3; stroke-dasharray: 6 5; }
.md-text { font: 600 12px var(--font); fill: var(--navy); text-transform: uppercase; }
.photo-tip { display: flex; gap: .8rem; align-items: center; font-size: 1.1rem; font-weight: 600; color: var(--navy); }
.photo-tip .ic { color: var(--orange); flex: none; }

/* ------------------------------ thanks ------------------------------ */
.thanks { text-align: left; }
.thanks-ic {
  display: inline-flex; width: 64px; height: 64px; align-items: center;
  justify-content: center; background: var(--navy); color: var(--orange);
  margin-bottom: 1rem;
}
.ref { letter-spacing: .08em; color: var(--ember); }
.thanks-box { text-align: left; margin: 1.5rem 0; }
.page-404 .thanks-ic { background: var(--paper); color: var(--orange); }

/* ------------------------------- footer ----------------------------- */
.site-foot { background: var(--ink); color: var(--silver); padding: 3rem 0 2rem; }
.foot-grid { display: grid; gap: 2rem; }
.foot-name { color: var(--white); font-weight: 800; letter-spacing: .08em; margin: .75rem 0 .1rem; }
.foot-tag { margin: 0 0 .75rem; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.foot-line { color: var(--orange); font-weight: 600; margin: 0; }
.foot-col h2 { color: var(--orange); font-size: .85rem; letter-spacing: .1em; margin-bottom: .75rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col a {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 40px;
  color: var(--silver); text-decoration: none;
}
.foot-col a:hover { color: var(--white); }
.foot-base { border-top: 1px solid var(--navy); margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; }
.foot-base a { color: var(--white); }

/* --------------------------- floating actions ----------------------- */
.float-actions {
  position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 40; display: flex; flex-direction: column; gap: .6rem;
}
.float-btn {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; border: 0;
  color: var(--white); text-decoration: none;
}
.float-btn .ic { width: 26px; height: 26px; }
.float-wa { background: #25D366; }
.float-wa:hover, .float-wa:focus-visible { background: #1EBE5B; }
.float-call { background: var(--navy); }
.float-call:hover, .float-call:focus-visible { background: var(--steel); }

/* ------------------------------ designer ---------------------------- */
.designer-grid { display: grid; gap: 2rem; }
.designer-controls { border: 2px solid var(--navy); background: var(--white); padding: 1.25rem; }
.designer-note { font-size: .85rem; color: var(--steel); margin: .5rem 0 0; }
.designer-preview { display: flex; flex-direction: column; gap: 1rem; }
.designer-canvas { background: var(--paper); border: 2px solid var(--navy); padding: 1rem; }
#gateSvg { display: block; width: 100%; }
.designer-size { margin: 0; font-weight: 600; color: var(--navy); }

/* ------------------------------ reviews ----------------------------- */
.reviews { background: var(--paper); padding: 3rem 0 3.5rem; }
.marquee { overflow: hidden; margin-top: 1.5rem; }
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; gap: 1rem; padding-right: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
.r-card {
  position: relative; flex: 0 0 17.5rem; display: flex; flex-direction: column;
  margin: 0; padding: 1.1rem 1.2rem;
  background: var(--white); border: 2px solid var(--navy);
}
.r-card::before {
  content: "\201C"; position: absolute; top: .3rem; right: .9rem;
  font: 800 3.4rem/1 var(--font); color: var(--paper);
}
.r-stars { display: flex; gap: 3px; color: var(--orange); }
.r-star-off { color: var(--silver); }
.r-text { font-size: .95rem; margin: .6rem 0 .8rem; flex: 1; }
.r-meta { font-style: normal; font-size: .82rem; color: var(--steel); text-transform: uppercase; letter-spacing: .05em; }
.r-meta strong { display: block; color: var(--navy); font-size: .95rem; letter-spacing: .02em; }

/* ------------------------------- radii ------------------------------ */
/* cards and panels — 6px (8px on larger screens) */
.proj, .svc-lead, .ba, .measure-card, .side-box, .form, .notice,
.empty-state, .designer-controls, .designer-canvas, .dt-art, .route-map,
.r-card { border-radius: var(--r-card); }

/* clip inner media to the card curve */
.proj, .svc-lead, .ba { overflow: hidden; }
.svc-row .ph { border-radius: var(--r-card); }

/* form fields match button softness */
.field input[type="text"], .field input[type="tel"], .field input[type="number"],
.field input[type="email"], .field input[type="password"], .field input[type="search"],
.field input[type="url"], .field input[type="file"], .field select, .field textarea,
.nav-toggle, .skip {
  border-radius: var(--r-btn);
}

/* small badges, chips and icon plates — 3px */
.chip, .area-chips a, .ba-tag, .step-ic, .svc-lead-icon,
.thanks-ic, .brand-logo, .measure-diagram { border-radius: var(--r-chip); }

/* joined stacks: round only the outer corners */
.step:first-child { border-radius: var(--r-card) var(--r-card) 0 0; }
.step:last-child { border-radius: 0 0 var(--r-card) var(--r-card); }
.svc-list li:first-child a { border-radius: var(--r-card) var(--r-card) 0 0; }
.svc-list li:last-child a { border-radius: 0 0 var(--r-card) var(--r-card); }
.contact-card:first-child { border-radius: var(--r-card) var(--r-card) 0 0; }
.contact-card:last-child { border-radius: 0 0 var(--r-card) var(--r-card); }
.faq:first-of-type { border-radius: var(--r-card) var(--r-card) 0 0; }
.faq:last-of-type { border-radius: 0 0 var(--r-card) var(--r-card); }

/* ============================== breakpoints ========================= */
@media (min-width: 40rem) {          /* 640px — large phones / small tablets */
  .hero-actions .btn, .cta-actions .btn, .svc-row-body .btn { flex: 0 0 auto; font-size: 1rem; padding: .85rem 1.6rem; }
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .measure-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 48rem) {          /* 768px — tablets */
  body { font-size: 17px; }
  .wrap { padding: 0 1.5rem; }
  .trust-row { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .step { border-top: 2px solid var(--silver); }
  .step + .step { margin-top: 0; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

@media (min-width: 56rem) {          /* 900px — laptops */
  :root { --r-card: 8px; --r-btn: 6px; }
  .nav-toggle { display: none; }
  .brand-logo { height: 58px; }
  .site-nav { display: flex; align-items: center; gap: 1.5rem; }
  .site-nav ul { display: flex; gap: .25rem; }
  .site-nav li a {
    display: inline-flex; align-items: center; min-height: 44px;
    padding: .4rem .7rem; color: var(--steel); text-decoration: none;
    font-weight: 600; font-size: .95rem; border-bottom: 3px solid transparent;
  }
  .site-nav li a:hover { color: var(--navy); }
  .site-nav li a[aria-current] { color: var(--navy); border-bottom-color: var(--orange); }
  .hero { padding: 5.5rem 0 6rem; }
  .page-head-photo { padding: 4.5rem 0; }
  .svc-layout { grid-template-columns: 1.15fr .85fr; }
  .svc-row { grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; }
  .svc-row-flip .ph { order: 2; }
  .svc-detail { grid-template-columns: 1.5fr .8fr; align-items: start; }
  .svc-side { position: sticky; top: 1.5rem; }
  .proj-grid { grid-template-columns: repeat(3, 1fr); }
  .designer-teaser { grid-template-columns: 1fr 1fr; }
  .coverage { grid-template-columns: 1fr 1fr; }
  .designer-grid { grid-template-columns: .9fr 1.1fr; align-items: start; }
  .designer-controls { position: sticky; top: 1.5rem; }
  .r-card { flex-basis: 20rem; }
  .measure-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .about-grid { display: grid; grid-template-columns: 1.5fr .8fr; gap: 3rem; align-items: start; }
}

@media (min-width: 75rem) {          /* 1200px — desktops */
  .section { padding: 4rem 0; }
  .proj-grid { gap: 1.75rem; }
}

@media (min-width: 90rem) {          /* 1440px+ — wide screens */
  :root { --wrap: 78rem; }
}

/* ======= phones <640px: 2-up cards, unified 6px spacing layer ======= */
@media (max-width: 39.9375rem) {
  /* screen edge → cards: 6px (equals the gap between cards) */
  .wrap { padding: 0 6px; }

  /* tighter vertical rhythm — less scroll debt */
  .section { padding: 2.4rem 0; }
  .cta-band { padding: 2.4rem 0; }
  .page-head { padding: 1.75rem 0; }
  .page-head-photo { padding: 2.4rem 0; }
  .hero { padding: 2.8rem 0 3.2rem; }

  /* converted grids — 2 per line */
  .proj-grid { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 1.25rem; }
  .contact-cards { grid-template-columns: 1fr 1fr; gap: 6px; }
  .trust-row { gap: 6px; }

  /* card padding — 6px to match */
  .proj-body { padding: 6px; }
  .proj-body strong { font-size: .95rem; }
  .proj-body em { font-size: .75rem; }
  .proj-body p { font-size: .8rem; }
  .contact-card, .contact-card:first-child, .contact-card:last-child {
    border: 2px solid var(--silver); border-radius: var(--r-card); padding: 6px;
  }
  .contact-card span { font-size: .8rem; }
  .trust-item { padding: .35rem .4rem .35rem .5rem; }

  /* single-column card layouts — cards sit 2px further in (8px from edge) */
  .steps, .svc-layout, .measure-grid, .designer-grid, .about-grid, .svc-side {
    padding-left: 2px; padding-right: 2px;
  }
  .faq, .form, .notice, .thanks-box, .empty-state {
    margin-left: 2px; margin-right: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .marquee-track { animation: none; }
}

@media print {
  .site-head, .float-actions, .cta-band, .foot-col { display: none !important; }
}

/* ------------------------------- blog ---------------------------------- */
.cat-pills { margin-bottom: 1.5rem; }
a.chip { text-decoration: none; display: inline-flex; align-items: center; }
.blog-grid .post-cat {
  display: inline-block; font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .07em; color: var(--ember);
  margin-bottom: .3rem;
}
.blog-grid .post-excerpt { display: block; font-size: .9rem; color: var(--steel); margin-top: .25rem; }
.post-meta { font-size: .82rem; color: var(--steel); margin-top: .5rem; display: block; }
.post-cat { color: var(--ember); font-weight: 700; text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; text-decoration: none; }
.post-hero {
  display: block; width: 100%; max-height: 26rem; object-fit: cover;
  border: 2px solid var(--navy); border-radius: var(--r-card); margin-bottom: 1.5rem;
}
.post-cta { border-radius: var(--r-card); padding: 2rem 1.5rem; margin-top: 3rem; }
.post-cta h2 { margin-top: 0; }

/* article body prose � sanitised HTML from the Quill editor */
.prose { font-size: 1.05rem; line-height: 1.7; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { color: var(--navy); font-size: 1.4rem; margin: 2rem 0 .75rem; }
.prose h3, .prose h4 { color: var(--navy); font-size: 1.15rem; margin: 1.75rem 0 .6rem; }
.prose p { margin: 0 0 1.1rem; }
.prose ul, .prose ol { margin: 0 0 1.1rem; padding-left: 1.4rem; }
.prose li { margin-bottom: .35rem; }
.prose blockquote {
  margin: 1.5rem 0; padding: .25rem 0 .25rem 1.1rem;
  border-left: 4px solid var(--orange); color: var(--navy); font-weight: 600;
}
.prose a { color: var(--steel); }
.prose img { max-width: 100%; border-radius: var(--r-card); }
.prose code { background: var(--paper); padding: .1rem .4rem; border-radius: 3px; font-size: .9em; }
.prose pre { background: var(--ink); color: var(--paper); padding: 1rem; border-radius: var(--r-card); overflow-x: auto; }
