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

/* ==========================================================================
   Greenfield HVAC Finishes — greenfieldhvac.xyz
   Meadow green and wheat on off-white. A floating header card; soft, rounded.
   01 Tokens · 02 Base · 03 Floating header · 04 Hero · 05 Page heads
   06 Buttons · 07 Cards & L-layout · 08 Fan sizing (signature) · 09 FAQ
   10 Form & contact · 11 Footer & bottom CTA · 12 Images
   ========================================================================== */

/* 01 Tokens */
:root {
  --ink: #1b2a22; --text: #3a4a41; --muted: #5d6c63; --line: #dfe5dc;
  --paper: #f7f7f2; --white: #ffffff; --meadow-50: #e9f2ec;
  --green: #2d6a4f; --green-dark: #1f4d39; --green-light: #9bd1b5;
  --wheat: #e9c46a; --wheat-soft: #faefcf; --wheat-ink: #7a5c0e;
  --focus: #2d6a4f; --err: #b42318; --ok: #1f6f3a;
  --font: "Inclusive Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-sm: 0.95rem; --f0: clamp(1.02rem, 0.99rem + 0.15vw, 1.1rem); --f1: clamp(1.22rem, 1.12rem + 0.45vw, 1.5rem);
  --f2: clamp(1.8rem, 1.45rem + 1.6vw, 2.7rem); --f3: clamp(2.3rem, 1.7rem + 2.8vw, 4rem);
  --wrap: 1180px; --pad-y: clamp(3.4rem, 2.4rem + 4vw, 6rem); --r: 26px;
}

/* 02 Base */
body { background: var(--paper); color: var(--text); font-family: var(--font); font-size: var(--f0); line-height: 1.7; }
h1, h2, h3 { margin: 0 0 0.45em; font-weight: 400; color: var(--ink); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--f3); }
h2 { font-size: var(--f2); }
h3 { font-size: var(--f1); line-height: 1.22; }
p { margin: 0 0 1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }
a { color: var(--green); 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; }
.leaf { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.9rem; font-size: 0.9rem; font-weight: 700; color: var(--green); }
.leaf::before { content: ""; width: 14px; height: 14px; border-radius: 0 50% 0 50%; background: var(--green); }

/* 03 Floating header */
.float { position: sticky; top: 0.8rem; z-index: 90; margin: 0.8rem auto 0; width: min(100% - 1.6rem, 1240px); }
.float__card { display: flex; align-items: center; gap: 1rem; min-height: 66px; padding: 0.5rem 0.6rem 0.5rem 1.2rem; background: rgba(255,255,255,0.97); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 16px 40px -24px rgba(27,42,34,0.45); }
.gfmark { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.gfmark svg { width: 34px; height: 34px; flex: none; }
.gfmark b { font-size: 1.25rem; font-weight: 700; }
.gfmark small { display: block; font-size: 0.72rem; color: var(--muted); }
.gflinks { display: none; }
.gflinks a { padding: 0.5rem 0.9rem; border-radius: 999px; color: var(--ink); text-decoration: none; }
.gflinks a:hover { background: var(--meadow-50); }
.gflinks a[aria-current="page"] { color: var(--green-dark); font-weight: 700; text-decoration: underline wavy var(--wheat); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.float__end { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.float__tel { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.float__tel svg { width: 17px; height: 17px; color: var(--green); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: var(--meadow-50); color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
.float__end .btn { display: none; }
@media (max-width: 1079px) {
  .float__tel span { display: none; }
  .float__tel { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); }
  .gflinks { position: absolute; left: 0; right: 0; top: calc(100% + 0.5rem); flex-direction: column; padding: 0.8rem; background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 20px 40px -24px rgba(27,42,34,0.45); }
  .gflinks.is-open { display: flex; }
  .gflinks a { padding: 0.85rem 1rem; font-size: 1.08rem; }
}
@media (min-width: 1080px) {
  .gflinks { display: flex; margin-left: auto; }
  .float__end { margin-left: 0.5rem; }
  .float__end .btn { display: inline-flex; }
  .nav-toggle { display: none; }
}
@media (max-width: 380px) { .gfmark small { display: none; } .gfmark b { font-size: 1.1rem; } }

/* 04 Hero */
.hero { padding-block: clamp(2.4rem, 1.8rem + 3vw, 4.5rem); }
.hero .wrap { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); align-items: center; }
@media (min-width: 940px) { .hero .wrap { grid-template-columns: 1fr 1fr; } }
.hero .wrap > * { min-width: 0; }
.hero h1 { max-width: 14ch; }
.hero p.big { font-size: var(--f1); line-height: 1.5; max-width: 36ch; }
.hero__pic { position: relative; }
.hero__pic figure img, .hero__pic figure .img-placeholder { border-radius: 40px; }
.hero__fact { position: absolute; left: -1rem; bottom: -1.6rem; max-width: 260px; padding: 1rem 1.2rem; background: var(--wheat); border-radius: 20px; color: var(--ink); box-shadow: 0 18px 30px -20px rgba(27,42,34,0.6); }
.hero__fact b { display: block; font-size: 1.05rem; }
.hero__fact span { font-size: var(--f-sm); }
@media (max-width: 939px) { .hero__fact { position: static; margin-top: -2rem; margin-left: 1rem; } }

/* 05 Page heads */
.phead { padding-block: clamp(2.4rem, 2rem + 2.6vw, 4rem); }
.phead .wrap { padding: clamp(1.8rem, 1.4rem + 2vw, 3rem); background: var(--meadow-50); border-radius: var(--r); }
.phead h1 { font-size: clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem); max-width: 18ch; }
.phead p { font-size: var(--f1); line-height: 1.5; max-width: 52ch; }
.crumbs { display: flex; gap: 0.5rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: var(--f-sm); color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 0.5rem; }

/* 06 Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.5rem; border: 2px solid transparent; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.btn svg { width: 1em; height: 1em; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); color: #fff; }
.btn--wheat { background: var(--wheat); color: var(--ink); }
.btn--wheat:hover { background: #f0d38c; color: var(--ink); }
.btn--ghost { border-color: var(--green); color: var(--green-dark); }
.btn--ghost:hover { background: var(--meadow-50); color: var(--green-dark); }

/* 07 Cards & L-layout */
.sec { padding-block: var(--pad-y); }
.sec--white { background: var(--white); }
.grid4 { display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .grid4 { grid-template-columns: 1fr 1fr; } }
.bigcard { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.8rem; background: var(--white); border-radius: var(--r); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.sec--white .bigcard { background: var(--paper); }
a.bigcard:hover { border-color: var(--green); }
.bigcard .ring { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--wheat-soft); color: var(--wheat-ink); }
.bigcard .ring svg { width: 26px; height: 26px; }
.bigcard h3 { margin: 0 0 0.3rem; font-size: 1.3rem; }
.bigcard p { margin: 0; font-size: var(--f-sm); }
.ell { display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .ell { grid-template-columns: 1.1fr 0.9fr; grid-template-rows: auto auto; } .ell__a { grid-row: span 2; } }
.ell > * { min-width: 0; padding: clamp(1.5rem, 1rem + 2vw, 2.4rem); border-radius: var(--r); }
.ell__a { background: var(--green); color: #d6ece0; }
.ell__a h2, .ell__a h3 { color: #fff; }
.ell__a a { color: var(--wheat); }
.ell__a .leaf { color: var(--wheat); }
.ell__a .leaf::before { background: var(--wheat); }
.ell__a :focus-visible { outline-color: var(--wheat); }
.ell__b { background: var(--wheat-soft); }
.ell__c { background: var(--white); border: 1px solid var(--line); }
.ell figure { margin-bottom: 1.2rem; }
.ell ul { padding-left: 1.1em; }
.facts { display: grid; gap: 1rem; }
@media (min-width: 860px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts > div { padding: 1.4rem; border-radius: 20px; background: var(--white); border-left: 6px solid var(--wheat); }
.facts b { display: block; font-size: 1.6rem; color: var(--green-dark); }
.facts span { font-size: var(--f-sm); }
.map-round { display: block; width: 100%; height: clamp(320px, 38vw, 460px); border-radius: var(--r); background: var(--meadow-50); }
.map-wrap { position: relative; }
.map-chips { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.map-chips li { padding: 0.35rem 0.8rem; border-radius: 999px; background: rgba(255,255,255,0.95); font-size: 0.88rem; font-weight: 700; color: var(--ink); box-shadow: 0 4px 12px -6px rgba(0,0,0,0.3); }

/* 08 Fan sizing (signature) */
.calc { display: grid; gap: 2rem; align-items: center; padding: clamp(1.5rem, 1rem + 2vw, 2.6rem); background: var(--white); border-radius: var(--r); border: 1px solid var(--line); }
@media (min-width: 860px) { .calc { grid-template-columns: 1fr 1fr; } }
.calc > * { min-width: 0; }
.calc label { display: block; margin-bottom: 0.4rem; font-weight: 700; color: var(--ink); }
.calc input[type="number"] { width: 100%; max-width: 12rem; padding: 0.8rem 1rem; font: inherit; font-size: 1.3rem; border: 2px solid var(--green); border-radius: 14px; }
.calc__out { padding: 1.6rem; background: var(--wheat-soft); border-radius: 20px; }
.calc__out b { display: block; font-size: 3rem; line-height: 1; color: var(--green-dark); }
.calc:not(.is-live) .calc__live { display: none; }
.calc.is-live .calc__static { display: none; }
.rules { display: grid; gap: 1rem; }
@media (min-width: 860px) { .rules { grid-template-columns: 1fr 1fr; } }
.rule { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.4rem; border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.rule .ring { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--meadow-50); color: var(--green); font-weight: 700; }
.rule h3 { margin: 0 0 0.3rem; font-size: 1.2rem; }
.rule p { margin: 0; font-size: var(--f-sm); }
.never { padding: 1.4rem 1.6rem; border-radius: 20px; background: var(--green-dark); color: #d6ece0; }
.never b { color: var(--wheat); }
.never p { margin: 0; }

/* 09 FAQ */
.faq { display: grid; gap: 0.8rem; max-width: 820px; }
.gq { background: var(--white); border-radius: 18px; border-left: 6px solid var(--green); }
.gq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; font-weight: 700; color: var(--ink); list-style: none; }
.gq summary::after { content: "+"; flex: none; font-size: 1.4rem; line-height: 1; color: var(--green); }
.gq[open] summary::after { content: "−"; }
.gq > div { padding: 0 1.3rem 1.2rem; font-size: var(--f-sm); }

/* 10 Form & contact */
.form { display: grid; gap: 1rem 1.2rem; margin-top: 1.4rem; }
@media (min-width: 680px) { .form--2col { grid-template-columns: 1fr 1fr; } }
.field--full, .form__end { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: var(--f-sm); color: var(--ink); }
.req { color: var(--green); }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea { width: 100%; padding: 0.85rem 1.1rem; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid #cad4cc; border-radius: 16px; }
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='%232d6a4f' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; padding-right: 2.6rem; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--green); background: var(--white); }
.form-status { margin: 0.8rem 0 0; }
.form-note { margin: 0.5rem 0 0; font-size: 0.85rem; color: var(--muted); }
.contact-ell { display: grid; gap: 1.2rem; }
@media (min-width: 960px) { .contact-ell { grid-template-columns: 1.2fr 0.8fr; } }
.contact-ell > * { min-width: 0; }
.formbox { padding: clamp(1.5rem, 1rem + 2vw, 2.6rem); background: var(--white); border-radius: var(--r); border: 1px solid var(--line); }
.side { display: grid; gap: 1.2rem; align-content: start; }
.side > div { padding: 1.5rem; border-radius: var(--r); background: var(--green); color: #d6ece0; }
.side > div + div { background: var(--wheat-soft); color: var(--text); }
.side h2 { font-size: 1.05rem; font-weight: 700; color: inherit; }
.side > div:first-child h2 { color: var(--wheat); }
.side .num { display: block; font-size: 1.9rem; color: #fff; text-decoration: none; }
.side > div:first-child a { color: #fff; }
.side > div:first-child :focus-visible { outline-color: var(--wheat); }

/* 11 Footer & bottom CTA */
.ftr { margin-top: var(--pad-y); background: var(--green-dark); color: #b9d9c8; font-size: var(--f-sm); border-radius: 48px 48px 0 0; }
.ftr__grid { display: grid; gap: 1.8rem; padding-block: 3rem 1.6rem; }
@media (min-width: 820px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.ftr h2 { margin-bottom: 0.6rem; font-size: 1.05rem; font-weight: 700; color: var(--wheat); }
.ftr ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.35rem; }
.ftr a { color: #fff; text-decoration: none; }
.ftr a:hover { text-decoration: underline; }
.ftr :focus-visible { outline-color: var(--wheat); }
.ftr__base { padding-block: 1rem 1.4rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.82rem; }
.ftr__base p { margin: 0; max-width: none; }
.sticky-cta { position: fixed; left: 0.8rem; right: 0.8rem; bottom: 0.8rem; z-index: 95; display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 54px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 14px 30px -12px rgba(31,77,57,0.7); }
.sticky-cta:hover { background: var(--green-dark); color: #fff; }
.sticky-cta:focus-visible { outline-color: var(--wheat); }
@media (min-width: 1080px) { .sticky-cta { display: none; } }
@media (max-width: 1079px) { body { padding-bottom: 80px; } }

/* 12 Images */
.img-placeholder { background: var(--meadow-50); border: 1px dashed #a9c2b3; color: var(--muted); }
.img-placeholder b { color: var(--ink); }
.ell__a .img-placeholder { background: var(--green-dark); border-color: var(--green-light); color: #d6ece0; }
.ell__a .img-placeholder b { color: #fff; }
figure img, figure .img-placeholder { border-radius: 20px; }
figcaption { margin-top: 0.5rem; font-size: 0.86rem; color: var(--muted); }
.mt { margin-top: 2rem; }
.sticky-cta svg { width: 18px; height: 18px; flex: none; }
