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

/* ==========================================================================
   Harbor Lane HVAC — harborlanehvac.xyz
   THE DEVICE: the card deck. Sections are filed cards stacked one on another,
   each with a coloured top edge carrying its tab, overlapping just enough that
   the one beneath shows. The page reads as a set of records, not a scroll.
   01 Tokens · 02 Base · 03 Header · 04 Top card (contact) · 05 Buttons
   06 Hero · 07 Page heads · 08 The deck · 09 Sections
   10 Before you buy (signature) · 11 FAQ · 12 Form & contact · 13 Footer · 14 Images
   ========================================================================== */

/* 01 Tokens */
:root {
  --paper: #f1f0ee; --paper-2: #e3e1de; --white: #ffffff;
  --plum: #2a2635; --plum-2: #3d3750; --plum-soft: #d5d2dc;
  --rose: #d94f5c; --rose-dark: #ab3542; --rose-soft: #fae1e3;
  --ink: #17141e; --text: #4c4757; --muted: #6f6a7b; --line: #d5d2ce;
  --focus: #ab3542; --err: #a02820;
  --disp: "Rokkitt", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-sm: 0.91rem; --f-xs: 0.77rem; --f0: clamp(1rem, 0.97rem + 0.16vw, 1.06rem);
  --f1: clamp(1.14rem, 1.03rem + 0.48vw, 1.34rem);
  --f2: clamp(1.55rem, 1.3rem + 1.3vw, 2.15rem); --f3: clamp(1.95rem, 1.5rem + 2.3vw, 3rem);
  --r: 4px; --wrap: 1100px; --pad-y: clamp(2.6rem, 2.1rem + 3vw, 4.2rem);
}

/* 02 Base */
body { background: var(--paper); color: var(--text); font-family: var(--sans); font-size: var(--f0); line-height: 1.7; }
h1, h2, h3 { margin: 0 0 0.42em; font-family: var(--disp); 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); }
p { margin: 0 0 0.95em; max-width: 64ch; }
p:last-child { margin-bottom: 0; }
a { color: var(--rose-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; }
.file { display: block; margin-bottom: 0.5rem; font-family: var(--disp); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose-dark); }
.sec--plum .file, .phead .file, .hero .file { color: #f0a6ad; }
.mt { margin-top: 2rem; }

/* 03 Header */
.hd { position: sticky; top: 0; z-index: 30; background: var(--plum); }
.hd__bar .wrap { display: flex; align-items: center; gap: 0.6rem; min-height: 56px; }
.hl-logo { display: inline-flex; align-items: center; gap: 0.5rem; margin-right: auto; color: #fff; text-decoration: none; }
.hl-logo svg { width: 25px; height: 25px; flex: none; }
.hl-logo b { display: block; font-family: var(--disp); font-size: 1.12rem; font-weight: 700; color: #fff; }
.hl-logo small { display: block; margin-top: -0.14em; font-size: 0.53rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #f0a6ad; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255,255,255,0.3); border-radius: var(--r); background: transparent; color: #fff; cursor: pointer; }
.nav-toggle svg { width: 18px; height: 18px; }
.hlnav { display: none; }
@media (max-width: 919px) {
  .hd__bar .btn { display: none; }
  .hlnav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 0.3rem 1rem 1.2rem; background: var(--plum); }
  .hlnav.is-open { display: flex; }
  .hlnav a { padding: 0.8rem 0.2rem; border-bottom: 1px solid rgba(255,255,255,0.18); color: #fff; font-family: var(--disp); font-size: 1.12rem; font-weight: 700; text-decoration: none; }
  .hlnav a[aria-current="page"] { color: #f0a6ad; }
  .hlnav :focus-visible { outline-color: #f0a6ad; }
}
@media (max-width: 400px) { .hl-logo small { display: none; } }
@media (min-width: 920px) {
  .hd__bar .wrap { min-height: 66px; gap: 1.3rem; }
  .nav-toggle { display: none; }
  .hlnav { display: flex; gap: 1.3rem; }
  .hlnav a { padding: 0.3rem 0; color: #a9a3b8; font-family: var(--disp); font-size: 1.02rem; font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
  .hlnav a:hover { color: #fff; }
  .hlnav a[aria-current="page"] { color: #fff; border-bottom-color: var(--rose); }
  .hlnav :focus-visible { outline-color: #f0a6ad; }
}

/* 04 Top card — phones only; the first card of the deck carries the contact */
.topcard { padding: 0 1rem 0.7rem; background: var(--plum); }
.topcard__in { display: flex; align-items: stretch; background: var(--white); border-top: 5px solid var(--rose); border-radius: var(--r) var(--r) 0 0; overflow: hidden; }
.topcard a { display: flex; flex-direction: column; justify-content: center; flex: 1 1 0; padding: 0.5rem 0.8rem; color: var(--ink); text-decoration: none; }
.topcard a + a { border-left: 1px solid var(--line); }
.topcard .k { font-family: var(--disp); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose-dark); }
.topcard .v { font-family: var(--disp); font-size: 1.02rem; font-weight: 700; white-space: nowrap; }
.topcard a:hover { background: var(--rose-soft); }
@media (min-width: 920px) { .topcard { display: none; } }

/* 05 Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.62rem 1.25rem; border: 0; border-radius: var(--r); background: var(--rose); color: #2b0d11; font-family: var(--disp); font-size: 1.04rem; font-weight: 700; line-height: 1.35; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.18s, color 0.18s; }
.btn:hover { background: #f0a6ad; color: #2b0d11; }
.btn svg { width: 1em; height: 1em; flex: none; }
.btn--plum { background: var(--plum); color: #fff; }
.btn--plum:hover { background: var(--ink); color: #fff; }
.btn--line { background: transparent; color: var(--plum); box-shadow: inset 0 0 0 2px var(--plum); }
.btn--line:hover { background: var(--plum); color: #fff; }
.btn--paper, .phead a.btn--paper, .sec--plum a.btn--paper, .hero a.btn--paper, .buy__out a.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover, .phead a.btn--paper:hover, .sec--plum a.btn--paper:hover, .hero a.btn--paper:hover, .buy__out a.btn--paper:hover { background: #fff; color: var(--ink); }
@media (max-width: 460px) { .btn { white-space: normal; text-align: center; } }
.btns { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }

/* 06 Hero */
.hero { padding-block: clamp(2.4rem, 1.9rem + 2.8vw, 4rem); background: var(--plum); color: #a9a3b8; }
.hero h1 { color: #fff; max-width: 19ch; }
.hero p.lede { font-size: var(--f1); line-height: 1.6; color: #e0dce8; max-width: 52ch; }
.hero :focus-visible { outline-color: #f0a6ad; }

/* 07 Page heads */
.phead { padding-block: clamp(2rem, 1.6rem + 2.1vw, 3rem); background: var(--plum); color: #a9a3b8; }
.phead h1 { color: #fff; max-width: 21ch; }
.phead p { font-size: 1.02rem; max-width: 58ch; }
.phead a:not(.btn) { color: #fff; }
.phead :focus-visible { outline-color: #f0a6ad; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 0.9rem; padding: 0; list-style: none; font-size: 0.83rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.45rem; color: #f0a6ad; }

/* 08 The deck — the device */
.deck { margin-top: 1.9rem; }
.card { position: relative; padding: 1.5rem clamp(1.2rem, 1rem + 1.1vw, 1.9rem) 1.9rem; background: var(--white); border-top: 7px solid var(--rose); border-radius: var(--r) var(--r) 0 0; box-shadow: 0 -3px 14px rgba(23,20,30,0.08); }
.card + .card { margin-top: -6px; }
.card:nth-child(even) { border-top-color: var(--plum); }
.card__tab { display: inline-block; margin: -1.5rem 0 1rem -0.1rem; padding: 0.22rem 0.7rem; border-radius: 0 0 var(--r) var(--r); background: var(--rose); color: #2b0d11; font-family: var(--disp); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.card:nth-child(even) .card__tab { background: var(--plum); color: #fff; }
.card h3 { margin-bottom: 0.35rem; }
.card p { font-size: var(--f-sm); }
.card ul { margin: 0.7rem 0 0; padding-left: 1.05em; font-size: var(--f-sm); }
.card li { margin-bottom: 0.28rem; }
.card .btns { margin-top: 1.1rem; }
.card--last { border-radius: var(--r); }

/* 09 Sections */
.sec { padding-block: var(--pad-y); }
.sec--paper { background: var(--paper); }
.sec--white { background: var(--white); }
.sec--tint { background: var(--paper-2); }
.sec--plum { background: var(--plum); color: #a9a3b8; }
.sec--plum h2, .sec--plum h3, .sec--plum b { color: #fff; }
.sec--plum a:not(.btn) { color: #fff; }
.sec--plum :focus-visible { outline-color: #f0a6ad; }
.sec--plum .card { background: #332e42; box-shadow: none; }
.sec--plum .card h3, .sec--plum .card b { color: #fff; }
.sec--plum .card { color: #c4bfd0; }
.head { max-width: 640px; }
.plain { margin: 1.2rem 0 0; padding: 0; list-style: none; }
.plain li { padding: 0.78rem 0; border-bottom: 1px solid var(--line); }
.sec--plum .plain li { border-bottom-color: rgba(255,255,255,0.2); }
.plain b { display: block; font-family: var(--disp); font-size: 1.06rem; }
.plain span { font-size: var(--f-sm); }
.figwide img, .figwide .img-placeholder { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); }
.figbox img, .figbox .img-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.twin { display: grid; gap: 2rem; }
@media (min-width: 900px) { .twin { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.twin > * { min-width: 0; }
.map { display: block; width: 100%; height: clamp(300px, 34vw, 380px); background: var(--paper-2); border-radius: var(--r); }
.where { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 880px) { .where { grid-template-columns: 1fr 1fr; gap: 3rem; } }

/* 10 Before you buy (signature) */
.buy { display: grid; gap: 1.8rem; }
@media (min-width: 980px) { .buy { grid-template-columns: 0.85fr 1.15fr; gap: 2.6rem; align-items: start; } .buy__set { position: sticky; top: 6rem; } }
.buy__set { padding: clamp(1.2rem, 1rem + 1.2vw, 1.7rem); background: var(--white); border-top: 7px solid var(--rose); border-radius: var(--r) var(--r) 0 0; }
.buy__set fieldset { margin: 0 0 1.3rem; padding: 0; border: 0; }
.buy__set fieldset:last-of-type { margin-bottom: 0; }
.buy__set legend { display: block; margin-bottom: 0.55rem; padding: 0; font-family: var(--disp); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.opts { display: grid; gap: 0.35rem; }
.opts label { position: relative; }
.opts input { position: absolute; opacity: 0; }
.opts span { display: block; padding: 0.52rem 0.75rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); font-size: var(--f-sm); font-weight: 600; cursor: pointer; }
.opts input:checked + span { background: var(--plum); border-color: var(--plum); color: #fff; }
.opts input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.buy__out { padding: clamp(1.2rem, 1rem + 1.2vw, 1.7rem); background: var(--plum); color: #a9a3b8; border-radius: var(--r); }
.buy__out h2 { color: #fff; font-size: 1.02rem; }
.buy__out b { color: #fff; }
.buy__title { display: block; margin: 0.4rem 0 0.7rem; font-family: var(--disp); font-size: clamp(1.35rem, 1.15rem + 1.1vw, 1.9rem); font-weight: 700; color: #fff; line-height: 1.22; }
.buy__out ul { margin: 0.8rem 0 0; padding-left: 1.15em; font-size: var(--f-sm); }
.buy__out li { margin-bottom: 0.42rem; }
.buy__flag { margin-top: 1.2rem; padding: 0.95rem 1.1rem; background: #3d3750; border-left: 4px solid var(--rose); font-size: var(--f-sm); }
.buy__flag b { display: block; margin-bottom: 0.2rem; }
.buy__out .caveat { margin-top: 1.2rem; padding-top: 0.9rem; border-top: 1px solid rgba(255,255,255,0.22); font-size: 0.85rem; color: #8e88a0; }
.buy__out :focus-visible { outline-color: #f0a6ad; }

/* 11 FAQ */
.faq { display: grid; gap: 0; max-width: 860px; margin-top: 1.3rem; border-top: 2px solid var(--plum); }
.hlq { border-bottom: 1px solid var(--line); }
.hlq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 0.95rem 0; font-family: var(--disp); font-weight: 700; font-size: 1.1rem; color: var(--ink); list-style: none; cursor: pointer; }
.hlq summary::after { content: "+"; flex: none; font-family: var(--sans); font-size: 0.95rem; color: var(--rose-dark); }
.hlq[open] summary::after { content: "\2013"; }
.hlq > div { padding: 0 0 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(--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 #bab6b2; 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='%232a2635' 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(--plum); }
.picks { margin: 0; padding: 0; border: 0; display: flex; flex-direction: row; 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.44rem 0.9rem; border: 1px solid #bab6b2; border-radius: var(--r); background: var(--white); font-size: var(--f-sm); cursor: pointer; }
.pick input:checked + span { background: var(--plum); border-color: var(--plum); 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.1fr 0.9fr; gap: 3rem; } }
.contact > * { min-width: 0; }
.side { display: grid; gap: 1rem; }
.side__card { padding: 1.2rem 1.35rem; background: var(--white); border-top: 5px solid var(--rose); border-radius: var(--r) var(--r) 0 0; }
.side__card h2 { font-size: 1.08rem; }
.side__card .big { display: block; margin: 0.15rem 0 0.3rem; font-family: var(--disp); font-size: 1.5rem; font-weight: 700; color: var(--ink); text-decoration: none; }

/* 13 Footer */
.ft { background: var(--ink); color: #8f8a9c; font-size: var(--f-sm); }
.ft a { color: #fff; }
.ft :focus-visible { outline-color: #f0a6ad; }
.ft__row { display: grid; gap: 1.5rem; padding-block: 2.8rem 1.6rem; }
@media (min-width: 820px) { .ft__row { grid-template-columns: 1.5fr 1fr 1fr; } }
.ft__name { margin: 0 0 0.45rem; font-family: var(--disp); font-size: 1.2rem; font-weight: 700; color: #fff; }
.ft h2 { margin: 0 0 0.55rem; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: #f0a6ad; }
.ft ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.32rem; }
.ft p { max-width: none; }
.ft__base { padding-block: 0.9rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.8rem; }

/* 14 Images */
.img-placeholder { background: var(--paper-2); border: 1px dashed #b6b2ae; color: var(--muted); }
.img-placeholder b { color: var(--ink); overflow-wrap: anywhere; }
