/* V2 shell: flat, color-blocked layout. Loaded after base.css (tokens + quote/schedule components). */
html { scroll-padding-top: 96px; }
body { margin: 0; }
img { max-width: 100%; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: #222222; color: #ffffff; padding: 10px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
.btn:hover { box-shadow: none; }
.btn.blue { background: var(--blue); color: #ffffff; }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn.lg { padding: 16px 26px; font-size: 1.05rem; }

/* Top bar */
.topbar { background: #222222; color: #d6d9de; font-size: 0.85rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; padding-block: 7px; }
.topbar b { color: #ffffff; }
.topbar .stars { color: var(--gold); }
@media (max-width: 640px) { .topbar .hide-sm { display: none; } .topbar .wrap { justify-content: center; } }

/* Header */
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: #ffffff; color: #222222; border-bottom: 1px solid #e3e5e9; }
header.site .wrap { display: flex; align-items: center; gap: 20px; padding-block: 10px; }
header.site .logo { margin-right: auto; }
header.site .logo img { height: 50px; }
#site-nav { display: flex; gap: 4px; }
#site-nav a { color: #33373e; text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 10px 12px; border-radius: 8px; transition: background .15s, color .15s; }
#site-nav a:hover { background: #f1f3f6; color: #222222; }
#site-nav a[aria-current="page"] { color: var(--red); box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.h-phone { display: grid; line-height: 1.1; text-decoration: none; color: #222222; text-align: right; }
.h-phone small { font-size: 0.72rem; color: #5d6168; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.h-phone b { font: 800 1.35rem var(--display); }
#menu-btn { display: none; width: 46px; height: 46px; border: 1px solid #e3e5e9; border-radius: 8px; background: #ffffff; color: #222222; cursor: pointer; }
#menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 1200px) {
  #menu-btn { display: grid; place-items: center; }
  #site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #ffffff; border-bottom: 3px solid var(--red); flex-direction: column; padding: 8px 16px 16px; }
  #site-nav.open { display: flex; }
  #site-nav a { padding: 14px 8px; border-bottom: 1px solid #eef0f3; border-radius: 0; }
  #site-nav a[aria-current="page"] { box-shadow: none; }
}
@media (max-width: 640px) { .h-phone, header.site .btn.red { display: none; } header.site .logo img { height: 44px; } }

/* Mobile action bar */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding-bottom: env(safe-area-inset-bottom, 0px); background: #222222; }
  .mbar a { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; color: #ffffff; text-decoration: none; font: 700 0.8rem var(--body); }
  .mbar a svg { width: 22px; height: 22px; }
  .mbar a:nth-child(1) { background: var(--red); }
  .mbar a:nth-child(2) { background: var(--blue); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}

/* Home hero */
.hero2 { background: var(--soft); padding-block: 56px 0; position: relative; }
.hero2 .top { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: end; }
.hero2 h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); text-transform: uppercase; letter-spacing: -0.005em; }
.hero2 h1 .h { color: var(--red); }
.hero2 h1 .c { color: var(--blue); }
.hero2 .lede { color: var(--muted); font-size: 1.15rem; max-width: 52ch; margin-top: 16px; }
.facts { display: grid; gap: 10px; }
.fact { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.fact .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; color: #ffffff; background: var(--blue); }
.fact .ic.r { background: var(--red); }
.fact .ic.k { background: #222222; }
.fact .ic svg { width: 20px; height: 20px; }
.fact b { display: block; font-size: 0.98rem; }
.fact small { color: var(--muted); font-size: 0.85rem; }
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; border-radius: 18px 18px 0 0; overflow: hidden; }
.path { display: grid; gap: 10px; align-content: start; padding: 30px 28px 34px; color: #ffffff; text-decoration: none; position: relative; min-height: 230px; transition: filter .15s; }
.path:hover { filter: brightness(1.07); }
.path:active { filter: brightness(0.95); }
.path.fix { background: var(--red); }
.path.replace { background: var(--blue); }
.path.tune { background: #222222; }
.path .tag { font: 700 0.75rem var(--body); letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.path h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); text-transform: uppercase; }
.path p { opacity: .92; max-width: 34ch; }
.path .go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.path .go svg { width: 20px; height: 20px; transition: transform .15s; }
.path:hover .go svg { transform: translateX(4px); }
.path .bigicon { position: absolute; right: 18px; top: 18px; width: 64px; height: 64px; opacity: .22; }
@media (max-width: 900px) { .hero2 .top { grid-template-columns: 1fr; } .paths { grid-template-columns: 1fr; border-radius: 14px 14px 0 0; } .path { min-height: 0; } }

/* Problem chips */
.probs { background: #222222; color: #ffffff; }
.probs .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-block: 22px; }
.probs .lbl { font: 700 0.78rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: #aab0b9; margin-right: 6px; }
.probs a { color: #ffffff; text-decoration: none; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); font-weight: 600; font-size: 0.9rem; min-height: 40px; display: inline-flex; align-items: center; transition: background .15s, border-color .15s; }
.probs a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }

/* Section heading row */
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: 36px; }
.head-row .sec-head { margin: 0; }
.more { color: var(--link); font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Service tiles (home) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { display: grid; grid-template-columns: 52px 1fr; gap: 6px 16px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); transition: border-color .15s, background .15s; }
.tile:hover { border-color: var(--blue); }
.tile .ic { grid-row: span 2; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; color: #ffffff; background: var(--blue); }
.tile .ic.r { background: var(--red); }
.tile .ic.k { background: #222222; }
.tile .ic svg { width: 26px; height: 26px; }
.tile h3 { font-size: 1.45rem; align-self: end; }
.tile p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr; } }

/* Pricing band */
.pband { background: var(--blue); color: #ffffff; }
.pband .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding-inline: 0; }
.pband .cell { padding: 56px 40px; display: grid; gap: 12px; align-content: start; }
.pband .cell + .cell { background: #1565c0; }
.pband .kicker { color: #cfe3fb; }
.pband .num { font: 800 clamp(3.4rem, 7vw, 5.4rem)/0.9 var(--display); }
.pband p { color: #e3eefb; max-width: 42ch; }
.pband .btn { justify-self: start; margin-top: 8px; }
@media (max-width: 800px) { .pband .wrap { grid-template-columns: 1fr; } .pband .cell { padding: 40px 20px; } }

/* Reviews strip (home) */
.rv-top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.rv-score { font: 800 4rem/1 var(--display); }

/* Area + hours */
.area2 { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: start; }
.towns { display: flex; flex-wrap: wrap; gap: 8px; }
.towns span { padding: 10px 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.towns span.home { background: var(--red); border-color: var(--red); color: #ffffff; }
.hours { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 10px; }
.hours dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 800px) { .area2 { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--red); color: #ffffff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-block: 44px; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 2.8rem); text-transform: uppercase; max-width: 20ch; }
.cta-band .acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* Inner page header */
.page-head { background: #222222; color: #ffffff; padding-block: 48px 44px; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 18px; background: linear-gradient(var(--red) 50%, var(--blue) 50%); }
.page-head .kicker { color: #f26b68; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); text-transform: uppercase; margin-top: 8px; }
.page-head p { color: #c9cdd3; max-width: 60ch; margin-top: 12px; font-size: 1.08rem; }
.page-head .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Services page */
.subnav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 71px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; }
.subnav a { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--soft); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.subnav a:hover { background: var(--sel); }
.svc2 { display: grid; grid-template-columns: 0.42fr 1fr; gap: 40px; padding-block: 56px; border-bottom: 1px solid var(--line); }
.svc2:last-child { border-bottom: 0; }
.svc2 .side { display: grid; gap: 14px; align-content: start; }
.svc2 .badge { width: 72px; height: 72px; border-radius: 16px; display: grid; place-items: center; color: #ffffff; background: var(--blue); }
.svc2 .badge.r { background: var(--red); }
.svc2 .badge.k { background: #222222; }
.svc2 .badge svg { width: 36px; height: 36px; }
.svc2 h2 { text-transform: uppercase; }
.svc2 .body { display: grid; gap: 22px; min-width: 0; }
.svc2 .body > p { font-size: 1.08rem; color: var(--muted); max-width: 64ch; }
.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lists > div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.lists h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.lists ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.lists li { display: flex; gap: 10px; }
.lists li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--red); margin-top: 9px; flex: none; }
.lists .do li::before { background: var(--blue); }
.svc2 .acts { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .svc2 { grid-template-columns: 1fr; gap: 20px; } .lists { grid-template-columns: 1fr; } }

/* About page */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.logo-card { background: #ffffff; border: 1px solid var(--line); border-radius: 16px; padding: 36px; display: grid; place-items: center; }
.vals { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.val { border-top: 4px solid var(--red); padding-top: 14px; }
.val:nth-child(even) { border-top-color: var(--blue); }
.val h3 { font-size: 1.3rem; }
.val p { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .vals { grid-template-columns: 1fr; } }

/* Footer */
footer.site { background: #18191c; color: #b9bec6; font-size: 0.93rem; }
footer.site .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px 32px; }
footer.site h4 { color: #ffffff; font: 700 1.2rem var(--display); margin: 0 0 12px; text-transform: uppercase; letter-spacing: .03em; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer.site a { color: #b9bec6; text-decoration: none; }
footer.site a:hover { color: #ffffff; }
footer.site .flogo { background: #ffffff; border-radius: 10px; padding: 12px; display: inline-block; margin-bottom: 14px; }
footer.site .flogo img { width: 200px; display: block; }
footer.site .base { border-top: 1px solid rgba(255,255,255,.1); padding-block: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.82rem; }
@media (max-width: 860px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { footer.site .cols { grid-template-columns: 1fr; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease-out, transform .5s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .path, .tile, .path .go svg { transition: none; } }

/* Flat: drop v1 header shadow */
header.site { box-shadow: none; }
footer.site .flogo img, .logo-card img { height: auto; }
.logo-card img { width: 100%; max-width: 440px; }

/* Tune-up page */
form.tune { grid-template-columns: 1fr; gap: 18px; }
.tune .q-title h2 { font-size: 1.4rem; }
.tune-items { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tune-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px 14px 18px; border: 2px solid var(--line); border-radius: 10px; background: var(--bg); cursor: pointer; position: relative; transition: border-color .15s, background .15s; }
.tune-item::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 0 3px 3px 0; background: var(--tone, var(--ink)); }
.tune-item input { margin-top: 3px; width: 20px; height: 20px; accent-color: var(--blue); flex: none; }
.tune-item b { display: block; font-size: 0.98rem; }
.tune-item small { color: var(--muted); font-size: 0.85rem; }
.tune-item:has(input:checked) { border-color: var(--blue); background: var(--sel); }
.tune-item:has(input:focus-visible) { outline: 3px solid var(--cool-hi); outline-offset: 2px; }
.field-msg { color: var(--red); font-weight: 600; font-size: 0.92rem; }
.step-dot { font: 800 1rem var(--display); color: #ffffff; background: var(--red); width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; margin-right: 10px; vertical-align: middle; }
.tune .book { margin-top: 0; }
.ages .choice span { font-size: 0.85rem; }
.tune-note { margin-top: 22px; padding: 20px 22px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--red); }
.tune-note h3 { font-size: 1.3rem; }
.tune-note p { color: var(--muted); margin-top: 4px; }
.tune-note a { color: var(--link); font-weight: 700; }
@media (max-width: 700px) { .tune-items { grid-template-columns: 1fr; } }
.day span { width: auto; min-width: 76px; padding-inline: 10px; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 40px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 20px; font-weight: 700; font-size: 1.02rem; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 800 1.5rem/1 var(--display); color: var(--red); flex: none; transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); max-width: 70ch; }
.faq details a { color: var(--link); font-weight: 600; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 20px; } }

/* Netlify adds a "Powered by Netlify" badge pinned to the bottom-right corner. On phones it covered
   the Book and Quote buttons in the action bar, so lift it above the bar. */
@media (max-width: 760px) {
  #nl-badge-frame { bottom: calc(66px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* Dark mode: the charcoal blocks (#222) disappear on a dark page, so lighten them there. */
:root { --blk: #222222; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --blk: #3d4249; } }
:root[data-theme="dark"] { --blk: #3d4249; }
.fact .ic.k, .tile .ic.k, .svc2 .badge.k, .path.tune { background: var(--blk); }

/* Dark mode: the header matches the page instead of staying a bright white bar. */
@media (prefers-color-scheme: dark) {
  header.site { background: #1b1e22; color: #eceef1; border-bottom-color: #2a2e34; }
  header.site .logo, header.site .logo-text { color: #ffffff; }
  #site-nav a { color: #cfd3d9; }
  #site-nav a:hover { background: #262a30; color: #ffffff; }
  .h-phone { color: #ffffff; }
  .h-phone small { color: #a8adb5; }
  #menu-btn { background: #262a30; border-color: #33373e; color: #ffffff; }
  @media (max-width: 1200px) {
    #site-nav { background: #1b1e22; }
    #site-nav a { border-bottom-color: #2a2e34; }
  }
  .logo-card { background: #ffffff; }
}

/* Pricing band: the darker right half now runs all the way to the screen edge on wide screens. */
.pband { background: linear-gradient(90deg, var(--blue) 50%, #1565c0 50%); }
@media (max-width: 800px) { .pband { background: var(--blue); } }

/* Anything marked hidden stays hidden, whatever display rule it has (fixes form fields staying visible after sending). */
[hidden] { display: none !important; }


/* ===== Animated logos (header, footer, About). The red heat and blue cool arrows orbit the AP like a
   heating-and-cooling cycle, with a short motion trail (two faint copies that lag behind) and a springy settle.
   They swing in when the logo first appears and spin a full turn on mouse hover.
   Layers are split from the logo by colour: images/logo-letters*.png, logo-heat/cool.png (mark) and
   logo-full-base/heat/cool.png (full logo). core.js adds .lg-js to <html> and .in to each logo as it appears. ===== */
.lg { position: relative; display: block; line-height: 0; }
.lg img { display: block; width: 100%; height: auto; }
.lg .arr { position: absolute; inset: 0; width: 100%; height: 100%; }
.lg-mark { height: 50px; aspect-ratio: 380 / 365; flex: none; }
header.site .logo .lg-mark img { height: 100%; width: 100%; }
.lg-mark picture img { position: absolute; inset: 0; }
.lg-mark .arr { transform-origin: 50.9% 49.3%; }
.lg-full .arr { transform-origin: 21.5% 38.8%; }
footer.site .flogo .lg { width: 200px; }
.logo-card .lg { width: 100%; max-width: 440px; }
.lg .g1, .lg .g2 { pointer-events: none; }

/* Motion: springy turn; the trail copies follow 70ms and 140ms behind. */
.lg-js .lg .arr { transition: transform 1150ms cubic-bezier(0.34, 1.32, 0.64, 1), opacity 500ms ease-out; }
.lg-js .lg .g1 { opacity: 0.4; transition-delay: 70ms; }
.lg-js .lg .g2 { opacity: 0.18; transition-delay: 140ms; }
/* Before the logo appears: arrows wound back, small and hidden; the letters wait a beat. */
.lg-js .lg:not(.in) .arr { transform: rotate(-320deg) scale(0.55); opacity: 0; }
.lg-js .lg .lg-base, .lg-js .lg picture img { transition: opacity 500ms ease-out, transform 600ms cubic-bezier(0.23, 1, 0.32, 1); }
.lg-js .lg:not(.in) .lg-base, .lg-js .lg:not(.in) picture img { opacity: 0; transform: scale(0.94); }
/* Hover: one full cycle (mouse only, so taps on phones never leave it mid-turn). */
@media (hover: hover) and (pointer: fine) {
  .lg-js a:hover .lg.in .arr, .lg-js .lg.in:hover .arr { transform: rotate(360deg); }
}
@media (max-width: 640px) { .lg-mark { height: 44px; } }
@media (prefers-reduced-motion: reduce) {
  .lg .arr, .lg .lg-base, .lg picture img { transition: none !important; transform: none !important; }
  .lg .g1, .lg .g2 { display: none; }
}

/* ===== Moving icons: each service icon moves the way the thing it shows moves.
   Home page tiles (.tile[href$="#…"]) and the Services page badges (#… .badge). Off for reduced motion. ===== */
@media (prefers-reduced-motion: no-preference) {
  /* Furnace: the flame flickers from its base. */
  .tile[href$="#heating"] svg path, #heating .badge svg path { transform-box: fill-box; transform-origin: 50% 100%; animation: ic-flame 1.7s ease-in-out infinite; }
  @keyframes ic-flame {
    0%, 100% { transform: scale(1, 1) skewX(0deg); }
    20% { transform: scale(0.95, 1.09) skewX(-3deg); }
    45% { transform: scale(1.04, 0.95) skewX(2deg); }
    70% { transform: scale(0.97, 1.06) skewX(-1.5deg); }
  }
  /* AC: the snowflake turns slowly. */
  .tile[href$="#cooling"] svg, #cooling .badge svg { animation: ic-spin 9s linear infinite; }
  /* Heat pump: the two arrows circulate. */
  .tile[href$="#heatpumps"] svg, #heatpumps .badge svg { animation: ic-spin 4s linear infinite; }
  @keyframes ic-spin { to { transform: rotate(360deg); } }
  /* Ductwork: air streams along the lines. */
  .tile[href$="#ducts"] svg path, #ducts .badge svg path { stroke-dasharray: 4 3; animation: ic-flow 0.9s linear infinite; }
  @keyframes ic-flow { to { stroke-dashoffset: -14; } }
  /* Tune-ups: the check draws itself, holds, then redraws. */
  .tile[href$="#maintenance"] svg path, #maintenance .badge svg path { stroke-dasharray: 22; animation: ic-check 3.2s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
  @keyframes ic-check { 0% { stroke-dashoffset: 22; } 30%, 82% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -22; } }
  /* Thermostat: the dial gently pulses. */
  .tile[href$="#thermostats"] svg circle, #thermostats .badge svg circle { transform-box: fill-box; transform-origin: center; animation: ic-dial 2.4s ease-in-out infinite; }
  @keyframes ic-dial { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.22); } }
}
