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

/* ==========================================================================
   Leo's HVAC Crew — leoshvac.xyz
   THE DEVICE: the perforation. Every block is a ticket — the top and bottom
   edges are punched with a row of semicircles in whatever colour the section
   behind it happens to be. Buttons, image frames, FAQ items and the mobile
   contact cells carry the same punched edge.
   01 Tokens · 02 Base · 03 Header · 04 Phone cells · 05 Buttons
   06 Tickets (the device) · 07 Hero · 08 Page heads · 09 Sections
   10 Earthquake (signature) · 11 FAQ · 12 Form & contact · 13 Footer · 14 Images
   ========================================================================== */

/* 01 Tokens */
:root {
  --paper: #f7f5fa; --band: #e9e4f0; --white: #ffffff;
  --ink: #2d0f3b; --ink-2: #431a55; --ink-l: #a08fac;
  --bg2: #00796b; --bg-d: #00635a; --bg-l: #ddf0ec;
  --text: #463d4e; --muted: #675d70; --line: #d8d0e0;
  --focus: #00796b; --err: #a02040;
  --disp: "Judson", Georgia, "Times New Roman", 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.14rem, 1.04rem + 0.46vw, 1.33rem);
  --f2: clamp(1.42rem, 1.2rem + 1.05vw, 1.98rem); --f3: clamp(1.9rem, 1.46rem + 2.2vw, 3rem);
  --r: 0px; --lh: 1.76; --wrap: 1080px; --col: 62ch; --hd: 60px;
  --perf: 9px; --sec: #f7f5fa;
  --pad-y: clamp(2.7rem, 2.2rem + 2.7vw, 4.3rem);
}
@media (min-width: 900px) { :root { --hd: 70px; } }

/* 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.24; 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(--bg-d); 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; }
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.5rem; font-family: var(--sans); font-size: 0.67rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bg-d); }

/* 03 Header */
.hd { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.hd__bar .wrap { display: flex; align-items: center; gap: 0.7rem; min-height: var(--hd); }
.le-logo { display: inline-flex; align-items: center; gap: 0.55rem; margin-right: auto; color: var(--ink); text-decoration: none; }
.le-logo svg { width: 30px; height: 30px; flex: none; }
.le-logo b { display: block; color: var(--ink); font-family: var(--disp); font-size: 1.22rem; font-weight: 700; line-height: 1.1; }
.le-logo small { display: block; font-size: 0.5rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bg-d); font-family: var(--sans); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; padding: 0; border: 1px solid var(--ink); border-radius: var(--r); background: var(--white); color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 18px; height: 18px; }
.lenav { display: none; }
@media (max-width: 899px) {
  .hd__bar .btn { display: none; }
  .lenav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 0.3rem 0.9rem 1rem; background: var(--white); border-bottom: 1px solid var(--line); }
  .lenav.is-open { display: flex; }
  .lenav a { padding: 0.78rem 0.2rem; border-bottom: 1px dashed var(--line); color: var(--ink); font-family: var(--disp); font-size: 1.14rem; font-weight: 700; text-decoration: none; }
  .lenav a[aria-current="page"] { color: var(--bg-d); }
}
@media (max-width: 390px) { .le-logo small { display: none; } }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .lenav { display: flex; gap: 1.45rem; }
  .lenav a { padding: 0.3rem 0 0.34rem; border-bottom: 2px dashed transparent; color: var(--text); font-family: var(--disp); font-size: 1.06rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
  .lenav a:hover { color: var(--ink); }
  .lenav a[aria-current="page"] { color: var(--ink); border-bottom: 2px dashed var(--bg2); }
}

/* 04 Phone cells */
.leph { --sec: var(--ink); display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; padding: 0.75rem 0.9rem 0.85rem; background: var(--ink); }
.leph a { position: relative; display: flex; align-items: center; justify-content: center; gap: 0.45rem; padding: 0.5rem 0.6rem 0.55rem; background: var(--white); color: var(--ink); font-family: var(--disp); font-size: 1.08rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.leph a + a { background: var(--bg2); color: #fff; }
.leph svg { width: 0.9em; height: 0.9em; flex: none; }
.leph :focus-visible { outline-offset: -3px; }
@media (min-width: 900px) { .leph { display: none; } }
@media (max-width: 360px) { .leph a { padding-inline: 0.35rem; font-size: 1rem; } }

/* The punched edge — semicircles in the colour of whatever is behind */
.perf { position: relative; }
.perf::before, .perf::after { content: ""; position: absolute; left: 0; right: 0; height: var(--perf); pointer-events: none; background-image: radial-gradient(circle at 7px 0, var(--sec) 5px, transparent 5.5px); background-size: 14px var(--perf); background-repeat: repeat-x; }
.perf::before { top: 0; }
.perf::after { bottom: 0; transform: scaleY(-1); }

/* 05 Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.66rem 1.35rem 0.7rem; border: 0; border-radius: var(--r); background: var(--bg2); color: #fff; font-family: var(--disp); font-size: 1.04rem; font-weight: 700; line-height: 1.42; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.18s; }
.btn:hover { background: var(--bg-d); color: #fff; }
.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: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--line:hover { background: var(--band); color: var(--ink); }
.btn--paper, .sec--ink a.btn--paper, .tk--ink a.btn--paper { background: var(--white); color: var(--ink); }
.btn--paper:hover, .sec--ink a.btn--paper:hover, .tk--ink a.btn--paper:hover { background: var(--bg-l); color: var(--ink); }
@media (max-width: 460px) { .btn { white-space: normal; text-align: center; } }
.btns { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* 06 Tickets — the device */
.tk { position: relative; padding: 1.7rem 1.35rem 1.75rem; background: var(--white); }
.tk > *:last-child { margin-bottom: 0; }
.tk--ink { background: var(--ink); color: #d6cadd; }
.tk--ink h2, .tk--ink h3, .tk--ink b { color: #fff; }
.tk--ink .mark { color: #7fd6c9; }
.tk--ink a:not(.btn) { color: #fff; }
.tk--ink :focus-visible { outline-color: #7fd6c9; }
.tk--tint { background: var(--bg-l); }
.tk--band { background: var(--band); }
.tks { display: grid; gap: 1.4rem; }
.tks > * { min-width: 0; }
@media (min-width: 700px) { .tks--2 { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; } }
@media (min-width: 980px) { .tks--3 { grid-template-columns: repeat(3, 1fr); } .tks--2b { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
.figband { padding-block: clamp(1.6rem, 1.3rem + 1.4vw, 2.6rem); }
.figtk { position: relative; background: var(--band); }
.figtk img, .figtk .img-placeholder { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.figtk--wide img, .figtk--wide .img-placeholder { aspect-ratio: 16 / 9; }

/* 07 Hero */
.hero { --sec: var(--band); padding-block: clamp(2.6rem, 2.1rem + 2.7vw, 4.2rem); background: var(--band); }
.hero__grid { display: grid; gap: 2.2rem; align-items: center; }
.hero__grid > * { min-width: 0; }
.hero .lede { font-size: var(--f1); line-height: 1.74; }
@media (min-width: 940px) { .hero__grid { grid-template-columns: 1.12fr 0.88fr; gap: 3rem; } }
.stub { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.stub li { margin: 0; padding: 0.7rem 0 0.75rem; border-bottom: 1px dashed var(--line); font-size: var(--f-sm); }
.stub li:first-child { padding-top: 0; }
.stub li:last-child { border-bottom: 0; padding-bottom: 0; }
.stub b { display: block; color: var(--ink); font-family: var(--disp); font-size: var(--f1); }

/* 08 Page heads */
.phead { --sec: var(--ink); padding-block: clamp(2.1rem, 1.7rem + 1.9vw, 3.2rem); background: var(--ink); color: #d6cadd; }
.phead h1 { color: #fff; }
.phead .mark { color: #7fd6c9; }
.phead a:not(.btn) { color: #fff; }
.phead :focus-visible { outline-color: #7fd6c9; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 0.85rem; padding: 0; list-style: none; font-size: 0.75rem; font-weight: 700; }
.crumbs li + li::before { content: "\2022"; margin-right: 0.45rem; color: #7fd6c9; }

/* 09 Sections */
.sec { padding-block: var(--pad-y); }
.sec--paper { --sec: var(--paper); background: var(--paper); }
.sec--white { --sec: var(--white); background: var(--white); }
.sec--band { --sec: var(--band); background: var(--band); }
.sec--ink { --sec: var(--ink); background: var(--ink); color: #d6cadd; }
.sec--ink h2, .sec--ink h3, .sec--ink b { color: #fff; }
.sec--ink .mark { color: #7fd6c9; }
.sec--ink a:not(.btn) { color: #fff; }
.sec--ink :focus-visible { outline-color: #7fd6c9; }
.sec--white .tk { background: var(--paper); }
.head { max-width: var(--col); margin-bottom: 2rem; }
.sqs { display: grid; gap: 1.1rem 2.2rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 740px) { .sqs--2 { grid-template-columns: repeat(2, 1fr); } }
.sqs > li { display: grid; grid-template-columns: 12px 1fr; gap: 0.25rem 0.95rem; margin: 0; min-width: 0; }
.sqs > li::before { content: ""; width: 12px; height: 12px; margin-top: 0.58rem; background: var(--bg2); }
.sqs b { display: block; color: var(--ink); font-family: var(--disp); font-size: var(--f1); }
.sqs p { margin: 0.05rem 0 0; font-size: var(--f-sm); }
.sec--ink .sqs > li::before { background: #7fd6c9; }
.sec--ink .sqs b { color: #fff; }
.tbl { width: 100%; border-collapse: collapse; font-size: var(--f-sm); text-align: left; }
.tbl th, .tbl td { padding: 0.66rem 0.8rem; vertical-align: top; border-bottom: 1px dashed var(--line); }
.tbl th { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tbl td:first-child { font-weight: 700; color: var(--ink); }
.scroll { overflow-x: auto; }
.map { display: block; width: 100%; height: clamp(300px, 34vw, 380px); background: var(--band); }
.where { display: grid; gap: 2.3rem; align-items: center; }
@media (min-width: 880px) { .where { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.where > * { min-width: 0; }

/* 10 Earthquake (signature) */
.eq__set { position: relative; padding: 1.6rem 1.3rem 1.65rem; background: var(--white); }
.eq__set fieldset { margin: 0 0 1.2rem; padding: 0; border: 0; min-width: 0; }
.eq__set fieldset:last-of-type { margin-bottom: 0; }
.eq__set legend { display: block; margin-bottom: 0.55rem; padding: 0; font-family: var(--disp); font-size: 1.08rem; font-weight: 700; color: var(--ink); }
.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(--paper); border: 1px dashed var(--line); 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; }
.eq { display: grid; gap: 1.6rem; }
@media (min-width: 1000px) { .eq { grid-template-columns: 0.82fr 1.18fr; gap: 2.2rem; align-items: start; } .eq__set { position: sticky; top: calc(var(--hd) + 1.4rem); } }
.eq__out { display: grid; gap: 1.5rem; }
.eq__out > * { min-width: 0; }
.eq__flag { position: relative; padding: 1.6rem 1.35rem 1.65rem; background: var(--bg2); color: #fff; }
.eq__flag b { display: block; margin-bottom: 0.25rem; font-family: var(--disp); font-weight: 700; font-size: var(--f1); color: #fff; }
.eq__flag p { font-size: var(--f-sm); }
.eq__flag :focus-visible { outline-color: #fff; }
.eq__out .tk h2 { font-size: var(--f2); }
.eq__out .tk p, .eq__out .tk ul { font-size: var(--f-sm); }

/* 11 FAQ */
.faq { display: grid; gap: 0.9rem; max-width: 880px; margin-top: 1.8rem; }
.leq { position: relative; background: var(--white); }
.leq summary { display: flex; justify-content: space-between; gap: 1.2rem; padding: 1.05rem 1.15rem; font-family: var(--disp); font-size: 1.1rem; font-weight: 700; line-height: 1.45; color: var(--ink); list-style: none; cursor: pointer; }
.leq summary::after { content: "+"; flex: none; font-family: var(--sans); color: var(--bg-d); }
.leq[open] summary::after { content: "\2212"; }
.leq[open] summary { color: var(--bg-d); }
.leq > div { padding: 0 1.15rem 1.25rem; }

/* 12 Form & contact */
.form { display: grid; gap: 1rem 1.3rem; margin-top: 1.3rem; }
@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.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(--ink); background: var(--white); border: 1px solid #c3b8cd; 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='%232d0f3b' 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 dashed #c3b8cd; 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.2rem; 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.5rem; }

/* 13 Footer */
.ft { background: var(--ink); color: #ac9db4; font-size: var(--f-sm); border-top: 5px solid var(--bg2); }
.ft a { color: #fff; }
.ft :focus-visible { outline-color: #7fd6c9; }
.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.22rem; 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: #7fd6c9; }
.ft ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.32rem; }
.ft__base { padding-block: 0.95rem; border-top: 1px dashed #431a55; font-size: 0.8rem; }

/* 14 Images */
.img-placeholder { background: var(--band); color: var(--muted); }
.img-placeholder b { color: var(--ink); overflow-wrap: anywhere; }
