/* Old Red Heating & Air
 *
 * Direction: basalt caprock over sandstone, bleached midday sky, hard-edged
 * shadow, roadside commercial signage. Deliberately NOT cream + terracotta +
 * serif — the reflexive red-rock answer. Dark ground, bone type, one
 * high-chroma signal colour doing all the pointing.
 *
 * No webfonts. System stack only, so nothing blocks render.
 */

:root {
  --basalt:    #131310;
  --basalt-2:  #1b1b16;
  --char:      #24241d;
  --ash:       #3d3d33;
  --ash-2:     #55554a;
  --bone:      #f1eee4;
  --bone-dim:  #b3b0a4;
  /* Lightest this may go is ~#8f8c78 — below that it drops under 4.5:1 on
     --basalt-2 and --char. Verified against every surface in the palette. */
  --bone-dimr: #999682;
  --sky:       #b6c5cc;
  --signal:    #ff4a14;
  --signal-hi: #ff7043;
  --sand:      #c98a52;

  --ff: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;

  --wrap: 70rem;
  --gut: 1.25rem;
  --bar: 4.25rem;   /* mobile call bar height */
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--ff);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--bone);
  background: var(--basalt);
  -webkit-font-smoothing: antialiased;
}
body.has-call { padding-bottom: var(--bar); }
@media (min-width: 48em) { body.has-call { padding-bottom: 0; } }

img { max-width: 100%; height: auto; }

a { color: var(--signal-hi); text-underline-offset: 3px; }
a:hover { color: var(--signal); }

/* Visible keyboard focus everywhere, never removed. */
:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
  border-radius: 0;
}

.skip {
  position: absolute; left: -9999px;
  background: var(--signal); color: #fff;
  padding: .75rem 1rem; font-weight: 700; z-index: 100;
}
.skip:focus { left: .5rem; top: .5rem; }

/* ---------------------------------------------------------- header */

.hd {
  position: sticky; top: 0; z-index: 50;
  background: var(--basalt);
  border-bottom: 1px solid var(--ash);
}
.hd__in {
  max-width: var(--wrap); margin: 0 auto;
  padding: .7rem var(--gut);
  display: flex; align-items: center; gap: 1rem;
}
.mark { text-decoration: none; color: var(--bone); display: block; line-height: 1; }
.mark__b {
  display: block;
  font-weight: 800; font-size: 1.1rem;
  letter-spacing: .09em;
  color: var(--bone);
}
.mark__b::first-letter { color: var(--signal); }
.mark__s {
  display: block; font-size: .68rem; letter-spacing: .17em;
  text-transform: uppercase; color: var(--bone-dimr); margin-top: .18rem;
}
.hd__nav { display: none; margin-left: auto; gap: 1.1rem; }
.hd__nav a {
  color: var(--bone-dim); text-decoration: none;
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  padding: .3rem 0; border-bottom: 2px solid transparent;
}
.hd__nav a:hover { color: var(--bone); border-bottom-color: var(--signal); }
@media (min-width: 62em) { .hd__nav { display: flex; } }
.hd .btn--call { margin-left: auto; }
@media (min-width: 62em) { .hd .btn--call { margin-left: 1rem; } }

/* ---------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.35rem;
  font-weight: 800; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; border: 2px solid transparent;
  border-radius: 0;                     /* hard edges throughout */
  cursor: pointer; font-family: inherit;
  transition: transform .08s linear, box-shadow .08s linear;
}
.btn--call {
  background: var(--signal); color: #fff;
  box-shadow: 4px 4px 0 #000;
  flex-direction: column; align-items: flex-start; gap: 0;
  padding: .5rem .9rem;
}
.btn--call:hover { color: #fff; transform: translate(-1px,-1px); box-shadow: 5px 5px 0 #000; }
.btn--call:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 #000; }
.btn__k { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.btn__n { font-size: 1.02rem; font-weight: 800; letter-spacing: .01em; }
.btn--sm { padding: .4rem .8rem; }
.btn--sm .btn__n { font-size: .92rem; }

.btn--ghost {
  background: transparent; color: var(--bone);
  border-color: var(--ash-2);
}
.btn--ghost:hover { color: var(--bone); border-color: var(--bone); background: var(--char); }

.btn--go {
  background: var(--signal); color: #fff; width: 100%;
  justify-content: center; box-shadow: 5px 5px 0 #000;
  padding: 1.05rem 1.35rem; font-size: 1.05rem;
}
.btn--go:hover { transform: translate(-1px,-1px); box-shadow: 6px 6px 0 #000; }
.btn--go:active { transform: translate(2px,2px); box-shadow: 3px 3px 0 #000; }

/* ---------------------------------------------------------- crumbs */

.crumbs {
  max-width: var(--wrap); margin: 0 auto; padding: .6rem var(--gut) 0;
  font-size: .78rem; color: var(--bone-dimr);
}
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--ash-2); }
.crumbs a { color: var(--bone-dimr); text-decoration: none; }
.crumbs a:hover { color: var(--signal); }

/* ---------------------------------------------------------- hero */

.hero {
  /* Bleached sky burning down onto dark ground. Cheap: two gradients, no image. */
  background:
    linear-gradient(180deg, rgba(182,197,204,.13) 0%, rgba(19,19,16,0) 62%),
    linear-gradient(105deg, rgba(255,74,20,.11) 0%, rgba(19,19,16,0) 48%),
    var(--basalt);
  border-bottom: 1px solid var(--ash);
}
.hero__in { max-width: var(--wrap); margin: 0 auto; padding: 2.4rem var(--gut) 2.6rem; }
.eyebrow {
  margin: 0 0 .9rem; font-size: .7rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--sand);
}
.hero__h1 {
  margin: 0 0 .9rem;
  font-size: clamp(2.05rem, 7.5vw, 3.9rem);
  line-height: 1.02; font-weight: 850;
  letter-spacing: -.028em; color: var(--bone);
  text-wrap: balance;
}
.hero__sub {
  margin: 0 0 1.6rem; max-width: 44ch;
  font-size: clamp(1.02rem, 2.4vw, 1.22rem);
  color: var(--bone-dim); line-height: 1.5;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: stretch; }
.hero__cta .btn--ghost { align-items: center; }
.hero__pts {
  list-style: none; margin: 1.9rem 0 0; padding: 0;
  display: grid; gap: .55rem;
}
.hero__pts li {
  position: relative; padding-left: 1.5rem;
  font-size: .93rem; color: var(--bone-dim);
}
.hero__pts li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: .6rem; height: .6rem; background: var(--signal);
}
@media (min-width: 40em) {
  .hero__pts { grid-template-columns: repeat(3,1fr); gap: 1rem; }
}
.hero--root .hero__in { padding-block: 3.5rem 3.2rem; }

/* ---------------------------------------------------------- blocks */

.blk, .how, .sib, .form-wrap, .servicer {
  max-width: var(--wrap); margin: 0 auto; padding: 2.4rem var(--gut);
}
.blk + .blk { padding-top: 0; }

.h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 3.6vw, 1.95rem);
  line-height: 1.14; font-weight: 800; letter-spacing: -.02em;
  color: var(--bone); text-wrap: balance;
}
.h3 {
  margin: 1.9rem 0 .6rem; font-size: 1.06rem; font-weight: 800;
  letter-spacing: .01em; color: var(--sky);
}
.blk p, .how p { margin: 0 0 1rem; max-width: 68ch; color: var(--bone-dim); }
.blk p b, .how p b, .qs b { color: var(--bone); }

.note {
  border-left: 3px solid var(--ash-2);
  padding: .55rem 0 .55rem .9rem;
  font-size: .88rem !important; color: var(--bone-dimr) !important;
}
.warn {
  border-left: 4px solid var(--signal);
  background: rgba(255,74,20,.07);
  padding: .9rem 1rem; color: var(--bone) !important;
}
.blk--urgent { }

/* the one big number — verified design temperature */
.fact {
  display: grid; gap: 1rem; margin: 0 0 1.5rem;
  border: 1px solid var(--ash); border-left: 5px solid var(--signal);
  background: var(--basalt-2); padding: 1.4rem 1.3rem;
}
.fact__n {
  font-size: clamp(2.9rem, 11vw, 4.6rem); line-height: .9;
  font-weight: 850; letter-spacing: -.04em; color: var(--signal);
  font-variant-numeric: tabular-nums;
}
.fact__b p { margin: 0 0 .8rem; }
.fact__b p:last-child { margin-bottom: 0; }
@media (min-width: 46em) {
  .fact { grid-template-columns: minmax(9rem, 15rem) 1fr; gap: 1.8rem; align-items: start; }
}

/* ---------------------------------------------------------- lists */

.how__ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 1rem; }
.how__ol li {
  counter-increment: s; position: relative; padding-left: 3rem;
  color: var(--bone-dim); max-width: 68ch;
}
.how__ol li::before {
  content: counter(s); position: absolute; left: 0; top: .05em;
  width: 2rem; height: 2rem; display: grid; place-items: center;
  background: var(--signal); color: #fff; font-weight: 800; font-size: .95rem;
}

.qs { margin: 0; padding: 0; list-style: none; display: grid; gap: .85rem; }
.qs li {
  position: relative; padding-left: 1.4rem; color: var(--bone-dim); max-width: 68ch;
}
.qs li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: .5rem; height: .5rem; background: var(--sand);
}

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
@media (min-width: 34em) { .cards { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 56em) { .cards { grid-template-columns: repeat(3,1fr); } }
.card a {
  display: block; height: 100%; text-decoration: none;
  background: var(--basalt-2); border: 1px solid var(--ash);
  padding: 1.15rem 1.1rem;
  transition: border-color .1s linear, background .1s linear;
}
.card a:hover { border-color: var(--signal); background: var(--char); }
.card h3 { margin: 0 0 .2rem; font-size: 1.02rem; font-weight: 800; color: var(--bone); }
.card p { margin: 0; font-size: .82rem; color: var(--bone-dimr); }

.sib__h { margin: 0 0 1rem; font-size: 1.1rem; font-weight: 800; color: var(--sky); }
.sib__ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
@media (min-width: 40em) { .sib__ul { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 60em) { .sib__ul { grid-template-columns: repeat(3,1fr); } }
.sib__ul a {
  display: flex; flex-direction: column; text-decoration: none;
  border: 1px solid var(--ash); padding: .8rem .9rem; color: var(--bone);
}
.sib__ul a:hover { border-color: var(--signal); background: var(--basalt-2); }
.sib__ul span { font-weight: 700; font-size: .95rem; }
.sib__ul em { font-style: normal; font-size: .76rem; color: var(--bone-dimr); }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .86em; background: var(--char); padding: .1rem .38rem;
  color: var(--sky); border: 1px solid var(--ash);
}

/* ---------------------------------------------------------- servicer */

.servicer { padding-block: 1.6rem; }
.servicer__h { margin: 0 0 .7rem; font-size: .74rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--bone-dimr); font-weight: 700; }
.servicer__dl {
  margin: 0; display: grid; gap: .3rem .9rem;
  border: 1px solid var(--ash); border-left: 4px solid var(--sky);
  background: var(--basalt-2); padding: 1rem 1.1rem;
}
.servicer__dl dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--bone-dimr); }
.servicer__dl dd { margin: 0 0 .5rem; font-weight: 700; color: var(--bone); }
.servicer__dl dd:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------- form */

.form-wrap { padding-block: 2.4rem; }
.form {
  background: var(--basalt-2);
  border: 1px solid var(--ash);
  border-top: 5px solid var(--signal);
  padding: 1.5rem 1.25rem 1.6rem;
  max-width: 34rem;
}
.form__h { margin: 0 0 .4rem; font-size: 1.35rem; font-weight: 800;
  letter-spacing: -.015em; color: var(--bone); }
.form__sub { margin: 0 0 1.3rem; font-size: .92rem; color: var(--bone-dim); }

.f { margin: 0 0 1.1rem; }
.f__l { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--bone-dim); margin-bottom: .4rem; }
.f__opt { text-transform: none; letter-spacing: 0; font-weight: 400;
  color: var(--bone-dimr); font-size: .78rem; }
.f__i {
  width: 100%; font-family: inherit;
  font-size: 1.05rem;                    /* >=16px so iOS does not zoom on focus */
  padding: .8rem .85rem;
  color: var(--bone); background: var(--basalt);
  border: 2px solid var(--ash-2); border-radius: 0;
}
.f__i:focus { border-color: var(--signal); outline: none;
  box-shadow: 0 0 0 3px rgba(255,74,20,.25); }
.f__i::placeholder { color: var(--bone-dimr); }
.f__i--zip {
  font-size: 1.6rem; font-weight: 800; letter-spacing: .22em;
  padding: .7rem .85rem; max-width: 9.5ch;
  font-variant-numeric: tabular-nums;
}
.f__i--ta { resize: vertical; line-height: 1.5; }
.f__help { margin: .4rem 0 0; font-size: .8rem; color: var(--bone-dimr); }
.f__msg { margin: .5rem 0 0; font-size: .88rem; font-weight: 600; min-height: 1.2em; }
.f__msg[data-s="err"] { color: var(--signal-hi); }
.f__msg[data-s="ok"]  { color: var(--sky); }

.form__rest[hidden] { display: none; }
.form__fine { margin: .9rem 0 0; font-size: .78rem; color: var(--bone-dimr); line-height: 1.5; }

/* honeypot — off-screen, never display:none (bots skip hidden fields) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__done {
  border: 1px solid var(--sky); border-left: 5px solid var(--sky);
  background: rgba(182,197,204,.08); padding: 1.3rem 1.2rem;
}
.form__done h2 { margin: 0 0 .5rem; font-size: 1.25rem; color: var(--bone); }
.form__done p { margin: 0; color: var(--bone-dim); }

/* ---------------------------------------------------------- footer */

.ft { background: #0d0d0b; border-top: 1px solid var(--ash); margin-top: 2rem; }
.ft__in { max-width: var(--wrap); margin: 0 auto; padding: 2.4rem var(--gut) 2.8rem; }
.ft__brand { margin-bottom: 1.2rem; }
.ft__nav { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-bottom: 1.5rem; }
.ft__nav a { color: var(--bone-dim); text-decoration: none; font-size: .86rem; font-weight: 600; }
.ft__nav a:hover { color: var(--signal); }
.ft__disc {
  margin: 0 0 1rem; max-width: 72ch;
  font-size: .84rem; line-height: 1.6; color: var(--bone-dimr);
  border-left: 3px solid var(--sand); padding-left: .9rem;
}
.ft__legal { margin: 0; font-size: .78rem; color: var(--bone-dimr); }

/* ---------------------------------------------------------- call bar */

.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid #000;
  padding-bottom: env(safe-area-inset-bottom);
}
.callbar--one { grid-template-columns: 1fr; }
.callbar a {
  display: grid; place-items: center; min-height: var(--bar);
  text-decoration: none; font-weight: 800; font-size: 1.02rem;
  padding: .5rem .75rem; text-align: center;
}
.callbar__a { background: var(--signal); color: #fff; }
.callbar__b { background: var(--char); color: var(--bone); }
.callbar__a:hover, .callbar__b:hover { color: #fff; }
.callbar__b:hover { background: var(--ash); }
@media (min-width: 48em) { .callbar { display: none; } }
