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

/* ==========================================================================
   Venture HVAC Group — venturehvac.xyz
   THE DEVICE: the matrix. The site's primary content vehicle is a real
   comparison table — rows of things, columns of cases, and a mark where they
   meet. It reads like a specification sheet, because that is the argument:
   ask for the scope in writing and compare it side by side.
   01 Tokens · 02 Base · 03 Header · 04 CTA band · 05 Buttons · 06 Hero
   07 Page heads · 08 Matrix · 09 Sections · 10 Quote compare (signature)
   11 FAQ · 12 Form & contact · 13 Footer · 14 Images
   ========================================================================== */

/* 01 Tokens */
:root {
  --paper: #ffffff; --paper-2: #f1f2f4; --paper-3: #e4e6ea;
  --ink: #101114; --ink-2: #1c1e24; --text: #4a4d55; --muted: #6d717a; --line: #d6d9de;
  --blue: #1f47c9; --blue-dark: #1a3aa6; --blue-soft: #e6ebfb;
  --focus: #1a3aa6; --err: #a02820; --ok: #15703f;
  --disp: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-sm: 0.9rem; --f-xs: 0.76rem; --f0: clamp(0.99rem, 0.96rem + 0.16vw, 1.05rem);
  --f1: clamp(1.13rem, 1.02rem + 0.5vw, 1.35rem);
  --f2: clamp(1.6rem, 1.28rem + 1.5vw, 2.3rem); --f3: clamp(1.95rem, 1.45rem + 2.5vw, 3.1rem);
  --r: 0px; --wrap: 1220px; --pad-y: clamp(2.8rem, 2.2rem + 3.2vw, 4.6rem);
}

/* 02 Base */
body { background: var(--paper); color: var(--text); font-family: var(--sans); font-size: var(--f0); line-height: 1.66; }
h1, h2, h3 { margin: 0 0 0.45em; font-family: var(--disp); color: var(--ink); font-weight: 700; line-height: 1.14; letter-spacing: -0.028em; 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(--blue-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; }
.tag { display: block; margin-bottom: 0.55rem; font-family: var(--disp); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-dark); }
.sec--ink .tag, .phead .tag, .hero .tag { color: #8fa6f2; }
.mt { margin-top: 2rem; }

/* 03 Header */
.hd { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--ink); }
.hd .wrap { display: flex; align-items: center; gap: 0.6rem; min-height: 58px; }
.vn-logo { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink); text-decoration: none; }
.vn-logo svg { width: 26px; height: 26px; flex: none; }
.vn-logo b { display: block; font-family: var(--disp); font-size: 1.06rem; font-weight: 700; letter-spacing: -0.038em; color: var(--ink); }
.vn-logo small { display: block; margin-top: -0.1em; font-size: 0.54rem; font-weight: 700; letter-spacing: 0.19em; text-transform: uppercase; color: var(--blue-dark); }
.hd__tel { display: inline-flex; align-items: center; gap: 0.35rem; margin-left: auto; color: var(--ink); font-family: var(--disp); font-weight: 700; font-size: 0.95rem; text-decoration: none; white-space: nowrap; }
.hd__tel svg { width: 15px; height: 15px; color: var(--blue); flex: none; }
.hd__tel:hover { color: var(--blue-dark); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 38px; padding: 0; border: 1px solid var(--ink); border-radius: var(--r); background: var(--paper); color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 18px; height: 18px; }
.vnnav { display: none; }
@media (max-width: 1019px) {
  .hd .btn { display: none; }
  .vnnav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 0.3rem 1rem 1.2rem; background: var(--paper); border-bottom: 1px solid var(--ink); }
  .vnnav.is-open { display: flex; }
  .vnnav a { padding: 0.85rem 0.2rem; border-bottom: 1px solid var(--line); color: var(--ink); font-family: var(--disp); font-size: 1.06rem; font-weight: 700; text-decoration: none; }
  .vnnav a[aria-current="page"] { color: var(--blue-dark); }
}
@media (max-width: 379px) { .vn-logo small { display: none; } .hd__tel { font-size: 0.86rem; } }
@media (min-width: 1020px) {
  .hd .wrap { min-height: 72px; gap: 0; }
  .nav-toggle { display: none; }
  .vnnav { display: flex; margin-left: 2.4rem; }
  .vnnav a { padding: 0.3rem 1rem; border-left: 1px solid var(--line); color: var(--text); font-weight: 600; text-decoration: none; white-space: nowrap; }
  .vnnav a:last-child { border-right: 1px solid var(--line); }
  .vnnav a:hover { color: var(--ink); }
  .vnnav a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
  .hd__tel { margin-left: auto; margin-right: 1.2rem; font-size: 1rem; }
}

/* 04 CTA band — phones only; the header carries the phone, this carries the action */
.ctaband { display: block; padding: 0.68rem 1rem; background: var(--blue); color: #fff; font-family: var(--disp); font-weight: 700; text-align: center; text-decoration: none; }
.ctaband:hover { background: var(--blue-dark); color: #fff; }
.ctaband span { color: #c3d0f7; }
@media (min-width: 1020px) { .ctaband { display: none; } }

/* 05 Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.7rem 1.35rem; border: 0; border-radius: var(--r); background: var(--blue); color: #fff; font-family: var(--disp); font-size: 0.98rem; font-weight: 700; line-height: 1.3; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.18s, color 0.18s; }
.btn:hover { background: var(--ink); color: #fff; }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--ink { background: var(--ink); }
.btn--ink:hover { background: var(--blue); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--paper, .phead a.btn--paper, .sec--ink a.btn--paper, .hero a.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover, .phead a.btn--paper:hover, .sec--ink a.btn--paper:hover, .hero a.btn--paper:hover { background: var(--blue-soft); color: var(--ink); }
@media (max-width: 460px) { .btn { white-space: normal; text-align: center; } } /* long labels wrap rather than overflow */
.btns { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }

/* 06 Hero */
.hero { padding-block: clamp(2.6rem, 2rem + 3vw, 4.4rem); background: var(--ink); color: #a9adb8; border-bottom: 6px solid var(--blue); }
.hero h1 { color: #fff; max-width: 18ch; }
.hero p.lede { font-size: var(--f1); line-height: 1.5; color: #dcdee3; max-width: 52ch; }
.hero :focus-visible { outline-color: #8fa6f2; }

/* 07 Page heads */
.phead { padding-block: clamp(2.1rem, 1.7rem + 2.4vw, 3.3rem); background: var(--ink); color: #a9adb8; border-bottom: 6px solid var(--blue); }
.phead h1 { color: #fff; max-width: 20ch; }
.phead p { font-size: 1.03rem; max-width: 58ch; }
.phead a:not(.btn) { color: #fff; }
.phead :focus-visible { outline-color: #8fa6f2; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 0.9rem; padding: 0; list-style: none; font-size: 0.83rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.45rem; color: #8fa6f2; }

/* 08 Matrix — the device */
.tblwrap { overflow-x: auto; margin-top: 1.6rem; border: 1px solid var(--line); }
.tblwrap:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; font-size: var(--f-sm); }
caption { padding: 0.9rem 1rem; background: var(--ink); color: #fff; font-family: var(--disp); font-weight: 700; font-size: 0.95rem; text-align: left; }
th, td { padding: 0.72rem 0.9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--paper-2); font-family: var(--disp); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
tbody th { font-weight: 700; color: var(--ink); min-width: 12rem; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) th, tbody tr:nth-child(even) td { background: #fafbfc; }
td.c { text-align: center; white-space: nowrap; }
.yes, .no, .maybe { display: inline-block; min-width: 1.6rem; font-family: var(--disp); font-weight: 700; }
.yes { color: var(--ok); }
.no { color: var(--muted); }
.maybe { color: var(--blue-dark); }
.tblnote { margin: 0.7rem 0 0; font-size: var(--f-xs); color: var(--muted); }
.scrollhint { margin: 0.5rem 0 0; font-size: var(--f-xs); color: var(--muted); }
@media (min-width: 760px) { .scrollhint { display: none; } }

/* 09 Sections */
.sec { padding-block: var(--pad-y); }
.sec--paper { background: var(--paper); }
.sec--tint { background: var(--paper-2); }
.sec--ink { background: var(--ink); color: #a9adb8; }
.sec--ink h2, .sec--ink h3, .sec--ink b { color: #fff; }
.sec--ink a:not(.btn) { color: #fff; }
.sec--ink :focus-visible { outline-color: #8fa6f2; }
.sec--ink .tblwrap { border-color: #3a3d46; }
.sec--ink caption { background: var(--blue); }
.sec--ink table { color: #c6c9d0; }
.sec--ink th, .sec--ink td { border-bottom-color: #3a3d46; }
.sec--ink thead th { background: #23262d; color: #fff; }
.sec--ink tbody th { color: #fff; }
.sec--ink tbody tr:nth-child(even) th, .sec--ink tbody tr:nth-child(even) td { background: #16181d; }
.sec--ink .yes { color: #5fd08d; }
.sec--ink .no { color: #8a8f99; }
.sec--ink .maybe { color: #8fa6f2; }
.head { max-width: 640px; margin-bottom: 0.4rem; }
.duo { display: grid; gap: 1.4rem; margin-top: 1.8rem; }
@media (min-width: 840px) { .duo { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
.duo article { padding: 1.3rem 1.4rem; background: var(--paper-2); border-left: 4px solid var(--blue); }
.sec--tint .duo article { background: var(--paper); }
.duo h3 { font-size: 1.16rem; }
.duo ul { margin: 0.7rem 0 0; padding-left: 1.05em; font-size: var(--f-sm); }
.duo li { margin-bottom: 0.28rem; }
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 3rem; } .split--flip > :first-child { order: 2; } }
.split > * { min-width: 0; }
.split img, .split .img-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.steps { margin: 1.4rem 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding: 0.9rem 0 0.9rem 3rem; border-top: 1px solid var(--line); }
.sec--ink .steps li { border-top-color: #3a3d46; }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0.95rem; font-family: var(--disp); font-size: 0.82rem; font-weight: 700; color: var(--blue-dark); }
.sec--ink .steps li::before { color: #8fa6f2; }
.steps b { display: block; font-family: var(--disp); font-size: 1.06rem; }
.steps span { font-size: var(--f-sm); }
.map { display: block; width: 100%; height: clamp(300px, 34vw, 380px); background: var(--paper-3); }
.where { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 880px) { .where { grid-template-columns: 1fr 1fr; gap: 3rem; } }

/* 10 Quote compare (signature) */
.qc caption { background: var(--blue); }
.qc thead th.q { text-align: center; }
.qc td.c { padding: 0.5rem; }
.qc input[type="checkbox"] { width: 22px; height: 22px; margin: 0; accent-color: var(--blue-dark); cursor: pointer; }
.qc tbody th { min-width: 15rem; font-weight: 700; }
.qc tbody th span { display: block; margin-top: 0.2rem; font-weight: 400; font-size: var(--f-xs); color: var(--muted); }
.qcout { margin-top: 1.8rem; padding: clamp(1.3rem, 1.1rem + 1.4vw, 1.9rem); background: var(--ink); color: #a9adb8; }
.qcout h2 { color: #fff; font-size: 1.14rem; }
.qcout b { color: #fff; }
.qctotals { display: grid; gap: 0.7rem; margin: 1rem 0 1.4rem; }
@media (min-width: 620px) { .qctotals { grid-template-columns: repeat(3, 1fr); } }
.qctotals div { padding: 0.9rem 1rem; background: #1c1e24; border-top: 3px solid var(--blue); }
.qctotals span { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #8fa6f2; }
.qctotals strong { display: block; margin-top: 0.15rem; font-family: var(--disp); font-size: 1.7rem; font-weight: 700; color: #fff; line-height: 1.1; }
.qcout ul { margin: 0.8rem 0 0; padding-left: 1.15em; font-size: var(--f-sm); }
.qcout li { margin-bottom: 0.4rem; }
.qcout .caveat { margin-top: 1.3rem; padding-top: 0.9rem; border-top: 1px solid #3a3d46; font-size: 0.85rem; color: #8a8f99; }
.qcout :focus-visible { outline-color: #8fa6f2; }

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

/* 12 Form & contact */
.form { display: grid; gap: 1rem 1.3rem; 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.94rem; }
.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.72rem 0.9rem; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid #b9bdc5; 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='%23101114' 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.85rem center; background-size: 15px; padding-right: 2.3rem; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); }
.picks { margin: 0; padding: 0; border: 0; display: flex; flex-direction: row; flex-wrap: wrap; gap: 0.4rem; }
.picks legend { margin-bottom: 0.45rem; padding: 0; }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; }
.pick span { display: inline-block; padding: 0.44rem 0.9rem; border: 1px solid #b9bdc5; border-radius: var(--r); background: var(--paper); font-size: var(--f-sm); cursor: pointer; }
.pick input:checked + span { background: var(--ink); border-color: var(--ink); 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.84rem; color: var(--muted); }
.contact { display: grid; gap: 2.2rem; align-items: start; }
@media (min-width: 920px) { .contact { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; } }
.contact > * { min-width: 0; }
.side { display: grid; gap: 1rem; }
.side__card { padding: 1.25rem 1.4rem; background: var(--paper-2); border-left: 4px solid var(--blue); }
.side__card h2 { font-size: 1.04rem; }
.side__card .big { display: block; margin: 0.15rem 0 0.3rem; font-family: var(--disp); font-size: 1.45rem; font-weight: 700; color: var(--ink); text-decoration: none; }

/* 13 Footer */
.ft { background: var(--ink); color: #90949e; font-size: var(--f-sm); border-top: 6px solid var(--blue); }
.ft a { color: #fff; }
.ft :focus-visible { outline-color: #8fa6f2; }
.ft__row { display: grid; gap: 1.5rem; padding-block: 2.8rem 1.6rem; }
@media (min-width: 820px) { .ft__row { grid-template-columns: 1.5fr 1fr 1fr; } }
.ft__name { margin: 0 0 0.45rem; font-family: var(--disp); font-size: 1.14rem; font-weight: 700; color: #fff; }
.ft h2 { margin: 0 0 0.55rem; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: #8fa6f2; }
.ft ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.32rem; }
.ft__base { padding-block: 0.9rem; border-top: 1px solid #2a2d34; font-size: 0.8rem; }

/* 14 Images */
.figwide img, .figwide .img-placeholder { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.img-placeholder { background: var(--paper-3); border: 1px dashed #a9adb6; color: var(--muted); }
.img-placeholder b { color: var(--ink); overflow-wrap: anywhere; }
