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

/* ==========================================================================
   NovaVault HVAC Studio — novavaulthvac.xyz
   Steel and brass. A dark hero with a floating info card; services as a
   numbered accordion; a light footer.
   01 Tokens · 02 Base · 03 Header · 04 Hero & page heads · 05 Buttons
   06 Accordion & blocks · 07 Unit diagram (signature) · 08 FAQ
   09 Form & contact · 10 Footer · 11 Images
   ========================================================================== */

/* 01 Tokens */
:root {
  --ink: #0e1116; --steel: #1b2029; --steel-2: #262b33; --steel-3: #3a414c; --text: #394049; --muted: #5b626c; --line: #d9dde2;
  --paper: #eef0f2; --white: #ffffff; --plate: #e3e6ea;
  --brass: #b8872b; --brass-hover: #cf9c3a; --brass-ink: #7a5a17; --brass-light: #e0b865; --brass-soft: #f5ecd9;
  --focus: #7a5a17; --err: #b42318; --ok: #1f6f3a;
  --head: "Syne", "Arial Black", system-ui, sans-serif;
  --body: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-sm: 0.93rem; --f0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem); --f1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --f2: clamp(1.8rem, 1.4rem + 1.7vw, 2.8rem); --f3: clamp(2.4rem, 1.7rem + 3.2vw, 4.4rem);
  --wrap: 1200px; --pad-y: clamp(3.4rem, 2.4rem + 4vw, 6rem);
}

/* 02 Base */
body { background: var(--paper); color: var(--text); font-family: var(--body); font-size: var(--f0); line-height: 1.7; }
h1, h2, h3 { margin: 0 0 0.45em; font-family: var(--head); font-weight: 700; color: var(--ink); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: var(--f3); font-weight: 800; }
h2 { font-size: var(--f2); }
h3 { font-size: var(--f1); line-height: 1.2; }
p { margin: 0 0 1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }
a { color: var(--brass-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
strong, b { color: var(--ink); }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.eyeline { display: block; margin-bottom: 1rem; font-family: var(--head); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-ink); }

/* 03 Header */
.hd { background: var(--ink); color: #c9ced6; border-bottom: 3px solid var(--brass); }
.hd .wrap { display: flex; align-items: center; gap: 1rem; min-height: 74px; }
.vault { display: inline-flex; align-items: center; gap: 0.6rem; color: #fff; text-decoration: none; }
.vault svg { width: 40px; height: 40px; flex: none; }
.vault b { font-family: var(--head); font-size: 1.35rem; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.vault small { display: block; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-light); }
.hnav { display: none; }
.hnav a { padding: 0.5rem 0.9rem; color: #dfe3e8; text-decoration: none; font-weight: 500; }
.hnav a:hover { color: var(--brass-light); }
.hnav a[aria-current="page"] { color: #fff; background: linear-gradient(var(--brass), var(--brass)) center bottom / calc(100% - 1.8rem) 2px no-repeat; }
.hd__right { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.hd__call { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.9rem; border: 1.5px solid var(--brass); border-radius: 999px; color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hd__call svg { width: 16px; height: 16px; color: var(--brass-light); }
.hd__call:hover { background: var(--brass); color: var(--ink); }
.hd__call .num { display: none; }
.hd .hd__cta { display: none; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }
.hd :focus-visible { outline-color: var(--brass-light); }
@media (max-width: 1049px) {
  .hd { position: relative; }
  .hnav { position: absolute; top: 100%; left: 0; right: 0; z-index: 80; flex-direction: column; padding: 0.6rem 1rem 1.2rem; background: var(--ink); border-bottom: 3px solid var(--brass); }
  .hnav.is-open { display: flex; }
  .hnav a { padding: 0.9rem 0.3rem; border-bottom: 1px solid var(--steel-3); }
  .hnav a[aria-current="page"] { background: none; color: var(--brass-light); }
}
@media (min-width: 1050px) {
  .hnav { display: flex; margin-left: auto; }
  .hd__right { margin-left: 0.6rem; }
  .hd__call .num { display: inline; }
  .hd__call .word { display: none; }
  .hd .hd__cta { display: inline-flex; }
  .nav-toggle { display: none; }
}
@media (max-width: 400px) { .vault small { display: none; } .vault svg { width: 32px; height: 32px; } .vault b { font-size: 1.15rem; } }

/* 04 Hero & page heads */
.hero { position: relative; background: var(--ink); color: #c9ced6; padding-bottom: 4rem; }
.hero__img { position: relative; height: clamp(210px, 52vw, 620px); }
.hero__img > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.hero__img .img-placeholder { background: var(--steel-2); border: 0; color: #9aa2ad; }
.hero__img .img-placeholder b { color: #fff; }
.hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,17,22,0) 40%, rgba(14,17,22,0.9) 100%); pointer-events: none; }
.hero__body { position: relative; display: grid; gap: 2rem; margin-top: clamp(-9rem, -12vw, -3rem); }
@media (min-width: 960px) { .hero__body { grid-template-columns: 1.3fr 0.7fr; align-items: end; } }
.hero__body > * { min-width: 0; }
.hero h1 { color: #fff; max-width: 13ch; }
.hero .eyeline { color: var(--brass-light); }
.hero p.big { font-size: var(--f1); line-height: 1.5; max-width: 40ch; }
.hero :focus-visible { outline-color: var(--brass-light); }
.infocard { padding: 1.6rem; background: var(--white); color: var(--text); border-top: 5px solid var(--brass); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); }
.infocard h2 { font-size: 1.25rem; }
.infocard dl { margin: 0 0 1.2rem; }
.infocard dt { margin-top: 0.7rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.infocard dd { margin: 0.1rem 0 0; }
.infocard .num { font-family: var(--head); font-size: 1.6rem; font-weight: 800; color: var(--ink); text-decoration: none; }
.infocard :focus-visible { outline-color: var(--focus); }
.phead { background: var(--ink); color: #c9ced6; padding-block: clamp(2.4rem, 2rem + 3vw, 4.6rem); }
.phead h1 { color: #fff; font-size: clamp(2.1rem, 1.6rem + 2.4vw, 3.6rem); max-width: 18ch; }
.phead p { font-size: var(--f1); line-height: 1.5; max-width: 54ch; }
.phead .eyeline { color: var(--brass-light); }
.phead .btns { margin-top: 1.4rem; }
.phead :focus-visible { outline-color: var(--brass-light); }
.crumbs { display: flex; gap: 0.5rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: var(--f-sm); color: #9aa2ad; }
.crumbs li + li::before { content: "—"; margin-right: 0.5rem; color: var(--brass); }
.crumbs a { color: #fff; }

/* 05 Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.5rem; border: 2px solid transparent; border-radius: 2px; font-family: var(--head); font-size: 1rem; font-weight: 700; letter-spacing: 0.02em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.btn svg { width: 1em; height: 1em; }
.btn--brass { background: var(--brass); color: var(--ink); }
.btn--brass:hover { background: var(--brass-hover); color: var(--ink); }
.btn--ghost { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--steel-3); color: #fff; }

/* 06 Accordion & blocks */
.sec { padding-block: var(--pad-y); }
.sec--white { background: var(--white); }
.sec--steel { background: var(--steel); color: #c9ced6; }
.sec--steel h2, .sec--steel h3 { color: #fff; }
.sec--steel .eyeline { color: var(--brass-light); }
.sec--steel a { color: var(--brass-light); }
.sec--steel :focus-visible { outline-color: var(--brass-light); }
.head { display: grid; gap: 0.6rem 3rem; margin-bottom: clamp(1.6rem, 1.2rem + 2vw, 2.8rem); }
@media (min-width: 900px) { .head { grid-template-columns: 1fr 1fr; align-items: end; } }
.head h2 { margin: 0; }
.acc { border-top: 2px solid var(--ink); counter-reset: acc; }
.acc details { border-bottom: 1px solid var(--line); counter-increment: acc; }
.acc summary { display: grid; grid-template-columns: 3.4rem 1fr auto; align-items: center; gap: 1rem; padding: 1.2rem 0; list-style: none; }
.acc summary::before { content: counter(acc, decimal-leading-zero); font-family: var(--head); font-size: 1.5rem; font-weight: 800; color: var(--brass-ink); }
.acc summary::after { content: ""; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform 0.2s; }
.acc details[open] summary::after { transform: rotate(-135deg); }
.acc summary h3 { margin: 0; font-size: var(--f1); }
.acc details > div { padding: 0 0 1.4rem 4.4rem; }
@media (max-width: 600px) { .acc details > div { padding-left: 0; } }
.aud { display: grid; gap: 2rem; }
@media (min-width: 860px) { .aud { grid-template-columns: 1fr 1px 1fr; gap: 3rem; } .aud::before { content: ""; grid-column: 2; grid-row: 1; background: var(--brass); } .aud > :first-child { grid-column: 1; grid-row: 1; } .aud > :last-child { grid-column: 3; grid-row: 1; } }
.aud svg { width: 44px; height: 44px; color: var(--brass-light); margin-bottom: 1rem; }
.aud ul { padding-left: 1.1em; }
.split { display: grid; gap: clamp(1.6rem, 1rem + 3vw, 4rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split > * { min-width: 0; }
.map-brass { display: block; width: 100%; aspect-ratio: 4 / 3; min-height: 280px; border: 6px solid var(--brass); background: var(--plate); }
.plain-list { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 2rem; }
.plain-list li { padding: 0.35rem 0; border-bottom: 1px solid var(--line); break-inside: avoid; }

/* 07 Unit diagram (signature) */
.diagram { display: grid; gap: 2rem; align-items: center; padding: clamp(1.2rem, 1rem + 2vw, 2.4rem); background: var(--white); border: 1px solid var(--line); }
@media (min-width: 960px) { .diagram { grid-template-columns: 1fr 1fr; } }
.diagram > * { min-width: 0; }
.diagram svg { width: 100%; max-width: 520px; height: auto; margin-inline: auto; }
.legend-list { margin: 0; padding: 0; list-style: none; counter-reset: lg; }
.legend-list li { display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.9rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); counter-increment: lg; }
.legend-list li::before { content: counter(lg); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; background: var(--ink); color: var(--brass-light); font-family: var(--head); font-weight: 800; }
.legend-list b { display: block; font-family: var(--head); font-size: 1.1rem; }
.legend-list span { font-size: var(--f-sm); }
.cards2 { display: grid; gap: 1.2rem; }
@media (min-width: 860px) { .cards2 { grid-template-columns: 1fr 1fr; } }
.plate { padding: 1.6rem; background: var(--white); border-left: 5px solid var(--brass); }
.plate--dark { background: var(--steel-2); color: #c9ced6; }
.plate--dark h2, .plate--dark h3 { color: #fff; }
.plate h3 { font-size: 1.25rem; }
.caution { padding: 1.3rem 1.5rem; background: var(--brass-soft); border: 2px solid var(--brass); }
.caution p { margin: 0; }
.trio { display: grid; gap: 1rem; }
@media (min-width: 860px) { .trio { grid-template-columns: repeat(3, 1fr); } }

/* 08 FAQ */
.faq-list { border-top: 2px solid var(--ink); }
.nq { border-bottom: 1px solid var(--line); }
.nq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-family: var(--head); font-size: 1.12rem; font-weight: 700; color: var(--ink); list-style: none; }
.nq summary::after { content: "+"; font-family: var(--body); font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--brass-ink); }
.nq[open] { border-left: 4px solid var(--brass); padding-left: 1rem; }
.nq[open] summary::after { content: "×"; }
.nq > div { padding-bottom: 1.2rem; }

/* 09 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: 600; font-size: var(--f-sm); color: var(--ink); }
.req { color: var(--brass-ink); }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea { width: 100%; padding: 0.8rem 0.9rem; font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid #b8bfc7; border-radius: 2px; }
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='%237a5a17' stroke-width='2.5'%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.4rem; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brass-ink); }
.form-status { margin: 0.8rem 0 0; }
.form-note { margin: 0.5rem 0 0; font-size: 0.85rem; color: var(--muted); }
.contact-cols { display: grid; gap: 2rem; }
@media (min-width: 940px) { .contact-cols { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }
.contact-cols > * { min-width: 0; }

/* 10 Footer */
.ft { background: var(--plate); border-top: 3px solid var(--ink); font-size: var(--f-sm); }
.ft__grid { display: grid; gap: 1.8rem; padding-block: 2.8rem 1.8rem; }
@media (min-width: 820px) { .ft__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.ft h2 { margin-bottom: 0.6rem; font-size: 1rem; letter-spacing: 0.04em; }
.ft ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.35rem; }
.ft a { color: var(--ink); }
.ft__base { padding-block: 1.1rem; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }
.ft__base p { margin: 0; max-width: none; }

/* 11 Images */
.img-placeholder { background: var(--plate); border: 1px dashed #aab2bb; color: var(--muted); }
.img-placeholder b { color: var(--ink); }
.sec--steel .img-placeholder, .plate--dark .img-placeholder { background: var(--steel-2); border-color: var(--steel-3); color: #9aa2ad; }
figure img, figure .img-placeholder { border-radius: 0; }
figcaption { margin-top: 0.5rem; font-size: 0.86rem; color: var(--muted); }
.mt { margin-top: 2rem; }

.hero__lead { display: flex; flex-direction: column; }
@media (max-width: 959px) { .hero__lead .btns { order: 3; margin-bottom: 1.4rem; } .hero__lead p.big { order: 4; } }
