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

/* ==========================================================================
   Titan HVAC Building Solutions — titanhvac.xyz
   THE DEVICE: a specification sheet. Hairline rules, real tables, numbered
   navigation, condensed type, no rounded corners anywhere, nothing decorative.
   01 Tokens · 02 Base · 03 Header · 04 Buttons · 05 Masthead
   06 Page heads · 07 Sections & tables · 08 Register (signature)
   09 FAQ · 10 Form & contact · 11 Footer · 12 Images
   ========================================================================== */

/* 01 Tokens */
:root {
  --oxide: #15130f; --oxide-2: #262218; --oxide-soft: #e3e1da; --raw: #fbfaf7; --raw-2: #f0eee6; --white: #ffffff;
  --safety: #e0b100; --safety-dark: #7d6000; --safety-soft: #fbf0cc;
  --ink: #15130f; --text: #4a463c; --muted: #6e6959; --line: #cfcabb; --hair: #ddd8c9;
  --focus: #7d6000; --err: #a02820; --ok: #2c6b4f;
  --disp: "Barlow Condensed", "Arial Narrow", "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.78rem; --f0: clamp(1rem, 0.97rem + 0.16vw, 1.06rem);
  --f1: clamp(1.2rem, 1.06rem + 0.6vw, 1.5rem);
  --f2: clamp(1.8rem, 1.35rem + 2vw, 2.9rem); --f3: clamp(2.4rem, 1.6rem + 3.8vw, 4.4rem);
  --wrap: 1220px; --pad-y: clamp(3rem, 2.3rem + 3.4vw, 5rem);
}

/* 02 Base */
body { background: var(--raw); color: var(--text); font-family: var(--sans); font-size: var(--f0); line-height: 1.65; }
h1, h2, h3 { margin: 0 0 0.45em; font-family: var(--disp); color: var(--ink); font-weight: 600; line-height: 1.04; letter-spacing: 0.005em; text-transform: uppercase; 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: 68ch; }
p:last-child { margin-bottom: 0; }
a { color: var(--safety-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; }
.ref { display: block; margin-bottom: 0.6rem; font-family: var(--disp); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--safety-dark); }
.sec--oxide .ref, .mast .ref { color: var(--safety); }
.mt { margin-top: 2rem; }

/* 03 Header — black bar, numbered navigation, phone in a yellow block */
.hd { position: sticky; top: 0; z-index: 30; background: var(--oxide); }
.hd .wrap { display: flex; align-items: stretch; gap: 0; min-height: 56px; }
.ti-logo { display: inline-flex; align-items: center; gap: 0.5rem; margin-right: auto; padding-right: 1.2rem; color: #fff; text-decoration: none; }
.ti-logo svg { width: 26px; height: 26px; flex: none; }
.ti-logo b { font-family: var(--disp); font-size: 1.32rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.ti-logo small { display: block; font-family: var(--sans); font-size: 0.54rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--safety); }
.tinav { display: flex; flex-wrap: wrap; align-items: stretch; }
.tinav a { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 0.8rem; color: #b8b2a3; font-family: var(--disp); font-size: 1.02rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }
.tinav a::before { content: attr(data-n); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em; color: var(--safety); }
.tinav a:hover { color: #fff; }
.tinav a[aria-current="page"] { color: var(--oxide); background: var(--safety); }
.tinav a[aria-current="page"]::before { color: var(--oxide); }
.tinav :focus-visible { outline-color: var(--safety); outline-offset: -3px; }
.hd__tel { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: var(--safety); color: var(--oxide); font-family: var(--disp); font-size: 1.22rem; font-weight: 600; letter-spacing: 0.02em; text-decoration: none; white-space: nowrap; }
.hd__tel:hover { background: #fff; color: var(--oxide); }
.hd__tel svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 1099px) {
  .hd .wrap { flex-wrap: wrap; align-items: center; }
  .tinav { order: 9; flex-basis: 100%; border-top: 1px solid rgba(255,255,255,0.14); }
  .tinav a { padding: 0.5rem 0.6rem; font-size: 0.96rem; }
  .hd__tel { font-size: 1.06rem; padding: 0.45rem 0.7rem; }
}
@media (max-width: 420px) { .ti-logo small { display: none; } .tinav a::before { display: none; } }

/* 04 Buttons — square, heavy, no radius */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.72rem 1.3rem; border: 0; background: var(--oxide); color: #fff; font-family: var(--disp); font-size: 1.1rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.btn:hover { background: var(--safety-dark); color: #fff; }
.btn svg { width: 1em; height: 1em; flex: none; }
.btn--safety { background: var(--safety); color: var(--oxide); }
.btn--safety:hover { background: #fff; color: var(--oxide); }
.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--raw, .mast a.btn--raw, .sec--oxide a.btn--raw { background: var(--raw); color: var(--oxide); }
.btn--raw:hover, .mast a.btn--raw:hover, .sec--oxide a.btn--raw:hover { background: #fff; color: var(--oxide); }
.btns { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }

/* 05 Masthead — the phone number is the largest thing on the page */
.mast { padding-block: clamp(2.6rem, 2rem + 3vw, 4.4rem); background: var(--oxide); color: #b8b2a3; }
.mast h1 { color: #fff; max-width: 15ch; }
.mast p { font-size: var(--f1); max-width: 50ch; color: #ded9cc; }
.mast__tel { display: inline-block; margin-top: 1.6rem; font-family: var(--disp); font-size: clamp(2.6rem, 1.6rem + 5vw, 5.4rem); font-weight: 600; line-height: 0.95; letter-spacing: 0.01em; color: var(--safety); text-decoration: none; }
.mast__tel:hover { color: #fff; }
.mast__tel span { display: block; font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: #8e8878; }
.mast :focus-visible { outline-color: var(--safety); }

/* 06 Page heads */
.phead { padding-block: clamp(2rem, 1.6rem + 2.2vw, 3.2rem); background: var(--oxide); color: #b8b2a3; }
.phead h1 { color: #fff; max-width: 20ch; }
.phead p { font-size: 1.04rem; max-width: 60ch; }
.phead a:not(.btn) { color: #fff; }
.phead :focus-visible { outline-color: var(--safety); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 0.9rem; padding: 0; list-style: none; font-family: var(--disp); font-size: 0.92rem; letter-spacing: 0.1em; text-transform: uppercase; }
.crumbs li + li::before { content: "/"; margin-right: 0.45rem; color: var(--safety); }

/* 07 Sections and the tables that carry this site */
.sec { padding-block: var(--pad-y); }
.sec--white { background: var(--white); }
.sec--raw { background: var(--raw-2); }
.sec--oxide { background: var(--oxide); color: #b8b2a3; }
.sec--oxide h2, .sec--oxide h3, .sec--oxide b { color: #fff; }
.sec--oxide a:not(.btn) { color: #fff; }
.sec--oxide :focus-visible { outline-color: var(--safety); }
.head { max-width: 640px; margin-bottom: 2rem; }
.head--wide { max-width: 100%; }

/* The specification table */
.spec { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font-size: var(--f-sm); }
.spec caption { margin-bottom: 0.8rem; font-family: var(--disp); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--safety-dark); text-align: left; }
.spec th, .spec td { padding: 0.7rem 0.8rem 0.7rem 0; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; }
.spec thead th { border-bottom: 2px solid var(--ink); font-family: var(--disp); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.spec tbody th { font-family: var(--disp); font-size: 1.1rem; font-weight: 600; color: var(--ink); white-space: nowrap; padding-right: 1.4rem; }
.spec td:last-child, .spec th:last-child { padding-right: 0; }
.sec--oxide .spec th, .sec--oxide .spec td { border-bottom-color: rgba(255,255,255,0.2); }
.sec--oxide .spec thead th { border-bottom-color: var(--safety); color: #fff; }
.sec--oxide .spec tbody th { color: #fff; }
.sec--oxide .spec caption { color: var(--safety); }
.tablewrap { overflow-x: auto; }
@media (max-width: 640px) {
  .spec, .spec tbody, .spec tr, .spec td, .spec th { display: block; }
  .spec thead { display: none; }
  .spec tr { padding: 0.9rem 0; border-bottom: 1px solid var(--hair); }
  .spec th, .spec td { padding: 0.12rem 0; border: 0; }
  .spec td::before { content: attr(data-l) ": "; font-weight: 700; color: var(--ink); }
  .sec--oxide .spec td::before { color: #fff; }
  .sec--oxide .spec tr { border-bottom-color: rgba(255,255,255,0.2); }
}

/* Numbered specification list */
.speclist { margin: 0; padding: 0; list-style: none; counter-reset: s; border-top: 2px solid var(--ink); }
.sec--oxide .speclist { border-top-color: var(--safety); }
.speclist li { padding: 1.3rem 0; border-bottom: 1px solid var(--hair); }
.sec--oxide .speclist li { border-bottom-color: rgba(255,255,255,0.2); }
@media (min-width: 820px) { .speclist li { display: grid; grid-template-columns: 5rem 15rem 1fr; gap: 2rem; align-items: baseline; } }
.speclist li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--disp); font-size: 1.5rem; font-weight: 600; color: var(--safety-dark); }
.sec--oxide .speclist li::before { color: var(--safety); }
.speclist b { display: block; font-family: var(--disp); font-size: 1.32rem; font-weight: 600; text-transform: uppercase; color: var(--ink); }
.sec--oxide .speclist b { color: #fff; }
.speclist p { margin: 0; font-size: var(--f-sm); }
@media (max-width: 819px) { .speclist li::before { display: block; margin-bottom: 0.2rem; } }

/* Photo band split by a yellow hairline */
.band { display: grid; gap: 2px; background: var(--safety); }
@media (min-width: 760px) { .band { grid-template-columns: 1fr 1fr; } }
.band img, .band .img-placeholder { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split { display: grid; gap: 2rem; align-items: start; }
@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; }
.cols { columns: 2; column-gap: 3rem; }
@media (max-width: 760px) { .cols { columns: 1; } }
.cols p { break-inside: avoid; }
.map { display: block; width: 100%; height: clamp(280px, 32vw, 380px); background: var(--oxide-soft); filter: grayscale(1) contrast(1.05); }
.where { display: grid; gap: 1.8rem; align-items: center; }
@media (min-width: 880px) { .where { grid-template-columns: 0.85fr 1.15fr; gap: 3rem; } }

/* 08 Register (signature) */
.rg { display: grid; gap: 1.8rem; }
@media (min-width: 1000px) { .rg { grid-template-columns: 0.72fr 1.28fr; gap: 2.6rem; align-items: start; } }
.rg__form { padding: 1.4rem; background: var(--white); border: 2px solid var(--ink); }
.rg__form .row { margin-bottom: 1rem; }
.rg__form label { display: block; margin-bottom: 0.3rem; font-family: var(--disp); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.rg__form .btns { margin-top: 1.2rem; }
.rg__out { min-width: 0; }
.rg__count { display: block; margin-bottom: 0.8rem; font-family: var(--disp); font-size: 1.5rem; font-weight: 600; text-transform: uppercase; color: var(--ink); }
.rg__out .spec td[data-l="Priority"] b { display: inline-block; padding: 0.08rem 0.45rem; background: var(--safety-soft); color: var(--safety-dark); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.rg__out .spec td[data-l="Priority"] b.p1 { background: var(--safety); color: var(--oxide); }
.rg__out .spec td[data-l="Priority"] b.p3 { background: var(--raw-2); color: var(--muted); }
.rg__drop { padding: 0.25rem 0.5rem; border: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-size: 0.8rem; cursor: pointer; }
.rg__drop:hover { border-color: var(--ink); color: var(--ink); }
.rg__note { margin-top: 1.4rem; padding: 1rem 1.2rem; background: var(--safety-soft); border-left: 4px solid var(--safety); font-size: var(--f-sm); }
.rg__note b { display: block; margin-bottom: 0.25rem; font-family: var(--disp); font-size: 1.06rem; text-transform: uppercase; }

/* 09 FAQ — plain, on the contact page only */
.faq { display: grid; gap: 0; max-width: 900px; border-top: 2px solid var(--ink); }
.tiq { border-bottom: 1px solid var(--hair); }
.tiq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 0.95rem 0; font-family: var(--disp); font-size: 1.24rem; font-weight: 600; text-transform: uppercase; color: var(--ink); list-style: none; cursor: pointer; }
.tiq summary::after { content: "+"; flex: none; color: var(--safety-dark); font-family: var(--sans); }
.tiq[open] summary::after { content: "\2013"; }
.tiq > div { padding: 0 0 1.1rem; }

/* 10 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-family: var(--disp); font-size: 0.92rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.req { color: var(--err); }
.opt { font-weight: 400; color: var(--muted); letter-spacing: 0; text-transform: none; }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], select, textarea { width: 100%; padding: 0.7rem 0.85rem; font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 0; }
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='%2315130f' 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.8rem center; background-size: 15px; padding-right: 2.3rem; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); }
.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.45rem 0.85rem; border: 1px solid var(--line); background: var(--white); 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: 0; border-top: 2px solid var(--ink); }
.side__card { padding: 1.2rem 0; border-bottom: 1px solid var(--hair); }
.side__card h2 { font-size: 1.24rem; }
.side__card .big { display: block; margin: 0.1rem 0 0.3rem; font-family: var(--disp); font-size: 2rem; font-weight: 600; color: var(--ink); text-decoration: none; }

/* 11 Footer */
.ft { background: var(--oxide); color: #8e8878; font-size: var(--f-sm); }
.ft a { color: #fff; }
.ft :focus-visible { outline-color: var(--safety); }
.ft__row { display: grid; gap: 1.5rem; padding-block: 2.6rem 1.6rem; }
@media (min-width: 820px) { .ft__row { grid-template-columns: 1.6fr 1fr 1fr; } }
.ft__name { margin: 0 0 0.4rem; font-family: var(--disp); font-size: 1.5rem; font-weight: 600; text-transform: uppercase; color: #fff; }
.ft h2 { margin: 0 0 0.5rem; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--safety); }
.ft ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.3rem; }
.ft__base { padding-block: 0.9rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.8rem; }

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