@font-face { font-family: "Encode Sans"; src: url("fonts/encode-sans.woff2") format("woff2"); font-weight: 100 900; font-stretch: 75% 125%; font-display: swap; }
@font-face { font-family: "Onest"; src: url("fonts/onest.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
    --boom: #f1f2ee;      /* bucket truck white */
    --fir: #1d3a2e;       /* wet fir needles */
    --fir-2: #284c3d;
    --bark: #2b2420;      /* text */
    --wire: #66717a;      /* line grey, rules */
    --hivis: #e0541b;     /* hi vis shirt, the call button */
    --hivis-dark: #b8400f;
    --sawdust: #e6d3aa;   /* fresh cut round */
    --paper: #ffffff;
    --rule: #cfd2cc;
    --radius: 6px;
    --radius-lg: 12px;
    --max-width: 1180px;
    --display: "Encode Sans", "Arial", sans-serif;
    --body: "Onest", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--boom); color: var(--bark); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-stretch: 108%; line-height: 1.02; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; font-stretch: 112%; line-height: 1.15; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--paper); padding: 10px 14px; z-index: 200; border-radius: var(--radius); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--hivis); outline-offset: 3px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: var(--radius); font-family: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; transition: background-color .2s ease; }
.btn-call { background: var(--hivis); color: #fff; }
.btn-call:hover { background: var(--hivis-dark); }
.btn-quiet { background: transparent; color: var(--fir); box-shadow: inset 0 0 0 2px var(--fir); }
.btn-quiet:hover { background: var(--fir); color: #fff; }

/* top bar + header */
.topbar { background: var(--bark); color: #e9e6df; font-size: .9rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 60; background: var(--fir); color: #fff; transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-name { font-family: var(--display); font-stretch: 150%; font-weight: 900; font-size: 1.55rem; letter-spacing: .01em; }
.brand-sub { font-size: .8rem; color: var(--sawdust); margin-top: 4px; letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: .98rem; color: #e8efe9; }
.site-nav a:hover, .site-nav a.is-active { color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.site-nav .nav-call { background: var(--hivis); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.site-nav .nav-call:hover { background: var(--hivis-dark); text-decoration: none; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: var(--radius); background: var(--fir-2); color: #fff; font-family: inherit; cursor: pointer; position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { position: absolute; left: 13px; width: 22px; height: 2px; background: #fff; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle-bars { top: 23px; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* hero */
.hero { background: linear-gradient(var(--fir) 0, var(--fir) calc(100% - 170px), var(--boom) calc(100% - 170px)); color: #fff; padding-top: clamp(48px, 7vw, 88px); }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.8rem); font-weight: 800; font-stretch: 112%; max-width: 17ch; letter-spacing: -0.015em; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-top: 32px; }
.lede { font-size: 1.15rem; color: #dce6df; max-width: 56ch; margin: 0; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero-mail { color: var(--sawdust); font-weight: 600; text-underline-offset: 4px; }
.hero-strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; margin-top: 48px; }
.hs { margin: 0; }
.hs img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--radius); }
.hs-a img { aspect-ratio: 4 / 3; }
.hs figcaption { color: var(--wire); font-size: .88rem; margin-top: 8px; }

/* work */
.work { padding: clamp(64px, 9vw, 112px) 0; }
.work-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.work-head { position: sticky; top: 112px; }
.work-head p { margin-top: 18px; max-width: 42ch; }
.work-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--bark); }
.work-list li { padding: 26px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 24px; }
.work-list p { margin: 0; }
/* clearance check, the spice */
.clearance { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: clamp(64px, 9vw, 110px) 0; }
.clear-head { max-width: 760px; }
.clear-head p { margin-top: 16px; }
.clear-tool { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; margin-top: 36px; align-items: start; }
.clear-stage { background: #e9efe9; border-radius: var(--radius-lg); overflow: hidden; }
.clear-svg { display: block; width: 100%; height: auto; }
.cs-ground { fill: #c9c3b2; }
.cs-post, .cs-arm { fill: #6d5a49; }
.cs-roof { fill: #8b8f8a; }
.cs-wall { fill: #d8d9d2; }
.cs-door { fill: #9ea39d; }
.cs-house { opacity: .35; transition: opacity .3s ease; }
.clear-tool[data-wire="service"] .cs-house { opacity: 1; }
.cs-wire { fill: none; stroke: var(--bark); stroke-width: 3; stroke-linecap: round; }
.cs-zone { fill: rgba(224, 84, 27, .12); stroke: var(--hivis); stroke-width: 2; stroke-dasharray: 8 6; }
.cs-trunk { fill: #5a463a; }
.cs-crown { fill: var(--fir-2); transition: fill .25s ease; }
.clear-tool.is-inside .cs-crown { fill: #3e5a3b; }
.cs-gap-line { stroke: var(--bark); stroke-width: 2; stroke-dasharray: 3 4; }
.cs-gap-label { font-family: var(--display); font-stretch: 120%; font-weight: 800; font-size: 26px; fill: var(--bark); }
.clear-controls { display: flex; flex-direction: column; gap: 18px; }
.wire-pick { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.wire-pick legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.wire-pick label { display: flex; gap: 10px; align-items: center; min-height: 48px; padding: 8px 14px; border: 1px solid var(--rule); border-radius: var(--radius); cursor: pointer; background: var(--boom); }
.wire-pick label:has(input:checked) { border-color: var(--fir); box-shadow: inset 0 0 0 1px var(--fir); background: #fff; }
.wire-pick input { accent-color: var(--fir); width: 18px; height: 18px; margin: 0; }
.gap-label { font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.gap-label output { font-family: var(--display); font-stretch: 120%; font-weight: 800; }
.gap-range { width: 100%; accent-color: var(--fir); height: 32px; margin: -6px 0 0; cursor: pointer; }
.verdict { border-left: 6px solid var(--fir); background: var(--boom); padding: 16px 18px; border-radius: 0 var(--radius) var(--radius) 0; min-height: 152px; }
.clear-tool.is-inside .verdict { border-left-color: var(--hivis); }
.verdict-head { font-family: var(--display); font-stretch: 115%; font-weight: 800; font-size: 1.3rem; margin-bottom: 6px; }
.verdict-body { margin: 0; }
.verdict-call { align-self: flex-start; }
.clear-note { font-size: .9rem; color: var(--wire); margin-top: 22px; max-width: 70ch; }

/* jobs */
.jobs { padding: clamp(64px, 9vw, 110px) 0 clamp(40px, 6vw, 70px); }
.jobs-intro { margin-top: 14px; max-width: 56ch; }
.jobs-grid { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 300px; grid-auto-flow: dense; gap: 12px; }
.jobs-grid .j-wide { grid-column: span 2; }
.j-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--fir); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; font-family: inherit; }
.j-btn img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transition: transform .5s ease, opacity .3s ease; }
.j-btn:hover img { transform: scale(1.03); }

/* reviews */
.said { padding: clamp(40px, 6vw, 70px) 0 clamp(64px, 9vw, 110px); }
.said-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px 48px; }
.said-in h2 { grid-column: 1 / -1; margin-bottom: 12px; }
.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote p { margin: 0 0 10px; }
.quote figcaption { font-weight: 700; color: var(--wire); }
.q-main { grid-row: span 2; border-top: 2px solid var(--bark); padding-top: 22px; }
.q-main p { font-family: var(--display); font-stretch: 105%; font-weight: 500; font-size: clamp(1.35rem, 2.4vw, 1.85rem); line-height: 1.3; }
.quote:not(.q-main) { border-top: 1px solid var(--rule); padding-top: 18px; }

/* crew */
.crew { background: var(--sawdust); padding: clamp(56px, 8vw, 96px) 0; }
.crew-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.crew-photo { margin: 0; }
.crew-photo img { width: 100%; border-radius: var(--radius); }
.crew-copy h2 { margin-bottom: 18px; }
.crew-copy .btn { margin-top: 6px; }

/* faq */
.faq { padding: clamp(64px, 9vw, 110px) 0; }
.faq-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-list { border-top: 2px solid var(--bark); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 1.08rem; transition: color .2s ease; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: 0 0 18px; height: 18px; background: linear-gradient(currentColor, currentColor) center / 18px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 18px no-repeat; transition: transform .3s ease; }
.faq-item.is-open summary { color: var(--fir); }
.faq-item.is-open summary::after { transform: rotate(45deg); }
.faq-answer { overflow: hidden; margin: 0; padding: 0 0 22px; max-width: 62ch; }

/* contact */
.contact { background: var(--fir); color: #fff; padding: clamp(64px, 9vw, 110px) 0; }
.contact-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-phone { font-family: var(--display); font-stretch: 140%; font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.8rem); margin: 18px 0 28px; line-height: 1; }
.contact-phone a { text-decoration: none; }
.contact-phone a:hover { color: var(--sawdust); }
.contact-facts { margin: 0; display: grid; gap: 14px; }
.contact-facts div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 12px; }
.contact-facts dt { color: var(--sawdust); }
.contact-facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.contact-form { background: var(--paper); color: var(--bark); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 6px; }
.form-lead { font-weight: 700; margin-bottom: 8px; }
.contact-form label { font-weight: 600; font-size: .95rem; margin-top: 6px; }
.contact-form input[type="text"], .contact-form textarea { width: 100%; font: inherit; padding: 12px; border: 1px solid #b9bdb6; border-radius: var(--radius); background: #fff; color: var(--bark); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--fir); outline: 2px solid var(--fir); outline-offset: 0; }
.contact-form .f-check { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.f-check input { width: 18px; height: 18px; accent-color: var(--fir); }
.contact-form .btn { margin-top: 10px; width: 100%; }
.form-error { color: #a3300a; font-weight: 600; margin: 4px 0 0; }
.form-note { font-size: .88rem; color: #5b5a55; margin: 8px 0 0; }

/* footer */
.site-footer { background: var(--bark); color: #e7e3dc; padding: 48px 0 110px; font-size: .95rem; }
.footer-in { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 32px; align-items: start; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer a { color: #fff; }
.footer-area { color: #c9c3b8; max-width: 44ch; }
.footer-small { text-align: right; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(20, 24, 21, .94); display: grid; place-items: center; padding: 64px 72px; }
.lightbox[hidden] { display: none; }
.lb-img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; border-radius: var(--radius); }
.lb-cap { color: #e9e6df; margin: 14px 0 0; text-align: center; max-width: 60ch; }
.lb-btn { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-family: inherit; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.26); }
.lb-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 16px; top: 16px; }
body.is-locked { overflow: hidden; }

/* draft bar */
.draft-bar { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 90; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 16px; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 6px 24px rgba(30, 27, 23, 0.18); font-size: 0.9rem; white-space: nowrap; }
.draft-bar p { margin: 0; }
.draft-btn { background: var(--fir); color: #fff; text-decoration: none; font-weight: 700; padding: 8px 14px; border-radius: var(--radius); }
.draft-btn:hover { background: #000; }

/* responsive */
@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--fir); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; display: none; border-top: 1px solid rgba(255,255,255,.12); }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 12px 0; min-height: 44px; }
    .site-nav .nav-call { text-align: center; margin-top: 8px; }
    .hero-row, .work-in, .clear-tool, .said-in, .crew-in, .faq-in, .contact-in { grid-template-columns: minmax(0, 1fr); }
    .work-head { position: static; }
    .q-main { grid-row: auto; }
    .jobs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 240px; }
    .footer-in { grid-template-columns: 1fr; }
    .footer-small { text-align: left; }
}
@media (max-width: 640px) {
    body { font-size: 1rem; }
    .wrap { padding: 0 16px; }
    .tb-hours { display: none; }
    .hero { background: linear-gradient(var(--fir) 0, var(--fir) calc(100% - 90px), var(--boom) calc(100% - 90px)); }
    .hero-strip { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px; }
    .hs-a { grid-column: 1 / -1; }
    .hs-b figcaption, .hs-c figcaption { font-size: .8rem; }
    .work-list li { grid-template-columns: 1fr; gap: 8px; }
    .jobs-grid { grid-auto-rows: 180px; gap: 8px; }
    .contact-form { padding: 20px; }
    .contact-facts div { grid-template-columns: 1fr; gap: 2px; }
    .draft-bar { left: 12px; right: 12px; transform: none; white-space: normal; font-size: .85rem; }
    .lightbox { padding: 64px 12px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
.cs-band { fill: none; stroke: rgba(224, 84, 27, .16); stroke-linecap: butt; transition: stroke-width .35s ease; }
.clear-tool.is-inside .cs-band { stroke: rgba(224, 84, 27, .28); }.cs-band-label { font-family: var(--body); font-size: 20px; font-weight: 600; fill: var(--hivis-dark); }
.cs-crown { stroke: #16302a; stroke-width: 1.5; stroke-linejoin: round; }
