/* PJR Fire Design & Property Services: the public site.
   Colours and fonts come from theme.css (business/settings.mjs).
   Look: a white header carrying the logo, then "fireside" dark bands lit with the flame gradient,
   alternating with warm paper sections. Phones first. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 18px/1.6 var(--body); padding-bottom: 64px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--flame-deep); text-underline-offset: 3px; }
a:hover { color: var(--ember); }
:focus-visible { outline: 3px solid var(--flame); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0; text-wrap: balance; color: inherit; }
h1 { font-size: clamp(34px, 7vw, 60px); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 4.6vw, 40px); font-weight: 800; }
h3 { font-size: clamp(19px, 2.6vw, 23px); font-weight: 700; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }
.small { font-size: 15px; }
.muted { color: var(--muted); }
.hide { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { font: 700 13px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--flame-deep); }
.dark .eyebrow { color: var(--amber); }
.lead { font-size: clamp(18px, 2.4vw, 21px); }
.stack { display: grid; gap: 16px; align-content: start; }
.stack-lg { display: grid; gap: 28px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 8px;
  font: 700 16px/1.1 var(--display); text-decoration: none; border: 2px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; }
.btn:hover { background: var(--ink-soft); border-color: var(--ink-soft); color: #fff; }
.btn--flame { background: var(--flame); border-color: var(--flame); color: var(--ink); }
.btn--flame:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.dark .btn--ghost { color: var(--on-dark); border-color: rgba(245,241,236,.45); }
.dark .btn--ghost:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.btn--small { min-height: 38px; padding: 8px 14px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: block; flex: 0 1 auto; }
.brand img { width: clamp(150px, 34vw, 210px); height: auto; }
.menu-toggle { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; background: none; border: 2px solid var(--ink); border-radius: 8px;
  padding: 8px 12px; font: 700 15px var(--display); color: var(--ink); cursor: pointer; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle .bars::before { top: -6px; } .menu-toggle .bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
.header-phone { display: none; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
  padding: 8px max(18px, env(safe-area-inset-right, 0px)) 18px max(18px, env(safe-area-inset-left, 0px)); flex-direction: column; box-shadow: 0 14px 24px rgba(29,27,27,.08); }
.nav.open { display: flex; }
.nav a:not(.btn) { padding: 12px 2px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font: 600 17px var(--display); }
.nav a[aria-current="page"]:not(.btn) { color: var(--flame-deep); }
.nav .btn { margin-top: 14px; }
@media (min-width: 1040px) {
  .menu-toggle { display: none; }
  .nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 4px; padding: 0; border: 0; box-shadow: none; margin-left: auto; }
  .nav a { white-space: nowrap; }
  .nav a:not(.btn) { border: 0; padding: 8px 10px; font-size: 15px; border-radius: 6px; }
  .nav a:not(.btn):hover { background: var(--paper); }
  .nav a[aria-current="page"]:not(.btn) { box-shadow: inset 0 -3px 0 var(--flame); border-radius: 0; }
  .nav .btn { margin: 0 0 0 8px; min-height: 42px; padding: 10px 18px; font-size: 15px; }
}
@media (min-width: 1240px) {
  .header-phone { display: inline; font: 700 15px var(--display); color: var(--ink); text-decoration: none; white-space: nowrap; }
}

/* ---------- dark "fireside" bands ---------- */
.dark { background: var(--ink); color: var(--on-dark); }
.dark a:not(.btn) { color: var(--amber); }
.dark .muted { color: var(--on-dark-muted); }
.glow { position: relative; isolation: isolate; overflow: hidden; }
.glow::before { content: ""; position: absolute; inset: auto -30% -45% 5%; height: 115%; z-index: -1; pointer-events: none;
  background: radial-gradient(48% 52% at 72% 80%, rgba(255,154,18,.62), rgba(255,106,0,.4) 34%, rgba(230,38,0,.18) 60%, transparent 78%);
  animation: flicker 7s ease-in-out infinite alternate; }
@keyframes flicker { 0% { opacity: .85; transform: translateY(0) scale(1); } 40% { opacity: 1; transform: translateY(-1.5%) scale(1.02); } 100% { opacity: .9; transform: translateY(1%) scale(.99); } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 9vw, 104px) clamp(40px, 7vw, 80px); }
.hero.has-photo, .page-head.has-photo { background: linear-gradient(90deg, rgba(20,18,18,.88), rgba(20,18,18,.55) 60%, rgba(20,18,18,.2)), var(--hero-photo) center / cover no-repeat, var(--ink); }
.hero-inner { display: grid; gap: 22px; max-width: 720px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--amber), var(--flame) 55%, var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--on-dark-muted); max-width: 56ch; }
.badges { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 8px; padding: 0; list-style: none; }
.badges li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(245,241,236,.08); border: 1px solid rgba(245,241,236,.18); font: 600 14px/1.2 var(--body); color: var(--on-dark); }
.badges li::before { content: ""; width: 8px; height: 8px; background: var(--flame); clip-path: polygon(50% 0, 100% 60%, 50% 100%, 0 60%); }
.page-head { padding-block: clamp(40px, 7vw, 72px) clamp(32px, 5vw, 52px); }
.page-head .wrap { display: grid; gap: 14px; }
/* Heading with a tall photo beside it (phone photos of stoves don't crop well into a wide banner) */
.page-head--split .wrap { grid-template-columns: 1fr; align-items: center; gap: 28px; }
.page-head-text { display: grid; gap: 14px; }
.page-head-photo { margin: 0; justify-self: center; width: min(100%, 360px); aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.12); }
.page-head-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Behind a split heading: the same photo, blurred and darkened, filling the banner */
.page-head--split, .page-head--blur { position: relative; isolation: isolate; overflow: hidden; }
.page-head--split::after, .page-head--blur::after { content: ""; position: absolute; inset: -60px; z-index: -2; pointer-events: none;
  background: linear-gradient(90deg, rgba(20,18,18,.7), rgba(20,18,18,.3)), var(--head-photo) center / cover no-repeat;
  filter: blur(26px) saturate(1.15); }
.page-head-photo--wide { aspect-ratio: 4 / 3; width: min(100%, 520px); }
@media (min-width: 820px) { .page-head--split .wrap { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; } .page-head--split.page-head--wide .wrap { grid-template-columns: minmax(0, 1fr) minmax(320px, 500px); } .page-head-photo { width: 100%; } }
.page-head.has-photo { padding-block: clamp(56px, 10vw, 120px) clamp(40px, 7vw, 72px); }
.page-head.has-photo .wrap > * { max-width: 640px; }
.page-head h1 { color: #fff; font-size: clamp(32px, 6vw, 52px); }
.page-head .lead { color: var(--on-dark-muted); max-width: 60ch; }

/* ---------- sections ---------- */
.section { padding-block: clamp(48px, 8vw, 88px); }
.section--white { background: #fff; }
.section-head { display: grid; gap: 10px; margin-bottom: clamp(24px, 4vw, 40px); max-width: 680px; }
.cols-2 { display: grid; gap: clamp(24px, 4vw, 48px); }
@media (min-width: 860px) { .cols-2 { grid-template-columns: 1fr 1fr; align-items: start; } }
.cols-2 > * { min-width: 0; }

/* Lead services: two big dark cards */
.lead-cards { display: grid; gap: 18px; }
@media (min-width: 760px) { .lead-cards { grid-template-columns: 1fr 1fr; } }
.lead-card { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: end; gap: 10px; min-height: 280px; padding: 26px;
  border-radius: 14px; background: var(--ink-soft); color: var(--on-dark); text-decoration: none; }
.lead-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 70% at 85% 110%, rgba(255,106,0,.6), rgba(230,38,0,.18) 55%, transparent 75%); transition: opacity .3s; opacity: .8; }
.lead-card.has-photo { background: linear-gradient(0deg, rgba(20,18,18,.92), rgba(20,18,18,.25) 70%), var(--card-photo) center / cover; }
.lead-card:hover::before { opacity: 1; }
.lead-card h3 { color: #fff; font-size: clamp(22px, 3vw, 28px); }
.lead-card p { color: var(--on-dark-muted); }
.lead-card .go { font: 700 15px var(--display); color: var(--amber); }
a.lead-card:hover { color: var(--on-dark); }

/* Property services tiles */
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.tile { display: grid; gap: 6px; align-content: start; padding: 18px 20px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.section--white .tile { background: var(--paper); }
.tile h3 { font-size: 18px; display: flex; gap: 10px; align-items: center; }
.tile h3::before { content: ""; flex: none; width: 10px; height: 14px; background: linear-gradient(var(--amber), var(--ember)); clip-path: polygon(50% 0, 100% 60%, 50% 100%, 0 60%); }
.tile p { font-size: 16px; color: var(--muted); }
a.tile:hover { border-color: var(--flame); color: var(--text); }

/* How it works: a real sequence, so numbered */
.steps { display: grid; gap: 14px; counter-reset: step; padding: 0; margin: 0; list-style: none; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 12px; background: rgba(245,241,236,.06); border: 1px solid rgba(245,241,236,.14); }
.steps li::before { content: counter(step); font: 800 30px/1 var(--display); background: linear-gradient(var(--amber), var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { font-size: 18px; color: #fff; }
.steps p { color: var(--on-dark-muted); font-size: 16px; }

/* Lists with the flame marker */
ul.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
ul.points li { position: relative; padding-left: 26px; }
ul.points li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 11px; height: 14px; background: linear-gradient(var(--amber), var(--ember)); clip-path: polygon(50% 0, 100% 60%, 50% 100%, 0 60%); }

/* Panels */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3vw, 30px); display: grid; gap: 14px; align-content: start; }
.panel--dark { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.panel--dark h2, .panel--dark h3 { color: #fff; }

/* FAQs */
.faqs { display: grid; gap: 10px; }
.faqs details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; }
.faqs summary { cursor: pointer; padding: 16px 0; font: 700 17px/1.3 var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; color: var(--flame-deep); font-size: 22px; line-height: 1; }
.faqs details[open] summary::after { content: "–"; }
.faqs details p { padding-bottom: 16px; color: var(--muted); }

/* Property services page: one block per service */
.service-blocks { display: grid; gap: 14px; }
.service-block { scroll-margin-top: 90px; display: grid; gap: 10px; padding: clamp(20px, 3vw, 28px); background: #fff; border: 1px solid var(--line); border-radius: 14px; }
@media (min-width: 760px) { .service-block { grid-template-columns: 1fr auto; align-items: center; } }
.service-block:target { border-color: var(--flame); box-shadow: 0 0 0 3px rgba(255,106,0,.18); }

/* Call to action band */
.cta { padding-block: clamp(44px, 7vw, 72px); }
.cta .wrap { display: grid; gap: 18px; justify-items: start; }
@media (min-width: 860px) { .cta .wrap { grid-template-columns: 1fr auto; align-items: center; } }
.cta h2 { color: #fff; }

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filters button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font: 600 15px var(--body); color: var(--text); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.jobs { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.job { display: grid; gap: 10px; align-content: start; min-width: 0; }
.job-photos { display: grid; gap: 6px; grid-template-columns: 1fr 1fr; }
.job-photos button { position: relative; padding: 0; border: 0; background: var(--line); border-radius: 10px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.job-photos button:first-child:last-child, .job-photos.single button { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.job-photos img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; } /* portrait photos: keep the Stove, which is usually below the middle */
.job-photos .label { position: absolute; left: 8px; top: 8px; background: rgba(29,27,27,.82); color: #fff; font: 700 12px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; padding: 6px 8px; border-radius: 5px; }
.job h3 { font-size: 18px; }
.job .meta { font-size: 15px; color: var(--muted); }
.empty { padding: 28px; border: 2px dashed var(--line); border-radius: 14px; text-align: center; color: var(--muted); display: grid; gap: 12px; justify-items: center; }
.empty[hidden] { display: none; }
/* Anything marked hidden stays hidden, even with a display set (the quote and review forms after sending) */
[hidden] { display: none !important; }
dialog.viewer { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; }
dialog.viewer::backdrop { background: rgba(10,9,9,.9); }
dialog.viewer img { max-width: 96vw; max-height: 84vh; border-radius: 8px; }
dialog.viewer .viewer-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 10px; color: #fff; }

/* ---------- reviews ---------- */
.reviews { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.review { display: grid; gap: 10px; align-content: start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin: 0; }
.review .stars { color: var(--flame); letter-spacing: 2px; font-size: 18px; }
.review blockquote { margin: 0; font-size: 17px; }
.review figcaption { font: 700 15px var(--display); }
.review figcaption span { font: 400 14px var(--body); color: var(--muted); }
.rating-line { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font: 700 15px var(--display); }
.field .hint { font-size: 14px; color: var(--muted); }
input, select, textarea { width: 100%; font: 400 17px/1.4 var(--body); color: var(--text); background: #fff; border: 1.5px solid #cfc7be; border-radius: 8px; padding: 12px 14px; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--flame); outline: 3px solid rgba(255,106,0,.2); outline-offset: 0; }
.row-2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.photo-drop { display: grid; gap: 10px; padding: 16px; border: 2px dashed #cfc7be; border-radius: 10px; background: var(--paper); }
.photo-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-thumbs figure { position: relative; margin: 0; width: 84px; height: 84px; border-radius: 8px; overflow: hidden; background: var(--line); }
.photo-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.photo-thumbs button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(29,27,27,.85); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.hp { position: absolute; left: -5000px; }
.form-error { color: var(--ember); font-weight: 600; }
.thanks { padding: 24px; border-radius: 14px; background: #fff; border: 2px solid var(--flame); display: grid; gap: 10px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-top: 48px; border-top: 4px solid; border-image: linear-gradient(90deg, var(--amber), var(--flame), var(--ember)) 1; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.foot-cols { display: grid; gap: 28px; padding-bottom: 32px; }
@media (min-width: 760px) { .foot-cols { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot-brand { display: grid; gap: 10px; align-content: start; }
.foot-name { font: 800 19px/1.2 var(--display); color: #fff; }
.foot-tag { font: italic 400 17px var(--body); color: var(--amber); }
.foot-title { font: 700 13px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 16px; }
.credit { opacity: .7; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 18px; border-top: 1px solid rgba(245,241,236,.12); }

/* ---------- phone action bar ---------- */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr 1.2fr; background: var(--ink);
  border-top: 1px solid rgba(245,241,236,.15); padding-bottom: env(safe-area-inset-bottom, 0px); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
.action-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 58px; color: var(--on-dark); text-decoration: none; font: 700 14px var(--display); }
.action-bar a + a { border-left: 1px solid rgba(245,241,236,.12); }
.action-bar svg { width: 20px; height: 20px; fill: currentColor; }
.action-bar .action-quote { background: var(--flame); color: var(--ink); }
@media (min-width: 900px) { .action-bar { display: none; } }

/* ---------- quote acceptance page (/q/<token>) ---------- */
.doc-lines { width: 100%; border-collapse: collapse; font-size: 16px; }
.doc-lines th, .doc-lines td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-lines td.num, .doc-lines th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.doc-lines tr.total td { font-weight: 700; border-bottom: 0; font-size: 18px; }
.tablewrap { overflow-x: auto; }

/* ---------- guide prices, owner, areas (added after the trade-site research, 29 Oct 2026) ---------- */
.lead-card .price { font-size: 16px; color: var(--on-dark); }
.lead-card .price b { color: var(--amber); font-family: var(--display); }
.price-line { color: var(--on-dark-muted); }
.price-line b { color: var(--amber); font-family: var(--display); }
@media (min-width: 860px) { .tiles--3 { grid-template-columns: repeat(3, 1fr); } }
.tiles--3 .tile { padding: 24px; }
.tiles--3 .tile h3 { font-size: 20px; }
.owner { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (min-width: 760px) { .owner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.owner-photo img, .photo-placeholder { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.photo-placeholder { display: grid; place-items: center; padding: 24px; text-align: center; background: repeating-linear-gradient(135deg, var(--paper) 0 14px, #efe8e0 14px 28px); border: 2px dashed var(--line); color: var(--muted); font-weight: 600; max-height: 420px; }
.areas { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; color: var(--on-dark-muted); font-size: 16px; }
.areas .town { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(245,241,236,.22); color: var(--on-dark); }
.brand-chip { display: inline-block; margin: 0 6px 6px 0; padding: 4px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font: 600 14px var(--display); }
.callback { font-weight: 600; color: var(--flame-deep); }

/* "Leave a review" form (/reviews) */
.star-pick { border: 0; padding: 0; margin: 0; }
.star-pick legend { font: 700 15px var(--display); margin-bottom: 6px; }
.star-pick-row { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-pick label { font-size: 38px; line-height: 1; cursor: pointer; color: var(--line); }
.star-pick label::before { content: "★"; }
.star-pick input:checked ~ label, .star-pick label:hover, .star-pick label:hover ~ label { color: var(--flame); }
.star-pick input:focus-visible + label { outline: 3px solid var(--flame); outline-offset: 2px; border-radius: 4px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; }
.form .check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--flame); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Home page: more depth and movement (3 Nov 2026) ---------- */
/* A short flame bar under every section heading */
.section-head h2::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 14px; border-radius: 4px; background: linear-gradient(90deg, var(--amber), var(--flame) 55%, var(--ember)); }
.hero-note { color: var(--on-dark-muted); font-size: 15px; }
.hero { padding-bottom: clamp(88px, 12vw, 140px); }

/* Key facts: a white card overlapping the bottom of the banner */
.stats-band { position: relative; z-index: 2; margin-top: clamp(-72px, -6vw, -52px); }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(20,18,18,.18); overflow: hidden; }
.stats li { display: grid; gap: 4px; align-content: center; padding: clamp(16px, 2.6vw, 28px); border-top: 1px solid var(--line); }
.stats li:nth-child(-n+2) { border-top: 0; }
.stats li:nth-child(even) { border-left: 1px solid var(--line); }
.stats b { font: 800 clamp(28px, 4.4vw, 46px)/1 var(--display); background: linear-gradient(100deg, var(--amber), var(--flame) 50%, var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { font-size: 15px; color: var(--muted); line-height: 1.35; }
@media (min-width: 860px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats li { border-top: 0; }
  .stats li + li { border-left: 1px solid var(--line); }
}

/* Fires and Media Walls: big photo cards that zoom a little on hover */
.lead-card { min-height: clamp(300px, 36vw, 440px); padding: clamp(22px, 3vw, 34px); border-radius: 18px; }
.lead-card.has-photo { background: var(--ink); }
.lead-card.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--card-photo) center / cover no-repeat; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.lead-card.has-photo::before { opacity: 1; background: linear-gradient(0deg, rgba(20,18,18,.94) 8%, rgba(20,18,18,.55) 45%, rgba(20,18,18,.05) 75%), radial-gradient(70% 60% at 90% 110%, rgba(243,113,43,.55), transparent 70%); }
.lead-card:hover::after { transform: scale(1.06); }
.lead-num { position: absolute; top: clamp(16px, 2.4vw, 26px); right: clamp(20px, 3vw, 30px); font: 800 clamp(44px, 6vw, 72px)/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); }
.lead-card h3 { font-size: clamp(26px, 3.4vw, 36px); }
.lead-card .go { display: inline-flex; align-items: center; gap: 10px; }
.go-arrow { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--flame); color: var(--ink); transition: transform .3s; }
.lead-card:hover .go-arrow { transform: translateX(6px); }
.lead-card { box-shadow: 0 14px 34px rgba(20,18,18,.16); transition: box-shadow .3s, transform .3s; }
.lead-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(20,18,18,.24); }

/* Property services: bigger tiles with a flame edge and an arrow */
.tile--big { position: relative; overflow: hidden; gap: 10px; padding: 26px; grid-template-rows: auto 1fr auto; border-radius: 16px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.tile--big::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--amber), var(--flame), var(--ember)); transform: scaleY(.25); transform-origin: top; transition: transform .35s; }
.tile--big h3 { font-size: 20px; }
.tile-go { justify-self: start; margin-top: 6px; font: 800 20px var(--display); color: var(--flame-deep); transition: transform .3s; }
a.tile--big:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20,18,18,.12); }
a.tile--big:hover::after { transform: scaleY(1); }
a.tile--big:hover .tile-go { transform: translateX(6px); }

/* How it works: big numbers joined by a flame line */
@media (min-width: 760px) {
  .steps { position: relative; gap: 22px; }
  .steps::before { content: ""; position: absolute; left: 24px; right: 24px; top: 44px; height: 2px; background: linear-gradient(90deg, var(--amber), var(--flame), var(--ember)); opacity: .55; }
}
.steps li { position: relative; padding-top: 22px; background: rgba(35,31,32,.92); }
.steps li::before { font-size: 44px; }

/* Reviews: a big quote mark */
.review { position: relative; padding-top: 30px; box-shadow: 0 10px 26px rgba(20,18,18,.06); }
.review::before { content: "“"; position: absolute; top: -6px; right: 18px; font: 800 86px/1 var(--display); background: linear-gradient(var(--amber), var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .35; }

/* Sections fade up as they come into view (site.js adds .reveal; off for reduced motion) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .lead-card, .lead-card::after, .tile--big, .go-arrow, .tile-go { transition: none; }
}

/* ---------- Other pages: the same depth (3 Nov 2026) ---------- */
/* Headings without a framed photo get a blurred job photo behind them */
.page-head--blur { padding-block: clamp(56px, 9vw, 104px) clamp(44px, 7vw, 76px); }
.page-head--blur .wrap { position: relative; }

/* Panels: a flame bar along the top */
.panel:not(.panel--dark) { position: relative; overflow: hidden; box-shadow: 0 12px 30px rgba(20,18,18,.07); }
.panel:not(.panel--dark)::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--amber), var(--flame), var(--ember)); }
.panel--dark { box-shadow: 0 16px 36px rgba(20,18,18,.22); }

/* FAQs: a flame edge and a turning plus when open */
.faqs details { position: relative; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faqs details::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--amber), var(--flame), var(--ember)); transform: scaleY(0); transform-origin: top; transition: transform .3s; }
.faqs details[open] { border-color: transparent; box-shadow: 0 12px 28px rgba(20,18,18,.1); }
.faqs details[open]::before { transform: scaleY(1); }
.faqs summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); color: var(--flame-deep); font-size: 20px; transition: transform .3s, background .3s, color .3s; }
.faqs details[open] summary::after { content: "+"; transform: rotate(45deg); background: var(--flame); color: var(--ink); }
.faqs summary:hover { color: var(--flame-deep); }

/* Property services: numbered groups of cards */
.stack-lg { counter-reset: group; }
.service-group h2 { display: flex; align-items: baseline; gap: 14px; counter-increment: group; }
.service-group h2::before { content: counter(group, decimal-leading-zero); font: 800 clamp(34px, 4.5vw, 48px)/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--flame); }
.service-blocks { display: grid; gap: 14px; }
@media (min-width: 760px) { .service-blocks { grid-template-columns: repeat(2, 1fr); } }
.service-block { position: relative; overflow: hidden; border-radius: 14px; box-shadow: 0 10px 26px rgba(20,18,18,.06); transition: transform .3s, box-shadow .3s; }
.service-block::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--amber), var(--flame), var(--ember)); transform: scaleY(.3); transform-origin: top; transition: transform .35s; }
.service-block:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20,18,18,.12); }
.service-block:hover::before { transform: scaleY(1); }

/* Our work: photos zoom a little on hover; cards lift */
.job { background: #fff; border-radius: 16px; padding: 10px 10px 18px; box-shadow: 0 10px 26px rgba(20,18,18,.07); transition: transform .3s, box-shadow .3s; }
.section--white .job { background: var(--paper); }
.job:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(20,18,18,.13); }
.job h3, .job .meta, .job p { padding-inline: 8px; }
.job-photos img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.job-photos button:hover img { transform: scale(1.06); }

/* About: the key facts as a card below the story */
.stats-band--flat { margin: 0 0 clamp(48px, 8vw, 88px); }

@media (prefers-reduced-motion: reduce) {
  .faqs details::before, .faqs summary::after, .service-block, .service-block::before, .job, .job-photos img { transition: none; }
}

/* About: the working photo above "Why choose us" */
.about-photo { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 16px 36px rgba(20,18,18,.16); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }

/* ---------- Our work (3 Nov 2026) ---------- */
/* Header: a slowly drifting mosaic of job photos behind the heading */
.page-head--mosaic { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(72px, 12vw, 140px) clamp(56px, 9vw, 100px); }
.work-mosaic { position: absolute; inset: -40px -10%; z-index: -2; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; transform: rotate(-6deg); opacity: .55; }
.work-mosaic span { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; animation: mosaic-in .9s var(--d) both; }
.work-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-head--mosaic::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,18,18,.95) 20%, rgba(20,18,18,.72) 55%, rgba(20,18,18,.45)); }
@keyframes mosaic-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }

/* Before & after: drag to compare */
.ba { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .ba { grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 40px; } }
.ba-compare { --pos: 50%; position: relative; aspect-ratio: 4 / 5; max-height: 640px; width: 100%; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 50px rgba(20,18,18,.22); background: var(--ink); touch-action: pan-y; }
@media (min-width: 900px) { .ba-compare { aspect-ratio: 4 / 4.2; } }
.ba-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: linear-gradient(var(--amber), var(--flame), var(--ember)); pointer-events: none; }
.ba-handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--flame); color: var(--ink); font: 800 20px var(--display); box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-tag { position: absolute; top: 14px; padding: 6px 10px; border-radius: 6px; background: rgba(20,18,18,.8); color: #fff; font: 700 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.ba-tag--before { left: 14px; } .ba-tag--after { right: 14px; background: var(--flame); color: var(--ink); }
.ba-side { display: grid; gap: 12px; align-content: start; }
.ba-title { font-size: clamp(22px, 2.6vw, 30px); }
.ba-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.ba-picks button { padding: 0; border: 3px solid transparent; border-radius: 12px; overflow: hidden; aspect-ratio: 1; cursor: pointer; background: var(--line); transition: border-color .2s, transform .2s; }
.ba-picks button[aria-pressed="true"] { border-color: var(--flame); }
.ba-picks button:hover { transform: translateY(-2px); }
.ba-picks img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Gallery: photo-first tiles, titles over the photo, a big tile every so often */
.filters button { transition: background .2s, border-color .2s, color .2s; }
.filters button:hover { border-color: var(--flame); }
.jobs--gallery { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); grid-auto-rows: 300px; grid-auto-flow: dense; gap: 16px; }
@media (min-width: 900px) { .jobs--gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; } .jobs--gallery .job--big { grid-column: span 2; grid-row: span 2; } }
.job--tile { position: relative; padding: 0; overflow: hidden; border-radius: 16px; background: var(--ink); display: block; }
.job--tile .job-photos { height: 100%; gap: 3px; }
.job--tile .job-photos button, .job--tile .job-photos.single button, .job--tile .job-photos button:first-child:last-child { aspect-ratio: auto; height: 100%; border-radius: 0; }
.job--tile .job-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 18px 16px; background: linear-gradient(0deg, rgba(20,18,18,.9), rgba(20,18,18,.55) 55%, transparent); pointer-events: none; }
.job--tile h3 { color: #fff; font-size: 18px; padding: 0; }
.job--big h3 { font-size: clamp(20px, 2.4vw, 28px); }
.job--tile .meta { color: var(--amber); font: 700 12px var(--display); letter-spacing: .1em; text-transform: uppercase; padding: 0; margin-top: 4px; }
.job--tile .label { top: 12px; left: 12px; }
.job-more { position: absolute; top: 12px; right: 12px; border: 0; border-radius: 999px; padding: 6px 12px; background: rgba(255,255,255,.92); color: var(--ink); font: 700 13px var(--display); cursor: pointer; }
.job--tile:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .work-mosaic span { animation: none; } .ba-picks button { transition: none; } }

/* Stoves heading: three finished Stoves fanned out (3 Nov 2026) */
.fan { position: relative; justify-self: center; width: min(84%, 480px); aspect-ratio: 1 / .7; margin-top: 8px; }
@media (min-width: 820px) { .fan { width: min(100%, 480px); } }
.fan-card { position: absolute; left: 27%; top: 3%; width: 46%; aspect-ratio: 3 / 4; margin: 0; border-radius: 14px; overflow: hidden; border: 3px solid rgba(255,255,255,.9); box-shadow: 0 18px 40px rgba(0,0,0,.45); transform-origin: 50% 100%; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.fan-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fan-card--1 { transform: translateX(-60%) rotate(-10deg); }
.fan-card--3 { transform: translateX(60%) rotate(10deg); }
.fan-card--2 { z-index: 2; transform: translateY(-3%); }
.fan:hover .fan-card--1 { transform: translateX(-66%) rotate(-13deg); }
.fan:hover .fan-card--3 { transform: translateX(66%) rotate(13deg); }
.fan:hover .fan-card--2 { transform: translateY(-6%) scale(1.03); }
@media (min-width: 820px) { .page-head--split.page-head--fan .wrap { grid-template-columns: minmax(0, 1fr) minmax(360px, 500px); } }
@media (prefers-reduced-motion: reduce) { .fan-card { transition: none; } }

/* DIY SOS and well-known clients */
.spot-text { max-width: 720px; margin-bottom: 28px; }
.spot-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .spot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .spot-grid { grid-template-columns: repeat(4, 1fr); } }
.spot-photo { margin: 0; }
.spot-photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; box-shadow: 0 14px 30px rgba(20,18,18,.14); }
.spot-photo figcaption { margin-top: 10px; font: 700 15px var(--display); }
.spot-photo--tall img { aspect-ratio: 3 / 4; }
.spot-feature { display: grid; gap: 32px; align-items: center; }
@media (min-width: 820px) { .spot-feature { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 56px; } .spot-feature--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); } .spot-feature--flip .spot-photo { order: 2; } }
.spot-quote { margin-top: 6px; }
.spot-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 720px; }
.spot-pair .spot-photo img { aspect-ratio: 3 / 4; }
