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

/* ==========================================================================
   VividFront HVAC — vividfronthvac.xyz
   THE DEVICE: the banner. A notched pennant — purple with white type, or
   amber with near-black — labels every section, every card and every answer.
   Cards sit under a 4px amber rule. Corners are nearly square.
   01 Tokens · 02 Base · 03 Header · 04 Phone strip · 05 Buttons
   06 Banners & boxes · 07 Hero · 08 Page heads · 09 Sections
   10 Indoor heat (signature) · 11 FAQ · 12 Form & contact · 13 Footer · 14 Images
   ========================================================================== */

/* 01 Tokens */
:root {
  --paper: #fff8f0; --band: #f7ead9; --white: #ffffff;
  --ink: #7a1fa2; --ink-2: #63187f; --deep: #35123f;
  --bg2: #ffb300; --gold-t: #7a5200; --gold-l: #fff0cc;
  --text: #4a3a4f; --muted: #6f5c74; --line: #e3d5cd;
  --focus: #7a1fa2; --err: #a31545;
  --disp: "Bellota", "Trebuchet MS", Verdana, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-sm: 0.93rem; --f-xs: 0.78rem; --f0: clamp(1rem, 0.96rem + 0.2vw, 1.07rem);
  --f1: clamp(1.13rem, 1.03rem + 0.46vw, 1.32rem);
  --f2: clamp(1.4rem, 1.18rem + 1.05vw, 1.95rem); --f3: clamp(1.84rem, 1.42rem + 2.1vw, 2.85rem);
  --r: 4px; --lh: 1.74; --wrap: 1100px; --col: 62ch; --hd: 58px;
  --notch: 14px;
  --pad-y: clamp(2.7rem, 2.2rem + 2.7vw, 4.3rem);
}
@media (min-width: 900px) { :root { --hd: 68px; } }

/* 02 Base */
body { background: var(--paper); color: var(--text); font-family: var(--sans); font-size: var(--f0); line-height: var(--lh); }
h1, h2, h3 { margin: 0 0 0.45em; font-family: var(--disp); color: var(--ink); font-weight: 700; line-height: 1.25; text-wrap: balance; }
h1 { font-size: var(--f3); }
h2 { font-size: var(--f2); }
h3 { font-size: var(--f1); }
p { margin: 0 0 0.9em; }
p:last-child { margin-bottom: 0; }
a { color: var(--ink-2); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
strong, b { color: var(--deep); font-weight: 700; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.32rem; }
.wrap { width: min(100% - 1.8rem, var(--wrap)); margin-inline: auto; }
.col > * { max-width: var(--col); }
.colc { max-width: var(--col); }
.mark { display: block; margin-bottom: 0.45rem; font-family: var(--sans); font-size: 0.67rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-t); }

/* 03 Header — a solid purple bar */
.hd { position: sticky; top: 0; z-index: 40; background: var(--ink); border-bottom: 4px solid var(--bg2); }
.hd__bar .wrap { display: flex; align-items: center; gap: 0.7rem; min-height: var(--hd); }
.vf-logo { display: inline-flex; align-items: center; gap: 0.55rem; margin-right: auto; color: #fff; text-decoration: none; }
.vf-logo svg { width: 30px; height: 30px; flex: none; }
.vf-logo b { display: block; color: #fff; font-family: var(--disp); font-size: 1.16rem; line-height: 1.12; }
.vf-logo small { display: block; white-space: nowrap; font-size: 0.5rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bg2); }
.hd__tel { display: none; }
.hd :focus-visible { outline-color: var(--bg2); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; padding: 0; border: 2px solid var(--bg2); border-radius: var(--r); background: transparent; color: #fff; cursor: pointer; }
.nav-toggle svg { width: 18px; height: 18px; }
.vfnav { display: none; }
@media (max-width: 899px) {
  .hd__bar .btn { display: none; }
  .vfnav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 0.3rem 0.9rem 1rem; background: var(--ink); border-bottom: 4px solid var(--bg2); }
  .vfnav.is-open { display: flex; }
  .vfnav a { padding: 0.78rem 0.2rem; border-bottom: 1px solid #9c56ba; color: #fff; font-family: var(--disp); font-size: 1.12rem; font-weight: 700; text-decoration: none; }
  .vfnav a[aria-current="page"] { color: var(--bg2); }
}
@media (max-width: 380px) { .vf-logo small { display: none; } }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .vfnav { display: flex; gap: 1.3rem; }
  .vfnav a { padding: 0.3rem 0 0.32rem; border-bottom: 3px solid transparent; color: #f0e2f6; font-family: var(--disp); font-size: 1.02rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
  .vfnav a:hover { color: #fff; }
  .vfnav a[aria-current="page"] { color: #fff; border-bottom-color: var(--bg2); }
  .hd__tel { display: inline-flex; align-items: center; gap: 0.4rem; color: #fff; font-family: var(--disp); font-size: 1.12rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
  .hd__tel:hover { color: var(--bg2); }
  .hd__tel svg { width: 0.85em; height: 0.85em; flex: none; }
}

@media (min-width: 900px) and (max-width: 1039px) { .vf-logo small { display: none; } .vfnav { gap: 1rem; } .hd__tel { font-size: 1.04rem; } }

/* 04 Phone strip — amber, directly under the bar, phones only */
.vfph { display: grid; grid-template-columns: 1fr auto; background: var(--bg2); border-bottom: 2px solid var(--deep); }
.vfph a { display: flex; align-items: center; justify-content: center; gap: 0.45rem; padding: 0.5rem 0.9rem 0.55rem; color: var(--deep); font-family: var(--disp); font-size: 1.1rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.vfph a + a { border-left: 2px solid var(--deep); background: var(--deep); color: #fff; }
.vfph svg { width: 0.9em; height: 0.9em; flex: none; }
.vfph :focus-visible { outline-color: var(--deep); outline-offset: -4px; }
.vfph a + a:focus-visible { outline-color: var(--bg2); }
@media (min-width: 900px) { .vfph { display: none; } }
@media (max-width: 360px) { .vfph a { padding-inline: 0.55rem; font-size: 1rem; } }

/* 05 Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.58rem 1.3rem 0.62rem; border: 0; border-radius: var(--r); background: var(--bg2); color: var(--deep); font-family: var(--disp); font-size: 1.02rem; font-weight: 700; line-height: 1.42; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.18s, color 0.18s; }
.btn:hover { background: #ffc740; color: var(--deep); }
.btn svg { width: 1em; height: 1em; flex: none; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); color: #fff; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--paper, .sec--ink a.btn--paper, .sec--deep a.btn--paper, .phead a.btn--paper { background: var(--white); color: var(--ink); }
.btn--paper:hover, .sec--ink a.btn--paper:hover, .sec--deep a.btn--paper:hover, .phead a.btn--paper:hover { background: var(--gold-l); color: var(--ink); }
@media (max-width: 460px) { .btn { white-space: normal; text-align: center; } }
.btns { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* 06 Banners & boxes — the device */
.bn { display: inline-block; max-width: 100%; margin: 0 0 0.9rem; padding: 0.26rem 2rem 0.3rem 0.85rem; background: var(--ink); color: #fff; font-family: var(--disp); font-size: 0.86rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, calc(100% - var(--notch)) 50%, 100% 100%, 0 100%); }
.bn--gold { background: var(--bg2); color: var(--deep); }
.bn--white { background: var(--white); color: var(--ink); }
.bx { padding: 1.3rem 1.25rem 1.35rem; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--bg2); border-radius: var(--r); }
.bx > *:last-child { margin-bottom: 0; }
.bx--ink { background: var(--ink); border-color: var(--ink); border-top-color: var(--bg2); color: #f0e2f6; }
.bx--ink h2, .bx--ink h3, .bx--ink b { color: #fff; }
.bx--ink .mark { color: var(--bg2); }
.bx--ink a:not(.btn) { color: #fff; }
.bx--ink :focus-visible { outline-color: var(--bg2); }
.bx--gold { background: var(--gold-l); border-color: #f0d69a; }
.bx--flat { padding: 0; background: transparent; border: 0; }
.bxs { display: grid; gap: 1.2rem; }
.bxs > * { min-width: 0; }
@media (min-width: 680px) { .bxs--2 { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; } }
@media (min-width: 980px) { .bxs--3 { grid-template-columns: repeat(3, 1fr); } .bxs--2b { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; } }

/* 07 Hero — purple block, then a full-bleed photograph band */
.hero { padding-block: clamp(2.5rem, 2rem + 2.6vw, 4rem); background: var(--ink); color: #eddcf4; }
.hero h1 { color: #fff; }
.hero .lede { max-width: 58ch; font-size: var(--f1); line-height: 1.68; }
.hero b { color: #fff; }
.hero a:not(.btn) { color: #fff; }
.hero :focus-visible { outline-color: var(--bg2); }
.bleed { width: 100%; background: var(--band); }
.bleed img, .bleed .img-placeholder { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 700px) { .bleed img, .bleed .img-placeholder { aspect-ratio: 16 / 10; } }
.facts { display: grid; gap: 0.7rem; margin: 1.7rem 0 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(3, 1fr); gap: 0.9rem; } }
.facts li { margin: 0; padding: 0.7rem 0.85rem 0.75rem; background: #63187f; border-left: 4px solid var(--bg2); font-size: var(--f-sm); }
.facts b { display: block; color: #fff; font-family: var(--disp); }

/* 08 Page heads */
.phead { padding-block: clamp(2rem, 1.7rem + 1.9vw, 3.1rem); background: var(--deep); color: #e2d2e8; }
.phead h1 { color: #fff; }
.phead a:not(.btn) { color: #fff; }
.phead .mark { color: var(--bg2); }
.phead :focus-visible { outline-color: var(--bg2); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 0.8rem; padding: 0; list-style: none; font-size: 0.75rem; font-weight: 700; }
.crumbs li + li::before { content: "/"; margin-right: 0.45rem; color: var(--bg2); }

/* 09 Sections */
.sec { padding-block: var(--pad-y); }
.sec--paper { background: var(--paper); }
.sec--white { background: var(--white); }
.sec--band { background: var(--band); }
.sec--ink { background: var(--ink); color: #eddcf4; }
.sec--deep { background: var(--deep); color: #e2d2e8; }
.sec--ink h2, .sec--ink h3, .sec--ink b, .sec--deep h2, .sec--deep h3, .sec--deep b { color: #fff; }
.sec--ink .mark, .sec--deep .mark { color: var(--bg2); }
.sec--ink a:not(.btn), .sec--deep a:not(.btn) { color: #fff; }
.sec--ink :focus-visible, .sec--deep :focus-visible { outline-color: var(--bg2); }
.sec--ink .bn, .sec--deep .bn { background: var(--bg2); color: var(--deep); }
.head { max-width: var(--col); margin-bottom: 1.9rem; }
.rule { height: 4px; margin: 0 0 1.6rem; background: var(--bg2); }
.tbl { width: 100%; border-collapse: collapse; font-size: var(--f-sm); text-align: left; }
.tbl th, .tbl td { padding: 0.62rem 0.7rem; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl th { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-t); }
.tbl td:first-child { font-weight: 700; color: var(--deep); }
.scroll { overflow-x: auto; }
.figwide img, .figwide .img-placeholder { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r); object-fit: cover; }
.figbox img, .figbox .img-placeholder { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r); object-fit: cover; }
.map { display: block; width: 100%; height: clamp(300px, 34vw, 380px); border: 1px solid var(--line); border-radius: var(--r); background: var(--band); }
.where { display: grid; gap: 2.2rem; align-items: center; }
@media (min-width: 880px) { .where { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.where > * { min-width: 0; }
.num { display: grid; gap: 1.1rem 2.2rem; margin: 0; padding: 0; list-style: none; counter-reset: n; }
@media (min-width: 760px) { .num--2 { grid-template-columns: repeat(2, 1fr); } }
.num > li { display: grid; grid-template-columns: 2.1rem 1fr; gap: 0.2rem 0.95rem; margin: 0; min-width: 0; }
.num > li::before { counter-increment: n; content: counter(n, decimal-leading-zero); grid-row: span 2; align-self: start; font-family: var(--disp); font-size: 1.05rem; font-weight: 700; color: var(--gold-t); }
.num b { display: block; color: var(--deep); }
.num p { margin: 0.1rem 0 0; font-size: var(--f-sm); }
.sec--ink .num > li::before, .sec--deep .num > li::before { color: var(--bg2); }
.refs { display: grid; gap: 0.85rem; margin: 0; padding: 0; list-style: none; max-width: 820px; }
.refs li { margin: 0; padding: 0.8rem 1rem 0.85rem; background: var(--white); border-left: 5px solid var(--bg2); font-size: var(--f-sm); }
.refs b { display: block; margin-bottom: 0.12rem; font-family: var(--disp); font-size: var(--f1); color: var(--ink); }
.sec--white .refs li { background: var(--paper); }

/* 10 Indoor heat (signature) */
.wh__set { padding: 1.25rem 1.2rem 1.3rem; background: var(--gold-l); border: 1px solid #f0d69a; border-top: 4px solid var(--bg2); border-radius: var(--r); }
.wh__set fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.wh__set legend { display: block; margin-bottom: 0.55rem; padding: 0; font-family: var(--disp); font-size: 1.06rem; font-weight: 700; color: var(--ink); }
.wh__cols { display: grid; gap: 1.2rem; }
@media (min-width: 740px) { .wh__cols { grid-template-columns: 1.15fr 0.85fr; gap: 1.8rem; } }
.opts { display: grid; gap: 0.32rem; }
.opts label { position: relative; display: block; }
.opts input { position: absolute; opacity: 0; }
.opts span { display: block; padding: 0.5rem 0.8rem; background: var(--white); border: 1px solid #e0cda0; border-radius: var(--r); font-size: var(--f-sm); cursor: pointer; }
.opts input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.opts input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.wh__out { display: grid; gap: 1.2rem; margin-top: 1.4rem; }
.wh__out > * { min-width: 0; }
.wh__flag { padding: 1.1rem 1.2rem 1.15rem; background: var(--bg2); border-radius: var(--r); color: var(--deep); }
.wh__flag b { display: block; margin-bottom: 0.2rem; font-family: var(--disp); font-size: var(--f1); color: var(--deep); }
.wh__flag p { font-size: var(--f-sm); }
.wh__flag :focus-visible { outline-color: var(--deep); }
.wh__v { padding: 1.4rem 1.3rem 1.45rem; background: var(--ink); border-radius: var(--r); color: #eddcf4; }
.wh__v h2 { color: #fff; font-size: var(--f2); }
.wh__v b { color: #fff; }
.wh__v :focus-visible { outline-color: var(--bg2); }
.wh__pair { display: grid; gap: 1.2rem; }
@media (min-width: 960px) { .wh__pair { grid-template-columns: repeat(2, 1fr); align-items: start; } }
.wh__pair > * { min-width: 0; }
.wh__out .bx p, .wh__out .bx ul { font-size: var(--f-sm); }

/* 11 FAQ */
.faq { display: grid; gap: 0.6rem; max-width: 880px; margin-top: 1.7rem; }
.vfq { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--ink); border-radius: var(--r); }
.vfq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 1.05rem; font-family: var(--disp); font-size: 1.07rem; font-weight: 700; line-height: 1.45; color: var(--ink); list-style: none; cursor: pointer; }
.vfq summary::after { content: "\25be"; flex: none; color: var(--gold-t); }
.vfq[open] summary::after { content: "\25b4"; }
.vfq[open] { border-left-color: var(--bg2); }
.vfq > div { padding: 0 1.05rem 1.1rem; }

/* 12 Form & contact */
.form { display: grid; gap: 1rem 1.3rem; 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(--deep); font-size: 0.94rem; }
.req { color: var(--err); }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], select, textarea { width: 100%; padding: 0.72rem 0.9rem; font: inherit; color: var(--deep); background: var(--white); border: 1px solid #cbb9c2; 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='%237a1fa2' 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.85rem center; background-size: 15px; padding-right: 2.3rem; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); }
.picks { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.picks legend { margin-bottom: 0.45rem; padding: 0; }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; }
.pick span { display: inline-block; padding: 0.42rem 0.9rem; background: var(--white); border: 1px solid #cbb9c2; border-radius: var(--r); font-size: var(--f-sm); cursor: pointer; }
.pick input:checked + span { background: var(--ink); border-color: var(--ink); 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.84rem; color: var(--muted); }
.contact { display: grid; gap: 2.1rem; align-items: start; }
@media (min-width: 920px) { .contact { grid-template-columns: 1.08fr 0.92fr; gap: 2.6rem; } }
.contact > * { min-width: 0; }
.side { display: grid; gap: 1.2rem; }

/* 13 Footer */
.ft { background: var(--deep); color: #bda8c5; font-size: var(--f-sm); border-top: 4px solid var(--bg2); }
.ft a { color: #fff; }
.ft :focus-visible { outline-color: var(--bg2); }
.ft__row { display: grid; gap: 1.5rem; padding-block: 2.8rem 1.7rem; }
@media (min-width: 820px) { .ft__row { grid-template-columns: 1.5fr 1fr 1fr; } }
.ft__name { margin: 0 0 0.5rem; font-family: var(--disp); font-size: 1.16rem; font-weight: 700; color: #fff; }
.ft h2 { margin: 0 0 0.55rem; font-family: var(--sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.19em; text-transform: uppercase; color: var(--bg2); }
.ft ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.32rem; }
.ft__base { padding-block: 0.95rem; border-top: 1px solid #55265f; font-size: 0.8rem; }

/* 14 Images */
.img-placeholder { background: var(--band); border: 1px solid var(--line); color: var(--muted); }
.img-placeholder b { color: var(--deep); overflow-wrap: anywhere; }
