/* 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; } }

/* ==========================================================================
   Northport HVAC Works — northporthvac.xyz
   Pine black, chalk and azure. Two header rows; a scrolling tab strip on phones.
   01 Tokens · 02 Base · 03 Header · 04 Tab strip · 05 Buttons
   06 Hero · 07 Page heads · 08 Sections · 09 Smoke plan (signature)
   10 FAQ · 11 Form & contact · 12 Footer · 13 Images
   ========================================================================== */

/* 01 Tokens */
:root {
  --pine: #1a2620; --pine-2: #2a3a32; --pine-soft: #dde3df; --chalk: #f3f5f2; --chalk-2: #e8ebe6; --white: #ffffff;
  --azure: #1b7ea8; --azure-dark: #14607f; --azure-soft: #dfeef5;
  --ink: #101a15; --text: #47524c; --muted: #68736d; --line: #d6dbd6;
  --focus: #14607f; --err: #a02820; --ok: #2c6b4f;
  --disp: "Karla", "Segoe UI", system-ui, sans-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.15rem, 1.04rem + 0.5vw, 1.4rem);
  --f2: clamp(1.7rem, 1.32rem + 1.7vw, 2.5rem); --f3: clamp(2rem, 1.42rem + 2.9vw, 3.5rem);
  --r: 3px; --wrap: 1160px; --pad-y: clamp(3.2rem, 2.4rem + 4vw, 5.6rem);
}

/* 02 Base */
body { background: var(--chalk); color: var(--text); font-family: var(--sans); font-size: var(--f0); line-height: 1.7; }
h1, h2, h3 { margin: 0 0 0.5em; font-family: var(--disp); color: var(--ink); font-weight: 700; line-height: 1.18; letter-spacing: -0.024em; 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(--azure-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
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.2em; text-transform: uppercase; color: var(--azure-dark); }
.mt { margin-top: 2rem; }

/* 03 Header — identity row above, navigation row below; no hamburger anywhere */
.hd { position: sticky; top: 0; z-index: 30; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.hd__id .wrap { display: flex; align-items: center; gap: 0.6rem; min-height: 58px; }
.np-logo { display: inline-flex; align-items: center; gap: 0.55rem; margin-right: auto; color: var(--ink); text-decoration: none; }
.np-logo svg { width: 29px; height: 29px; flex: none; }
.np-logo b { font-family: var(--disp); font-size: 1.14rem; font-weight: 700; letter-spacing: -0.03em; }
.np-logo small { display: block; font-size: 0.57rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--azure-dark); }
.hd__tel { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.75rem; border: 1px solid var(--azure); border-radius: var(--r); color: var(--azure-dark); font-size: 0.92rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hd__tel:hover { background: var(--azure); color: #fff; }
.hd__tel svg { width: 15px; height: 15px; flex: none; }
.cta-short { display: none; }
@media (max-width: 640px) {
  .np-logo small { display: none; }
  .hd__tel span { display: none; }
  .hd__tel { padding: 0.55rem 0.62rem; }
  .cta-full { display: none; }
  .cta-short { display: inline; }
  .hd .btn { padding: 0.6rem 0.85rem; font-size: 0.9rem; }
}

/* 04 Tab strip — always visible, scrolls sideways when it has to */
.hd__nav { background: var(--pine); }
.npnav { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.npnav::-webkit-scrollbar { display: none; }
.npnav a { flex: none; padding: 0.7rem 0.95rem; color: #b6c2bb; font-size: 0.94rem; font-weight: 600; text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.npnav a:hover { color: #fff; }
.npnav a[aria-current="page"] { color: #fff; border-bottom-color: var(--azure); }
.npnav :focus-visible { outline-color: #7fc7e3; outline-offset: -3px; }
@media (min-width: 720px) { .npnav a { padding: 0.8rem 1.15rem; font-size: 1rem; } }

/* 05 Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.78rem 1.35rem; border: 0; border-radius: var(--r); background: var(--pine); 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(--azure-dark); color: #fff; }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--azure { background: var(--azure-dark); }
.btn--azure:hover { background: var(--pine); }
.btn--line { background: transparent; color: var(--pine); box-shadow: inset 0 0 0 2px var(--pine); }
.btn--line:hover { background: var(--pine); color: #fff; }
.btn--chalk, .phead a.btn--chalk, .sec--pine a.btn--chalk, .sm__out a.btn--chalk { background: var(--chalk); color: var(--ink); }
.btn--chalk:hover, .phead a.btn--chalk:hover, .sec--pine a.btn--chalk:hover, .sm__out a.btn--chalk:hover { background: #fff; color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }

/* 06 Hero — two thirds argument, one third checklist card */
.hero { padding-block: clamp(2.8rem, 2.2rem + 3vw, 4.6rem) var(--pad-y); }
.hero .wrap { display: grid; gap: 2.2rem; align-items: start; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.7fr 1fr; gap: 3.4rem; } }
.hero h1 { max-width: 17ch; }
.hero p.lede { font-size: var(--f1); line-height: 1.55; color: var(--ink); max-width: 48ch; }
.hero__card { padding: clamp(1.4rem, 1.1rem + 1.4vw, 1.9rem); background: var(--white); border-top: 4px solid var(--azure); }
.hero__card h2 { font-size: 1.1rem; }
.hero__card ul { margin: 0; padding-left: 1.15em; font-size: var(--f-sm); }
.hero__card li { margin-bottom: 0.5rem; }
.hero__card li:last-child { margin-bottom: 0; }
.bandimg img, .bandimg .img-placeholder { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 700px) { .bandimg img, .bandimg .img-placeholder { aspect-ratio: 16 / 10; } }

/* 07 Page heads */
.phead { padding-block: clamp(2.4rem, 1.9rem + 2.6vw, 3.8rem); background: var(--pine); color: #b6c2bb; }
.phead h1 { color: #fff; max-width: 20ch; }
.phead p { font-size: 1.06rem; max-width: 56ch; }
.phead a:not(.btn) { color: #fff; }
.phead .over { color: #7fc7e3; }
.phead :focus-visible { outline-color: #7fc7e3; }
.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: "/"; margin-right: 0.5rem; color: #7fc7e3; }

/* 08 Sections */
.sec { padding-block: var(--pad-y); }
.sec--white { background: var(--white); }
.sec--chalk { background: var(--chalk-2); }
.sec--pine { background: var(--pine); color: #b6c2bb; }
.sec--pine h2, .sec--pine h3, .sec--pine b { color: #fff; }
.sec--pine .over { color: #7fc7e3; }
.sec--pine a:not(.btn) { color: #fff; }
.sec--pine :focus-visible { outline-color: #7fc7e3; }
.head { max-width: 640px; margin-bottom: 2.4rem; padding-left: 1.1rem; border-left: 4px solid var(--azure); }
.sec--pine .head { border-left-color: #7fc7e3; }

/* Numbered cards */
.ncards { display: grid; gap: 1.2rem; margin: 0; padding: 0; list-style: none; counter-reset: n; }
@media (min-width: 760px) { .ncards { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.ncards li { padding: 1.4rem 1.5rem; background: var(--white); border: 1px solid var(--line); font-size: var(--f-sm); }
.sec--white .ncards li { background: var(--chalk); }
.ncards li::before { counter-increment: n; content: counter(n); display: grid; place-items: center; width: 1.8rem; height: 1.8rem; margin-bottom: 0.7rem; border-radius: 50%; background: var(--azure-soft); color: var(--azure-dark); font-family: var(--disp); font-size: 0.86rem; font-weight: 700; }
.ncards b { display: block; margin-bottom: 0.2rem; font-family: var(--disp); font-size: 1.1rem; color: var(--ink); }
/* Wide service rows */
.wrows { margin: 0; padding: 0; list-style: none; }
.wrows li { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.wrows li:first-child { border-top: 1px solid var(--line); }
@media (min-width: 820px) { .wrows li { display: grid; grid-template-columns: 0.32fr 0.68fr; gap: 2.4rem; align-items: baseline; } }
.sec--pine .wrows li { border-color: rgba(255,255,255,0.22); }
.wrows b { font-family: var(--disp); font-size: 1.12rem; color: var(--ink); }
.sec--pine .wrows b { color: #fff; }
.wrows p { font-size: var(--f-sm); margin: 0; }
.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--pine .plainlist li { border-bottom-color: rgba(255,255,255,0.22); }
.plainlist b { font-family: var(--disp); font-size: 1.06rem; }
.plainlist span { font-size: var(--f-sm); }
.map { display: block; width: 100%; height: clamp(300px, 34vw, 400px); background: var(--pine-soft); }
.where { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 880px) { .where { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; } }

/* 09 Smoke plan (signature) */
.sm { display: grid; gap: 1.8rem; }
@media (min-width: 980px) { .sm { grid-template-columns: 0.78fr 1.22fr; gap: 2.8rem; align-items: start; } }
.sm__form { padding: clamp(1.4rem, 1rem + 2vw, 2rem); background: var(--white); border-top: 4px solid var(--azure); }
.sm__form legend { display: block; margin-bottom: 0.6rem; font-weight: 700; color: var(--ink); }
.sm__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(--chalk); font-size: var(--f-sm); cursor: pointer; }
.tick input { margin: 0.22rem 0 0; accent-color: #1b7ea8; flex: none; }
.tick:hover { border-color: var(--azure); }
.sm__out { display: grid; gap: 1.4rem; }
@media (min-width: 640px) { .sm__out { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; } }
.sm__col { padding: clamp(1.3rem, 1rem + 1.6vw, 1.8rem); }
.sm__col--now { background: var(--pine); color: #b6c2bb; }
.sm__col--later { background: var(--white); border: 1px solid var(--line); }
.sm__col h2 { font-size: 1.06rem; }
.sm__col--now h2, .sm__col--now b { color: #fff; }
.sm__col .n { display: block; margin-bottom: 0.9rem; font-family: var(--disp); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.sm__col--now .n { color: #7fc7e3; }
.sm__col--later .n { color: var(--azure-dark); }
.sm__col ul { margin: 0; padding-left: 1.15em; font-size: var(--f-sm); }
.sm__col li { margin-bottom: 0.7rem; }
.sm__col--now :focus-visible { outline-color: #7fc7e3; }
.sm__never { grid-column: 1 / -1; padding: clamp(1.3rem, 1rem + 1.6vw, 1.8rem); background: var(--azure-soft); border-left: 5px solid var(--azure-dark); font-size: var(--f-sm); }
.sm__never b { display: block; margin-bottom: 0.4rem; font-family: var(--disp); font-size: 1.04rem; }
.sm__never ul { margin: 0; padding-left: 1.15em; }
.sm__never li { margin-bottom: 0.4rem; }

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

/* 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 #c4cac5; 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='%231a2620' 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(--pine); }
.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 #c4cac5; background: var(--white); font-size: var(--f-sm); cursor: pointer; }
.pick input:checked + span { background: var(--pine); border-color: var(--pine); 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(--azure); }
.side__card h2 { font-size: 1.06rem; }
.side__card .big { display: block; margin: 0.2rem 0 0.3rem; font-family: var(--disp); font-size: 1.45rem; font-weight: 700; color: var(--ink); text-decoration: none; }

/* 12 Footer */
.ft { background: var(--ink); color: #a3aea8; font-size: var(--f-sm); }
.ft a { color: #fff; }
.ft :focus-visible { outline-color: #7fc7e3; }
.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.2rem; font-weight: 700; 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: #7fc7e3; }
.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(--pine-soft); border: 1px dashed #b3bdb7; color: var(--muted); }
.img-placeholder b { color: var(--ink); }
