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

/* ==========================================================================
   Oakridge HVAC Works — oakridgehvac.xyz
   Under the oaks: parchment, bark, olive, acorn gold, tree rings.
   01 Tokens · 02 Base · 03 Header · 04 Capsule · 05 Buttons · 06 Hero rings
   07 Page heads · 08 Sections · 09 Air calendar (signature) · 10 FAQ
   11 Form & contact · 12 Footer · 13 Images
   ========================================================================== */

/* 01 Tokens */
:root {
  --parch: #f7f4ec; --parch-2: #ece6d6; --white: #fffdf8; --bark: #3e3a2f; --bark-2: #58513f;
  --olive: #5c6b22; --olive-2: #6b7a2e; --olive-soft: #e7ebd2; --acorn: #c9a227; --acorn-soft: #f6ecc8;
  --ink: #2c2a22; --text: #4a4639; --muted: #6a6454; --line: #ddd5c0;
  --focus: #5c6b22; --err: #a8261e; --ok: #3f6b2a;
  --serif: "Vollkorn", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-sm: 0.94rem; --f0: clamp(1rem, 0.97rem + 0.16vw, 1.08rem); --f1: clamp(1.25rem, 1.12rem + 0.55vw, 1.6rem);
  --f2: clamp(1.95rem, 1.5rem + 2vw, 3rem); --f3: clamp(2.6rem, 1.8rem + 3.6vw, 4.7rem);
  --wrap: 1140px; --pad-y: clamp(3.4rem, 2.4rem + 4.2vw, 6.2rem); --r: 10px;
}

/* 02 Base */
body { background: var(--parch); color: var(--text); font-family: var(--sans); font-size: var(--f0); line-height: 1.7; }
h1, h2, h3 { margin: 0 0 0.45em; font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.12; text-wrap: balance; }
h1 { font-size: var(--f3); }
h2 { font-size: var(--f2); }
h3 { font-size: var(--f1); }
p { margin: 0 0 1em; max-width: 64ch; }
p:last-child { margin-bottom: 0; }
a { color: var(--olive); text-underline-offset: 3px; font-weight: 600; }
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; }
.acorn { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.8rem; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--olive); }
.acorn::before { content: ""; width: 12px; height: 15px; border-radius: 50% 50% 45% 45% / 35% 35% 65% 65%; background: var(--acorn); box-shadow: inset 0 4px 0 var(--bark-2); }

/* 03 Header */
.hd { position: sticky; top: 0; z-index: 30; background: var(--parch); border-bottom: 1px solid var(--line); }
.hd .wrap { position: relative; display: flex; align-items: center; gap: 1rem; min-height: 78px; }
.or-logo { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; }
.or-logo svg { width: 42px; height: 42px; flex: none; }
.or-logo b { display: block; font-family: var(--serif); font-size: 1.55rem; font-weight: 700; line-height: 1; }
.or-logo small { display: block; margin-top: 0.15rem; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.onav { display: none; }
.hd__end { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.hd .hd__tel, .hd .hd__cta { display: none; }
.hd__tel { color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-toggle { flex: none; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.9rem; border: 1px solid var(--bark); border-radius: var(--r); background: transparent; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.nav-toggle svg { width: 18px; height: 18px; }
@media (max-width: 999px) {
  .onav { position: absolute; top: 100%; left: -1rem; right: -1rem; flex-direction: column; padding: 0.5rem 1.2rem 1.4rem; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -24px rgba(44,42,34,0.5); }
  .onav.is-open { display: flex; }
  .onav a { padding: 0.8rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.35rem; }
  .onav a[aria-current="page"] { color: var(--olive); font-style: italic; }
}
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .hd .hd__tel { display: inline; }
  .hd .hd__cta { display: inline-flex; }
  .onav { display: flex; gap: 0.3rem; margin-left: 2.4rem; }
  .onav a { position: relative; padding: 0.5rem 0.8rem; color: var(--text); text-decoration: none; font-weight: 500; }
  .onav a:hover { color: var(--ink); }
  .onav a[aria-current="page"] { color: var(--ink); }
  .onav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -0.1rem; width: 10px; height: 12px; margin-left: -5px; border-radius: 50% 50% 45% 45% / 35% 35% 65% 65%; background: var(--acorn); }
}

/* 04 Capsule (under 1000px): bottom-centre Call | Book */
.capsule { position: fixed; left: 50%; bottom: 14px; z-index: 40; display: flex; transform: translateX(-50%); border-radius: 999px; overflow: hidden; background: var(--bark); box-shadow: 0 14px 30px -12px rgba(44,42,34,0.65); border: 2px solid var(--white); }
.capsule a { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.8rem 1.25rem; color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.capsule a + a { background: var(--acorn); color: var(--ink); }
.capsule svg { width: 17px; height: 17px; }
.capsule a:focus-visible { outline: 3px solid var(--acorn); outline-offset: -5px; }
.capsule a + a:focus-visible { outline-color: var(--bark); }
@media (min-width: 1000px) { .capsule { display: none; } }
@media (max-width: 999px) { .ft { padding-bottom: 84px; } }

/* 05 Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.4rem; border: 2px solid transparent; border-radius: var(--r); font: inherit; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.btn svg { width: 1em; height: 1em; }
.btn--olive { background: var(--olive); color: #fff; }
.btn--olive:hover { background: var(--bark); color: #fff; }
.btn--acorn { background: var(--acorn); color: var(--ink); }
.btn--acorn:hover { background: #d8b440; color: var(--ink); }
.btn--line { border-color: var(--bark); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--bark); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }

/* 06 Hero rings */
.hero .wrap { display: grid; gap: 2.4rem; align-items: center; padding-block: clamp(2.8rem, 2.2rem + 3vw, 5.4rem); }
@media (min-width: 920px) { .hero .wrap { grid-template-columns: 1.05fr 0.95fr; } }
.hero .wrap > * { min-width: 0; }
.hero p.lede { font-size: var(--f1); line-height: 1.5; color: var(--ink); max-width: 36ch; }
.rings { position: relative; width: min(100%, 480px); margin-inline: auto; aspect-ratio: 1; }
.rings::before, .rings::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid var(--line); }
.rings::before { inset: 0; }
.rings::after { inset: 5%; border-color: var(--acorn-soft); border-width: 10px; }
.rings figure { position: absolute; inset: 11%; }
.rings figure img, .rings figure .img-placeholder { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* 07 Page heads */
.phead { background: var(--parch-2); }
.phead .wrap { padding-block: clamp(2.6rem, 2rem + 3vw, 4.6rem); }
.phead h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.7rem); max-width: 20ch; }
.phead p { font-size: 1.15rem; max-width: 54ch; color: var(--ink); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: 0.88rem; }
.crumbs li + li::before { content: "·"; margin-right: 0.5rem; color: var(--olive); }

/* 08 Sections */
.sec { padding-block: var(--pad-y); }
.sec--white { background: var(--white); }
.sec--bark { background: var(--bark); color: #e6e0cf; }
.sec--bark h2, .sec--bark h3 { color: #fff; }
.sec--bark .acorn { color: var(--acorn); }
.sec--bark a:not(.btn) { color: var(--acorn); }
.sec--bark :focus-visible { outline-color: var(--acorn); }
.months { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin: 1.6rem 0 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .months { grid-template-columns: repeat(12, 1fr); } }
.months li { display: grid; place-items: center; min-height: 3.2rem; border-radius: 6px; font-size: 0.8rem; font-weight: 700; margin: 0; }
.months .m-pollen { background: var(--acorn); color: var(--ink); }
.months .m-heat { background: #c2572a; color: #fff; }
.months .m-wind { background: var(--bark-2); color: #fff; }
.months .m-cool { background: var(--olive-soft); color: var(--ink); }
.key { display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 0.8rem 0 0; padding: 0; list-style: none; font-size: 0.88rem; }
.key li { display: inline-flex; align-items: center; gap: 0.45rem; }
.key i { width: 14px; height: 14px; border-radius: 3px; }
.duo { display: grid; gap: 1.4rem; }
@media (min-width: 860px) { .duo { grid-template-columns: 1fr 1fr; } }
.ringcard { display: grid; gap: 1rem; padding: clamp(1.6rem, 1rem + 2.4vw, 2.6rem); border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.ringcard figure img, .ringcard figure .img-placeholder { border-radius: 999px 999px var(--r) var(--r); }
.ringcard ul { margin: 0 0 0.6rem; padding: 0; list-style: none; }
.ringcard li { position: relative; padding: 0.4rem 0 0.4rem 1.6rem; border-bottom: 1px dotted var(--line); }
.ringcard li::before { content: ""; position: absolute; left: 0; top: 0.8rem; width: 11px; height: 11px; border-radius: 50%; border: 3px double var(--olive); }
.ringcard .btn { justify-self: start; }
.split { display: grid; gap: 2.4rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split > * { min-width: 0; }
.split--top { align-items: start; }
.leaves { margin: 0; padding: 0; list-style: none; display: grid; gap: 1rem; }
.leaves li { padding: 1.1rem 1.3rem; border-radius: 0 var(--r) var(--r) var(--r); background: var(--white); border-left: 4px solid var(--olive); }
.sec--white .leaves li { background: var(--parch); }
.leaves h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.leaves p { margin: 0; font-size: var(--f-sm); }
.map { display: block; width: 100%; height: clamp(300px, 36vw, 440px); border: 1px solid var(--line); border-radius: var(--r); background: var(--parch-2); filter: sepia(0.15); }

/* 09 Air calendar (signature) */
.cal { padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.cal__months { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; margin: 0 0 1.2rem; padding: 0; border: 0; }
@media (min-width: 620px) { .cal__months { grid-template-columns: repeat(6, 1fr); } }
.cal__months legend { grid-column: 1 / -1; margin-bottom: 0.5rem; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.cal__months label { position: relative; cursor: pointer; }
.cal__months input { position: absolute; opacity: 0; }
.cal__months span { display: block; padding: 0.55rem 0; border-radius: 8px; border: 1px solid var(--line); background: var(--parch); text-align: center; font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.cal__months input:checked + span { background: var(--olive); border-color: var(--olive); color: #fff; }
.cal__months input:focus-visible + span { outline: 3px solid var(--acorn); outline-offset: 2px; }
.calout { padding: 1.3rem 1.4rem; border-radius: var(--r); background: var(--acorn-soft); color: var(--ink); }
.calout[hidden] { display: none; }
.calout .v-title { margin: 0 0 0.3rem; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.calout ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.calout li::marker { color: var(--olive); }

/* 10 FAQ */
.faq { display: grid; gap: 0; max-width: 860px; border-top: 1px solid var(--line); }
.oq { border-bottom: 1px solid var(--line); }
.oq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.oq summary::after { content: ""; flex: none; width: 14px; height: 17px; margin-top: 0.3rem; border-radius: 50% 50% 45% 45% / 35% 35% 65% 65%; background: var(--line); box-shadow: inset 0 5px 0 var(--bark-2); transition: background-color 0.2s; }
.oq[open] summary::after { background: var(--acorn); }
.oq > div { padding: 0 0 1.2rem; }

/* 11 Form & contact */
.form { display: grid; gap: 1rem 1.2rem; 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(--olive); }
.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 #c8bea4; border-radius: 8px; }
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='%235c6b22' stroke-width='2.4'%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: 16px; padding-right: 2.4rem; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--olive); }
.form-status { margin: 0.8rem 0 0; }
.form-note { margin: 0.5rem 0 0; font-size: 0.86rem; color: var(--muted); }
.formcard { padding: clamp(1.5rem, 1rem + 2vw, 2.6rem); border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.stump { display: grid; place-items: center; text-align: center; aspect-ratio: 1; max-width: 360px; margin-inline: auto; padding: 2.4rem; border-radius: 50%; background: repeating-radial-gradient(circle, var(--parch-2) 0 14px, var(--white) 14px 17px); border: 6px solid var(--bark-2); }
.stump h2 { font-size: 1.4rem; margin-bottom: 0.2rem; }
.stump .big { display: block; margin: 0.2rem 0 0.6rem; font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 700; color: var(--ink); text-decoration: none; }
.stump p { margin: 0; font-size: 0.92rem; background: var(--white); }

/* 12 Footer */
.ft { background: var(--bark); color: #d8d1bd; font-size: var(--f-sm); }
.ft .wrap { display: grid; gap: 2rem; padding-block: 3rem 1.6rem; }
@media (min-width: 820px) { .ft .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.ft h2 { color: #fff; font-size: 1.3rem; }
.ft ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.35rem; }
.ft a { color: var(--acorn); }
.ft :focus-visible { outline-color: var(--acorn); }
.ft__base { grid-column: 1 / -1; padding-top: 1.2rem; border-top: 1px solid var(--bark-2); font-size: 0.85rem; }
.ft__base p { margin: 0; max-width: none; }

/* 13 Images */
.img-placeholder { background: var(--parch-2); border: 1px dashed #bfb393; color: var(--muted); }
.img-placeholder b { color: var(--ink); }
figure img, figure .img-placeholder { border-radius: var(--r); }
.mt { margin-top: 2rem; }
.key .k-pollen { background: var(--acorn); } .key .k-heat { background: #c2572a; } .key .k-wind { background: var(--bark-2); } .key .k-cool { background: var(--olive-soft); border: 1px solid var(--line); }
.sec--bark .faq, .sec--bark .oq { border-color: #5f5846; } .sec--bark .oq summary { color: #fff; } .sec--bark .oq summary::after { background: #6f6852; }
.capsule svg { flex: none; display: block; }
