/* ==========================================================================
   Lincoln Furnace Repair — styles.css
   Mobile-first. Breakpoints: 640 / 768 / 1024 / 1280
   Fonts loaded in <head>: Sora 700;800 + Inter 400;500;600 (display=swap)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Primary (navy) scale */
  --p-50:  #EEF3F9;
  --p-100: #D8E3F0;
  --p-200: #B1C6E0;
  --p-300: #82A1C9;
  --p-400: #5479AE;
  --p-500: #325C92;
  --p-600: #214776;
  --p-700: #16365D;
  --p-800: #0B2545; /* brand primary */
  --p-900: #071A33;

  /* Accent (ember orange): CTAs + highlights only */
  --accent: #F97316;
  --accent-hover: #FB8A3C;
  --accent-ink: #C2410C;       /* accent text on light bg (AA) */
  --accent-soft: #FB923C;      /* accent text on dark bg (AA) */
  --accent-glow: rgba(249, 115, 22, .45);

  /* Neutrals */
  --dark: #06162B;
  --off: #F8F6F2;
  --white: #FFFFFF;
  --border: #E3E7EE;
  --border-dark: rgba(255, 255, 255, .12);
  --ink: #0F1B2D;              /* body text */
  --muted: #4A5568;            /* secondary text on light (AA) */
  --muted-dark: #B7C4D6;       /* secondary text on dark (AA) */

  /* Semantic */
  --tip: #0F766E;
  --tip-bg: #ECFDF8;
  --warn: #B45309;
  --warn-bg: #FFF7ED;

  /* Type */
  --font-head: "Sora", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --fs-h1: clamp(2.5rem, 1.6rem + 3.8vw, 4.5rem);
  --fs-h2: clamp(2rem, 1.6rem + 1.6vw, 3rem);
  --fs-h3: clamp(1.25rem, 1.15rem + .45vw, 1.5rem);
  --fs-body: clamp(1.0625rem, 1.03rem + .15vw, 1.125rem);
  --fs-small: .9375rem;
  --fs-eyebrow: .8125rem;

  /* Space + shape */
  --gutter: 20px;
  --section-y: 64px;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --maxw: 1240px;
  --measure: 68ch;

  /* Shadows (layered) */
  --shadow-sm: 0 1px 2px rgba(7, 26, 51, .06), 0 1px 3px rgba(7, 26, 51, .08);
  --shadow-md: 0 2px 4px rgba(7, 26, 51, .05), 0 8px 24px rgba(7, 26, 51, .08);
  --shadow-lg: 0 4px 8px rgba(7, 26, 51, .06), 0 20px 48px rgba(7, 26, 51, .14);
  --shadow-glow: 0 6px 20px var(--accent-glow), 0 2px 4px rgba(7, 26, 51, .15);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
  --callbar-h: 68px;

  /* Grain overlay */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom));
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--p-600); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
strong { font-weight: 600; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--p-900);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.25; }
h4 { font-size: 1.125rem; font-weight: 700; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--p-900); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--accent); color: var(--p-900); font-weight: 600;
  padding: 12px 20px; border-radius: var(--radius-pill); text-decoration: none;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { position: relative; padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--off   { background: var(--off); }
.section--tint  { background: var(--p-50); }
.section--dark  { background: var(--dark); color: var(--muted-dark); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark a:not(.btn) { color: var(--accent-soft); }
.section--tight { padding-block: calc(var(--section-y) * .6); }

/* Dividers: <div class="divider from-off to-dark"><svg viewBox="0 0 1440 80" preserveAspectRatio="none"><path d="..."/></svg></div> */
.divider { line-height: 0; }
.divider svg { width: 100%; height: 48px; }
.divider path { fill: currentColor; }
.from-white { background: var(--white); } .to-white { color: var(--white); }
.from-off   { background: var(--off); }   .to-off   { color: var(--off); }
.from-tint  { background: var(--p-50); }  .to-tint  { color: var(--p-50); }
.from-dark  { background: var(--dark); }  .to-dark  { color: var(--dark); }

/* Section head */
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__intro { font-size: 1.125rem; color: var(--muted); margin: 0; }
.section--dark .section-head__intro { color: var(--muted-dark); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: var(--fs-eyebrow); font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--accent-ink);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--accent-soft); }

.prose { max-width: var(--measure); }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.eyebrow + h2, .eyebrow + h3 { margin-top: 0 !important; }
.lede { font-size: 1.1875rem; color: var(--muted); }
.answer-box {
  background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm); padding: 20px 24px; box-shadow: var(--shadow-sm); margin-bottom: 1.5em;
}
.answer-box p:last-child { margin-bottom: 0; }

/* ---------- 4. Icons ---------- */
.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon--sm { width: 18px; height: 18px; }
.icon-box {
  display: inline-grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 14px; background: var(--p-50); color: var(--p-700);
  border: 1px solid var(--p-100);
}
.icon-box--accent { background: #FFF1E6; color: var(--accent-ink); border-color: #FED7B5; }
.section--dark .icon-box { background: rgba(255,255,255,.06); color: var(--accent-soft); border-color: var(--border-dark); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; width: 100%;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.2;
  border-radius: var(--radius-pill); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--accent); color: var(--p-900); box-shadow: var(--shadow-glow); }
.btn--primary:hover { background: var(--accent-hover); color: var(--p-900); transform: translateY(-2px); box-shadow: 0 10px 28px var(--accent-glow), 0 2px 4px rgba(7,26,51,.15); }
.btn--outline { background: transparent; color: var(--p-800); border-color: var(--p-200); }
.btn--outline:hover { border-color: var(--p-800); color: var(--p-900); background: var(--p-50); }
.btn--outline-light { background: rgba(255,255,255,.04); color: var(--white); border-color: rgba(255,255,255,.28); }
.btn--outline-light:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.1); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .9375rem; width: auto; }
.btn-row { display: flex; flex-direction: column; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-weight: 600; color: var(--p-700); text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- 6. Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--border);
}
/* Blur lives on a pseudo-element so the fixed mobile panel isn't trapped inside the header box */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--p-900); min-height: 44px; }
.brand__mark { width: 40px; height: 40px; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.0625rem; line-height: 1.05; letter-spacing: -0.02em; }
.brand__name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-top: 3px; }

.nav__toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  border: 1px solid var(--border); border-radius: 14px; background: var(--white); color: var(--p-900); cursor: pointer;
}
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile full-screen panel */
.nav__panel {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--white); overflow-y: auto; padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.nav__panel.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__list > li { margin: 0; border-bottom: 1px solid var(--border); }
.nav__link, .nav__group-btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 56px; padding: 8px 0; background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--p-900); text-decoration: none; text-align: left;
}
.nav__group-btn .icon { transition: transform .2s; }
.nav__group-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__sub { list-style: none; margin: 0 0 12px; padding: 0; display: none; }
.nav__group-btn[aria-expanded="true"] + .nav__sub { display: block; }
.nav__sub a { display: flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-weight: 500; }
.nav__sub a:hover { color: var(--accent-ink); }
.nav__panel .btn { margin-top: 24px; width: 100%; min-height: 52px; font-size: 1rem; }
body.nav-open { overflow: hidden; }

/* ---------- 7. Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--p-900); color: var(--muted-dark);
  padding: 56px 0 72px;
}
.hero__mesh {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 85% 30%, rgba(249,115,22,.30) 0%, transparent 60%),
    radial-gradient(50% 60% at 10% 10%, rgba(50,92,146,.55) 0%, transparent 65%),
    radial-gradient(70% 60% at 50% 110%, rgba(33,71,118,.9) 0%, transparent 70%),
    linear-gradient(160deg, var(--p-800) 0%, var(--p-900) 55%, var(--dark) 100%);
}
.hero__grain, .page-hero__grain, .cta-band__grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: .07; mix-blend-mode: overlay;
}
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hl {
  background: linear-gradient(100deg, #FDBA74 0%, var(--accent) 55%, #FB923C 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative; white-space: nowrap;
}
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .12em;
  background: linear-gradient(90deg, var(--accent), transparent); border-radius: 4px; opacity: .7;
}
.hero__lede { font-size: 1.1875rem; color: var(--p-100); max-width: 56ch; margin-bottom: 28px; }
.hero__ctas { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.hero__fineprint { font-size: .875rem; color: var(--muted-dark); max-width: 60ch; margin-bottom: 24px; }
.hero__fineprint a { color: var(--p-100); }

.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  padding: 8px 14px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.06); border: 1px solid var(--border-dark);
  color: var(--p-100); font-size: .875rem; font-weight: 500;
}
.chip .icon { width: 16px; height: 16px; color: var(--accent-soft); }

.hero__visual { position: relative; max-width: 340px; margin-inline: auto; width: 100%; }
.hero__scene { position: relative; z-index: 1; filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); }
.hero__glow {
  position: absolute; inset: 15% 10% 10%; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.55), transparent 65%); filter: blur(40px);
}
.glass-card {
  position: absolute; z-index: 2; display: none; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
  color: var(--white); font-size: .875rem; line-height: 1.3;
}
.glass-card strong { display: block; font-family: var(--font-head); font-size: .9375rem; }
.glass-card span { color: var(--p-100); font-size: .8125rem; }
.glass-card .icon-box { width: 40px; height: 40px; border-radius: 12px; background: rgba(249,115,22,.18); border-color: rgba(249,115,22,.35); color: #FDBA74; }
.glass-card--1 { top: 6%; left: -4%; }
.glass-card--2 { top: 44%; right: -6%; }
.glass-card--3 { bottom: 4%; left: 4%; }
@media (prefers-reduced-motion: no-preference) {
  .glass-card { animation: float 7s ease-in-out infinite; }
  .glass-card--2 { animation-delay: -2.3s; }
  .glass-card--3 { animation-delay: -4.6s; }
  .flame-flicker { animation: flicker 2.4s ease-in-out infinite; transform-origin: 50% 100%; transform-box: fill-box; }
  .airflow { stroke-dasharray: 6 10; animation: rise 3s linear infinite; }
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes flicker { 0%,100% { transform: scaleY(1); } 30% { transform: scaleY(1.08) scaleX(.96); } 60% { transform: scaleY(.94); } }
@keyframes rise { to { stroke-dashoffset: -64; } }

/* Wave at the bottom of the hero */
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; color: var(--white); z-index: 1; }
.hero__wave svg { width: 100%; height: 36px; }
.hero__wave path { fill: currentColor; }

/* ---------- 8. Inner page hero + breadcrumbs ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--p-900); color: var(--p-100); padding: 40px 0 56px;
}
.page-hero__mesh {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(45% 70% at 90% 20%, rgba(249,115,22,.22), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(50,92,146,.5), transparent 65%),
    linear-gradient(160deg, var(--p-800), var(--dark));
}
.page-hero h1 { color: var(--white); font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem); max-width: 20ch; }
.page-hero__lede { font-size: 1.125rem; max-width: 60ch; color: var(--p-100); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 24px; font-size: .875rem; }
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 6px; color: var(--muted-dark); }
.breadcrumbs li + li::before { content: "/"; opacity: .5; }
.breadcrumbs a { color: var(--p-100); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.breadcrumbs a:hover { color: var(--accent-soft); text-decoration: underline; }

/* ---------- 9. Cards ---------- */
.card {
  position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--p-200); }
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: 1rem; }
.card-grid { display: grid; gap: 20px; }

/* Bento: 1 feature card + mixed sizes */
.bento { display: grid; gap: 20px; grid-template-columns: 1fr; }
.bento__card { display: flex; flex-direction: column; }
.bento__card:not(.bento__card--feature) p { flex: 1; }
.bento__card--feature .bento__list { margin-top: auto; padding-top: 24px; }
.bento__alert { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(249,115,22,.35); max-width: 52ch; }
.bento__alert .icon { color: #FDBA74; margin-top: 3px; }
.bento__card--feature .bento__alert p { margin: 0; font-size: .9375rem; color: var(--p-100); }
.bento__alert strong { color: var(--white); }
.bento__watermark { position: absolute; right: 24px; top: 24px; width: 180px; height: 180px; z-index: -1; opacity: .08; stroke: #fff; fill: none; stroke-width: 1; }
.bento__card--feature p { font-size: 1.0625rem; max-width: 52ch; }
.bento__card--feature {
  background: linear-gradient(155deg, var(--p-800), var(--p-900)); color: var(--p-100); border-color: var(--p-700);
  overflow: hidden; isolation: isolate;
}
.bento__card--feature::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; z-index: -1;
  background: radial-gradient(circle, rgba(249,115,22,.4), transparent 65%);
}
.bento__card--feature h3 { color: var(--white); font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); }
.bento__card--feature p { color: var(--p-100); }
.bento__card--feature .icon-box { background: rgba(249,115,22,.16); border-color: rgba(249,115,22,.35); color: #FDBA74; }
.bento__card--feature .link-arrow { color: #FDBA74; }
.bento__card--tint { background: var(--p-50); border-color: var(--p-100); }
.bento__card--warm { background: #FFF7F0; border-color: #FDE3CC; }
.bento__list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.bento__list li { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: .9375rem; color: var(--p-100); }
.bento__list .icon { width: 18px; height: 18px; color: var(--accent-soft); margin-top: 4px; }

/* ---------- 10. Symptom checker ---------- */
.symptom-filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: thin; }
.filter-btn {
  flex-shrink: 0; min-height: 44px; padding: 8px 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--p-200); background: var(--white); color: var(--p-800);
  font: 600 .9375rem var(--font-body); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.filter-btn:hover { border-color: var(--p-800); }
.filter-btn[aria-pressed="true"] { background: var(--p-800); color: var(--white); border-color: var(--p-800); }
.symptom-grid { display: grid; gap: 16px; }
.symptom {
  display: flex; gap: 16px; align-items: flex-start; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.symptom:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent); color: inherit; }
.symptom[hidden] { display: none; }
.symptom h3 { font-size: 1.0625rem; margin: 0 0 4px; }
.symptom p { font-size: .9375rem; color: var(--muted); margin: 0 0 8px; }
.symptom__fix { font-size: .875rem; font-weight: 600; color: var(--accent-ink); display: inline-flex; align-items: center; gap: 4px; }
.severity { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 2px 10px; border-radius: var(--radius-pill); margin-bottom: 6px; }
.severity--high { background: #FEE2E2; color: #991B1B; }
.severity--med  { background: #FFEDD5; color: #9A3412; }
.severity--low  { background: var(--p-50); color: var(--p-700); }

/* ---------- 11. Process (numbered, outlined numbers, connecting line) ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; position: relative; counter-reset: step; }
.process::before {
  content: ""; position: absolute; left: 38px; top: 20px; bottom: 20px; width: 2px;
  background: linear-gradient(var(--accent), rgba(249,115,22,.1));
}
.process__step { position: relative; display: grid; grid-template-columns: 78px 1fr; gap: 20px; margin: 0; align-content: start; }
.process__num {
  font-family: var(--font-head); font-weight: 800; font-size: 4rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--p-300); text-align: center;
  background: var(--p-50); position: relative; z-index: 1; padding-block: 4px;
}
.section--dark .process__num { -webkit-text-stroke-color: var(--accent); background: var(--dark); }
.section--white .process__num { background: var(--white); }
.section--off .process__num { background: var(--off); }
.process__step h3 { margin: 10px 0 6px; }
.process__step p { margin: 0; }

/* ---------- 12. Split sections ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.split__media { max-width: 480px; margin-inline: auto; width: 100%; }
.split__media > svg { width: 100%; }
.split__media--framed { background: var(--white); border: 1px solid var(--border); border-radius: 28px; padding: 24px; box-shadow: var(--shadow-md); }

/* Numbered sequence (e.g. furnace start-up steps) */
.sequence__title { font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; color: var(--p-900); margin: 0 0 18px; letter-spacing: -0.01em; }
.sequence { list-style: none; margin: 0; padding: 0; counter-reset: seq; }
.sequence li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; margin: 0; padding-bottom: 18px; }
.sequence li::before {
  counter-increment: seq; content: counter(seq); position: relative; z-index: 1;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--p-800); color: var(--white); font: 700 .9375rem var(--font-head);
}
.sequence li::after { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--p-100); }
.sequence li:last-child { padding-bottom: 0; }
.sequence li:last-child::after { display: none; }
.sequence li:last-child::before { background: var(--accent); color: var(--p-900); }
.sequence strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--p-900); line-height: 1.35; margin-top: 8px; }
.sequence span { display: block; font-size: .9375rem; color: var(--muted); line-height: 1.55; }

/* Bento CTA tile */
.bento__card--cta { background: var(--accent); border-color: var(--accent); color: var(--p-900); }
.bento__card--cta h3, .bento__card--cta p { color: var(--p-900); }
.bento__card--cta .btn { background: var(--p-900); color: var(--white); box-shadow: none; margin-top: auto; }
.bento__card--cta .btn:hover { background: var(--p-800); color: var(--white); }
.bento__card--cta .icon-box { background: rgba(255,255,255,.35); border-color: rgba(7,26,51,.15); color: var(--p-900); }

/* Card with a sub-heading tag */
.card__kicker { display: block; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-top: 16px; }

/* ---------- 13. Callouts ---------- */
.callout {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; margin: 1.5em 0; border-radius: var(--radius-sm);
  border: 1px solid transparent; border-left-width: 4px;
}
.callout p:last-child { margin-bottom: 0; }
.callout__title { display: block; font-family: var(--font-head); font-weight: 700; margin-bottom: 4px; }
.callout--tip  { background: var(--tip-bg);  border-color: #B7EBDD; border-left-color: var(--tip); }
.callout--tip  .callout__icon, .callout--tip .callout__title  { color: var(--tip); }
.callout--warn { background: var(--warn-bg); border-color: #FED7AA; border-left-color: var(--warn); }
.callout--warn .callout__icon, .callout--warn .callout__title { color: var(--warn); }
.callout__icon { flex-shrink: 0; margin-top: 2px; }

/* ---------- 14. Tables (stack below 640px) ---------- */
.table-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); margin: 1.5em 0; }
.table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.table caption { text-align: left; padding: 16px 20px 0; font-weight: 600; color: var(--p-900); }
.table th, .table td { padding: 14px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.table thead th { background: var(--p-800); color: var(--white); font-family: var(--font-head); font-size: .9375rem; font-weight: 700; }
.table tbody tr:nth-child(even) { background: var(--off); }
.table tbody tr:last-child td { border-bottom: 0; }
.table td:first-child { font-weight: 600; color: var(--p-900); }
@media (max-width: 639.98px) {
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .table td { display: block; border: 0; padding: 6px 20px; }
  .table td::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
}

/* ---------- 15. Areas ---------- */
.area-grid { display: grid; gap: 20px; }
.area-card { display: flex; flex-direction: column; }
.area-card__tag { font-size: .8125rem; font-weight: 600; color: var(--accent-ink); letter-spacing: .08em; text-transform: uppercase; margin-top: 16px; }
.area-card h3 { margin-top: 6px; }
.area-card .link-arrow { margin-top: auto; }

/* ---------- 16. Referral / trust ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.checklist .icon { color: var(--tip); margin-top: 3px; }
.section--dark .checklist .icon { color: var(--accent-soft); }
.disclosure {
  font-size: .9375rem; background: var(--p-50); border: 1px dashed var(--p-300); border-radius: var(--radius-sm);
  padding: 16px 20px; color: var(--p-800);
}

/* ---------- 17. CTA band ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--dark); color: var(--muted-dark); padding-block: var(--section-y); text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 720px; height: 420px; z-index: -2;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(249,115,22,.38), rgba(249,115,22,.08) 60%, transparent);
  filter: blur(20px);
}
.cta-band h2 { color: var(--white); max-width: 18ch; margin-inline: auto; }
.cta-band p { max-width: 56ch; margin-inline: auto; }
.cta-band__phone {
  display: inline-flex; align-items: center; gap: 14px; margin: 12px 0 24px;
  font-family: var(--font-head); font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(2.25rem, 1.4rem + 4.5vw, 5rem); line-height: 1.05;
  color: var(--white); text-decoration: none; text-shadow: 0 0 40px rgba(249,115,22,.45);
}
.cta-band__phone .icon { width: .7em; height: .7em; color: var(--accent); }
.cta-band__phone:hover { color: #FDBA74; }
.cta-band .btn-row { max-width: 420px; margin-inline: auto; }

/* ---------- 18. FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq--center { margin-inline: auto; }
.faq-layout { display: grid; gap: 32px; }
.faq-layout .faq { max-width: none; }
.faq-layout__head .call-card { margin-top: 8px; }
.faq__item { background: var(--white); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: var(--p-200); box-shadow: var(--shadow-md); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none;
  min-height: 56px; padding: 16px 20px; font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; color: var(--p-900);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__plus {
  position: relative; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--p-50); transition: transform .3s var(--ease), background-color .2s;
}
.faq__plus::before, .faq__plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; border-radius: 2px;
  background: var(--p-800); transform: translate(-50%, -50%);
}
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__plus { transform: rotate(135deg); background: var(--accent); }
.faq__a { padding: 0 20px 18px; color: var(--muted); }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- 19. Service page layout: TOC + sticky call card ---------- */
.layout { display: grid; gap: 32px; grid-template-areas: "aside" "main"; }
.layout__main { grid-area: main; min-width: 0; }
.layout__aside { grid-area: aside; display: grid; gap: 16px; align-content: start; }
.toc { border: 1px solid var(--border); border-radius: 16px; background: var(--white); box-shadow: var(--shadow-sm); }
.toc summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 12px 18px;
  cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 700; color: var(--p-900);
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary .icon { transition: transform .2s; }
.toc[open] summary .icon { transform: rotate(180deg); }
.toc ol { list-style: none; margin: 0; padding: 0 10px 14px; counter-reset: toc; }
.toc li { margin: 0; }
.toc a {
  display: flex; align-items: center; min-height: 34px; padding: 4px 10px; border-radius: 10px;
  font-size: .9375rem; color: var(--muted); text-decoration: none; border-left: 2px solid transparent;
}
.toc a:hover { background: var(--p-50); color: var(--p-900); }
.toc a.is-active { color: var(--p-900); font-weight: 600; background: var(--p-50); border-left-color: var(--accent); }
.call-card {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, var(--p-800), var(--dark)); color: var(--p-100);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-lg);
}
.call-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; z-index: -1;
  background: radial-gradient(circle, rgba(249,115,22,.45), transparent 65%);
}
.call-card h2, .call-card h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 8px; }
.call-card p { font-size: .9375rem; margin-bottom: 16px; }
.call-card__phone { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.625rem; color: var(--white); text-decoration: none; margin-bottom: 16px; letter-spacing: -0.02em; }
.call-card__phone:hover { color: #FDBA74; }
.call-card small { display: block; margin-top: 12px; font-size: .8125rem; color: var(--muted-dark); }

/* Related links block */
.related { display: grid; gap: 16px; }
.related__item { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--p-900); font-weight: 600; background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px; min-height: 64px; transition: border-color .2s, transform .2s; }
.related__item:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--p-900); }
.related__item .icon-box { width: 40px; height: 40px; border-radius: 12px; }

/* ---------- 20. Contact / forms ---------- */
.contact-grid { display: grid; gap: 24px; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.info-list strong { display: block; color: var(--p-900); font-family: var(--font-head); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .9375rem; color: var(--p-900); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1px solid var(--p-200); border-radius: 12px; background: var(--white);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--p-600); box-shadow: 0 0 0 4px var(--p-100); }

/* ---------- 21. Footer ---------- */
.site-footer { background: var(--dark); color: var(--muted-dark); padding: 72px 0 32px; font-size: .9375rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: -10%; top: -200px; width: 600px; height: 400px; background: radial-gradient(closest-side, rgba(50,92,146,.35), transparent); pointer-events: none; }
.footer__grid { position: relative; display: grid; gap: 40px; }
.site-footer .brand { color: var(--white); }
.site-footer .brand__name small { color: var(--accent-soft); }
.footer__title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--white); margin: 0 0 14px; letter-spacing: -0.01em; }
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin: 0; }
.footer__list a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted-dark); text-decoration: none; }
.footer__list a:hover { color: var(--white); text-decoration: underline; }
.footer__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; font-size: 1.375rem; color: var(--white); text-decoration: none; margin: 12px 0; min-height: 44px; }
.footer__phone .icon { color: var(--accent); }
.footer__address { font-style: normal; margin-bottom: 12px; }
.footer__disclaimer { position: relative; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border-dark); font-size: .8125rem; line-height: 1.65; }
.footer__bottom { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; font-size: .8125rem; }
.footer__bottom a { color: var(--muted-dark); }

/* ---------- 22. Mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; gap: 10px; align-items: center;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(6,22,43,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-dark);
}
.callbar__text { flex: 1; color: var(--p-100); font-size: .8125rem; line-height: 1.3; }
.callbar__text strong { display: block; color: var(--white); font-size: .9375rem; }
.callbar .btn { width: auto; min-height: 48px; padding: 10px 20px; }

/* ---------- 23. 404 ---------- */
.notfound { text-align: center; padding-block: 96px; }
.notfound__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 4rem + 10vw, 11rem); line-height: 1; color: transparent; -webkit-text-stroke: 3px var(--p-200); margin: 0; }

/* ---------- 24. Motion: fade-up (content visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: .08s; }
.js .reveal-delay-2 { transition-delay: .16s; }
.js .reveal-delay-3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .btn { width: auto; }
  .btn-row, .hero__ctas { flex-direction: row; flex-wrap: wrap; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--feature { grid-column: span 2; }
  .symptom-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .related { grid-template-columns: repeat(2, 1fr); }
  .glass-card { display: flex; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
  .cta-band .btn-row { justify-content: center; max-width: none; }
}

@media (min-width: 768px) {
  .divider svg { height: 72px; }
  .hero__wave svg { height: 64px; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .process::before { display: none; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split--reverse .split__media { order: -1; }
  .contact-grid { grid-template-columns: 1.1fr .9fr; }
  .hero__visual { max-width: 520px; }
}

@media (min-width: 1024px) {
  :root { --section-y: 112px; --header-h: 80px; }
  body { padding-bottom: 0; }
  .callbar { display: none; }

  /* Desktop nav */
  .nav__toggle { display: none; }
  .nav__panel {
    position: static; inset: auto; visibility: visible; opacity: 1; transform: none;
    background: none; padding: 0; overflow: visible; display: flex; align-items: center; gap: 8px;
  }
  .nav__list { display: flex; align-items: center; gap: 4px; }
  .nav__list > li { border: 0; position: relative; }
  .nav__link, .nav__group-btn { font-family: var(--font-body); font-size: .9375rem; font-weight: 600; min-height: 44px; padding: 8px 14px; border-radius: 10px; gap: 6px; }
  .nav__link:hover, .nav__group-btn:hover { background: var(--p-50); color: var(--p-900); }
  .nav__group-btn .icon { width: 16px; height: 16px; }
  .nav__sub {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; padding: 10px; margin: 0;
    background: var(--white); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg);
  }
  .nav__list > li:hover > .nav__sub, .nav__list > li:focus-within > .nav__sub { display: block; }
  .nav__list > li:hover > .nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .nav__sub a { padding: 8px 12px; border-radius: 10px; color: var(--ink); }
  .nav__sub a:hover { background: var(--p-50); color: var(--p-900); }
  .nav__panel .btn { margin: 0 0 0 12px; width: auto; min-height: 44px; font-size: .9375rem; }

  .hero { padding: 96px 0 128px; }
  .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 48px; }
  .hero__visual { max-width: none; }
  .page-hero { padding: 56px 0 80px; }

  .bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(200px, auto); }
  .bento__card--feature { grid-column: span 2; grid-row: span 2; padding: 40px; }
  .bento__card--wide { grid-column: span 2; }
  .symptom-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .area-grid > :first-child { grid-row: span 2; }

  .process { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .process::before { display: block; left: 40px; right: 40px; top: 36px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--accent), rgba(249,115,22,.15)); }
  .process__step { grid-template-columns: 1fr; gap: 8px; }
  .process__num { text-align: left; font-size: 5rem; width: max-content; padding-right: 16px; }

  .layout { grid-template-columns: minmax(0, 1fr) 320px; grid-template-areas: "main aside"; gap: 56px; }
  .layout__aside { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; scrollbar-width: none; }
  .toc summary { pointer-events: none; }
  .toc summary .icon { display: none; }

  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
  .faq-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 72px; align-items: start; }
  .faq-layout__head { position: sticky; top: calc(var(--header-h) + 32px); }
}

@media (min-width: 1280px) {
  :root { --gutter: 32px; }
  .hero__grid { gap: 72px; }
  .glass-card--1 { left: -10%; }
  .glass-card--2 { right: -8%; }
}
