/* Layout: dark one-page site. Big condensed type, the logo's chimney crown and brick courses as the dividers, red used only for actions and the crown. */
:root {
  --ink: #0a0a09;
  --soot: #131312;
  --brick: #262625;
  --line: #2f2f2d;
  --ash: #a9a59d;
  --bone: #f2eee7;
  --ember: #b92f1b;
  --flame: #ff6044;
  --urgent: #ff6044;
  --soon: #e8b04a;
  --later: #7fc29b;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { background: var(--ink); color: var(--bone); font: 400 17px/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font: 500 0.78rem/1.3 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--flame); margin: 0; }
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; font-weight: 900; line-height: 0.95; margin: 0; text-wrap: balance; letter-spacing: 0.005em; }
h2 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); }
h3 { font-size: 1.7rem; font-weight: 800; }
p { margin: 0; }
.lede { color: var(--ash); max-width: 62ch; font-size: 1.08rem; }
.ph { border-bottom: 1px dashed var(--flame); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0.7rem 1.4rem; font: 800 1.15rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; border: 2px solid var(--ember); background: var(--ember); color: #fff; cursor: pointer; border-radius: 2px; transition: background 0.15s, border-color 0.15s; }
.btn:hover { background: #d23a22; border-color: #d23a22; }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--bone); }
.btn.ghost:hover { border-color: var(--bone); background: transparent; }

/* header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--ink) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; min-width: 0; }
.brand img { height: 42px; width: auto; flex: none; }
.brand b { font: 900 1.45rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.brand b i { font-style: normal; color: var(--flame); }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { font: 500 0.78rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--ash); padding-block: 0.5rem; }
.nav a:not(.btn):hover { color: var(--bone); }
.nav .btn { min-height: 42px; padding: 0.5rem 1.1rem; font-size: 1.05rem; }

@media (max-width: 520px) { .brand b { font-size: 1.05rem; } .brand img { height: 34px; width: auto; } .nav .btn { padding: 0.5rem 0.8rem; font-size: 0.95rem; } }

/* hero */
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 3.5rem); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero-copy { display: grid; gap: 1.4rem; min-width: 0; }
.hero h1 { font-size: clamp(3.2rem, 9.2vw, 6.6rem); }
.hero h1 em { font-style: normal; color: var(--flame); }
.hero .lede { font-size: 1.15rem; color: #cfcac1; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.season { font: 500 0.8rem/1.5 var(--mono); letter-spacing: 0.04em; color: var(--ash); border-top: 1px solid var(--line); padding-top: 1rem; max-width: 52ch; }
.season b { color: var(--flame); font-weight: 500; }
.hero-logo { position: relative; justify-self: center; width: 100%; max-width: 470px; min-width: 0; }
.hero-logo::before { content: ""; position: absolute; inset: 8% 5% 20%; background: radial-gradient(closest-side, rgba(185, 47, 27, 0.35), transparent 72%); filter: blur(24px); }
.hero-logo img { position: relative; width: 100%; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-logo { max-width: 340px; order: -1; justify-self: start; } }

/* chimney crown and brick courses, taken from the logo */
.stack { display: block; }
.crown { height: 16px; background: var(--ember); clip-path: polygon(0 100%, 1.2% 0, 98.8% 0, 100% 100%); }
.courses { height: 84px; background-color: var(--ink); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='28'><rect width='56' height='28' fill='%230a0a09'/><g fill='%23262625'><rect x='1' y='1' width='26' height='12'/><rect x='29' y='1' width='26' height='12'/><rect x='-13' y='15' width='26' height='12'/><rect x='15' y='15' width='26' height='12'/><rect x='43' y='15' width='26' height='12'/></g></svg>"); background-size: 56px 28px; background-position: center top; }

/* facts strip */
.facts { border-bottom: 1px solid var(--line); background: var(--soot); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.facts li { padding: 1.4rem 1.4rem 1.4rem 0; display: grid; gap: 0.3rem; min-width: 0; }
.facts li + li { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.facts strong { font: 900 2.3rem/1 var(--display); text-transform: uppercase; }
.facts span { color: var(--ash); font-size: 0.94rem; }
@media (max-width: 760px) { .facts ul { grid-template-columns: 1fr; } .facts li, .facts li + li { padding: 1rem 0; border-left: 0; } .facts li + li { border-top: 1px solid var(--line); } }

section.block { padding-block: clamp(3.5rem, 8vw, 6rem); }
.block + .block { border-top: 1px solid var(--line); }
.head { display: grid; gap: 0.9rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.panel { background: var(--soot); border: 1px solid var(--line); border-radius: 2px; padding: 1.6rem; display: grid; gap: 1rem; align-content: start; min-width: 0; }
.panel .tag { font: 500 0.75rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); }
.panel p { color: #cfcac1; font-size: 0.98rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; font-size: 0.96rem; }
.ticks li { position: relative; padding-left: 1.3rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.58em; width: 0.5rem; height: 0.5rem; background: var(--ember); }
@media (max-width: 920px) { .services { grid-template-columns: 1fr; } }

/* promise */
.promise { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.vows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); min-width: 0; }
.vows li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); display: grid; gap: 0.3rem; }
.vows h3 { font-size: 1.5rem; }
.vows p { color: #cfcac1; font-size: 0.98rem; }
.report { background: var(--soot); border: 1px solid var(--line); border-radius: 2px; min-width: 0; }
.report-head { display: flex; justify-content: space-between; gap: 0.5rem 1rem; flex-wrap: wrap; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); font: 500 0.72rem/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ash); }
.finding { padding: 1.1rem 1.2rem; border-bottom: 1px solid var(--line); display: grid; gap: 0.5rem; justify-items: start; }
.finding strong { font: 800 1.3rem/1.15 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.finding p { color: #cfcac1; font-size: 0.95rem; }
.pill { font: 500 0.7rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; padding: 0.35rem 0.6rem; border: 1px solid currentColor; border-radius: 2px; }
.pill.urgent { color: var(--urgent); }
.pill.soon { color: var(--soon); }
.pill.later { color: var(--later); }
.report-note { padding: 0.9rem 1.2rem; font-size: 0.85rem; line-height: 1.4; color: var(--ash); background: var(--ink); }
@media (max-width: 900px) { .promise { grid-template-columns: 1fr; } }

/* chimney and fireplace types */
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.type { background: var(--soot); border: 1px solid var(--line); border-radius: 2px; display: grid; align-content: start; min-width: 0; overflow: hidden; }
.type svg { width: 100%; height: auto; display: block; background: #0f0f0e; border-bottom: 1px solid var(--line); }
.type-body { padding: 1.3rem 1.4rem 1.5rem; display: grid; gap: 0.8rem; align-content: start; }
.type .tag { font: 500 0.75rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--flame); }
.type p { color: #cfcac1; font-size: 0.97rem; }
.type dl { margin: 0; display: grid; gap: 0.7rem; border-top: 1px solid var(--line); padding-top: 0.9rem; font-size: 0.92rem; }
.type dt { font: 500 0.72rem/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ash); margin-bottom: 0.2rem; }
.type dd { margin: 0; color: #cfcac1; }
@media (max-width: 1000px) { .types { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .types { grid-template-columns: 1fr; } }

/* inspection levels */
.levels { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.levels .head { margin-bottom: 0; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 2px; min-width: 0; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { font: 500 0.72rem/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ash); background: var(--soot); }
td:first-child { font: 900 1.7rem/1 var(--display); text-transform: uppercase; white-space: nowrap; color: var(--flame); }
td { color: #cfcac1; }
@media (max-width: 900px) { .levels { grid-template-columns: 1fr; } }

/* creosote */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.stage { display: grid; gap: 1rem; align-content: start; min-width: 0; }
.stage svg { width: 100%; max-width: 220px; height: auto; background: var(--soot); border: 1px solid var(--line); border-radius: 2px; }
.stage .tag { font: 500 0.75rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--flame); }
.stage p { color: #cfcac1; font-size: 0.98rem; }
.stage dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.8rem; font-size: 0.9rem; border-top: 1px solid var(--line); padding-top: 0.8rem; }
.stage dt { font: 500 0.72rem/1.9 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ash); }
.stage dd { margin: 0; }
@media (max-width: 860px) { .stages { grid-template-columns: 1fr; } .stage { grid-template-columns: 180px 1fr; column-gap: 1.4rem; } .stage svg { grid-row: span 3; } }
@media (max-width: 520px) { .stage { grid-template-columns: 1fr; } .stage svg { grid-row: auto; max-width: 180px; } }

/* signs */
.signs { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.signs .ticks { grid-template-columns: 1fr 1fr; gap: 0.8rem 2rem; font-size: 1rem; }
.alert { border: 2px solid var(--ember); padding: 1.5rem; display: grid; gap: 0.7rem; border-radius: 2px; background: var(--soot); }
.alert h3 { color: var(--flame); }
.alert p { color: #cfcac1; font-size: 0.98rem; }
@media (max-width: 900px) { .signs { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .signs .ticks { grid-template-columns: 1fr; } }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; border: 1px solid var(--line); border-radius: 2px; }
.steps li { counter-increment: step; padding: 1.4rem; display: grid; gap: 0.6rem; align-content: start; min-width: 0; background: var(--soot); }
.steps li + li { border-left: 1px solid var(--line); }
.steps li::before { content: "Step " counter(step); font: 500 0.75rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--flame); }
.steps h3 { font-size: 1.45rem; }
.steps p { color: #cfcac1; font-size: 0.93rem; line-height: 1.5; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } .steps li + li { border-left: 0; } .steps li:nth-child(even) { border-left: 1px solid var(--line); } .steps li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps li:nth-child(even) { border-left: 0; } .steps li:nth-child(n+2) { border-top: 1px solid var(--line); } }

/* faq */
.faq { display: grid; max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font: 800 1.45rem/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 1.5rem/1 var(--mono); color: var(--flame); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: #cfcac1; padding: 0 2.5rem 1.4rem 0; max-width: 64ch; }

/* quote */
.quote { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.contact { display: grid; gap: 1.4rem; min-width: 0; }
.contact dl { margin: 0; display: grid; gap: 1.1rem; }
.contact dt { font: 500 0.72rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); margin-bottom: 0.3rem; }
.contact dd { margin: 0; font: 800 1.7rem/1.15 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
form { background: var(--soot); border: 1px solid var(--line); border-radius: 2px; padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: 1.1rem; min-width: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
label { display: grid; gap: 0.4rem; font: 500 0.74rem/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ash); min-width: 0; }
input, select, textarea { width: 100%; font: 400 1rem/1.4 var(--body); letter-spacing: 0; text-transform: none; color: var(--bone); background: var(--ink); border: 1px solid #3d3d3a; border-radius: 2px; padding: 0.75rem 0.85rem; min-height: 48px; }
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { border-color: var(--flame); outline: 2px solid var(--flame); outline-offset: 1px; }
.result { display: grid; gap: 0.8rem; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.result[hidden] { display: none; }
.result p { color: #cfcac1; font-size: 0.95rem; }
.result textarea { font: 400 0.9rem/1.5 var(--mono); min-height: 170px; }
.copy-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
#copy-status { font: 500 0.78rem/1 var(--mono); color: var(--flame); }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; } }

/* footer */
.site-foot { border-top: 1px solid var(--line); background: var(--soot); padding-block: 2.5rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; }
.site-foot .brand img { height: 52px; }
.site-foot small { color: var(--ash); font: 400 0.85rem/1.5 var(--body); }

/* multipage additions */
.menu-btn { display: none; align-items: center; min-height: 44px; padding: 0 1rem; font: 500 0.78rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone); background: transparent; border: 1px solid var(--line); border-radius: 2px; cursor: pointer; }
.nav a[aria-current="page"]:not(.btn) { color: var(--bone); box-shadow: inset 0 -2px 0 var(--ember); }
@media (max-width: 1040px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--soot); border-bottom: 1px solid var(--line); padding: 0.4rem var(--gutter) 1.4rem; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { display: block; padding: 1rem 0; font-size: 0.9rem; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]:not(.btn) { box-shadow: none; color: var(--flame); }
  .nav .btn { width: 100%; margin-top: 1rem; min-height: 48px; font-size: 1.15rem; }
}
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-head .wrap { display: grid; gap: 1.1rem; }
.page-head h1 { font-size: clamp(2.8rem, 7.5vw, 5.2rem); }
.page-head .lede { font-size: 1.12rem; color: #cfcac1; }
.crumbs { font: 500 0.75rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ash); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--bone); }
.band { background: var(--soot); border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 6vw, 4rem); }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.band h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.band p { color: var(--ash); margin-top: 0.6rem; max-width: 52ch; }
.chips { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chips a { display: inline-block; padding: 0.8rem 1.1rem; border: 1px solid var(--line); background: var(--soot); text-decoration: none; font: 800 1.25rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; border-radius: 2px; }
.chips a:hover { border-color: var(--flame); }
.section-link { margin-top: 1.8rem; }
.contact dd a { text-decoration: none; border-bottom: 2px solid var(--ember); }
.contact .note { color: var(--ash); font-size: 0.98rem; max-width: 46ch; }
.foot { border-top: 1px solid var(--line); background: var(--soot); padding-block: 3rem 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.foot-grid > * { min-width: 0; }
.foot h4 { font: 500 0.75rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); margin: 0 0 1rem; }
.foot nav { display: grid; gap: 0.6rem; align-content: start; }
.foot a { text-decoration: none; }
.foot nav a:hover, .foot .mail:hover { color: var(--flame); }
.foot-note { color: var(--ash); font-size: 0.95rem; max-width: 36ch; margin-top: 1rem; }
.foot .brand img { height: 52px; }
.foot-base { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--ash); font-size: 0.85rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.nf { padding-block: clamp(4rem, 10vw, 8rem); }
.nf .wrap { display: grid; gap: 1.4rem; justify-items: start; }
.nf h1 { font-size: clamp(3.5rem, 12vw, 8rem); }

