/* 00  Core — resets and behaviour hooks only. Every visual decision for this
       site lives in the sections below, starting with the design tokens.    */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg, iframe, video { display: block; max-width: 100%; }
img { height: auto; }
iframe { border: 0; }
figure { margin: 0; }
[hidden] { display: none !important; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: absolute; left: 0.5rem; top: 0.5rem; z-index: 999; transform: translateY(-160%); padding: 0.8rem 1.2rem; background: #000; color: #fff; font-weight: 700; text-decoration: none; }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
summary { cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.field__error { margin: 0; min-height: 1rem; font-size: 0.82rem; font-weight: 700; color: var(--err); }
.field.is-invalid :where(input, select, textarea) { border-color: var(--err); }
.form-status { min-height: 1.2rem; font-weight: 700; }
.form-status.is-error { color: var(--err); }
.form-status.is-ok { color: var(--ok); }
.img-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem; width: 100%; padding: 1rem; text-align: center; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.5; }
.img-placeholder b { display: block; font-size: 0.92rem; letter-spacing: 0; text-transform: none; word-break: break-all; }
:target { scroll-margin-top: 120px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; } }

/* ==========================================================================
   Northbridge HVAC & Surface Group — northbridgehvac.xyz
   Oxblood, oat and sage. Serif headings. Fixed call bar along the bottom on phones.
   01 Tokens · 02 Base · 03 Header · 04 Bottom call bar · 05 Buttons
   06 Hero · 07 Page heads · 08 Sections · 09 Cold-snap check (signature)
   10 FAQ · 11 Form & contact · 12 Footer · 13 Images
   ========================================================================== */

/* 01 Tokens */
:root {
  --ox: #4f1d20; --ox-2: #6b2b2f; --ox-soft: #ece0df; --oat: #f7f2e9; --oat-2: #efe8db; --white: #ffffff;
  --sage: #5f7f59; --sage-dark: #48633f; --sage-soft: #e6ede4;
  --ink: #251214; --text: #4f4743; --muted: #726862; --line: #ded5c6;
  --focus: #48633f; --err: #a02820; --ok: #48633f;
  --disp: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-sm: 0.92rem; --f0: clamp(1rem, 0.97rem + 0.16vw, 1.08rem); --f1: clamp(1.2rem, 1.06rem + 0.6vw, 1.5rem);
  --f2: clamp(1.8rem, 1.4rem + 1.8vw, 2.7rem); --f3: clamp(2.2rem, 1.55rem + 3.1vw, 3.8rem);
  --r: 0px; --wrap: 1140px; --pad-y: clamp(3.2rem, 2.4rem + 4vw, 5.6rem);
  --callbar: 0px;
}

/* 02 Base */
body { background: var(--oat); color: var(--text); font-family: var(--sans); font-size: var(--f0); line-height: 1.72; padding-bottom: var(--callbar); }
h1, h2, h3 { margin: 0 0 0.5em; font-family: var(--disp); color: var(--ink); font-weight: 600; line-height: 1.18; letter-spacing: -0.012em; text-wrap: balance; }
h1 { font-size: var(--f3); }
h2 { font-size: var(--f2); }
h3 { font-size: var(--f1); }
p { margin: 0 0 1em; max-width: 64ch; }
p:last-child { margin-bottom: 0; }
a { color: var(--sage-dark); text-underline-offset: 3px; }
a:hover { color: var(--ox); }
strong, b { color: var(--ink); font-weight: 700; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.over { display: block; margin-bottom: 0.7rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ox-2); }
.mt { margin-top: 2rem; }

/* 03 Header */
.hd { position: sticky; top: 0; z-index: 30; background: var(--oat); border-bottom: 2px solid var(--ox); }
.hd .wrap { display: flex; align-items: center; gap: 0.7rem; min-height: 64px; }
.nr-logo { display: inline-flex; align-items: center; gap: 0.6rem; margin-right: auto; color: var(--ink); text-decoration: none; }
.nr-logo svg { width: 30px; height: 30px; flex: none; }
.nr-logo b { font-family: var(--disp); font-size: 1.28rem; font-weight: 600; letter-spacing: -0.015em; }
.nr-logo small { display: block; font-size: 0.57rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ox-2); font-family: var(--sans); }
.hd__tel { display: none; align-items: center; gap: 0.45rem; padding: 0.6rem 0.95rem; border: 2px solid var(--ox); color: var(--ox); font-weight: 700; text-decoration: none; white-space: nowrap; }
.hd__tel:hover { background: var(--ox); color: #fff; }
.hd__tel svg { width: 16px; height: 16px; flex: none; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 42px; padding: 0; border: 2px solid var(--ox); background: transparent; color: var(--ox); cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }
.nrnav { display: none; }
@media (max-width: 1039px) {
  .hd .btn { display: none; }
  .nrnav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 0.4rem 1rem 1.4rem; background: var(--oat); border-bottom: 2px solid var(--ox); }
  .nrnav.is-open { display: flex; }
  .nrnav a { padding: 0.9rem 0.2rem; border-bottom: 1px solid var(--line); color: var(--ink); font-family: var(--disp); font-size: 1.24rem; text-decoration: none; }
  .nrnav a[aria-current="page"] { color: var(--ox); }
}
@media (min-width: 1040px) {
  .hd .wrap { min-height: 78px; gap: 1.6rem; }
  .nav-toggle { display: none; }
  .hd__tel { display: inline-flex; }
  .nrnav { display: flex; gap: 1.6rem; }
  .nrnav a { padding: 0.35rem 0; color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
  .nrnav a:hover { color: var(--ink); }
  .nrnav a[aria-current="page"] { color: var(--ox); border-bottom-color: var(--sage); }
}
@media (max-width: 400px) { .nr-logo small { display: none; } }

/* 04 Bottom call bar — phones only, the whole number spelled out */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: stretch; background: var(--ox); box-shadow: 0 -6px 20px rgba(37,18,20,0.22); }
.callbar a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.9rem 0.6rem; color: #fff; font-weight: 700; text-decoration: none; }
.callbar .cb-tel { flex: 1 1 auto; font-size: 1.05rem; letter-spacing: 0.01em; }
.callbar .cb-tel svg { width: 17px; height: 17px; flex: none; }
.callbar .cb-cta { flex: none; padding-inline: 1rem; background: var(--sage); border-left: 1px solid rgba(255,255,255,0.25); }
.callbar .cb-cta svg { width: 18px; height: 18px; }
.callbar :focus-visible { outline-color: #cfe0c9; outline-offset: -4px; }
@media (min-width: 1040px) { .callbar { display: none; } }
@media (max-width: 1039px) { :root { --callbar: 58px; } }

/* 05 Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.82rem 1.4rem; border: 0; border-radius: var(--r); background: var(--ox); color: #fff; font: inherit; font-weight: 700; line-height: 1.3; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.btn:hover { background: var(--ink); color: #fff; }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--sage { background: var(--sage-dark); }
.btn--sage:hover { background: var(--ink); }
.btn--line { background: transparent; color: var(--ox); box-shadow: inset 0 0 0 2px var(--ox); }
.btn--line:hover { background: var(--ox); color: #fff; }
.btn--oat, .phead a.btn--oat, .sec--ox a.btn--oat, .snap__out a.btn--oat { background: var(--oat); color: var(--ink); }
.btn--oat:hover, .phead a.btn--oat:hover, .sec--ox a.btn--oat:hover, .snap__out a.btn--oat:hover { background: #fff; color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }

/* 06 Hero — photograph on the left, argument on the right */
.hero { padding-block: clamp(2.6rem, 2rem + 3vw, 4.4rem) var(--pad-y); }
.hero .wrap { display: grid; gap: 2.2rem; align-items: center; }
@media (min-width: 940px) { .hero .wrap { grid-template-columns: 0.95fr 1.05fr; gap: 3.4rem; } .hero figure { order: -1; } }
.hero h1 { max-width: 15ch; }
.hero p.lede { font-size: var(--f1); line-height: 1.5; color: var(--ink); max-width: 44ch; font-family: var(--disp); }
.hero img, .hero .img-placeholder { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 939px) { .hero img, .hero .img-placeholder { aspect-ratio: 16 / 10; } }

/* 07 Page heads */
.phead { padding-block: clamp(2.4rem, 1.9rem + 2.6vw, 3.8rem); background: var(--ox); color: #ddc9c7; }
.phead h1 { color: #fff; max-width: 19ch; }
.phead p { font-size: 1.08rem; max-width: 56ch; }
.phead a:not(.btn) { color: #fff; }
.phead .over { color: #cfe0c9; }
.phead :focus-visible { outline-color: #cfe0c9; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: 0.85rem; }
.crumbs li + li::before { content: "\2014"; margin-right: 0.5rem; color: #cfe0c9; }

/* 08 Sections */
.sec { padding-block: var(--pad-y); }
.sec--white { background: var(--white); }
.sec--oat { background: var(--oat-2); }
.sec--ox { background: var(--ox); color: #ddc9c7; }
.sec--ox h2, .sec--ox h3, .sec--ox b { color: #fff; }
.sec--ox .over { color: #cfe0c9; }
.sec--ox a:not(.btn) { color: #fff; }
.sec--ox :focus-visible { outline-color: #cfe0c9; }
.head { max-width: 640px; margin-bottom: 2.4rem; }

/* Hairline tile grid */
.tiles { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 680px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles--3 { grid-template-columns: repeat(3, 1fr); } }
.tiles li { padding: 1.6rem 1.5rem; background: var(--white); font-size: var(--f-sm); }
.tiles b { display: block; margin-bottom: 0.3rem; font-family: var(--disp); font-size: 1.2rem; color: var(--ink); }
/* Long audience rows */
.longrows { margin: 0; padding: 0; list-style: none; }
.longrows > li { padding: 1.8rem 0; border-top: 2px solid var(--ox); }
.longrows > li:last-child { border-bottom: 2px solid var(--ox); }
@media (min-width: 880px) { .longrows > li { display: grid; grid-template-columns: 0.36fr 0.64fr; gap: 3rem; align-items: start; } }
.longrows h3 { margin-bottom: 0.2rem; }
.longrows ul { margin: 0.7rem 0 0; padding-left: 1.1em; font-size: var(--f-sm); }
.longrows li li { margin-bottom: 0.3rem; }
.split { display: grid; gap: 2.2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 3.2rem; } .split--flip > :first-child { order: 2; } }
.split > * { min-width: 0; }
.split img, .split .img-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.plainlist { margin: 0; padding: 0; list-style: none; }
.plainlist li { display: grid; gap: 0.15rem; padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
.sec--ox .plainlist li { border-bottom-color: rgba(255,255,255,0.22); }
.plainlist b { font-family: var(--disp); font-size: 1.14rem; }
.plainlist span { font-size: var(--f-sm); }
.map { display: block; width: 100%; height: clamp(300px, 34vw, 400px); background: var(--ox-soft); }
.where { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 880px) { .where { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; } }

/* 09 Cold-snap check (signature) */
.snap { display: grid; gap: 1.8rem; }
@media (min-width: 950px) { .snap { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; } }
.snap__form { padding: clamp(1.4rem, 1rem + 2vw, 2rem); background: var(--white); border-top: 4px solid var(--sage); }
.snap__form .row { margin-bottom: 1.3rem; }
.snap__form .row:last-child { margin-bottom: 0; }
.snap__form legend, .snap__form label.lab { display: block; margin-bottom: 0.5rem; font-weight: 700; color: var(--ink); }
.snap__form fieldset { margin: 0; padding: 0; border: 0; }
.ticks { display: grid; gap: 0.45rem; }
.tick { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.6rem 0.7rem; border: 1px solid var(--line); background: var(--oat); font-size: var(--f-sm); cursor: pointer; }
.tick input { margin: 0.22rem 0 0; accent-color: #5f7f59; flex: none; }
.tick:hover { border-color: var(--sage); }
.snap__out { padding: clamp(1.4rem, 1rem + 2vw, 2rem); background: var(--ox); color: #ddc9c7; }
.snap__out h2 { color: #fff; font-size: 1.16rem; }
.snap__out b { color: #fff; }
.snap__out .band { display: block; margin: 0.2rem 0 0.4rem; font-family: var(--disp); font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.4rem); color: #cfe0c9; line-height: 1.15; }
.snap__out .score { display: block; margin-bottom: 1.1rem; font-size: var(--f-sm); font-weight: 700; color: #fff; }
.snap__out ol { margin: 0; padding-left: 1.3em; font-size: var(--f-sm); }
.snap__out ol li { margin-bottom: 0.7rem; }
.snap__out .wx { margin-top: 1.2rem; padding: 0.9rem 1.05rem; background: rgba(255,255,255,0.1); border-left: 4px solid #cfe0c9; font-size: var(--f-sm); }
.snap__out .always { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.22); font-size: var(--f-sm); }
.snap__out .always ul { margin: 0.5rem 0 0; padding-left: 1.2em; }
.snap__out .always li { margin-bottom: 0.4rem; }
.snap__out :focus-visible { outline-color: #cfe0c9; }

/* 10 FAQ */
.faq { display: grid; gap: 0; max-width: 880px; }
.nrq { border-bottom: 1px solid var(--line); }
.nrq:first-child { border-top: 2px solid var(--ox); }
.nrq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-family: var(--disp); font-weight: 600; font-size: 1.2rem; color: var(--ink); list-style: none; cursor: pointer; }
.nrq summary::after { content: "+"; flex: none; color: var(--sage-dark); font-family: var(--sans); }
.nrq[open] summary::after { content: "\2013"; }
.nrq > div { padding: 0 0 1.2rem; }

/* 11 Form & contact */
.form { display: grid; gap: 1.1rem 1.4rem; margin-top: 1.2rem; }
@media (min-width: 640px) { .form--2col { grid-template-columns: 1fr 1fr; } }
.field--full, .form__end { grid-column: 1 / -1; }
.field label, .picks legend { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.req { color: var(--err); }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], select, textarea { width: 100%; padding: 0.8rem 0.95rem; font: inherit; color: var(--ink); background: var(--white); border: 1px solid #c9bfae; border-radius: var(--r); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f1d20' stroke-width='2.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 15px; padding-right: 2.4rem; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ox); }
.picks { margin: 0; padding: 0; border: 0; display: flex; flex-direction: row; flex-wrap: wrap; gap: 0.5rem; }
.picks legend { margin-bottom: 0.5rem; padding: 0; }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; }
.pick span { display: inline-block; padding: 0.5rem 0.95rem; border: 1px solid #c9bfae; background: var(--white); font-size: var(--f-sm); cursor: pointer; }
.pick input:checked + span { background: var(--ox); border-color: var(--ox); color: #fff; }
.pick input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.form-note { margin: 0.5rem 0 0; font-size: 0.85rem; color: var(--muted); }
.contact { display: grid; gap: 2.4rem; align-items: start; }
@media (min-width: 920px) { .contact { grid-template-columns: 1.1fr 0.9fr; gap: 3.2rem; } }
.contact > * { min-width: 0; }
.side { display: grid; gap: 1rem; }
.side__card { padding: 1.4rem 1.5rem; background: var(--white); border-left: 4px solid var(--sage); }
.side__card h2 { font-size: 1.16rem; }
.side__card .big { display: block; margin: 0.2rem 0 0.3rem; font-family: var(--disp); font-size: 1.55rem; color: var(--ink); text-decoration: none; }

/* 12 Footer */
.ft { background: var(--ink); color: #b7aaa6; font-size: var(--f-sm); }
.ft a { color: #fff; }
.ft :focus-visible { outline-color: #cfe0c9; }
.ft__row { display: grid; gap: 1.6rem; padding-block: 3rem 1.8rem; }
@media (min-width: 820px) { .ft__row { grid-template-columns: 1.5fr 1fr 1fr; } }
.ft__name { margin: 0 0 0.5rem; font-family: var(--disp); font-size: 1.3rem; color: #fff; }
.ft h2 { margin: 0 0 0.6rem; font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: #cfe0c9; }
.ft ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.35rem; }
.ft__base { padding-block: 1rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.82rem; }

/* 13 Images */
.figwide img, .figwide .img-placeholder { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.img-placeholder { background: var(--ox-soft); border: 1px dashed #c0aeab; color: var(--muted); }
.img-placeholder b { color: var(--ink); }
