/* whyteridgehvac.ca/efficiency-manitoba/
   Visual system extracted from the approved 2026-08-20 Meta creatives:
   near-black ground, Whyte Ridge red (#D02627, the logo/kit value), white,
   cool grey; condensed uppercase display type; red flame bleeding in from the
   right; white mountain strip; dark translucent checklist cards; white logo
   card. Body type is the site's own Roboto (variable). */

@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bebas-neue-latin.a7c90c8924.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bebas-neue-latin-ext.16c95ce45a.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/roboto-normal-latin.20b535fa80.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/roboto-normal-latin-ext.884933fb57.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --red: #D02627;
  --red-dark: #B01A1D;
  --red-tint: #FFF1F1;
  --ink: #231F20;
  --bg: #111111;
  --bg-2: #1B1A1A;
  --bg-3: #232325;
  --line: rgba(255, 255, 255, 0.14);
  --text: #F4F4F5;
  --muted: #CFCFD2;
  --white: #FFFFFF;
  --radius: 10px;
  --radius-card: 16px;
  --wrap: 1180px;
  --narrow: 820px;
  --display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
  --body: "Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--white); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0 0 0.5em;
}
h1.display { font-size: clamp(2.75rem, 9vw, 5.4rem); max-width: 12ch; }
h1.display span { display: inline; }
h2.display { font-size: clamp(2.1rem, 5.2vw, 3.3rem); max-width: 22ch; }
.red { color: var(--red); }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: var(--narrow); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 28px;
  border-radius: var(--radius);
  font-family: var(--display); font-size: 1.45rem; letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { border-color: var(--white); }
.btn-back { background: var(--white); color: var(--ink); border-color: #C9C9CE; }
.btn-back:hover { border-color: var(--ink); }
.btn-back:focus-visible, .form-card .btn-primary:focus-visible { outline-color: var(--ink); }
.btn-icon { width: 54px; padding: 0; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 14px; }
.qualifier { font-size: 0.92rem; color: var(--muted); max-width: 60ch; }

/* Header */
.site-header { position: relative; z-index: 5; }
.header-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.logo-card {
  display: inline-block; background: var(--white);
  border-radius: 4px 4px 26px 4px; padding: 10px 18px 12px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.logo-card img { width: auto; height: 58px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-weight: 600; text-decoration: none; color: var(--white); font-size: 1.05rem; white-space: nowrap;
}
.header-phone:hover span { text-decoration: underline; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 28px 0 110px; isolation: isolate; }
.hero::before, .final::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.28) 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255, 255, 255, 0.18) 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255, 255, 255, 0.12) 1.4px, transparent 2px);
  background-size: 113px 97px, 79px 131px, 191px 163px;
  background-position: 7px 11px, 41px 67px, 23px 29px;
  opacity: 0.7;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg .flame { position: absolute; top: -4%; right: -18%; height: 112%; width: 62%; }
.hero-bg .mountains { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 74px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 1fr; gap: 24px; align-items: center; margin-top: 36px; }
.eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 1.15rem; color: var(--muted); margin: 0 0 14px; }
.lede { font-size: 1.2rem; max-width: 54ch; margin-bottom: 22px; }
/* The equipment render ships as two layers cut from one ChatGPT image (see
   tools/glow-layers.py): the units with their own alpha, and the render's white
   glow as a white layer whose alpha is its luminance. Both share the same 3:2
   frame, so the glow sits in ::before at inset 0 and lines up with the img; the
   img must keep its natural aspect (no max-height/object-fit) for that to hold.
   Shadows are CSS: a drop-shadow that follows each unit's silhouette and lands
   on the glow, plus a soft ground ellipse under the floor-standing units. */
.hero-art { position: relative; margin: 0 -14% 0 0; }
.hero-art::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("../img/hero-glow-768.059ad56ae9.webp") center / 100% 100% no-repeat;
}
.hero-art::after {
  content: ""; position: absolute; left: 10%; right: 14%; bottom: 0; height: 12%; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7) 0, rgba(0, 0, 0, 0.32) 40%, transparent 70%);
  filter: blur(10px);
}
.hero-art img {
  position: relative; z-index: 1; display: block; width: 100%; height: auto;
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.55)) drop-shadow(0 3px 5px rgba(0, 0, 0, 0.4));
}

/* Checklist */
.checklist { background: var(--bg-2); padding: 64px 0 56px; }
.check-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 22px; }
.check-cards li {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; font-weight: 600; font-size: 1.05rem; line-height: 1.35;
}
.check { position: relative; flex: none; width: 32px; height: 32px; border: 2px solid var(--white); border-radius: 5px; background: rgba(0, 0, 0, 0.25); }
.check::after {
  content: ""; position: absolute; left: 10px; top: 2px; width: 9px; height: 18px;
  border-right: 4px solid var(--red); border-bottom: 4px solid var(--red); transform: rotate(42deg);
}

/* Screening form */
.screening { padding: 72px 0; }
.screening-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.form-card {
  background: var(--white); color: var(--ink); border-radius: var(--radius-card);
  padding: 26px 26px 28px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}
.form-card a { color: var(--red-dark); }
.progress { display: flex; flex-direction: column; gap: 8px; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.07em; font-size: 1.1rem; color: #5A5A60; }
.bar { height: 6px; background: #ECECEF; border-radius: 3px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--red); border-radius: 3px; transition: width 0.3s; }
.step h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.02em; font-weight: 400; font-size: 1.95rem; line-height: 1; margin: 20px 0 6px; }
.step h3:focus { outline: none; }
.step .help { color: #55555B; margin-bottom: 14px; }
.options { display: grid; gap: 10px; }
.options.cols { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.option {
  display: flex; align-items: center; gap: 14px; min-height: 58px;
  border: 2px solid #D9D9DE; border-radius: 10px; padding: 12px 16px;
  cursor: pointer; font-size: 1.05rem; line-height: 1.3; transition: border-color 0.15s, background-color 0.15s;
}
.option:hover { border-color: #8A8A90; }
.option input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--red); }
.option input:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.option.is-checked, .option:has(input:checked) { border-color: var(--red); background: var(--red-tint); }
.option .hint { display: block; font-size: 0.88rem; color: #66666C; }
.field { margin: 14px 0; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; min-height: 52px; border: 2px solid #D9D9DE; border-radius: 8px; padding: 10px 14px;
  font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--white);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(208, 38, 39, 0.2); }
.field.invalid input, .field.invalid textarea { border-color: var(--red-dark); }
.field-error { color: var(--red-dark); font-size: 0.9rem; margin: 6px 0 0; }
.field .hint { color: #66666C; font-size: 0.88rem; margin-top: 4px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inline-options { display: flex; flex-wrap: wrap; gap: 10px; }
.inline-options .option { min-height: 48px; padding: 8px 14px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: #44444A; margin: 16px 0 8px; }
.consent input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--red); }
.turnstile-box { margin: 12px 0 4px; min-height: 66px; }
.form-error { color: var(--red-dark); background: var(--red-tint); border-left: 4px solid var(--red); padding: 10px 14px; border-radius: 6px; margin: 14px 0 0; }
.nav-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.nav-row .btn-primary { flex: 1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.outcome h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.02em; font-weight: 400; font-size: 2.1rem; line-height: 1; margin: 6px 0 12px; }
.outcome:focus { outline: none; }
.outcome .badge { display: inline-block; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.05rem; color: var(--red-dark); border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.outcome .flag-notes { margin: 12px 0; padding-left: 18px; }
.outcome .flag-notes li { list-style: disc; margin: 6px 0; color: #44444A; }
.outcome .cta-row { margin-top: 18px; }
.outcome .btn-ghost { color: var(--ink); border-color: #C9C9CE; }

/* How it works */
.how { background: var(--bg-2); padding: 64px 0; }
.steps { counter-reset: step; margin: 8px 0 26px; }
.steps li { counter-increment: step; position: relative; padding: 6px 0 6px 66px; margin: 0 0 18px; font-size: 1.05rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 48px; height: 48px; border: 2px solid var(--red); border-radius: 50%;
  display: grid; place-items: center; font-family: var(--display); font-size: 1.7rem; color: var(--white); padding-top: 3px;
}
.callout { border-left: 4px solid var(--red); background: rgba(255, 255, 255, 0.04); padding: 14px 18px; font-weight: 500; border-radius: 0 8px 8px 0; }

/* Includes */
.includes { padding: 64px 0; }
.includes-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: center; }
.icon-list { margin: 8px 0 18px; }
.icon-list li { display: flex; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.ico { flex: none; width: 46px; height: 46px; border: 2px solid var(--white); border-radius: 50%; display: grid; place-items: center; }
.ico svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.includes-art { margin: 0; }
.includes-art img { width: 100%; height: auto; max-height: 560px; object-fit: cover; object-position: top; border-radius: 14px; }

/* Income table */
.income { background: var(--bg-2); padding: 64px 0; }
.table-wrap { overflow-x: auto; margin: 18px 0 22px; -webkit-overflow-scrolling: touch; }
.income-table { width: 100%; border-collapse: collapse; font-size: 1.05rem; min-width: 300px; }
.income-table th, .income-table td { padding: 14px 16px; text-align: left; }
.income-table thead th { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 400; font-size: 1.2rem; border-bottom: 2px solid var(--red); color: var(--white); }
.income-table tbody tr { border-bottom: 1px solid var(--line); }
.income-table tbody th { font-weight: 500; color: var(--muted); }
.income-table td { font-weight: 700; font-variant-numeric: tabular-nums; }
.notes li { list-style: disc; margin: 6px 0 6px 20px; color: var(--muted); font-size: 0.97rem; }
.notes.two-col { columns: 2; column-gap: 40px; margin: 10px 0 26px; }
.notes.two-col li { break-inside: avoid; }

/* Rebates */
.rebates { padding: 72px 0; }
.lede-sm { font-size: 1.1rem; max-width: 70ch; color: var(--muted); }
.offer-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 26px 0 22px; }
.offer { border: 1px solid var(--line); border-radius: 12px; padding: 26px 26px 18px; background: rgba(255, 255, 255, 0.04); }
.offer .stat { font-size: clamp(3.2rem, 8vw, 4.8rem); line-height: 1; margin: 0 0 6px; color: var(--white); }
.offer .stat-label { display: inline-block; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.07em; font-size: 1.35rem; color: var(--red); border-bottom: 2px solid var(--red); padding-bottom: 4px; margin: 0 0 12px; }
.offer p:last-child { margin: 0; color: var(--muted); }

/* Why */
.why { background: var(--bg-2); padding: 64px 0; }
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin: 8px 0 22px; }
.proof li { position: relative; padding-left: 34px; font-size: 1.05rem; font-weight: 500; min-height: 28px; }
.proof li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 8px; height: 15px; border-right: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(42deg); }

/* FAQ */
.faq { padding: 64px 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 1.05rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.9rem; line-height: 1; color: var(--red); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; border-radius: 4px; }
.faq details p { color: var(--muted); margin: 0 0 18px; max-width: 70ch; }

/* Final CTA */
.final { position: relative; overflow: hidden; padding: 84px 0 96px; isolation: isolate; background: var(--bg-2); }
.final .hero-bg .flame { right: -28%; width: 58%; opacity: 0.95; }
.final .wrap { position: relative; z-index: 1; }
.disclosure { font-size: 0.95rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 26px; max-width: 70ch; }

/* Footer */
.site-footer { background: #0B0B0C; padding: 36px 0 110px; font-size: 0.95rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-name { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.3rem; color: var(--white); margin-bottom: 6px; }
.site-footer p { margin: 0 0 6px; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(17, 17, 17, 0.96); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 0.25s;
}
.sticky-cta .btn-primary { flex: 1; }
.sticky-cta.show { transform: none; }

/* Responsive */
@media (max-width: 899px) {
  .sticky-cta { display: flex; }
  .hero { padding-bottom: 84px; }
  .hero-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 26px; }
  h1.display { font-size: clamp(2.9rem, 11.4vw, 4.4rem); max-width: none; }
  .hero-art { order: 2; margin: 14px auto 0; width: 100%; max-width: 560px; }
  .hero-bg .flame { right: -34%; width: 92%; top: 18%; height: 90%; }
  .hero-bg .mountains { height: 50px; }
  .check-cards { grid-template-columns: 1fr; }
  .screening-wrap { grid-template-columns: 1fr; gap: 22px; }
  .form-card { padding: 20px 18px 22px; border-radius: 14px; }
  .includes-grid { grid-template-columns: 1fr; }
  .includes-art { max-width: 320px; }
  .includes-art img { max-height: 380px; }
  .offer-cards { grid-template-columns: 1fr; }
  .notes.two-col { columns: 1; }
  .proof { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .logo-card img { height: 46px; }
  .header-phone span { display: none; }
  .header-phone { margin-top: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
}
@media (max-width: 420px) {
  .btn { font-size: 1.3rem; padding: 0 20px; }
  .nav-row { flex-wrap: wrap; }
  .nav-row .btn-back { order: 2; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .bar span, .sticky-cta, .option { transition: none; }
}
