/* Alternate homepage: real furnace footage and a larger reading scale. */
:root {
  --paper: #f6f2eb;
  --ink: #231c17;
  --muted: #574f46;
  --line: #d7cbbd;
  --hot-ink: #a83c22;
  --section: clamp(4rem, 7vw, 7rem);
  font-size: 100%;
}

.wrap { max-width: 77rem; }
.masthead { background: var(--paper); }
.brand { font-size: 1rem; letter-spacing: .015em; }
.brand-icon { flex: none; }
.nav, .mast-contact, .mast-phone, .menu-toggle:not([hidden]) { font-size: 1.125rem; }
.button, .text-link { font-size: 1.125rem; }

.topka {
  padding-block: clamp(2.4rem, 4.1vw, 4rem) clamp(2.75rem, 4.6vw, 4.5rem);
  background: radial-gradient(ellipse at 92% 52%, var(--warm-wash) 0, transparent 63%), var(--paper);
}
.topka-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .87fr);
  gap: clamp(2.4rem, 5.3vw, 6rem);
  align-items: center;
}
.topka-copy { min-width: 0; }
.topka h1 {
  font-size: clamp(3rem, 6.2vw, 6rem);
  font-weight: 740;
  letter-spacing: -.044em;
  line-height: 1.035;
  overflow-wrap: anywhere;
}
.topka h1 span { display: block; color: var(--hot-ink); }
.topka-lead {
  margin-top: 1.65rem;
  color: var(--muted);
  font-size: clamp(1.25rem, 1.65vw, 1.5rem);
  line-height: 1.55;
  max-width: 36ch;
}
.topka-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.65rem; margin-top: 2rem; }
.topka-actions .button {
  gap: 1rem;
  padding: .8rem 1.05rem .8rem 1.2rem;
  min-height: 3.5rem;
  border-radius: 6px;
  font-weight: 650;
}
.topka-services {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 3.25rem;
  font-size: 1.125rem;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .28em;
}
.topka-services:hover { color: var(--hot-ink); }

body:has(.tt-flame:not([hidden])) .contact { padding-bottom: 0; }

/* The remaining sections use the same readable type scale. */
.mono { font: 550 1rem/1.4 Golos, Arial, sans-serif; letter-spacing: .035em; }
.section-head p, .contact-inner p { font-size: clamp(1.125rem, 1.45vw, 1.375rem); letter-spacing: normal; }
.service-body, .case-item p, address { font-size: 1.125rem; }
.case-picture figcaption { max-width: calc(100% - 28px); }
.pellet-rule {
  height: 12px;
  background: url("pellet-divider.svg") repeat-x center top / 104px 12px;
}
.services.chapter { padding-block: clamp(1.75rem, 4vw, 3.25rem) 2rem; }
.cases.chapter { padding-top: clamp(2rem, 4.5vw, 4.25rem); }

@media (max-width: 48em) {
  .topka-layout { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .topka h1 { font-size: clamp(2.7rem, 9vw, 4rem); line-height: 1.07; }
  .topka-lead { margin-top: 1.15rem; }
  .topka-actions { margin-top: 1.25rem; }
  .topka { background: radial-gradient(ellipse at 100% 92%, var(--warm-wash), transparent 66%), var(--paper); }
}

@media (max-width: 40em) {
  .mast-inner { height: auto; min-height: 4.25rem; gap: .5rem; }
  .brand { font-size: 1rem; gap: .4rem; }
  .mast-phone, .menu-toggle:not([hidden]) { font-size: 1rem; }
  .mast-inner:has(.menu-toggle[aria-expanded=true]) .nav { font-size: 1.125rem; }
  .case-picture figcaption { bottom: .5rem; left: .5rem; }
}

@media (max-width: 24em) {
  .mast-inner { gap: .25rem; }
  .mast-inner .brand-icon, .mast-inner .brand-icon svg { width: 24px; height: 24px; }
  .mast-phone .ico { display: none; }
  .topka-actions { column-gap: 1rem; }
}
