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

/* ==========================================================================
   Brookstone Building HVAC Solutions — brookstonehvac.xyz
   Cloud grey, graphite and glacier blue; one clean grotesque.
   01 Tokens · 02 Base · 03 Sticky strip + header · 04 Buttons · 05 Hero
   06 Page heads · 07 Sections · 08 Cooling chooser (signature)
   09 FAQ · 10 Form & contact · 11 Footer · 12 Images
   ========================================================================== */

/* 01 Tokens */
:root {
  --graphite: #2b3440; --graphite-2: #3a4553; --cloud: #eef1f4; --cloud-2: #e2e7ec; --white: #ffffff;
  --glacier: #2f7fa8; --glacier-dark: #22607f; --glacier-soft: #e4f0f6;
  --ink: #1b222b; --text: #3f4854; --muted: #5d6673; --line: #dde2e7;
  --focus: #22607f; --err: #a8261b; --ok: #2f6b4f;
  --font: "Yantramanav", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-sm: 0.92rem; --f0: clamp(1rem, 0.97rem + 0.15vw, 1.07rem); --f1: clamp(1.15rem, 1.05rem + 0.45vw, 1.4rem);
  --f2: clamp(1.75rem, 1.35rem + 1.7vw, 2.55rem); --f3: clamp(2.15rem, 1.5rem + 2.9vw, 3.7rem);
  --r: 6px; --wrap: 1160px; --pad-y: clamp(3.2rem, 2.4rem + 4vw, 5.8rem);
}

/* 02 Base */
body { background: var(--white); color: var(--text); font-family: var(--font); font-size: var(--f0); line-height: 1.7; }
h1, h2, h3 { margin: 0 0 0.5em; color: var(--ink); font-weight: 700; line-height: 1.2; text-wrap: balance; }
h1 { font-size: var(--f3); }
h2 { font-size: var(--f2); }
h3 { font-size: var(--f1); font-weight: 500; }
p { margin: 0 0 1em; max-width: 66ch; }
p:last-child { margin-bottom: 0; }
a { color: var(--glacier-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; }
.tagline { display: block; margin-bottom: 0.8rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--glacier-dark); }
.mt { margin-top: 2rem; }

/* 03 Sticky strip + header */
.strip { position: sticky; top: 0; z-index: 31; background: var(--graphite); color: #c3cbd5; font-size: 0.88rem; }
.strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; min-height: 46px; }
.strip p { margin: 0; display: none; }
.strip__end { display: flex; align-items: center; gap: 0.4rem; margin-left: auto; }
.strip a { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.7rem; border-radius: var(--r); color: #fff; font-weight: 700; text-decoration: none; }
.strip svg { width: 16px; height: 16px; flex: none; }
.strip .strip__cta { background: var(--glacier); color: #fff; }
.strip .strip__cta:hover { background: #fff; color: var(--graphite); }
.strip :focus-visible { outline-color: #fff; }
@media (min-width: 620px) { .strip p { display: block; } }
.hd { background: var(--white); border-bottom: 1px solid var(--line); }
.hd .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }
.bk-logo { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; }
.bk-logo svg { width: 36px; height: 36px; flex: none; }
.bk-logo b { display: block; font-size: 1.3rem; font-weight: 700; line-height: 1; }
.bk-logo small { display: block; margin-top: 0.15rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.nav-toggle { display: inline-flex; align-items: center; gap: 0.4rem; flex: none; min-height: 44px; padding: 0 0.9rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--cloud); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }
.bnav { display: none; }
.hd .btn { display: none; }
@media (max-width: 1019px) {
  .bnav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 0.5rem 1rem 1.2rem; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 26px -22px rgba(27,34,43,0.5); }
  .bnav.is-open { display: flex; }
  .bnav a { padding: 0.8rem 0.4rem; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.08rem; font-weight: 500; text-decoration: none; }
  .bnav a[aria-current="page"] { color: var(--glacier-dark); font-weight: 700; }
  .hd { position: relative; }
}
@media (max-width: 400px) { .bk-logo small { display: none; } .bk-logo b { font-size: 1.15rem; } }
@media (min-width: 1020px) {
  .hd { position: sticky; top: 46px; z-index: 30; }
  .nav-toggle { display: none; }
  .bnav { display: flex; gap: 1.4rem; margin-left: auto; }
  .bnav a { padding: 0.35rem 0; color: var(--text); font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent; }
  .bnav a:hover { color: var(--ink); }
  .bnav a[aria-current="page"] { color: var(--ink); font-weight: 700; border-bottom-color: var(--glacier); }
  .hd .btn { display: inline-flex; margin-left: 1.4rem; }
}

/* 04 Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.4rem; border: 0; border-radius: var(--r); background: var(--glacier-dark); color: #fff; font: inherit; font-weight: 700; line-height: 1.3; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.btn:hover { background: var(--graphite); color: #fff; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--dark { background: var(--graphite); }
.btn--dark:hover { background: var(--glacier-dark); }
.btn--soft { background: var(--cloud); color: var(--ink); }
.btn--soft:hover { background: var(--glacier-soft); color: var(--glacier-dark); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--glacier-soft); color: var(--glacier-dark); }
.btns { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }

/* 05 Hero */
.hero { padding-block: clamp(2.8rem, 2.2rem + 3vw, 4.6rem) var(--pad-y); background: var(--cloud); }
.hero .wrap { display: grid; gap: 2.4rem; align-items: center; }
@media (min-width: 940px) { .hero .wrap { grid-template-columns: 1.05fr 0.95fr; gap: 3.4rem; } }
.hero p.lede { font-size: var(--f1); line-height: 1.5; color: var(--ink); max-width: 42ch; }
.hero img, .hero .img-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.facts { display: grid; gap: 0.6rem; margin-top: 1.8rem; padding: 0; list-style: none; }
@media (min-width: 560px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts li { padding: 0.9rem 1rem; background: var(--white); border-radius: var(--r); font-size: var(--f-sm); }
.facts b { display: block; color: var(--ink); }

/* 06 Page heads */
.phead { padding-block: clamp(2.6rem, 2rem + 3vw, 4.2rem); background: var(--graphite); color: #c3cbd5; }
.phead h1 { color: #fff; font-size: clamp(2rem, 1.5rem + 2.2vw, 3.2rem); max-width: 20ch; }
.phead p { font-size: 1.08rem; max-width: 60ch; }
.phead a { color: #fff; }
.phead .tagline { color: #8fc6e0; }
.phead :focus-visible { outline-color: #8fc6e0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: 0.86rem; }
.crumbs li + li::before { content: "›"; margin-right: 0.5rem; color: #8fc6e0; }

/* 07 Sections */
.sec { padding-block: var(--pad-y); }
.sec--cloud { background: var(--cloud); }
.sec--graphite { background: var(--graphite); color: #c3cbd5; }
.sec--graphite h2, .sec--graphite h3, .sec--graphite b { color: #fff; }
.sec--graphite .tagline { color: #8fc6e0; }
.sec--graphite a:not(.btn) { color: #fff; }
.sec--graphite :focus-visible { outline-color: #8fc6e0; }
.head { max-width: 660px; margin-bottom: 2.4rem; }
.grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.cell { padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.sec--cloud .cell { background: var(--white); }
.cell h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 0.3rem; }
.cell p { margin: 0; font-size: var(--f-sm); }
.two { display: grid; gap: 2.4rem; align-items: center; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; gap: 3.4rem; } .two--flip > :first-child { order: 2; } }
.two > * { min-width: 0; }
.two img, .two .img-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.points { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.points li { position: relative; padding-left: 1.7rem; }
.points li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 2px; background: var(--glacier); transform: rotate(45deg); }
.map { display: block; width: 100%; height: clamp(300px, 34vw, 420px); border-radius: var(--r); background: var(--glacier-soft); }
.where { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 880px) { .where { grid-template-columns: 0.85fr 1.15fr; gap: 3rem; } }

/* 08 Cooling chooser (signature) */
.chooser { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 940px) { .chooser { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; } }
.chooser__form { padding: clamp(1.4rem, 1rem + 2vw, 2.2rem); background: var(--cloud); border-radius: var(--r); }
.chooser__form .q { display: grid; gap: 0.4rem; margin-bottom: 1.4rem; }
.chooser__form label { font-weight: 700; color: var(--ink); }
.chooser__form small { font-size: var(--f-sm); font-weight: 400; color: var(--muted); }
.answer { padding: clamp(1.4rem, 1rem + 2vw, 2.2rem); background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--glacier); border-radius: var(--r); }
.answer h2 { font-size: 1.5rem; }
.answer .sub { display: block; margin-bottom: 0.8rem; font-weight: 700; color: var(--glacier-dark); }
.answer ul { margin: 1rem 0 0; padding-left: 1.2em; }
.answer li { margin-bottom: 0.4rem; }
.answer .note { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: var(--f-sm); }
.steps { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.steps li { position: relative; padding: 1.3rem 1.4rem 1.3rem 3.4rem; background: var(--cloud); border-radius: var(--r); counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 1.2rem; top: 1.25rem; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--graphite); color: #fff; font-size: 0.85rem; font-weight: 700; }
.steps b { display: block; color: var(--ink); }
.steps span { font-size: var(--f-sm); }

/* 09 FAQ */
.faq { display: grid; gap: 0.6rem; max-width: 880px; }
.bq { background: var(--cloud); border-radius: var(--r); }
.bq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; font-weight: 700; color: var(--ink); list-style: none; }
.bq summary::after { content: "+"; flex: none; color: var(--glacier-dark); font-size: 1.2rem; }
.bq[open] summary::after { content: "–"; }
.bq > div { padding: 0 1.2rem 1.1rem; }

/* 10 Form & contact */
.form { display: grid; gap: 1.1rem 1.4rem; 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.95rem; }
.req { color: var(--err); }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea { width: 100%; padding: 0.8rem 0.95rem; font: inherit; color: var(--ink); background: var(--white); border: 1px solid #c3c9d1; 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='%2322607f' 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.9rem center; background-size: 15px; padding-right: 2.4rem; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--glacier-dark); }
.picks { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.picks legend { margin-bottom: 0.5rem; padding: 0; }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; }
.pick span { display: inline-block; padding: 0.5rem 0.9rem; border: 1px solid #c3c9d1; border-radius: var(--r); background: var(--white); font-size: var(--f-sm); cursor: pointer; }
.pick input:checked + span { background: var(--glacier-dark); border-color: var(--glacier-dark); 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.85rem; color: var(--muted); }
.contact { display: grid; gap: 2.4rem; align-items: start; }
@media (min-width: 920px) { .contact { grid-template-columns: 1.15fr 0.85fr; gap: 3.2rem; } }
.contact > * { min-width: 0; }
.aside { display: grid; gap: 1rem; }
.aside__card { padding: 1.5rem; background: var(--cloud); border-radius: var(--r); }
.aside__card h2 { font-size: 1.1rem; }
.aside__card .big { display: block; margin: 0.2rem 0 0.3rem; font-size: 1.5rem; font-weight: 700; color: var(--ink); text-decoration: none; }

/* 11 Footer */
.ft { background: var(--graphite); color: #b6bfca; font-size: var(--f-sm); }
.ft a { color: #fff; }
.ft :focus-visible { outline-color: #8fc6e0; }
.ft__row { display: grid; gap: 1.6rem; padding-block: 3rem 1.8rem; }
@media (min-width: 820px) { .ft__row { grid-template-columns: 1.5fr 1fr 1fr; } }
.ft__name { margin: 0 0 0.5rem; font-size: 1.3rem; font-weight: 700; color: #fff; }
.ft h2 { margin: 0 0 0.6rem; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8fc6e0; }
.ft ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.35rem; }
.ft__base { padding-block: 1rem; border-top: 1px solid rgba(255,255,255,0.13); font-size: 0.82rem; }

/* 12 Images */
.img-placeholder { background: var(--glacier-soft); border: 1px dashed #9dbdcd; border-radius: var(--r); color: var(--muted); }
.img-placeholder b { color: var(--ink); }
