/* ============================================================
   ECR COATINGS — demo build by Nimblesite
   Playbook fingerprint: workshop-industrial. Space Grotesk +
   General Sans; graphite / light industrial grey / spray-red;
   left hero with their own tagline, "what we paint" chip wall,
   before/after gallery frames; flat 2px borders, no shadows.
   Facts from their own archived site (2020).
   ============================================================ */

:root {
  --bg:      #f4f5f4;
  --ink:     #22262a;
  --mut:     #5b6167;
  --red:     #d8332a;
  --red-deep:#b02218;
  --line:    #d3d7d9;
  --steel:   #e7e9ea;
  --disp: "Space Grotesk", system-ui, sans-serif;
  --sans: "General Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 5vw, 48px);
  --r: 8px;
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-size: 1.05rem; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--red); color: #fff; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.page { max-width: 1100px; margin-inline: auto; padding-inline: var(--pad); }

.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--disp); font-weight: 700; font-size: 1rem; line-height: 1; padding: .95rem 1.6rem; border-radius: var(--r); background: var(--red); color: #fff; border: 2px solid var(--red); transition: background .2s, border-color .2s; }
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }

/* util + mast */
.util { background: var(--ink); color: #cfd4d8; font-size: .92rem; }
.util .page { display: flex; justify-content: space-between; gap: 1rem; padding-block: .5rem; flex-wrap: wrap; }
.util b { color: #fff; }
.util a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.mast { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 2px solid var(--ink); }
.mast .page { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 76px; }
.wordmark { font-family: var(--disp); font-weight: 700; font-size: 1.35rem; letter-spacing: .01em; }
.wordmark span { color: var(--red); }
.mast nav { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2rem); font-family: var(--disp); font-weight: 700; font-size: .98rem; }
.mast nav a:not(.btn) { padding: .3rem 0; border-bottom: 3px solid transparent; }
.mast nav a:not(.btn):hover, .mast nav a[aria-current="page"] { border-bottom-color: var(--red); }
.mast .btn { padding: .7rem 1.2rem; font-size: .92rem; }
@media (max-width: 760px) { .mast nav a:not(.btn) { display: none; } }

/* hero */
.hero { padding-block: clamp(2.8rem, 7vw, 5.5rem) clamp(2.2rem, 5vw, 3.6rem); border-bottom: 2px solid var(--ink); background: linear-gradient(180deg, #eceeee 0%, var(--bg) 70%); }
.hero .kicker { font-family: var(--disp); font-weight: 700; font-size: .92rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.hero h1 { font-family: var(--disp); font-weight: 700; font-size: clamp(2.3rem, 1.3rem + 4.4vw, 4.1rem); line-height: 1; letter-spacing: -.02em; margin-top: .9rem; max-width: 17ch; }
.hero h1 mark { background: var(--red); color: #fff; padding: .04em .18em; border-radius: 4px; }
.hero .lead { color: var(--mut); max-width: 54ch; margin-top: 1.3rem; font-size: 1.12rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.9rem; }
.hero .since { margin-top: 1.6rem; font-family: var(--disp); font-weight: 700; color: var(--mut); font-size: .95rem; }
.hero .since b { color: var(--red); font-size: 1.15rem; }

/* chip wall */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: clamp(1.6rem, 4vw, 2.2rem); }
.chip { font-family: var(--disp); font-weight: 700; font-size: .95rem; padding: .5rem .95rem; border: 2px solid var(--ink); border-radius: 999px; background: #fff; }
.chip.hot { background: var(--ink); color: #fff; }
.chip.red { border-color: var(--red); color: var(--red); }

/* sections */
.sec { padding-block: clamp(2.6rem, 6vw, 4.6rem) 0; }
.sec:last-of-type { padding-bottom: clamp(2.6rem, 6vw, 4.6rem); }
.sec-kicker { font-family: var(--disp); font-weight: 700; font-size: .92rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
h2.title { font-family: var(--disp); font-weight: 700; font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem); line-height: 1.08; letter-spacing: -.015em; margin-top: .6rem; max-width: 26ch; }
.lead2 { color: var(--mut); max-width: 60ch; margin-top: 1rem; }

/* before / after gallery frames */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: clamp(1.8rem, 4vw, 2.6rem); }
@media (max-width: 820px) { .ba-grid { grid-template-columns: 1fr; } }
.ba { border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; background: #fff; }
.ba .split { display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: 16/8; }
.ba .half { display: grid; place-items: center; font-family: var(--disp); font-weight: 700; color: var(--mut); position: relative; }
.ba .half.before { background: repeating-linear-gradient(-45deg, #e3e5e6 0 12px, #edefef 12px 24px); }
.ba .half.after { background: repeating-linear-gradient(-45deg, #f6e5e4 0 12px, #fdf0ef 12px 24px); border-left: 2px dashed var(--ink); }
.ba .half small { position: absolute; top: .6rem; left: .8rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: #fff; padding: .2rem .55rem; border-radius: 4px; }
.ba .half.after small { background: var(--red); }
.ba .cap { padding: .9rem 1.1rem; font-size: .98rem; color: var(--mut); border-top: 2px solid var(--ink); }
.ba .cap b { font-family: var(--disp); color: var(--ink); }

/* process strip */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: clamp(1.8rem, 4vw, 2.6rem); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { border: 2px solid var(--ink); border-radius: var(--r); background: #fff; padding: 1.5rem 1.5rem 1.6rem; }
.step .n { font-family: var(--disp); font-weight: 700; color: var(--red); font-size: 1.05rem; }
.step h3 { font-family: var(--disp); font-weight: 700; font-size: 1.2rem; margin-top: .4rem; }
.step p { color: var(--mut); font-size: .98rem; margin-top: .5rem; }

/* band */
.band { margin-top: clamp(2.6rem, 6vw, 4.6rem); background: var(--ink); color: #fff; }
.band .page { display: grid; grid-template-columns: 1.4fr auto; gap: 1.5rem; align-items: center; padding-block: clamp(2.2rem, 5vw, 3.4rem); }
@media (max-width: 760px) { .band .page { grid-template-columns: 1fr; } }
.band h2 { font-family: var(--disp); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 2vw, 2.2rem); line-height: 1.1; max-width: 26ch; }
.band h2 mark { background: var(--red); color: #fff; padding: .04em .18em; border-radius: 4px; }
.band p { margin-top: .5rem; opacity: .8; max-width: 56ch; }

/* prose, notes, contact */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-top: clamp(1.4rem, 3vw, 2.2rem); }
@media (max-width: 780px) { .two { grid-template-columns: 1fr; } }
.prose { color: var(--mut); max-width: 62ch; }
.prose p + p { margin-top: 1rem; }
.prose b { color: var(--ink); }
.note { border: 2px dashed var(--line); background: #fff; border-radius: var(--r); padding: 1.2rem 1.4rem; color: var(--mut); font-size: .96rem; }
.contact-card { background: #fff; border: 2px solid var(--ink); border-radius: var(--r); padding: 1.7rem 1.8rem; }
.contact-card h3 { font-family: var(--disp); font-weight: 700; font-size: 1.2rem; }
.contact-card dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.contact-card dl div:last-child { border-bottom: 0; }
.contact-card dt { color: var(--mut); }
.contact-card dd { font-weight: 600; text-align: right; }
.contact-card .btn { width: 100%; justify-content: center; margin-top: 1.1rem; }

/* footer */
.foot { margin-top: clamp(2.6rem, 6vw, 4.6rem); background: var(--ink); color: #cfd4d8; }
.foot .page { padding-block: 2.1rem 1.5rem; }
.foot .row { display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; font-size: .95rem; }
.foot .wm { font-family: var(--disp); font-weight: 700; color: #fff; }
.foot a { text-decoration: underline; text-underline-offset: 3px; }
.foot .credit { margin-top: 1.2rem; font-size: .85rem; opacity: .75; }
